From 0084fa39a36abcfca1a15846e6c33f051e3b722d Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sat, 3 Oct 2026 19:27:10 -0500 Subject: [PATCH] docs: PD-0 spec revision 5 (schedule hash over requested values, T2 self pairs) Co-Authored-By: Claude Fable 5.1 --- docs/PD0_HIDDEN_EQUATION_BENCHMARK.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/PD0_HIDDEN_EQUATION_BENCHMARK.md b/docs/PD0_HIDDEN_EQUATION_BENCHMARK.md index 97ece65..d3706a0 100644 --- a/docs/PD0_HIDDEN_EQUATION_BENCHMARK.md +++ b/docs/PD0_HIDDEN_EQUATION_BENCHMARK.md @@ -172,10 +172,10 @@ Data splits. Every record the learner has ever seen is tagged by the checker as | # | Transition | Evidence required | Failure path | | --- | --- | --- | --- | | T1 | start -> OBSERVATION | at least 100 `PD0REC1` records with `status = OK` from at least 5 episodes, chain verified | stay; gather more | -| T2 | OBSERVATION -> CORRELATION | at least one pair (a variable or the applied intervention at time t, a one-step change of an observed variable) with absolute Pearson correlation at least 0.3 over at least 100 records, and permutation-test `p <= 0.01` after Bonferroni correction over all pairs tested, using at least 2000 shuffles with a recorded shuffle seed | stay; gather more; if the budget is spent, REJECTED | +| T2 | OBSERVATION -> CORRELATION | at least one pair (a variable or the applied intervention at time t, a one-step change of an observed variable) with absolute Pearson correlation at least 0.3 over at least 100 records, and permutation-test `p <= 0.01` after Bonferroni correction over all pairs tested, using at least 2000 shuffles with a recorded shuffle seed | stay; gather more; if the budget is spent, REJECTED Self pairs are excluded: a variable is not tested against its own one-step change, because regression to the mean produces a spurious correlation in a world where nothing depends on anything (revision 5). | | T3 | CORRELATION -> CANDIDATE | one explicit relation (a set of equations, one per observed variable, each a sum of monomials with fixed coefficients, plus any declared latent variables) with size within the level bound (section 6.2), selected by minimum description length on `SELECT`, and for noise-free levels one-step NRMSE on `FIT` at most 0.05; for L5 the residuals are white (lag-1 autocorrelation within +/-0.1) and no library term still correlates with them at `p <= 0.01` | stay; widen library; if the budget is spent, REJECTED | | T4 | CANDIDATE -> HYPOTHESIS | at least one **rival** relation (a different term set, or the explicit null "no relation") also recorded; a **falsifier** declared and hashed before any `TRIAL` data: declared prediction bound `eps` (rollout NRMSE over 20 steps) with `eps <=` the level bound of section 6.1 (noisy levels: section 6.1 note), and a minimum trial count | stay | -| T5 | HYPOTHESIS -> PREDICTED | at least 5 intervention schedules chosen by the planner (section 8), none equal to any schedule hash in `FIT`, `SELECT` or `HOLDOUT-0`, each with predicted trajectories from the hypothesis **and** from each rival, hashed and recorded before the schedule is run | stay | +| T5 | HYPOTHESIS -> PREDICTED | at least 5 intervention schedules chosen by the planner (section 8), none equal to any schedule hash in `FIT`, `SELECT` or `HOLDOUT-0`, each with predicted trajectories from the hypothesis **and** from each rival, hashed and recorded before the schedule is run | stay The schedule hash is SHA-256 over the REQUESTED reset values (n_obs i64) followed by the (channel u8, value i64) steps in order, never over observed values; on noisy levels the observed reset differs from the requested one and must not enter the hash (revision 5, found by the first learner run: L5 preregistration could never match). | | T6 | PREDICTED -> INTERVENED | all registered schedules executed through the bounded API; records tagged `TRIAL`; each trial passes if rollout NRMSE (20 steps) is within the declared `eps`; **all** trials pass | any failing trial: the hypothesis moves to REFUTED, the failing record is appended to its `exceptions` list, and the learner returns to CANDIDATE with those records now in `FIT` | | T7 | INTERVENED -> REPLICATED | at least 3 independent `REP` batches, each at least 10 episodes of 20 steps, schedules drawn from fresh streams never used before, half planner-chosen and half uniform random; each batch within `eps` and no single episode above `3 * eps` | a failing batch: REFUTED as in T6 | | T8 | REPLICATED -> PROVISIONAL_LAW | the law record of section 7 written with `confidence_ppm` computed by the section 7 rule, `exceptions` listed, all experiment hashes included, every record reference verifying against the chain | stay | @@ -293,7 +293,7 @@ Language-neutral contract; the algorithm is free. **Inputs:** the live hypothesis set `H` (at least the best candidate and one rival, possibly the null); the visited domain (from `observed_domain`); the remaining budget; the API bounds from `describe`; a planner seed. -**Output (`PD0EXP1` record):** a schedule (a reset state inside the reset box plus a sequence of at most 20 `(channel, value)` steps inside the bounds); `expected[h]` = the predicted trajectory for every `h` in `H`; the divergence score `D`; the schedule hash. +**Output (`PD0EXP1` record):** a schedule (a reset state inside the reset box plus a sequence of at most 20 `(channel, value)` steps inside the bounds); `expected[h]` = the predicted trajectory for every `h` in `H`; the divergence score `D`; the schedule hash. The schedule hash is SHA-256 over the REQUESTED reset values (n_obs i64) followed by the (channel u8, value i64) steps in order, never over observed values; on noisy levels the observed reset differs from the requested one and must not enter the hash (revision 5, found by the first learner run: L5 preregistration could never match). **Selection rule:** choose the schedule that maximizes `D(s) = max over pairs (i, j) in H of max over steps of |pred_i(s) - pred_j(s)| / r`, where `r` is the pooled residual standard deviation of the hypotheses on `SELECT`. Candidate set: at least 256 seeded random schedules plus local refinement of the top 16. Ties break by lowest total absolute intervention, then by lexicographic schedule hash.