Backward mode — start from your working solution
Turn a working instructor solution into a student starter with TODOs, observed-behavior tests, and instructions. Review the stripped starter before approval.
Written By Alan Gandy
Last updated About 2 hours ago
Choose Backward when you have a complete, working solution and need a student starter. CodeTeach turns selected implementation work into TODOs, then drafts tests and instructions based on the solution.
Provide a working answer
Select the language and paste code, upload files, or import from a repository in Solution Code. Run the solution yourself first. Remove debug output, unresolved TODOs, secrets, and dependencies that cannot run in the grading environment. State learning objectives and constraints in the form.
Check what students receive
Difficulty affects how much scaffolding appears in the starter and instructions. On Review & Edit, inspect the Starter tab closely: the TODOs should require meaningful work without hiding required interfaces or exposing the answer. Check the solution and every test. CodeTeach derives expected test output from observed solution behavior, so a bug in the submitted solution can become a grading error.
Edit the starter or tests if needed, approve the instructions, and run validation before Deploy. Choose a difficulty level and review the package.
More in Creating Assignments
Picking a generation modeFrom Document mode — convert a lab handout into an assignmentChoosing a difficulty level (Beginner / Intermediate / Advanced)Adding external libraries to your assignmentStill need help? Ask the team