*Continent · 4 territory*
## Summary
A README and a changelog set out the exact outputs a conformance loop must match for backtests and comparisons, and what a comparison of two rulebooks reports.
## Explanation
- In README.md, dated Oct 19, 2026, a backtest expectation is stated: backtest(rulebook, events, options) must equal the report exactly (SPEC.md § 13).
- For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13).
- In the same README.md, a comparison expectation is stated: compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal the comparison exactly.
- For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly.
- For a findings expectation, the loop compares the sorted output of project(check(rulebook)) with the sorted case.expect.findings, asserts both ruleIds of each finding with a witness are in matches(rulebook, witness), and asserts that set(matches(rulebook, witness)) equals set(witnessMatches) for each expected finding with a witness.
- For a findings expectation the loop compares sort(project(check(rulebook))) with sort(case.expect.findings), asserts both ruleIds of each finding with a witnes…
- For a backtest expectation, the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest.
- For a backtest expectation the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest.
- For a comparison expectation, the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options)) equals expect.comparison.
- For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options…
- The robot-domain-rules changelog states that compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log, with newly blocked, newly allowed, other changes, and each rule's decided count before and after.
- compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule…
- The README states that compareBacktests says what a proposed rulebook would change.
- `compareBacktests` says what a proposed rulebook would change.
- No document records a comparison actually run, so no outcome of any proposed rulebook change is stated.
- `compareBacktests` says what a proposed rulebook would change.
- compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule…
- For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13).
- For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly.
- For a findings expectation the loop compares sort(project(check(rulebook))) with sort(case.expect.findings), asserts both ruleIds of each finding with a witnes…
- …and 2 more
## Threads
- What compareBacktests reports when a current rulebook is set against a proposed one on the same log.
- `compareBacktests` says what a proposed rulebook would change.
- compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule…
- The conformance loop's checks for findings, backtests and comparisons.
- For a findings expectation the loop compares sort(project(check(rulebook))) with sort(case.expect.findings), asserts both ruleIds of each finding with a witnes…
- For a backtest expectation the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest.
- For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options…
- Exact-output expectations for a backtest and for a comparison of two backtests in README.md.
- For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13).
- For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly.
## Consultant
**Where it shows up** — The comparison shows up in two places: the changelog spells out what compareBacktests reports (newly blocked, newly allowed, other changes, decided counts before and after), and README.md requires the loop to match that comparison exactly.
**A way forward** — Keep the changelog's list of what compareBacktests reports beside the README's comparison expectation, so the report fields and the asserted output stay in step.
## Ideas
- A proposed rulebook change should be replayed against a recorded log so the decisions it would change are known before it goes live.
## History
Earlier, Bevia read this as: “A README and a changelog set out the exact outputs a conformance loop must match for backtests and comparisons, and what a comparison of two rulebooks reports.” (until 2026-11-22)
## Territories
- [[Bevia/World/Territories/compareBacktests output and what a proposed rulebook changes|compareBacktests output and what a proposed rulebook changes]]
- [[Bevia/World/Territories/compareBacktests and the proposed-change comparison|compareBacktests and the proposed-change comparison]]
- [[Bevia/World/Territories/Conformance loop checks for findings, backtests and comparisons|Conformance loop checks for findings, backtests and comparisons]]
- [[Bevia/World/Territories/Exact-output expectations for backtest and comparison|Exact-output expectations for backtest and comparison]]