Repository navigation
Conversation
|
Final bounded campaign validation — exact head Reproduced the adversarial retraining fail-open at prior head The narrow fix now checks the incremental Exact-head executor evidence:
Real published native binding check ( Fresh workflows Remaining disclosed gap: strict baseline comparison without a transfer split is source-reviewed but was not executed or patched in this bounded campaign. |
Adds opt-in `--gate --strict-evidence` to bench/run.mjs on top of `--require-engine` (ruvnet#1461). Default, `--require-engine` and `--report-only` behavior are unchanged. Strict evidence requires: engine evaluation; completed requested training with finite telemetry; finite, bounded filtered head/tail metrics for every populated split; successful execution of every explicitly requested optional arm (ANN, tie check, adversarial retraining, whose train() errors are no longer discarded); and, when a baseline is supplied, a compatible schema, suite, requested scorer, full recorded config, tie mode, dataset split and file hashes, plus finite transfer MRR. Ported from ruvnet#1213 (11 commits stacked on ruvnet#1208's branch, which landed as ruvnet#1461) onto main. Bench contract tests: 30/30 (22 existing + 8 strict). Full kge suite: 0 failures, same 24 engine-absent skips as main. Known gap carried from ruvnet#1213: strict baseline comparison when the dataset has no transfer split is source-reviewed but not exercised by a test. Co-Authored-By: claude-flow <ruv@ruv.net>
Adds an opt-in
--gate --strict-evidencemode on top of #1208. It hardens reproduced fail-open paths without changing default,--require-engine, or report-only compatibility. The PR remains draft while exact-head validation and additional source-review findings are unresolved.Reproduced with verified executor exit 0: at #1208 head 18889bb, training error hidden by successful evaluation, null/nonfinite ranking metrics accepted, requested ANN arm skipped, and incompatible dataset baseline identity accepted. At the initial #1213 head a2c5dbf, a baseline with identical data hashes but mismatched scorer and training config was still accepted as model-shape compatible.
Strict evidence now requires: engine evaluation, completed requested training with finite telemetry, finite bounded filtered head/tail metrics for every populated split, successful execution of every explicitly requested optional arm, and compatible baseline schema, suite, scorer, full recorded config, tie mode, dataset split and file hashes, with finite transfer MRR when a baseline is supplied. Backend identity is not forced.
At head 7162f13, 28 benchmark tests passed and the native mismatched baseline correctly failed, but a subsequent native matrix found that an exact baseline also failed because the scorer was compared against an internal run object without that field. Current head 7f4ad4e compares the baseline against the requested scorer/config and adds an exact-baseline positive regression. GitHub regression guard is green; Clippy and Workspace CI are still active. The exact-head executor replay timed out without verified structured completion, so the current head is not yet locally validated or merge-ready.
Read-only review also identified unverified strict-mode risks: a requested tie check may SKIP while strict mode passes; adversarial retraining errors may be discarded; and baseline input can be accepted when no transfer split exists. These need reproduction before further fixes. No package release is needed for bench-only files. No merge requested. Broader CI security/link/test blockers reported on #1208 remain separate and unresolved.