Original source guide

Midcourse project · Two features, one AI-assisted workflow

Where each part comes from, what was not supplied, and the places where the material needs a careful reading.

The sources

The lessons are built from one supplied document, the midcourse project brief (midcourse.pdf, 4 pages): purpose, how to use the brief, the core feature options and optional extensions, the five documentation deliverables, the recommended workflow, what to post, and the Met / Not Met grading. The worked example is built from the course author’s own submission in the supplied repository archive: the docs/midcourse/ files and the Feature 1 and Feature 2 test files. The rubric the brief refers to, and any video or session that accompanies the brief, were not supplied. Links to Modules 1 to 3 point to their own course pages.

Listening

Every page in this course is read aloud by your device’s own voice. No recorded narration was generated for it. Back to the project

Lesson → source pages
LessonSource
1 · What is really assessedMidcourse brief p. 1
2 · Choosing two featuresMidcourse brief pp. 1-2
3 · The workflow loop, per featureMidcourse brief pp. 1, 3 · Module 1 p. 7 · Module 3 pp. 9-10
4 · Tests, Break Tests and the behavior contractMidcourse brief p. 3 · Module 2 p. 10 · Module 3 pp. 9, 13
5 · The five documentation filesMidcourse brief pp. 2-3 · Module 1 pp. 3, 13
6 · Submission and the Met / Not Met rubricMidcourse brief pp. 3-4
Worked exampleAuthor’s submission: docs/midcourse/ and tests

Part 01

What is really assessed

Two small features are the vehicle. The assessment is your AI-assisted process: clear prompts, inspected output, running the app, testing behavior, debugging from evidence and recording what you accepted, edited or rejected.

Open the part
Purpose

Two small end-to-end features; the main assessment is the AI-assisted process.

Midcourse brief p. 1
How to use this brief

Use after Modules 1-3, start from your repository, work on a branch; not a pure engineering capstone.

Midcourse brief p. 1
Scope and visibility

Small enough to finish; at least one feature visible in the frontend, most students both.

Midcourse brief p. 1
Earlier modules

The interaction loop and the junior-collaborator mindset come from Module 1; the frontend from Module 3.

Module 1 lecture notes p. 8 · Module 3 lecture notes p. 1

Part 02

Choosing two features

Pick two features from five core options. Each comes with expected backend work, frontend work and good tests. Three optional extensions exist, but the brief warns they are bigger or easier to overbuild.

Open the part
Core feature options

The five options with backend, frontend and test expectations. Reconstructed from a scrambled text layer.

Midcourse brief pp. 1-2
Optional extension features

Bulk operations, saved views, frontend-only polish, each with the reason it is optional.

Midcourse brief p. 2
Backend-owned rules

Status-transition rules enforced in the backend rather than UI-only guards.

Module 2 lecture notes p. 1
Worked example

One student chose due dates and search + combined filters; see the worked example.

Author’s submission · assignment-roadmap.md

Part 03

The workflow loop, per feature

Branch and baseline first. Draft stories with AI and correct its assumptions. Write the mini-ADR before coding. Then build each feature as a small loop: backend, tests, frontend, verify, Break Test. Finish with the contract, a checkpoint and one focused refactor.

Open the part
Recommended workflow

The ten steps from branch to submission link.

Midcourse brief p. 3
Full workflow per feature

Plan, constrain, implement in small steps, inspect, verify, test, document.

Midcourse brief p. 1
Prompts as specifications

Role, context, task, constraints, output format.

Module 1 lecture notes p. 7
One endpoint at a time

Build and verify each endpoint before moving on.

Module 2 lecture notes p. 1
Safe refactor workflow

Contract, checkpoint, selected section, inspect the diff, re-check.

Module 3 lecture notes pp. 9-10

Part 04

Tests, Break Tests and the behavior contract

Keep every existing test and add at least four new pytest tests. Prove at least two of them with a Break Test: pass, break the source on purpose, see the right failure, restore, pass again. Run a behavior contract before and after your refactor.

Open the part
Verification deliverable

Backend test results, behavior contract before/after refactor, Break Test evidence for at least two tests.

Midcourse brief p. 3
Workflow and submission

Break Test per feature; full contract and suite; all existing tests plus at least 4 new pytest tests.

