Reference · method · review

Method and review

How a reading on this site is made, checked and graded. Who does each step. What the checks do not cover. Every count on this page is made again from the repository each time the site is built.

Daniel Bourdeau · posted · updated

Version française

At a glance

01 What this project is

Cyphersolver is an open ledger of historical ciphers. The ciphers are worked on with AI models. The ledger is also an informal benchmark of what those models can do with them.

People run the AI models: the project’s maintainers and outside contributors.

The ledger holds 948 target records. 503 are the project’s own work, 373 were contributed from outside, and 72 are mixed.

The ledger is not a critical edition. Its results have not been peer-reviewed in the academic sense.

Words used on this page:

The full rules are in the README (Conventions), CONTRIBUTING.md and profile.schema.json.

02 The steps of a reading

StepUsually done byWhat is checked
1. Find the document and any earlier readingan AI agent, run by a personsince 28 October 2026, a vetting list for the catalogue (§ 03)
2. Transcribe the cipheran AI model, from the imagesno systematic double transcription (§ 04)
3. Obtain the keyan AI model, or a key that already existedthe statistical test, where it applies (§ 07)
4. Build the text and translate itan AI model (the method is in CONTRIBUTING)the share of words read, read_share (§ 06)
5. Grade the reading A or Ban AI model, in 95% of entriesthat a grade is there (§ 08)
6. Check a passage on the image without AIa person, in 4 recordsnothing automatic (§ 08)
7. Merge into the repositorya maintainer; for a pull request, one who is not its authorthe approval, for pull requests (§ 09)

03 Sources and earlier work

Every image on the site is to be credited to its source: holder, shelfmark, folio, and the route to it (Gallica, DECODE, an archive’s viewer, IIIF, an edition). That is the README’s rule. It is not checked page by page.

Images remain under their holders’ terms. Text is under CC BY 4.0, code under MIT.

Since 28 October 2026, a document enters the catalogue only when its record shows two things. The ciphertext was seen on an image. The usual places for an earlier decipherment were searched: DECODE, Satoshi Tomokiyo’s lists, the printed calendar or edition, and the literature. Older entries did not go through this list.

A record can say whether a reading existed before the project’s. 884 of 948 records answer. 518 record an earlier reading, complete or partial. In 82 of these it came to light only after the project’s reading.

The write-up checker asks that an earlier reading in print, online, unpublished or partial be credited in the record. 280 of the 321 records concerned do so. An earlier solution that was never published is shown in full only with its author’s agreement.

04 Transcription

Copying the cipher from the manuscript is a source of error in itself. The records say who transcribed each document.

Transcribed byDocuments
an AI model, from the images2,186
several sources combined259
DECODE154
a printed edition114
a person working for the project11
other, or not stated68
All documents2,792

There is no systematic double blind transcription. The notes of some targets compare two transcriptions; the project publishes no overall rate of agreement.

A transcription is sometimes corrected after the key is found. The reading can then depend on the key it is meant to test. The write-ups do not flag this in a uniform way.

In 14 targets, all contributed from outside, the work files were time-stamped: an RFC 3161 token and an OpenTimestamps proof over the SHA-256 of a list of files. This can prove that the listed files existed at that date.

05 How the key is obtained

Each record puts its method in one of the categories of the glossary.

How the key was obtainedRecords
key recovered here by cryptanalysis: from the ciphertext alone, from a plaintext found elsewhere, or from a plaintext next to the cipher388
a key or decipherment that already existed, applied here364
neither key nor text obtained (not solved)143
not a cipher, or the document could not be reached53
All records948

A negative result is to come with a matched control: a synthetic text of the same length, alphabet and cipher design that the same solver does recover. That is the README’s rule. It is not checked: 21 of the 143 not solved records list a matched control.

A held-out test means finding the key without looking at part of the text, then trying the key on that part. No rule of the project requires it. Some contributors do it and describe it in the target’s notes.

