AI-assisted coding and maintenance
Finishing the course
Your final assignment
Prepare a small change with acceptance tests and a reproducible review record. Use the fictional examples from this course, or a non-sensitive scenario you are authorised to work on. Do not submit personal workplace records to complete the course.
Build your evidence pack
- Specify behaviour before generating code: Write acceptance cases for old=30/new=24, old=0/new=5 and old=10/new=12. Decide whether increases return a negative reduction or a separate label.
- Give the assistant a repository map: Write a repository map for a hypothetical lesson site: source content, page renderer, tests and generated output. Mark which files should never be treated as the sole source of a fix.
- Test the bug, not the implementation: Define tests for missing stage, stages 0 and 2, and invalid values -1, 3 and a string. Describe the intended recovery without writing the implementation.
- Debug with a minimal reproduction: Write a bug report for the ampersand failure with expected result, actual result, minimal input and one proposed diagnostic check.
- Dependencies, diffs and reproducible handover: Create a handover checklist for a small website fix. Include source completeness, dependency changes, build command, test evidence and a limitation statement.
Combine the five outputs in the downloadable course workbook. Write a short decision note explaining the problem, your chosen approach, the evidence used and one limitation that would matter in real use. Keep initial and revised versions where a check changed your answer.
Review against these criteria
- Turn a feature request into observable cases.
- Supply relevant context without dumping the whole project.
- Create a failing behavioural case before fixing a defect.
- Reduce uncertainty before asking for another rewrite.
- Review what the change brings into the project.
Ask a colleague or learning partner to challenge one assumption if available. If working alone, use the worked examples to review your reasoning and record the limits of that self-review. Completion is a personal learning record, not independent certification.
Change one condition
Choose one input or assumption from your original exercise and change it. Explain which part of the result must be recalculated, rechecked or withheld. Keep the revised answer and a short explanation of why the change matters. This is a transfer exercise: repeating the model answer without adapting it is insufficient.
Continue practising
Try a related Academy workspace or choose another course. The existing Practice Lab portfolio saves simulation work; keep this course workbook with your own learning records. Course completion progress remains in your browser and can be backed up through My Library.