Export a Student’s Code with Failed Tasks and Checks

When a student fails a task or check can snapshot of the user’s code be provided or exported for review?