Complete M2 validation and lock the G1 evaluation protocol

Run and record both blind LLM validation passes and the external
cross-checks. Freeze the evaluation inputs, well splits, and reporting
scope with a SHA-256 checksum.

Use NPT definition b for DDR-code prediction with definition a as a
sensitivity analysis. Retain the class reporting thresholds and record
the empty set of eligible classes. Make T4 and OCR fidelity the headline
analyses and align the progress report and project documentation.

Co-authored-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
2026-11-18 04:13:13 +00:00
parent 5ffc8b3008
commit 2b59d635ce
24 changed files with 3305 additions and 338 deletions

30
scripts/run_m2.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
# Run the reproducible M2 steps on existing M1 outputs.
set -euo pipefail
cd "$(dirname "$0")/.."
PY="${PY:-.venv/bin/python}"
export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 OPENBLAS_NUM_THREADS=4
[[ -n "${RUNLOG_DIR:-}" ]] || exec "$PY" -m volve_dia.runlog -n "m2_${1:-prepare}" -- bash scripts/run_m2.sh "$@"
step() { "$PY" -m volve_dia.runlog -- "$@"; }
case "${1:-prepare}" in
prepare)
step "$PY" scripts/10_m2_sample.py
step "$PY" scripts/10_m2_cross_checks.py
step "$PY" scripts/10_m2_protocol.py preflight
;;
pass1|pass2)
pass="${1#pass}"
shift
for rater in qwen gemma mistral; do
step "$PY" scripts/10_m2_rate.py "$rater" "$pass" "$@"
done
step "$PY" scripts/10_m2_agreement.py "$pass"
if [[ "$pass" == "1" ]]; then
step "$PY" scripts/10_m2_protocol.py review
fi
;;
*)
echo "Usage: scripts/run_m2.sh [prepare|pass1|pass2] [rater options]" >&2
exit 2
;;
esac