

Suite bench-v1
How It Works
The evals D20 Adventures actually uses to build its AI Game Master, run across models and graded in code.
- Ruling Probes
- 483 runs each (144 total)
- Playthroughs
- 53 runs each (15 total)
- Grading
- Code onlyno LLM judge
- Game Version
- 7edc4d4c379acommit b112a0af
Where the Tests Come From
These are the real evals I run on D20Adventures.com before shipping prompt or rules changes. Every test runs on @d20/gm-core and the same desktop runtime players use, inside the real adventures (The Midnight Summons, The Road to Kordavos, Covert Cargo, Welcome to Kordavos).
Running them across models also catches bugs in the game. If every model fails a case, it’s usually our bug and I fix the engine before freezing the suite. Before this run, Pushing Past the Watch caught a bug where quiet round-ends dropped NPC attitude changes after a question.
All the cases are public on Github. If labs train on them and models get better at running 5E, great. I keep a separate holdout/ folder unread while tuning prompts, just to check for overfitting.
From Playtests to Evals
Every case here came from something that actually broke while playing or running playtest agents on D20Adventures.com.
Play and Push
real sessions and playtest agents
Players and playtest agents run through real adventures and push on the edges: haggling fixed prices, claiming gear they don’t own, casting rituals mid-fight, or going off-script.
Read Failures
see what broke in play
I sample rounds and read them by hand before writing checks. That’s where real bugs show up, like dead NPCs talking again, silent NPCs chiming in, or a GM buying a made-up fact.
Write a Test
engine unit test or GM eval
Rules bugs like math, cover, or silent NPC filtering get fixed in @d20/gm-core with unit tests so no model can hit them again. Judgment calls become ruling probes, playthrough checks, or holdout cases.
Freeze the Suite
locked for fair runs
bench-v1 stays locked so every model runs the same game. New bugs from playtesting go into the next suite version.
Who Handles What
Code rolls the dice and keeps the books. The model makes the calls a game master makes at the table.
What Code Handles
LLMs are bad at math and bookkeeping, so TypeScript in packages/gm-core handles deterministic 5E rules (700+ unit tests):
- Rolling d20s, modifiers, Advantage/Disadvantage, and AC hits.
- Floor distances, melee reach, cover geometry, and Opportunity Attacks.
- HP, death saves, spell slots, concentration, conditions, and ammo.
- World-state allowlists and stripping speech put in a player’s mouth.
What the Model Handles
Players type whatever they want against open-ended adventure notes, not menu options or fixed fields. Code enforces the sheet after a call is made, so D20 Bench tests the unstructured judgment in front of it:
- Picking the right skill, save, attack, spell, or feature, and setting the DC (5 to 30).
- Reading compound turns like Action + Bonus Action, Weapon Mastery, Cunning Strike, and Metamagic.
- Saying no to sheet limits like empty slots or unowned gear before the engine has to reject them, and to story limits like fixed prices, impossible leaps, and NPC boundaries.
- Running multi-scene play without stalling, repeating NPC lines, resurrecting dead NPCs, or breaking JSON.
Ruling Probes
48 probes, 3 runs each. Every probe loads a real encounter, hero sheet, floor positions, conditions, and spent slots, asks the model for one ruling, and checks its structured answer in code.
Combat & Space
compound attacks, story cover, disengaging, hidden foes
12 probes × 3 runs
Spellcasting
bonus-action spells, empty slots, rituals in combat, unknown spells
12 probes × 3 runs
5E Rules & Features
class features vs. spells, Wild Shape bars, resting in combat
11 probes × 3 runs
Saying No & Boundaries
fixed prices, unowned gear, NPC limits, multi-NPC attitudes
13 probes × 3 runs
Scripted Playthroughs
5 plans, 3 runs each. Every plan plays a full adventure with scripted hero lines and fixed d20 rolls, so every model gets the same luck.
Odd Choices
The Midnight Summons
Climb a tree, leap on the owlbear, run for the river. Low rolls all the way.
Off-Script Detour
The Road to Kordavos
Ignoring the road's main hook for three turns per scene before moving on.
The Heist on the River
Covert Cargo
A party of three through a deal, a fight on a boat and what comes after.
Pushing Past the Watch
Welcome to Kordavos
Low-roll bullying at the gate, demanding a free sapphire, and mocking both clans.
Arrival at Kordavos
Welcome to Kordavos
A scholar with two AI companions through the gate, clan feud, inn and backroom job.
What Counts as a Pass
A run reaches its ending with
- 0 errors
- 0 repeated NPC lines
- 0 dead-NPC resurrections
- At most 2 stalled turns per encounter (minimum 5)
- Every expected world-state fact held
Scoring & Fairness
Scoring
Every test runs 3 times. GM Intelligence splits the score half and half between playthroughs and rulings, counting each run so one fluke doesn’t drop a whole playthrough from 100% to 0%.
You can still see how steady a model is in the matrix ( right every run, flaky, always wrong).
Valid on the first try counts answers that came back in the right JSON shape without a retry. A task is one player action from send to finished answer, timed on this machine and priced at public list rates.
Graded in Code, No LLM Judge
Everything in bench-v1 is graded by code. No AI grades another AI’s answers here, so there’s no subjective scoring or model bias creeping in.
Code checks the ruling fields and the game state directly. It can’t judge how good the writing is, though. I have a 7-question LLM scene judge in the repo for story quality, and I’m still calibrating it. I won’t publish judge scores until every question clears 80% on both good and bad rounds, human-checked across model families, with a second model agreeing.
Lines put in a hero’s mouth and bad stage directions are counted on each run, without failing it yet.
Fairness
This shows how well each model runs D20 Adventures, not which model is smartest overall. Fair warning: I originally tuned the GM prompts on Claude.
game-version.ts hashes all 297 engine, prompt, adventure, and eval files, and every run stamps that hash along with its provider, model, CLI version, reasoning effort (medium), and commit. Any mismatch or dirty game file gets rejected. Claude and Antigravity run up to 4 CLI processes at once (Claude with caching off), and Codex and Grok run one at a time.
Current Release
- Suite
- bench-v1
- Status
- 8 of 11 models run
- Game Version
- 7edc4d4c379a
- Commit
- b112a0af
- Reasoning Effort
- medium
- Updated
- December 3, 2026
See every model’s exact CLI and model stamps, source file links, and plans for bench-v2 on Versions.