In the protocol some contributors follow, a key found by cryptanalysis is found on part of the text only. The rest is not analysed and serves as validation. The steps are: choose the held-out portion before any work on it; freeze the key with a SHA-256 hash; then decrypt the held-out portion once, with no change to the key. The test passes when the share of letters that make sense reaches 0.85 and beats the best of 200 shuffled keys by at least 0.30. The notes of these targets give the hash, the portion and the score, including when the test fails.

06 A decryption is not yet a reading

A key that turns the cipher into words does not yet give a text. Each document in a record carries one of four states.

StateWhat it meansDocuments
readcoherent sentences, an English translation, and at least 95% of words read1,140
read in partcoherent sentences and a translation, but under 95% of words read800
decoded, not reada decode that does not build sentences: shown, but not counted as a reading530
not prosea key sheet, a code list, figures or names61
All entries2,531

The share of words read (read_share) counts cipher words only. In a letter that mixes clear text and cipher, it is measured over the words written in cipher; the clear words around them are neither read nor unread and stay out of both numerator and denominator.

Only sure words count as read: a word counts as read when the key gives it, or the plain text beside it does, with nothing supplied. A probable word ({x}), an inferred or supplied word, a grade-M word and an unvalued code are holes, and so is a letter supplied inside a word. read_share is 1 minus the share of holes among the cipher words. It is counted by a script where the reading declares its markup.

The 95% bar applies to the cipher words of each document. Floor for short texts: a document of fewer than 40 cipher words is read when its holes are at most 5% of its cipher words or at most 2 words, whichever allows more. The floor never applies to a text of 40 words or more, and the page and the record state the number of holes and that the floor was used.

This number counts the holes the reader marked. It does not say whether the words read are right.

The decryption and the reading are two files. The decryption is the key applied to the transcription, sign by sign, with nothing edited: a word the key gets wrong stays wrong in it. The reading is that text made into sentences, and every letter or word in it that the key does not give for the signs as transcribed is marked; marked letters are holes. A text that is a decipherment of the time, a clear copy or an edition is labelled as such. This rule dates from 16 November 2026 (README, Conventions). An audit of the 54 targets its script flagged found words departing from the key, without a mark, in 35 of them; marks were added in 31 targets (858 places). The script could not compare 757 of 938 texts with their keys, so readings made before that date may still carry unmarked changes. The audit is in research/decrypt_audit.

208 documents in state read have no read_share recorded. For them, the 95% is not measured document by document.

The 95% bar is the project’s own. No standard of the field sets one.

One special case. In a code read with its surviving period key, a group one digit away from the value the sense needs counts as read, on three conditions. The slip can be seen on the image. The other groups of the word come from the key. The corrected groups spell the whole word. The group is marked {+...} in the text.

07 The statistical test against false positives

The risk: a key with enough free values can produce words even when it is wrong.

The test is docs/_validate.py. It scores the reading with a letter model of the period (sequences of 4 letters). It then compares that score with two baselines:

A reading passes when its score is at least 5 standard deviations above the random keys, above every key fitted to shuffled text, and at least 3 standard deviations above their mean.

VerdictMeaningRecords
passthe three conditions above186
weakat least 1 standard deviation above the shuffled fits, short of a pass24
underdeterminedthe search does better than the reading on the real ciphertext: the test cannot decide29
too shortunder 40 symbols read, or under 80 letters14
faila key fitted to the shuffled text does as well5
not applicablea transposition, a non-alphabetic plaintext, or symbols with several values (over 10%)110
All verdicts368

The automated checks do not require the test. Of the 350 records whose key was recovered here and whose text was obtained in full or in part, 69 carry no verdict: 66 are results contributed from outside (43 George Lasry, 13 WAINUT, 3 Andrew Aymeloglu, 2 Prabal Gupta, 2 Malcolm McBratney, 1 SeldomPhooey, 1 Andrew Beling and 1 Brice Dudout), 1 is mixed and 2 are the project’s own.

