24 understandings name "backtest" as written. A name, not an identity: Bevia never decides two names are one thing.
- `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client: true` marks the client subset), `rulebooks/` (`tiny`, `shared`, `grocery`, `signed`; `desk`, `desk-signed`, `desk-mission`), `compare.mjs` (the judging rules, deep semantic equality, `matches` soundness, `enforcement`), `run-node.mjs` (`--client`), `validate-schemas.mjs` (every case against `spec/`, plus inputs each schema must reject) and `generate.ts`. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19
- A change that alters what `evaluate`, `evaluatePlan`, `verifyAndEvaluate`, `verifyAndEvaluatePlan`, `matchingRules`, `missingFacts`, `bindArgs`, `check`/`checkRulebook`, `validateRulebook`, `compileGovernance`, `compileMission`, `fingerprint`, `backtest`, `compareBacktests`, `govern` or the approval functions return for any input needs a case in `conformance/`. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19
- The conflict check and the backtest treat a refused rulebook as bad input (an error). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 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
- Authoring tools — the conflict check (findings cases), the backtest (backtest/comparison cases) and text drafting — live wherever rulebooks are written. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- compileDomain, validateRule, validatePlanRule and checkRulebook(input) (when given an input rather than a compiled rulebook) throw DomainRulesError on configuration that cannot make a valid rulebook; checkRulebook and backtest throw DomainRulesError on a rulebook of another format; validateRulebook returns problems instead of throwing. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- backtest and compareBacktests throw DomainRulesError on bad input (§ 13.1, § 13.3); a malformed request inside an event is a row, not a throw. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- `backtest` and `compareBacktests` take both formats (§ 16.11). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- The cases for the `/1` backtest are `conformance/d7-backtest.json`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- `evaluate`, `evaluatePlan`, `checkRulebook`, `validateRulebook`, `verifyApproval`, `verifyAndEvaluate(Plan)`, `signRulebook`, `verifyRulebookSignature`, `backtest` and `compareBacktests` take both formats, and `evaluateDomainAction` remains as the same function under its old name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- `backtest` and `compareBacktests` replay a log of `/1` requests (the adapter's `Governed.request` plus an outcome) with `byScope`, `rows[].tool/scope`, `gaps[].tool`, `unknown_tool` gaps and unbound arguments as a missing-facts row named `args`, and the `GovernanceBacktestReport/Row/Gap` types. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- SPEC.md § 16.9 names `adapters/tool-call/` (was the pre-cut `engine/` path), and § 16.10 lists `backtest` among the doors that take both formats (it was listed as `/3`-only before slice 7b generalised it). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- Every file in `conformance/` was copied: all `*.json` case files (`approvals`, `backtest`, `fingerprint`, `history`, `integrity`, `p1-source` … `p9-boundary`, `plans`, `versions`), `rulebooks/` (`grocery.json`, `shared.json`, `signed.json`, `tiny.json`), `compare.mjs`, `compare.d.mts`, `run-node.mjs`, `validate-schemas.mjs`, `generate.ts`, `README.md`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- spec/ holds JSON Schemas (draft 2020-12) for both formats: rulebook, request, decision, plan, plan evaluation, findings, approvals, backtest, and the adapter's tool-call input. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- acceptance/invoice-reconciliation/ holds the scenario: rules, mission, 28 recorded calls with hand-authored verdicts, the runner and the backtest. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- Under the proposed rulebook with cap 750 the scenario's approved refund goes ALLOW to PAUSE because its approval is bound to the base rulebook's fingerprint, so a rulebook change means re-issuing approvals, and the backtest shows that cost before the change as the intended binding. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #152 Path B- the governance engine, general|NeuroverseOS/Neuroverseos-governance #152 Path B: the governance engine, general]] — 2026-10-18
- evaluateDomainAction, evaluatePlan, verifyAndEvaluate(Plan), matchingRules, checkRulebook, backtest and glassesZoneRules now refuse a rulebook of another format with validation's exact message (src/version.ts). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18
- Whether the tool or the robot actually obeyed, and what a rule change would have changed, is covered by the audit of the decision log with backtest and compareBacktests on the recorded requests, after. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files, rulebooks desk, desk-signed, desk-mission, per SPEC.md § 16) and the robotics dialect robot-domain-rules/3 (the p1–p9 files, plans, history, backtest, fingerprint, approvals, versions, integrity, with rulebooks tiny, shared, grocery, signed). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- For a backtest expectation the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options)) equals expect.comparison. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- The findings, backtest and comparison cases are for authoring tools (SPEC.md § 14) and the enforcement cases are for whoever stands between the model and the tool (SPEC.md § 16.9). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19