CanonBench v0.1 · an open benchmark
When an AI model writes a whole book, how often does it contradict itself or the facts it was given?
Each model gets the same six book briefs, each with facts that must hold in every chapter. It writes every book twice: once with the whole book in its context, once with a simple fact ledger. Two judges from different labs read every chapter and quote each contradiction they find.
Loading the results
Leaderboard
Ranked by contradictions per 10,000 words, the mean of the two judges. Fewer is better. Each model is scored on the books both judges have finished reading.
| Loading |
- Words between contradictions
- Words written divided by contradictions: how far a reader gets, on average, before the book contradicts itself or its brief. Higher is better. A model with no contradictions shows the words it wrote, as a lower bound.
- Contradictions per 10,000 words
- The mean of the two judges' counted contradictions, pooled over the books, per 10,000 words written. The small range is a 95% interval from resampling chapters.
- Brief facts broken and self-contradictions
- The same rate split in two: against the facts planted in the brief, or against something the book itself said in an earlier chapter.
- Plan beats hit
- How often the judges found the event the chapter plan asked for, with a quote from the chapter, averaged over the two judges.
- Length vs asked
- Median chapter length over the 1,500 words asked for.
- Cost per book
- Tokens times the public list price on the provider used, with cached input billed in full, so it is an upper bound. Prices marked est. could not be confirmed.
Charts
Three views of the results. Hover or focus a mark for its values; each chart also opens as a table.
Same model, two ways of writing a book
Contradictions per 10,000 words. Each row is one model; the line joins its two scores. Fewer is better.
- Whole book in context
- Fact ledger
Show as a table
Where books break
Contradictions per 10,000 words by chapter, every model pooled. A later chapter has more earlier facts it can break.
- Whole book in context
- Fact ledger
Show as a table
Cost against contradictions
Cost to write one book (list price, log scale) against contradictions per 10,000 words. Lower left is better.
- Whole book in context
- Fact ledger
Show as a table
Read the books
Every book, chapter by chapter, with each contradiction the judges counted marked in the text. Hover or tap a marked passage to see who flagged it, what it breaks and why.
Loading the books
Plot holes both judges agree on
Passages where both judges, reading separately, counted a contradiction in the same words. The most striking come first: the dead who come back, wrong names, impossible dates.
How it works
The short version. The full method, with every rule and prompt, is in docs/METHOD.md.
Method in brief
- Six briefs, twelve chapters each: a memoir, a company history, a business book and three novels. Each brief plants 11 to 15 facts, 78 in all: names, dates, who is dead from which chapter, who knows what and when.
- Every model writes every book twice, one chapter per call, about 1,500 words a chapter, at the model's default settings.
- Whole book in context: the model sees the brief and every chapter written so far. Nothing is summarized or dropped.
- Fact ledger: the model sees the brief, a running list of facts the book has set, one line per earlier chapter and the previous chapter. After each chapter the same model checks it against the list and fixes what it finds. About 60 lines of open code.
- Two judges from different labs read every chapter in order and report each contradiction with a quote from the chapter.
- A contradiction counts only if its quote is in the chapter, it names a real fact, and the judge's own reason does not take it back. Every judge reply is published, counted or not.
- Scores are the mean of the two judges, per 10,000 words, pooled over the six books.
- The judges are tested on contradictions we plant ourselves, on single swapped words, and on unchanged chapters where anything they flag is a false alarm.
Limits
- One book per model, brief and mode. The intervals show how much chapters vary, not how much a rerun would.
- Books are about 18,000 words, the length of a novella. Longer runs are planned.
- The judges are models. They miss things and invent things. The quote rule removes invented quotes, and the judge tests put a number on what they miss.
- Some of the judges also write books in the table. Each judge's own scores are in the data files, so a home advantage can be checked.
- Every run uses one provider, Amazon Bedrock, so settings are the same for all. Models it does not serve are missing.
- It measures one thing: whether a book keeps its facts straight. Not prose, voice, humour or structure. A book with no contradictions can still be dull.
Add a model
Python 3.10 or later, no dependencies. Any OpenAI-compatible endpoint works, including a local server. Every step saves after each chapter, so a stopped run resumes where it left off. Then open a pull request with your results folder and we add the model to the table with a note saying who ran it.
git clone https://github.com/CottonPage/canonbench && cd canonbench
python -m canonbench write --provider openai --model YOUR-MODEL --out results/mine --price-in 2.5 --price-out 10
python -m canonbench judge ... # the same two judges, see docs/ADD_A_MODEL.md
python -m canonbench report --out results/mine
Cite
@misc{truong2026canonbench,
title = {{CanonBench}: Can a Model Write a Whole Book
without Contradicting It?},
author = {Truong, Thomas},
year = {2026},
version = {0.1},
organization = {CottonPage},
howpublished = {\url{https://github.com/CottonPage/canonbench}}
}
Licence
The code is under the MIT licence. The briefs, the books, the judgments and the scores are under CC BY 4.0: use them freely, with credit to "CanonBench, Thomas Truong (CottonPage), 2026" and a link to the repository.
The books were written by the models named on each one and are published as research data.