Creating Assignments
The four ways to generate an assignment, and how to choose the right difficulty level.
- Picking a generation modeYour first decision when creating an assignment. Four modes, picked by what you have on hand — existing code, prose, or both. The right mode keeps generation fast and predictable; the wrong one wastes credits.
- Forward mode — start from your starter codeStart with student-facing code and TODOs. CodeTeach creates a solution, behavior-based tests, and instructions, then you review and validate the package.
- Backward mode — start from your working solutionTurn a working instructor solution into a student starter with TODOs, observed-behavior tests, and instructions. Review the stripped starter before approval.
- Both Provided mode — when you have starter and solutionProvide both student starter and instructor solution. CodeTeach preserves your code while generating behavior-based tests and instructions.
- From Document mode — convert a lab handout into an assignmentStart with a lab handout or written prompt. CodeTeach drafts the package; review every artifact and validate observed solution behavior.
- Choosing a difficulty level (Beginner / Intermediate / Advanced)Difficulty sets student scaffolding, instruction disclosure, solution style, and test depth. Choose the level, inspect the package, then approve and validate.
- Adding external libraries to your assignmentConfigure supported external libraries or upload a root dependency manifest so sandbox validation and GitHub Actions use the same contract.