What the test does not show:

08 The reading grade and the human check

A reading grade (reading_review) is recorded in the record, document by document. A reader has read the decryption as sentences and gives it A or B:

A and B are not grades of accuracy. They say the text builds sentences. They do not say it was compared with the images.

A grade is needed for read and read in part documents. The schema allows a person or an AI model named as such. CONTRIBUTING wants the grade recorded by the reviewer, not by the author. No automated check looks at who gave it.

Most A and B grades are given by an AI model.

Who signed the gradeEntries
an AI model1,638 (95%)
a person assisted by an AI model52
a person, no AI model named7
cannot tell36 (2 of them name a published edition, not a reviewer)
All graded entries1,733, in 593 records

In at least 80 entries the record itself says the reader was not independent of the work (for example, the same session). At least 124 more are signed by an agent working for the author of the reading. These entries do not meet, or do not clearly meet, the rule of CONTRIBUTING.

226 read or read in part documents have no grade of their own. For 215 of them, the check uses the grade of the reading audit of 22 October 2026, which an AI model gave. 1 have an audit grade that is neither A nor B, and 10 have no grade at all. They are not counted in the table.

The second review of a reading is therefore an AI model reader together with the automated checks. It is not a human review.

The human check (human_check) is something else. A person compares a passage with the image, without AI help, and records the result: confirmed, corrected or disagreed. It is declared in the record. It covers 4 records (4 confirmed).

When a character or an alphabet is doubtful, a contributor can make targeted blind re-readings. A person sees only the doubtful sign, cut out of the image, next to two or three candidate shapes. They do not see the expected reading, the gloss or the context. They choose the shape they see. This confirms or refutes one value, one reading or a whole alphabet without the bias of knowing the answer. It is a check of sign shapes, not a re-reading of the text, and it is recorded as such.

105 records also declare an “independent verification”: someone outside the project checked the reading against the images or with their own key. The field does not say whether that person used an AI model.

239 readings whose key was recovered or matched here are waiting for an independent check.

How these figures are counted. One graded entry is one item of outcome.texts in a target’s profile.json that carries a reading_review, whatever its state. Only the targets/<folder>/profile.json files are counted. The signer is classed from the by field: model when it names an AI model, an agent or an AI session and no person comes first; person assisted by an AI model when a person comes first and says an AI model assisted; person when no model is named; cannot tell when it names neither (“project verification pass”). “Not independent” and “an agent working for the author” are found by a word search in by and note, so they are lower bounds. Counting per document or per target gives other totals. The rule is in docs/_method_page.py.

A verification level: AI decipherment, human-checked on a sample of signs

Between no check and a full proofreading against the images, a reading can carry the level AI decipherment, human-checked on a sample of signs. An AI model transcribed and deciphered the text. A person then picked, blind, the shape they see for a set of signs on a review sheet:

The record (sign_check in profile.json) gives the date; who answered, and whether that person is inside or outside the project; what an AI model did (wrote the rule, cut the thumbnails, built the sheet, scored the answers, interpreted free-text remarks); how many signs were checked and how they were chosen (a section of the target’s NOTES); how many controls passed; and the results: as transcribed, corrected, unresolved, not counted. A write-up shows it as one sentence, for example: “9 doubtful signs checked blind by a project member, on a sheet an AI model built and scored; rule in NOTES; controls 2 of 2; 2 as transcribed, 7 corrected, 1 not counted (faulty thumbnail)”.

A sheet meets the level only with at least 2 controls, all passed, and at least 8 target signs once the answers touched by a faulty thumbnail are removed. An answer “none / other” on a control counts as a failure. Whatever an answer contradicts is recoded or marked in the reading first. These are the project’s rules (README, Conventions; the owner’s decision of 19 November 2026): the checker is named, and the label says nothing about the key. The dated rule and its SHA-256 identify the criteria recorded before the answers. On shared sheets, count the signs for each target separately.

