CogniPrep publishes "is this score good?" in two places. After a practice run you see a percentile, computed from a nightly job that writes one statistics row per game. Separately, a few provider pages publish a whole distribution from a snapshot file with a date on it.
Both have the same failure mode. If we change a test, every score from before the change measures a different task, and averaging the two tells you nothing. Both have a guard against it. Both guards are a table somebody has to remember to edit.
Guard one: a window with a sentence
The snapshot builder holds a map from game id to a window:
- the start is the day after the change reached main, with the commit noted in a comment beside it;
- the value carries a reason written for candidates, not for us.
It has 13 rows today. Six games share one scoring change from August, three carry their own, and three Aon tests carry a question rebuild: "we rebuilt the questions on 3 November 2026 and changed them again on 7 November 2026, so earlier sessions are left out." Those sentences are rendered on the public page, under "How we counted": cogniprep.app/games/arctic-shores/practice-scores.
Guard two: a marker instead of a date
The nightly job cannot use a date. Its cut-over is whenever the build was deployed, which nobody writes down to the minute. So its table maps a game id to a key in the session's own metrics, and the aggregate counts only sessions carrying a key that the new scorer writes and the old one never did.
That is a nice trick: the session proves its own version, and no clock has to be right. It has 10 rows: four for one vendor's tests whose timing data changed, and six for another vendor's, all six rebuilt in a single week to match that vendor's own demos.
It also has a precondition nobody wrote down: the rebuild has to have changed the shape of what the scorer records. The guard's evidence is a side effect of the change, so a change with no side effect cannot be guarded at all.
Which is exactly what happened on Sunday
On 23 November we rebuilt AssessFirst's BRAIN as figure and number puzzles and reworked the questionnaire beside it, then added three more figure families on the 26th. The item content and the generator are new. The scorer was not touched, because the result is still a level on the vendor's 1 to 10 ladder, mapped onto 0 to 100.
So:
- No window row. The published snapshot for that provider is dated 8 November 2026, two weeks before the rebuild, and its median is from the old version of the test.
- No marker row, and none available. Every session carries the same metric keys it did in October, so there is no key to filter on. Adding a row to that table today would be writing a filter that matches everything.
- A comment where a guard should be. The window table ends with the line "AssessFirst BRAIN (af-brain) has not changed since its first session." It was true when it was written. It is false now, and nothing failed when it became false, because a comment is not a guard.
See it
Three public URLs, all curl-able, all contradicting each other in a way you can date:
curl -s https://cogniprep.app/api/games/population-stats/af-brain
At the time of writing that returns sampleSize: 647 with lastUpdated at 02:00 this morning, from sessions that began on 5 October: both versions of the test in one distribution. Its percentiles run 25, 28, 28 at the 10th, 20th and 25th and then 88, 94, 97 at the 60th, 75th and 90th. Compare the shape with a game nobody rebuilt:
curl -s https://cogniprep.app/api/games/population-stats/arrows
That one climbs 62, 69, 72, 78, 80, 82, 83, 84. I am not going to tell you the gap in the first one is proof of the mixture, because we have not proved it; a short adaptive test can be lumpy on its own. It is what a mixture would look like, in a game we know has two versions in the data, and that is enough to go and check rather than enough to publish as a cause.
Then read the two pages that disagree:
- /games/assessfirst/brain describes the test as it is now: puzzles of circles holding line figures or numbers, 8 to 12 items.
- /games/assessfirst/practice-scores publishes a median of 71 from 307 sessions, under the words "snapshot taken 8 November 2026".
The second page is not lying: it dates itself in the first paragraph, which is why the problem is findable at all. It is still quoting a number about a test that no longer exists in that form.
What I would take from it
A guard that needs a human to add a row is a statement of intent. The ones that hold are the derived ones: the card-image manifest that is generated from the directory of images cannot point at a missing file, because nobody types it.
Two cheaper rules than remembering:
- Make the guard refuse by default. A table of exceptions keyed on "game we changed" fails open. A column holding the version of the scorer that produced a row, written at write time, fails closed: a new version makes old rows visibly old without anyone deciding to say so.
-
Compare dates nobody curates.
git log -1on a game's code against the date on the data that describes it is a two-line check, and it is how this one surfaced. Nothing in the test suite was ever going to catch it, because every assertion involved was true.
The fix here is a dated window on the snapshot and a version stamp for the nightly job, and it is going in as a backlog item rather than a hurried commit, because the honest version of "our published median is from the old test" is a dated page, which is what we already have.
You can play the rebuilt test for free with a free account at CogniPrep, and the scores it writes tonight will be the ones a version stamp would have separated.
Top comments (0)