Plan 006 step 1-2. registry.apply_schema honors PG_SKIP_SCHEMA; register()
validates required keys incl. fidelity floors and refuses to overwrite an
existing id (pre-registration is immutable). CLI: python -m research.experiments
{register|run|adjudicate} with deferred imports. 6 registry tests green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
595 B
Python
12 lines
595 B
Python
"""Experiment OS (plan 006) — pre-registered, auto-adjudicated counterfactual
|
|
experiments over logged fires.
|
|
|
|
An experiment is a config row (``experiments/*.json``): a population (from
|
|
``strategy/population.py``), a typed intervention, pre-registered pass/fail
|
|
bars, and hard slippage-fidelity floors. The replay engine re-runs the
|
|
intervention counterfactually over every logged fire; the adjudicator scores
|
|
the accumulated runs against the bars and emits a verdict. ALL-SHADOW: no
|
|
experiment result ever alters live gates/sizing/exits — promotion is a
|
|
separate, owner-approved change.
|
|
"""
|