Midcourse brief p. 3
The Break Test

Break production code, see the test fail, restore; fix the test if it does not fail.

Module 2 lecture notes p. 10
Common AI mistakes in tests

Wrong status codes, mismatched names, json() on 204, missing autouse reset.

Module 2 lecture notes p. 10
Behavior contract

An 8-item checklist passed before and after the refactor.

Module 3 lecture notes pp. 9, 13

Part 05

The five documentation files

User stories, a mini-ADR, a prompt log, verification evidence and a reflection. Concise Markdown, enough detail that another person can follow the task, the constraints, the AI’s response and your decision.

Open the part
Documentation deliverables

The five files and their required contents.

Midcourse brief pp. 2-3
Concise Markdown

docs/, optional screenshots, no huge transcripts, enough detail for another person.

Midcourse brief p. 2
Submission location

docs/midcourse/ with the required documentation files.

Midcourse brief p. 3
Requirements and ADR in Module 1

AI-assisted user stories; a one-paragraph ADR in your own words; a reflection log.

Module 1 lecture notes pp. 3, 13
Debugging log

Evidence, AI diagnosis, decision, short reflection.

Module 3 lecture notes p. 12

Part 06

Submission and the Met / Not Met rubric

Submit a public repository URL with a branch named mid-course-project, your code, all tests plus at least four new ones, docs/midcourse/, a README run note, and nothing secret or unrelated. The result is Met or Not Met against a rubric you must fully meet to continue.

Open the part
Posting

Public repository URL, branch name, and the five submission items.

Midcourse brief p. 3
Grading

Mandatory checkpoint; Met or Not Met against a predefined rubric; revise and resubmit.

Midcourse brief p. 4
Facilitator feedback

No detailed comments or individual feedback.

Midcourse brief p. 4
Resource map

Which earlier module each deliverable draws on.

Study-guide synthesis of Modules 1-3

Source appendix

Where the material needs a careful reading

Read with care

The feature table is reconstructed

The PDF’s text layer interleaves the four columns of the core-options table. The table here is rebuilt column by column; check the PDF if a cell reads oddly.

docs/ or docs/midcourse/

The brief first says documentation goes in docs/, then requires docs/midcourse/ at submission. The lessons follow the stricter reading: put every file in docs/midcourse/.

How many Break Tests

The workflow asks for a Break Test on at least one important Feature 1 test and the same loop for Feature 2; the verification row asks for at least two tests. Read together: at least one per feature.

The rubric was not supplied

The brief refers to a predefined rubric aligned with course competencies but does not list it. The lessons treat every stated requirement as checkable; anything beyond that is interpretation.

No tool is prescribed

The brief names no AI tool. Modules 1 to 3 used browser chat assistants, Cursor and VS Code with Copilot; the author used Claude Code and a headless browser. Tool descriptions are dated to the documents.

The behavior contract comes from Module 3

The brief asks for a contract before and after the refactor but does not define one. Module 3 defines it as an 8-item checklist; the author extended theirs to 16 items for the two features.

The worked example exceeds the brief

Four Break Tests, 35 new tests and large browser matrices are the author’s choices, not requirements. The brief’s bar is smaller: four new tests and two Break Tests.

“Likely” AI assumptions

The author’s user stories label their corrected assumptions as likely AI defaults, guarded against in the prompts. The reflection says the AI did propose them when unconstrained, but no transcript is supplied.

Leftover template and later tests

The archive’s README-MIDCOURSE-SECTION.md is still the template with placeholders; the real commands were merged into the main README. A null-rejection test file fixes a later reviewer-reported defect and is not part of the midcourse evidence.

Checked against the supplied documents cited in each note.

What not to take away

The lessons actively work against these misreadings:

  • The more ambitious the features, the better the result.
  • If the feature works, the documentation is a formality.
  • Frontend polish on its own counts as a feature.
  • Filtering in the browser is equivalent to extending GET /tasks.
  • A green test suite proves the tests protect the behavior.
  • A Break Test can be done by editing the test until it fails.
  • Browser checks can be marked PASS from reading the code.
  • A prompt log is a list of prompts.
  • The mini-ADR can be written after the code is finished.
  • Not Met means a low grade you can live with.

Study-guide synthesis; each item is addressed in the parts.