Comparatron: report, 21 Nov 2026
Comparatron: report, 21 Nov 2026
Outcome: the comparatron format is specified, buildable with one DataPressr call, and live on the DataHub blog with a first example; a second is reviewed and queued for 22 Nov.
Done-check
| Brief item | State |
|---|---|
| Agreed spec and fairness rules | Done: comparatron.md in DataPressr (branch comparatron); anatomy, fairness rules 1–7, bounded sensitivity check instead of fixed thresholds. Plan: projects/story-formats/comparatron-plan.md. |
| A working way to make them | Done: compare() in DataPressr skills/story/references/compare-template.mjs: desktop, mobile and three card sizes from one spec; circles by default with a second form (nested or side-by-side squares); a CSS-only MDX switcher; checks for lie factor, printed-value consistency, containment, contrast, overlap and word counts; story-check support and tests. Branch pushed at a3a4ee0, not merged. |
| Decision on Comparethe | Unrelated (a product-comparison wiki); factory-but.3.3 stays a separate P2 question. The old datopian/comparotron code is reference only; its issues' ideas went to INBOX.md. |
| 2–3 good examples, reviewed | 2: US aid vs military live 21 Nov; US falls vs homicide READY for 22 Nov (scheduled in this session). Both through seven review rounds (Opus/Fable editors, Codex fact and pre-publish checks). A third should come from compares-shortlist.md (factory-but.9.7). |
Design path
- v1: clean but not striking.
- v2: a hand-drawn take, rejected.
- v3: the McCandless distillation (one shape family, true area, value printed, one accent, a per-day conversion line). Accepted.
- Rufus's final call: circles side by side, nested squares as the alternative, a narrow card-like layout with the kicker below, and a reader switcher.
What reviews caught
- SIPRI's non-commercial terms led to a switch to public-domain OMB and Treasury data, which moved the aid ratio from 33 to 24.
- "Foreign aid" had to become "economic aid".
- A clipped phone figure led to a containment check in
compare(). - Raw files were in the upload set.
- Falls was reframed around 2004, when falls overtook homicide.
- The 30.5-to-1 rounding was corrected.
Found on publishing
dh publishleft two files 404 until a second publish.- DataHub's article grid lacks
min-w-0, so a wide table overflows phone screens. It was worked around in the post;factory-but.9.10tracks the platform fix. - DataPressr follow-ups are filed as a bead.
- Blog posts still have no og:image until datahub-next PR #986 merges.
Asks for Rufus
- Merge DataPressr branches
comparatronanddocs/viz-skills-survey. - Merge datahub-next PR #986 (og:image) and fix
min-w-0(factory-but.9.10).