Skip to main content
Creating Assignments

Forward mode — start from your starter code

Start with student-facing code and TODOs. CodeTeach creates a solution, behavior-based tests, and instructions, then you review and validate the package.

Written By Alan Gandy

Last updated About 2 hours ago

Choose Forward when you already have student-facing starter code. Put clear TODO markers where students should work. CodeTeach uses your starter to build a working solution, behavioral tests, and student instructions; it builds the GitHub grading workflow during Deploy.

CodeTeach.app New Assignment screen with Forward selected among four generation approaches.

Supply the starter

Select the programming language, then paste code, upload files, or import from a repository in the Starter Code area. Give the assignment a clear title. Add learning objectives, constraints, and any needed dependencies.

Keep the entry point, filenames, function signatures, and imports clear. A descriptive TODO such as “compare adjacent items and swap when needed” gives CodeTeach a useful contract. If you have multiple files, show how the entry point calls the files students will edit.

Review before approval

On Review & Edit, inspect the generated starter, solution, tests, and instructions. Make sure the solution actually implements the intended TODOs and the tests check observable behavior. Test expectations must come from running the solution, not guessed output. Edit instructor-owned content deliberately; CodeTeach must preserve what you approved.

Approve the instructions and run quality validation. After it passes, Deploy builds and checks the GitHub/autograder repository. Read the Review & Edit guide or continue to Deploy.