The level says how a reading was checked, not how much of the text counts as read. It never changes the class or the state: a reading can carry it and keep the state read in part. The read share may move only where a blind human call on a glyph’s shape removes a [?] mark, and then NOTES and the solution step give the counts before and after (owner’s rule, 25 Nov 2026). It checks the shapes of signs, not the key, the value of a code or the reading as a whole. The signs are chosen because they are doubtful, so the check is a diagnostic, not a random sample, and it says nothing about the signs that were not shown. Two passed controls show little on their own: a checker who is right one time in two passes both one time in four. It is not a human_check, which the schema defines as a check without AI help.

The first readings to carry it are those whose key was built on part of the material (the document or sister letters in the same cipher) and passed a test on a passage not used to build it, against a threshold written first; the write-up gives the history of attempts. On these first readings the checker is the contributor of the reading, a project member who answered the sheets of his own readings: the check is not independent, and the record and the write-up say so. 23 records carry a sign_check (41 sheets, 26 meeting the level, 0 answered by someone outside the project). The ridolfi1646 sheet counts at the level and was not part of the first batch; the lopehurtado1520 and genes1638 sheets of the first batch are not at the level (their rules were not hashed).

09 What the automated checks require

Two checks run on GitHub by themselves (continuous integration, CI).

CheckWhen it runsWhat it checksWhat it does not check
Check write-upsevery push to main and every pull requestpage heads, dead links and HTML markup; the unit tests of the scriptsnothing about the readings themselves
Reading checkevery pull request, on the targets it changes onlyfor each read or read in part document: a grade A or B (its own, or the audit’s) and an English translation; read_share at 0.95 or more for a read document, when it is recorded; that the target’s class matches its documentswho gave the grade; the statistical test; the matched control; any comparison with the images; the targets the pull request does not touch

The other rules (the statistical test, the credit for earlier readings, the human check, the catalogue vetting list) are checked by scripts run by hand. They do not block a merge.

Today 3 of the 704 targets that present a reading would not pass the Reading check if a pull request changed them.

Merging. A change to a result enters the repository through a pull request approved by a maintainer who is not its author (CONTRIBUTING, “Review and merging”). A ruleset on main enforces part of this: it requires a pull request and a code owner’s review (CODEOWNERS), but not that the two checks pass, which CONTRIBUTING also asks. The repository’s administrator and the site’s rebuild job (through a deploy key) can push to main without a pull request, and the owner has pushed directly, so the rule does not bind every change.

10 The part played by AI

The records name the AI models that did the work (conditions.models). They say what the person did (conditions.human_role): supply images or logins, point to a source, correct a reading.

Scripts, keys and transcriptions are kept under version control. The README gives the commands that reproduce two results.

A step done by an AI model cannot be replayed exactly: transcribing an image, proposing a code value from context. The models are proprietary.

The cost of each result (model use, money, human time) is not published.

11 Corrections and challenges

Any reading can be challenged or checked.

On GitHub, the Verification form asks for the passage and the images used, every place where your reading agrees with the page or differs from it, and the key values you would change.

Without a GitHub account, write by email.

Every write-up has a “Contest or verify this reading” link at its foot. Say which passage and which images, and where your reading differs. No response time is promised.

A correction is made on the page with its date, stays in the repository’s history, and is entered in the corrections log: the date, the pages, what changed, who reported it and why it was wrong. The log starts on 16 November 2026.

12 For researchers, and how to cite

Cryptologists, palaeographers, archivists and historians can:

Contributions are credited in the record (outcome.credits) and on Contributors.

Each write-up has a “Cite this page” block with a BibTeX entry: the date the page was posted and last changed, and the repository commit the site was built from. A page can change at the same address, so cite the commit and the date you consulted it. There is no DOI.