Figures outside a metric's plausible band are left out and listed; misleading
comparisons carry a warning. Each page's figures become numbered facts; an AI
explanation is written from them only and dropped unless every number and
citation is in them.
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
Co-authored-by: Claude <noreply@anthropic.com>
* feat(statistics): the law beside the numbers — series, law links, timelines, axes, saved views
Implements the roadmap section {#stats} (docs/design/2026-11-freedom-laws-statistics.md):
- Series as facts: a `statistic` block on metrics (definition, publisher,
series code); World Bank (WDI API) and OECD (SDMX) adapters; five series
for CH, LI, EE and US, read monthly; a publisher's 5xx is retried twice.
- An append-only `statistic_records` log for law links, events and
enforcement, written from a curated, source-checked list by
`statistics:sync` and the daily places cron; three links checked against
Fedlex and Riigi Teataja.
- /statistics (ranked bars, axes with reader or group weights),
/statistics/<metric> (line chart, a timeline of linked acts' versions over
the same years, the law, enforcement, sources), /statistics/view/<sha256>;
on @bitbaum/chartkit; five languages.
- Saved views under the sha256 of their spec; a proposal that links one
carries it as evidence (proposal_evidence), attached in the same
transaction.
- Roadmap and changelog updated; what remains is listed with its reason.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): law event pages, clickable timelines, maps, scatter, parallel coordinates, reader-built axes
- Events: what changed (wording before/after), how it came about, votes with
party breakdowns, who initiated/sponsored/recommended/opposed, claims and
critiques kept apart from what happened, each line with the page it was read
on; five loaded (Estonia 2023, US TCJA 2017, two Swiss firearms ballots,
Kennesaw 1982). /statistics/event/<slug>, /statistics/events; timeline marks
open them; the numbers around an event (line cut at the change, peers apart,
a before/at/after table).
- Numbers that mean the same everywhere: central-government-only series
retired for all-levels OECD series; a per-statistic scope sentence; central
share of tax as a decentralisation proxy; SDMX series told apart by `match`.
- A world map per statistic on geo-kit, /statistics/compare scatter, parallel
coordinates per axis, a reader-built axis kept in the link, saved axes.
- Fetch: four retries with backoff and a pause between a source's requests.
- Tests, roadmap, changelog and design note updated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): coded assessments and the compulsion dimension
A rubric registry and an assessment record kind in the append-only log.
A coding names its rubric version, a point of the written scale, the
provisions and quotes it was read from, a confidence and its reason, and
is settled only when someone other than the coder has reviewed it.
First codings, from statutes: compulsory military service in CH, EE, US.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): coded assessments and the compulsion dimension
A rubric registry and an assessment record kind in the append-only log.
A coding names its rubric version, a point of the written scale, the
provisions and quotes it was read from, a confidence and its reason, and
is settled only when someone other than the coder has reviewed it.
First codings, from statutes: compulsory military service in CH, EE, US.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
---------
Co-authored-by: Claude <noreply@anthropic.com>
* feat(statistics): the law beside the numbers — series, law links, timelines, axes, saved views
Implements the roadmap section {#stats} (docs/design/2026-11-freedom-laws-statistics.md):
- Series as facts: a `statistic` block on metrics (definition, publisher,
series code); World Bank (WDI API) and OECD (SDMX) adapters; five series
for CH, LI, EE and US, read monthly; a publisher's 5xx is retried twice.
- An append-only `statistic_records` log for law links, events and
enforcement, written from a curated, source-checked list by
`statistics:sync` and the daily places cron; three links checked against
Fedlex and Riigi Teataja.
- /statistics (ranked bars, axes with reader or group weights),
/statistics/<metric> (line chart, a timeline of linked acts' versions over
the same years, the law, enforcement, sources), /statistics/view/<sha256>;
on @bitbaum/chartkit; five languages.
- Saved views under the sha256 of their spec; a proposal that links one
carries it as evidence (proposal_evidence), attached in the same
transaction.
- Roadmap and changelog updated; what remains is listed with its reason.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): law event pages, clickable timelines, maps, scatter, parallel coordinates, reader-built axes
- Events: what changed (wording before/after), how it came about, votes with
party breakdowns, who initiated/sponsored/recommended/opposed, claims and
critiques kept apart from what happened, each line with the page it was read
on; five loaded (Estonia 2023, US TCJA 2017, two Swiss firearms ballots,
Kennesaw 1982). /statistics/event/<slug>, /statistics/events; timeline marks
open them; the numbers around an event (line cut at the change, peers apart,
a before/at/after table).
- Numbers that mean the same everywhere: central-government-only series
retired for all-levels OECD series; a per-statistic scope sentence; central
share of tax as a decentralisation proxy; SDMX series told apart by `match`.
- A world map per statistic on geo-kit, /statistics/compare scatter, parallel
coordinates per axis, a reader-built axis kept in the link, saved axes.
- Fetch: four retries with backoff and a pause between a source's requests.
- Tests, roadmap, changelog and design note updated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
---------
Co-authored-by: Claude <noreply@anthropic.com>