interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / docs / estimation / reviews / est23_tools_hostile_review.md

97 lines · 14634 bytes Raw Blame History Source

EST-2/3 tools hostile review (worktree omega-est, commit 4b3d720, protocol f96dc97)

Read-only. Run A and synthetic data only. Scratch builds and harnesses in <scratch> (b/, indep.c, mut/, edge/, trunc/). Protocol doc unchanged since f96dc97 (git diff empty), worktree clean.

Counts: BLOCKER 1, MAJOR 3, MINOR 9, NIT 5

Findings

F1 BLOCKER: the recorded run leaves no per-step stream, yet the receipt claims one

F2 MAJOR: run-B guard is a substring test on argv; not tied to the file; no once-only lock

F3 MAJOR: receipt provenance is self-declared and forgeable

F4 MAJOR (test gap, receipt claim overstated): prefix-invariance cannot detect any look-ahead

F5 MINOR: bad t but good value is a valid observation, not a missing one

F6 MINOR: time parse UB on huge seconds, silent handling of duplicate/backward t

F7 MINOR: 10-step coverage includes coasted origins

F8 MINOR: marks handling silently drops data

F9 MINOR: burn-in and quarter definitions are one reading of an ambiguous text

F10 MINOR: ESTIMATION_CALIBRATION is "any model both calibrated and RMSE<=persistence"

F11 MINOR: failure record incomplete

F12 MINOR: REAL_SIGNAL "both files verify"

F13 MINOR: Ljung-Box, lag-1 are on the coast-compressed series

F14 NIT

Findings that need no fix: statistical facts about run A (not defects)

What held up (checked line by line against the protocol)

Independent recompute on run A (own scratch C written from the protocol, own scalar/2x2 KF from raw lines and marks; plus awk on est_replay's stream)

Compared with est_eval normal non-recorded invocation, params from est_fit on A:

Test gaps (mutants built in scratch, full test_est_tools run for each)

Nine mutants, full suite: 7 of 9 still PASS with the bug in.

  1. Prefix test (test_est_tools.c:85): look-ahead mutant passes it (F4). Only unrelated gap tests caught the mutant.
  2. Coast exclusion in statistics (remove if (s->coast) continue; in compute, est_eval.c:169): suite PASS. The eval tests use undamaged synthetic data (make_series damage=0 for the eval series, test_est_tools.c:169-170), so coast handling in fit/eval statistics is untested; only the replay flags are.
  3. Ten-step horizon (predict with horizon 1 instead of 10, est_eval.c:226): suite PASS, because the synthetic series has r=10^3.5 >> 10 q=10^2.5 so the 10-step interval barely changes. Use q >= r/10 in a synthetic test with a known ten-step coverage.
  4. Also passing with the bug: bias divisor n instead of n-1; Wilson missing the z^2/2n term; EST_BURN_IN 20 instead of 30; fit tie-break >=; regime labels inverted (idle/in-trial swap). No test checks a Wilson value, bias value, burn-in count, tie-break, or regime split with distinct coverage per regime. The quarter mutant (last quarter merged) was caught only because it broke the right-model calibrated check. Suggested tests: fixed-value checks on a hand-computable tiny series (n, hits, Wilson, bias, lag1); synthetic damaged series through est_eval with an expected n; two-regime series with different noise; a tie grid test; a prefix test on a truncated buffer.