#!/bin/bash # R5 test pass (clarifications J2/J9): ONE line-arm checkpoint on the named locked sets, with LINEDET's own commands as the # run() function of CODE/scripts/r5_linedet/test_pass_commands.sh (sha256 a3f37d8e...) writes them: linedet.predict # --test_pass, then linedet.lm_decode --test_pass when a validation-tuned LM exists (its H9 gate hook runs inside it). # The only addition is linedet.predict's own option --only (comma-separated set names), so the shared task list keeps # J2's order per checkpoint and per set. LINEDET's script and modules are not changed. # Gate: LINEDET's predict.py and lm_decode.py refuse the test pass without DATA/outputs/r5/linedet/test_pass_started.txt; # this wrapper checks it first. Exit codes: 0 done, 1 gate missing, 2 predict failed, 3 lm_decode failed, 4 a requested set # has no TSV written by this call (predict.py records a skipped set only in its summary and exits 0), 10 no checkpoint. # Known effect of per-call sets (LINEDET's code, unchanged): predict.py rewrites