Game Day 1: Wrong Grades

Reminders
- FEEDBACK: Checkpoint 1, closed Tue Oct 13. Feedback is coming back shortly
- DUE: First Implementation Ticket, review-ready Thu Oct 29
- TODAY: Game Days and Postmortems. Everything happens in this room, and nothing is due afterwards
CS 4535: Software Design & Delivery
Game Day 1: Wrong Grades
©2026 Jonathan Bell, CC-BY-SA
Learning Objectives
After this session, you'll be able to:
- Find a failure that produces no error anywhere, starting from a user's report
- Measure how far it spread, and say which question each number answers
- Stop it from getting worse, repair the damage, and verify the repair
- Judge a postmortem for accuracy against what you actually saw
How Today Works
- Your own workspace: open
<your-username>/gameday-1in Coder. It runs a complete local Pawtograder with a seeded class, and something in it is wrong. Treat it as production - Your tools:
psqland the code. There are no dashboards and no git history - Start here:
~/gameday-1/GAMEDAY.mdhas the user's report.~/gameday-1/POSTGRES.mdis a five-minute primer if you need one - Pairs: each of you on your own workspace, comparing as you go
- Half the room starts with Claude Code, half starts without it. At minute 30, everyone can use it
Four Rules
- Read-only until you can explain it. Use
psql-rountil you can tell your partner the cause and how many were affected. Thenpsql-rw - Log everything in
~/gameday-1/timeline.md: the time, the query, and what it told you - Repairs run inside
BEGIN. Check the row count before youCOMMIT - Don't reset or stop the stack. Production doesn't have a reset button
The Clock
| Minutes | What you do |
|---|---|
| 5–30 | Read the report. Detect, scope, find the cause |
| 30–40 | Mitigate and repair. Block 1 before you commit |
| 40–45 | Block 2: your account |
| 45–52 | Block 3, then gameday-postmortem |
| 52–60 | Block 4: check the draft against your prediction |
| 60–65 | Two pairs share what their AI got wrong |
The Worksheet: Predict, Then Run
One page, on paper, no AI. Each prediction goes on paper before you run the thing it predicts.
- The repair (inside
BEGIN): predicted rows, what psql said, and why they differ if they do. Decide before youCOMMIT - Your account (minute 40): the cause, how many and which question that answers, the action you took
- Predict the AI (before
gameday-postmortem): its number, and what it'll get wrong - Run it, then check: were you right, what it actually got wrong, and the action item you'd ship first
Minute 45: Predict, Then Run the Postmortem
Fill in block 3 first. Then:
gameday-postmortem
- Runs Claude Code with the same prompt for everyone: read it in
~/gameday-1/POSTMORTEM-PROMPT.txt - It reads your
timeline.md, checks facts with read-only queries, and writes~/gameday-1/POSTMORTEM.md - It takes two to three minutes. Then block 4: check it against your prediction
Minute 60: What Did Your AI Get Wrong?
- Two pairs, one from each half of the room
- Leave
timeline.mdandPOSTMORTEM.mdin~/gameday-1. We copy them after class
Up Next
Mon Oct 26: Written Standup + Clinic
Wed Oct 28: Reading Presentations 2. Two AI readings. We'll bring what today's two halves of the room found
Before then:
- First Implementation Ticket: review-ready Thu Oct 29