Files
threshing-atlas/analysis
ekcSchianoandClaude Opus 5.5 73a6f5d355
CI / test (pull_request) Successful in 2m12s
Site repairs: first-attempt Black, shadow evidence, author's statements
- analysis/black/evidence.py also writes data/public/black.json (--check covers both)
- Odds: the Black card shows first-attempt odds; new "The Black is not dice" panel from black.json
- "Earlier choices barely change who waits" card replaced by the first-attempt finding
- Journey eyebrow and bonding step no longer call the rolls pure luck
- Footer, lore line and Reddit post: the author's statements (no roll worse than 1 in 20,
  the Black is not luck) replace the "10% chaos" claim
- Report tab: the community Google Form first (no account needed), the Gitea form second;
  register listed as a source
- register.js: snapshot label reads raw.source (was undefined)
- build.js copies black.json, tree.json and experiments.json

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
2026-11-16 18:22:21 +00:00
..

analysis

Making sense of the data.

Folder What it does
stats/measures.yaml Declarative. What the site measures: outcomes and their denominators, route targets and comparison groups, the bonding-encounter contexts, the route map's stages, the filter presets and the route thresholds.
stats/site_stats.py Computes every number the Atlas page shows for every preset and writes data/public/stats.json; the page computes nothing itself.
stats/stats_core.py The statistics themselves: rates with Wilson intervals, odds ratios with Fisher's test and Benjamini–Hochberg, Mantel–Haenszel, ridge logistic models that adjust for data source and chase goal. Tested against known answers (tests/core/test_stats.py).
network/ build-graph.js combines every source into data/public/graph.json (the decision-variable graph and the bot's scene graph). CI fails if the committed graph is out of date.
reports/ Generated reports. POLICY.md is written by planner/policy_report.py; do not edit it by hand.