HN Launches D20 Bench, a Code‑Graded Benchmark for LLMs for 5E GMs
benchmarks
| Source: HN | Original article
A new benchmark called D20 Bench evaluates large language models’ ability to serve as Dungeons & Dragons 5E game masters.
A new open‑source benchmark called **D20 Bench** has been posted on Hacker News, offering a code‑graded way to assess large language models (LLMs) that act as Dungeon Masters for Dungeons & Dragons 5th Edition (5E). The suite runs LLMs through a real 5E engine – the same “D20 Adventures” framework used by hobbyists – and automatically scores their performance on storytelling, combat, spellcasting, rule adherence and the ability to refuse impossible requests. Nine models were evaluated across 48 “ruling probes” and five scripted playthroughs (each repeated three times), with every judgment produced by deterministic code rather than a second LLM judge.
The benchmark matters because most existing LLM evaluations rely on human or model‑based grading of free‑form text, which can be subjective and hard to reproduce. By embedding the game mechanics in code, D20 Bench delivers reproducible, quantitative results that directly test a model’s grasp of complex rule systems and interactive narrative control. For developers eyeing AI‑driven game mastering or broader interactive‑AI applications, the tool provides a concrete yardstick for how well a model can follow structured, domain‑specific logic while still delivering engaging story.
Going forward, the community will likely use D20 Bench to compare upcoming model releases, extend the probe set, or adapt the approach to other tabletop systems. Watch for integration with related evaluation suites such as GameSWE, which already measures coding agents in live game runtimes, and for any public leaderboards that could shape how AI developers prioritize rule‑following capabilities in future LLMs.
Sources
Back to AIPULSEN