Files
threshing-atlas/analysis
ekcSchianoandClaude Opus 5.5 036c86a1d1
CI / test (pull_request) Successful in 39s
Site statistics: the bot's runs, every source labelled as itself, chosen deaths never counted as failed bonds
- analysis/stats/measures.yaml: the bot is a statistics source. A deliberate death (`_deliberate`, the route
  model's rule: burned at an encounter the rider was not attempting) is left out of every bond rate, encounter
  rate and route ranking, for every source, as the model and the summary cards already did. Biggest moves (all
  runs): two Greens 8.9% -> 29.1%, meadow Orange 9.2% -> 25.2%, meadow Brown 14.3% -> 28.3%, valley Red 79.2% ->
  93.3%; mostly from form riders who burned on purpose, not from the bot.
- analysis/stats/site_stats.py: runs that are not from the spreadsheet are grouped as their own source
  ("Reddit comments", "DragonKind bot", "Reported on the Atlas"), not as bulk logs; two new presets (Reddit
  comments only, DragonKind bot only); the route map's bond denominators skip deliberate deaths.
- site/atlas/app.js: the bulk-import share counts only spreadsheet imports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
2026-11-19 14:58:17 +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.