{
 "what": "Two readings added to the induced note round after its results were seen: an exact bound on the documentation's lead over the note, and a count of the test questions that say in their own words what to count.",
 "when": "Decided after the test results of the three scored models were seen. This file is committed before reread.py, the code that computes both readings. The question patterns below were tried on the test questions before this file was written, so the counts describe the questions and test nothing.",
 "unchanged": ["DESIGN-induced.md", "protocol.json", "note.md", "note-freeze.json", "induction-log.json", "questions-test.json", "restore.json", "restore-outcome.json", "results/answers.jsonl", "results/outcomes.csv", "results/summary.json", "the decision rule and its verdicts"],
 "exact_bound": {
  "why": "The decision rule fixed in advance reads a paired percentile bootstrap. When no question favours the documentation, every resampled mean is zero or below, so the interval's top is 0.0 whatever the number of questions. The rule's 'matches' then counts the documentation's wins and does not bound the gap.",
  "favours_documentation": "a question whose mean across runs is higher with the documentation than with the note, from per_question in results/summary.json",
  "bound": "the one-sided 97.5% Clopper-Pearson upper bound on the share of questions that favour the documentation, k of n. For k of 0 it is one minus 0.025 to the power 1/n. No question moves the lead by more than one question, so this share also bounds the documentation's lead, in points.",
  "alpha": 0.025,
  "margin_points": 5,
  "margin_source": "protocol.json, decision_rule_on_documented_minus_note: matches when the interval's upper bound is below +5 points",
  "reading": "the note matches only if the bound is under the margin; otherwise this test can't tell. 'Falls short' is not revisited.",
  "questions_needed": "the smallest number of questions, with none favouring the documentation, for which the bound falls under the margin",
  "reporting": "shown beside the verdicts of the rule fixed in advance, which stay on the page and in results/summary.json"
 },
 "question_census": {
  "why": "A note that lacks a rule can still be right on a question that states the rule itself. The page reports the note's record on the questions tagged with the rules it does not state, so it says how many of those questions state the rule.",
  "states_a_counting_rule": {
   "pattern": "(?:^|[.?]\\s+)(?:Count|Include|Exclude|Subtract|Combine|Apply|Use|Rank)\\b|\\b(?:including|excluding|regardless of|rather than|without subtracting|before subtracting|by their posting dates|reducing spend)\\b",
   "flags": "none, case-sensitive",
   "applied_to": "the text of each of the 40 test questions, never the key"
  },
  "rule_stated_in_question": {
   "rules": "the four rules the note does not state, as the page reads them after the results: refund_own_date, uncategorized and card_status_now (the three loose matches) and refund_fanout (no match)",
   "tagged": "the questions protocol.json's tag pattern selects for the rule, on question text and key, as analyze.py tags them",
   "flags": "case-insensitive",
   "applied_to": "the text of each tagged question, never the key",
   "patterns": {
    "refund_own_date": "refunds?\\b[^.?]{0,40}\\bpost|by their posting dates",
    "uncategorized": "uncategori|without (?:a|an assigned) category|no assigned category",
    "card_status_now": "card status|card snapshot",
    "refund_fanout": "multiple refunds"
   }
  },
  "reporting": "counts, with the words each pattern found in each question, so every match can be judged"
 },
 "predictions": "None. The results were seen before this file was written."
}
