*Territory · 2 understandings*
## Summary
Two documents of the Neuroverseos-governance project describe the same backtest interface: `backtest(rulebook, events, options?)` replays recorded events through a rulebook and returns a report, and `compareBacktests(baseline, proposed)` compares two reports.
## Explanation
- In the Neuroverseos-governance project, AGENTS.md states that `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `byScope`), and that `compareBacktests(baseline, proposed)` compares two reports.
- `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by…
- SPEC.md states that `backtest(rulebook, events, options?)` returns a BacktestReport and `compareBacktests(baseline, proposed)` returns a BacktestComparison, per spec/backtest.schema.json and spec/backtest-report.schema.json.
- backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.j…
## Threads
- The backtest function and its report, as described in AGENTS.md and SPEC.md
- `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by…
- backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.j…
- The compareBacktests call that compares a baseline and a proposed report
- `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by…
- backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.j…
## Consultant
**Where it shows up** — The backtest function keeps coming up: AGENTS.md and SPEC.md both give its signature, its report and the comparison call, and both tie the report to the backtest schema files.
## Ideas
- A backtest should replay a recorded log through a rulebook and report the decisions it would have made, without free-text explanation.
## Understandings
- `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `byScope`), and `compareBacktests(baseline, proposed)` compares two reports. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19
- backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.json and spec/backtest-report.schema.json. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
## Who, where and what
Things: [[Bevia/World/Things/backtest|backtest]], [[Bevia/World/Things/backtest(rulebook, events- [{ at, request, outcome- }])|backtest(rulebook, events: { at, request, outcome? } )]], [[Bevia/World/Things/BacktestComparison|BacktestComparison]], [[Bevia/World/Things/BacktestReport|BacktestReport]], [[Bevia/World/Things/baseline|baseline]], [[Bevia/World/Things/byArea|byArea]], [[Bevia/World/Things/byScope|byScope]], [[Bevia/World/Things/compareBacktests|compareBacktests]], [[Bevia/World/Things/compareBacktests(baseline, proposed)|compareBacktests(baseline, proposed)]], [[Bevia/World/Things/events|events]], [[Bevia/World/Things/options|options]], [[Bevia/World/Things/proposed|proposed]], [[Bevia/World/Things/rulebook|rulebook]], [[Bevia/World/Things/spec-backtest-report.schema.json|spec/backtest-report.schema.json]], [[Bevia/World/Things/spec-backtest.schema.json|spec/backtest.schema.json]]