Date: 2026-09-13
Scope: What the live stats page at /stats/ should show now that every
submission can be classified as kept (the visitor registered the number the quiz
proposed) or moved (the visitor set their own). Follows
storing the calibrated starting point and
splitting the reports; this note is the
same split applied to the one page most visitors actually see.
Outcome: Replace the single “Average P(doom)” card with the median of the moved
rows and the share that kept the proposal; draw the histogram as two series; give
the factor table a moved-only column. Classification runs in the browser from the
columns the page already fetches, with no server change.
The stats page fetches every row and shows three cards, a histogram and a factor
table. The headline card is the mean of every summary.midpoint: 43.4% on
12 September. That number blends four populations that have nothing to do with each
other:
| Rows | What the midpoint is |
|---|---|
| 98 before the level chooser | a number set by hand on three sliders, median 15% |
| 50 quiz rows that kept the proposal | the calibration’s output, median 72–92% by level |
| 99 quiz rows that moved a slider | the visitor’s own number, median 34–48% by level |
| 6 with no level since March | the 50/50/50 default, 12.5% |
A mean across those is not the community’s p(doom). It is mostly a measure of how many people took the medium quiz and pressed submit. The reports now separate the groups; the stats page, which is linked from the calculator’s own navigation and read by far more people, still does not.
The mean is also the wrong statistic for this distribution. The histogram on the same page shows the shape: two humps, one near zero and one above 70%. A median survives that; a mean lands between the humps where almost nobody is.
Three summary cards, in place of the current three:
Under the cards, one sentence, in the same register as the calculator’s own copy: “After a quiz the page proposes a starting number from the answers. Rows that registered it unmoved are shown separately from rows where the visitor set their own.” No more than that; the figures carry the rest.
Histogram. Two series on the same bins: moved rows as the solid bars, kept rows
stacked above them in the lighter tint the site already uses for --chart-bar
against --chart-bar-border. A two-entry legend. The pre-chooser and no-level rows
belong to the moved series, since their numbers were set by hand; if that reads
as unfair to the quiz era, a third series for “before the quiz” is cheap and keeps
the March boundary visible.
Factor table. Keep the three rows. Replace the three mean columns with medians, and add a column for the moved rows only, since the pooled medians of the quiz era are the cube root of the proposal (0.91, 0.91, 0.91 on the kept rows) and say nothing about how visitors weigh the links. The pre-chooser cohort’s 0.76, 0.60, 0.50 and the movers’ 0.89, 0.80, 0.85 are the two chains worth comparing.
Export. Leave the JSON export raw. Add one derived field per row, kept, with
the rule used, so anyone downloading it does not have to rediscover the split.
The page already fetches quiz_flow_id, quiz_answers and factors. Add
calibration to the select. Then, per row:
calibration.per_factor present → kept if all three factors[i].midpoint are
within 0.0005 of per_factor / 100. Exact; this is every row from 12 September
on.Porting the three calibration functions into the stats page, as the build script
does in Python, would make rule 3 exact. It is not worth it: the functions depend
on the quiz option lists and their add dates, which would have to be shared with
index.html or duplicated, and the population they would improve is fixed at 149
rows with one known disagreement.
aggregateFactors, average and the histogram builder in stats/index.html
each take a row list. Give them a kept predicate and call them twice, or once
with the rows tagged; the structure does not need to change.median helper beside average. Keep average for the export’s
backward-compatible average_pdoom field, and add median_pdoom_moved,
kept_share and kept_count beside it rather than renaming.stack: 'p' on
both is the whole change to the chart config.--chart-bar is the translucent
fill, --chart-bar-border the solid; use the solid for moved and the translucent
for kept, so the visitor’s numbers read as the foreground.