From 37ddfe192a929b75cf9cff944f91ae1a7ddf4458 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 26 Nov 2026 15:25:03 -0600 Subject: [PATCH] chore: check the harness against v8 references v8 = v7 + the classifier's required-slot-unfilled gate (#38), written by intent-eval's own implementation of the rule (intent-eval f631dad). On 1.1.3: v7 gives 10 mismatches in 6 of 8 files (4 utterances, all gated rows), v8 is identical in all 8 files, and v8 goes red again with the gate disabled. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012QBrfKWBcxKVm7QkBcH3P2 --- scripts/check_harness.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/check_harness.py b/scripts/check_harness.py index 5354ade..d80d6c2 100755 --- a/scripts/check_harness.py +++ b/scripts/check_harness.py @@ -3,9 +3,10 @@ Builds each device from the harness's own files (manifest, examples, synthetic + dialog negatives, tools, prompts) and replays LLM answers from its cache/llm_cache.jsonl. No model calls: a cache miss fails the check, because the -references were measured on cached answers. References: preds/v7______.jsonl: v5 plus the -word-boundary matcher, the catch-all yield at 0.8 and float32 classifier features, written by intent-eval -refs_v6.py (its v7 mode) from the experiment's own implementation of the rule. +references were measured on cached answers. References: preds/v8______.jsonl: v5 plus the +word-boundary matcher, the catch-all yield at 0.8, float32 classifier features and the classifier's "required slot +unfilled" gate (#38), written by intent-eval refs_v6.py (its v8 mode) from the experiments' own implementations of +the rules. Usage (from the switchboard repo, in an environment with the package installed): python scripts/check_harness.py ~/coding/OscillateLabs/intent-eval [--quick] @@ -105,7 +106,7 @@ def main(argv): for device in DEVICES: for route in ("always", "active"): router = build_router(harness, device, route) - results = [check(cp, router, os.path.join(harness, f"preds/v7__{device}__{route}__{s.upper()}.jsonl"), s) + results = [check(cp, router, os.path.join(harness, f"preds/v8__{device}__{route}__{s.upper()}.jsonl"), s) for s in splits] # every split reports ok = ok and all(results) sys.exit(0 if ok else 1)