docs: make M3 scoped correctness measurable

This commit is contained in:
2026-10-24 11:38:35 -07:00
parent 74b7c9ec28
commit 5c1c2e6374
+20 -8
View File
@@ -75,11 +75,17 @@ wire protocol on every native engine. Current bridges are deliberately native:
- `publish(sim_type, BoundedPrediction)` validates and stores the latest bounded result for one - `publish(sim_type, BoundedPrediction)` validates and stores the latest bounded result for one
of `statistical`, `sociological`, `amm_liquidity`, `mev_adversarial`, of `statistical`, `sociological`, `amm_liquidity`, `mev_adversarial`,
`tokenomics_macro`, `consensus_staking`, or `market_microstructure`. `tokenomics_macro`, `consensus_staking`, or `market_microstructure`.
- `BoundedPrediction { value, lower_bound, upper_bound, confidence, correctness, certainty, - Current V1 minimum:
`BoundedPrediction { value, lower_bound, upper_bound, confidence, correctness, certainty,
time_horizon, sim_type, timestamp, token_ticker, recent_shift, ...metadata }`. time_horizon, sim_type, timestamp, token_ticker, recent_shift, ...metadata }`.
Every hub-facing numeric result obeys `lower_bound ≤ value ≤ upper_bound`; each quality metric Every numeric result obeys `lower_bound ≤ value ≤ upper_bound`; quality metrics are in
is in `[0,10]`. Native engines may preserve extra metadata such as M3b population state, `[0,10]`.
M3c range/routing detail, or M3e yield-allocation weights. - **Required next schema revision for meaningful correctness:**
`PredictionScope { target, prediction_type, horizon, conditioning, regime, calibration_window }`
travels with every result. A `correctness` value without that scope metadata is insufficient
for durable cross-time comparison.
- Native engines may preserve extra metadata such as M3b population state, M3c range/routing
detail, or M3e yield-allocation weights.
- `Marketplace.predictions(trader_id, sim_type)` is the Trader-facing read path. Traders never - `Marketplace.predictions(trader_id, sim_type)` is the Trader-facing read path. Traders never
receive the raw hub object or native runtime handle. receive the raw hub object or native runtime handle.
- Current calibrated facade methods on `::stomach::Economy`: - Current calibrated facade methods on `::stomach::Economy`:
@@ -123,8 +129,11 @@ wire protocol on every native engine. Current bridges are deliberately native:
2. **Done:** seven-engine registry and six-horizon live scheduler. 2. **Done:** seven-engine registry and six-horizon live scheduler.
3. **Done for M3a/M3b/M3c/M3e:** M2 history → native calibration/query → M3 publish. 3. **Done for M3a/M3b/M3c/M3e:** M2 history → native calibration/query → M3 publish.
4. **Kernel done, bridge open for M3d/M3f/M3g:** add the same process/query boundary. 4. **Kernel done, bridge open for M3d/M3f/M3g:** add the same process/query boundary.
5. **Open:** scheduler-driven automatic refresh/publish loop independent of Trader queries. 5. **Next:** add common `PredictionScope` metadata and realization linkage so correctness is
6. **Open:** persistent calibration/history storage beyond the in-session M2 buffers. explicitly target/horizon/regime scoped.
6. **Next:** persist per-Sim longitudinal calibration-loss summaries into M0 economic memory.
7. **Open:** scheduler-driven automatic refresh/publish loop independent of Trader queries.
8. **Open:** persistent calibration/history storage beyond the in-session M2 buffers.
## 9. Tests ## 9. Tests
- `tclsh core/src/economy/sims/tests/hub_runtime.test` verifies the registry and six-horizon clock. - `tclsh core/src/economy/sims/tests/hub_runtime.test` verifies the registry and six-horizon clock.
@@ -137,8 +146,11 @@ wire protocol on every native engine. Current bridges are deliberately native:
## 10. Open items ## 10. Open items
- Native runtime/query bridges for M3d, M3f, and M3g. - Native runtime/query bridges for M3d, M3f, and M3g.
- Common `PredictionScope` + realization-reference schema.
- Regime-conditioned longitudinal calibration-loss persistence.
- Scheduler-driven automatic engine refresh and bounded republishing. - Scheduler-driven automatic engine refresh and bounded republishing.
- Per-sim calibration cadence and failure/degraded-state policy. - Per-Sim calibration cadence and failure/degraded-state policy.
- Cross-sim aggregation or meta-prediction, if added at all. - No default cross-Sim voting/averaging layer; any future synthesis must preserve source scopes
and remain a Trader/M6 interpretation aid rather than declaring a winner.
- Persistent history/calibration state beyond the in-session M2 buffer. - Persistent history/calibration state beyond the in-session M2 buffer.
- Explicit CPU/GPU budgets and admission/backpressure for expensive native queries. - Explicit CPU/GPU budgets and admission/backpressure for expensive native queries.