Skip to content

How this course works

A coding agent proposes a change. You decide whether the evidence supports it and whether you can explain it. Every example shows both generation and verification. A test you can rerun is evidence. An agent saying “done” is a claim to check.

Twelve teaching weeks, then assessment

The topics and their order follow the public Fall 2026 calendar of Stanford's CS146S, with two verification weeks added. This course is not affiliated with Stanford University. Each teaching week has two 90-minute sessions. The first is a lecture with live generation and verification. The second is a practitioner guest or a studio. When no guest is available, you work on your project or contribution in a studio, with support from the teaching team. Week 13 has the project expo, followed by individual defenses. The schedule gives topics and deadlines.

Three lines of work

  • Six assignments: A1–A6, due in weeks 1, 2, 3, 5, 6 and 10. Each earns up to 2.5 points (15 total). Keep the artifact, the verification results and a short explanation. End with one decision (accept, narrow, recheck or stop) and the evidence that supports it.
  • Four open-source contributions: 30 points across two repositories. In the first repository, a small fix earns up to 5 points in week 4, and a substantial change earns up to 10 points in week 8. In the second repository you repeat this: 5 points in week 9 and 10 points in week 12. A TA performs an acceptance review in three cases: the repository has no partner contact, the maintainer has not replied within seven days, or the maintainer declines the contribution as out of scope. Your mark does not depend on a maintainer replying.
  • A term project: choose a topic and build runnable software with an agent, alone or with one other student. The four milestones are the proposal, the technical specification, the alpha and the final version. They earn 2, 4, 6 and 8 points in weeks 2, 4, 7 and 12 (20 total). In a two-person project, the two students share the milestone marks. Each student defends their own understanding separately.

Your term project has its own topic and repository. Attach an AI-use note once to each work item. Then reuse its evidence ID instead of copying logs into several submissions.

Explain your work without AI

CP1 in week 6 and CP2 in week 11 are thirty-minute checkpoints that you take on paper in class. Each is worth 7.5 points. The week 13 defense is worth 15 points. In a fifteen-minute sitting, without a device, you respond to a change or fault introduced in your own code. Together, these three items provide 30 points of individual evidence without AI. Participation earns the remaining 5 points through guest questions, studio work and the expo.

Passing requires at least 60/100 overall, at least 15/30 across CP1, CP2 and the project defense, and at least 5/15 on the defense. The defense is the only AI-off item on your own code, so it has its own minimum mark. Each of those three items allows one resit after feedback if your first mark is below half of the item's maximum. A resit mark that replaces the first mark is capped at half the item's maximum. A sitting can become invalid because of a technical failure or an approved accommodation. You then take an equivalent sitting instead, and it does not use up your resit. Incomplete assessments stay missing. You cannot pass the course while a checkpoint or the defense is missing. Read the syllabus for the full rules.

Practise making a decision

Save a prediction before discussion. Inspect a candidate change or a trace. Run a discriminating check, that is, a check that can tell a right result from a wrong one. Revise after feedback, and try a changed input. After checking, choose whether to accept, narrow, recheck or stop. Another generation call helps only when it answers a question you can name.

Follow the safety practices in Week 0 setup before using your supplied coding agent. Ask for help when an access problem or a concept stops you from making progress.