Step 4 of 10 · Grading
Code check Code checks are small functions that return pass or fail. They cost nothing, run in milliseconds and give the same answer every time, so they go first and run on every change. They can only test what you can write as a rule.
These checks are real code running in your browser right now. Five need only the transcript and the summary. A sixth compares against the golden answer from the last step. Switch meetings, then edit the summary and watch the checks react.
Action items
Transcript · Customer escalation · Tue Oct 6
Attendees: Priya, Sam, Noor
5 reference-free checks
1 failingEvery action item is complete
Passowner and task are non-empty, and due is “none” or a date like “Oct 8”
2 action items, all well-formed.
Owners are people in the meeting
Passowner must be one of: Priya, Sam, Noor
Every owner is an attendee.
Summary is at most 80 words
Password count ≤ 80
32 words.
Every number appears in the transcript
Faileach digit string in the summary text and tasks must also appear in the transcript
Not in transcript: 30.
No chatbot filler
Passno “as an AI”, “here is the summary”, “I cannot” and similar
Clean.
These need only the transcript and the summary, so they also run on live traffic.
1 golden-set check
PassAction items match the golden answer
each expected item is present with the same owner and due date, and nothing extra
All 2 expected items match.
Compares against the reference answer from the golden dataset. It only works on inputs that have one, so it can’t run on live meetings.
| Meeting | Prompt | Reference-free (5) | Golden-set check |
|---|---|---|---|
| Sprint planning | v1 | Fail | Fail |
| v2 | Pass | Pass | |
| Customer escalation | v1 | Fail | Pass |
| v2 | Pass | Pass | |
| Pricing review | v1 | Pass | Pass |
| v2 | Pass | Pass | |
| Design critique | v1 | Pass | Fail |
| v2 | Pass | Pass | |
| Hiring sync | v1 | Pass | Fail |
| v2 | Pass | Pass | |
| Launch retro | v1 | Pass | Pass |
| v2 | Pass | Pass |
The reference-free checks caught two of v1’s five faulty summaries: the “Team” owner with a wall of text, and the invented 30% discount. They say nothing about the missing decision, the wrong owner, the wrong date or the unfair framing. The golden-set check catches the wrong owner and wrong date as well, because it knows the right answers. But it only works on the six meetings we hold answers for. On tomorrow’s real meetings there is no answer key, which is why we still need the graders that follow.
Format and schema
Is the output valid, with every required field filled?
Lookups
Is this owner in the attendee list? Is this product ID real?
Grounding by string match
Does each number or name in the output appear in the source?
Hard limits and guardrails
Length, banned phrases, leaked personal data, forbidden claims. Rules the product must never break are best enforced in code and then tested here.
Reference match
Compare to a golden answer: right owner, right date, nothing missing. Exact, but only for inputs you have answers for.
A green code check is not a good summary
Three of the five faulty v1 summaries pass every reference-free rule. Passing code checks is the entry ticket, not the verdict.