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)