#!/usr/bin/env bash # Regenerates every file under output/. Tests 01-07 are written by the suite itself through the # Transcript helper; 08 is cut from the surefire report to show the live-judge test being skipped. # No Docker, no database and no API key is needed. set -euo pipefail cd "$(dirname "$0")/.." rm -rf target mvn -q -B test 2>&1 | grep -E "Tests run:|BUILD|FAIL" || true f=target/surefire-reports/TEST-com.ankurm.evaluation.LiveJudgeTest.xml { echo "# LiveJudgeTest as recorded by surefire when OPENAI_API_KEY is not set" echo grep -o ' output/08-live-judge-skipped.txt ls output