Datasets:
Download tasks/war-08/solution/solve.sh from micro1-inc/MissionReport: direct link, hf CLI and curl.
- Browser
- Download file 2.75 kB
-
https://huggingface.co/datasets/micro1-inc/MissionReport/resolve/main/tasks/war-08/solution/solve.sh
- Command line
-
hf download hf://datasets/micro1-inc/MissionReport/tasks/war-08/solution/solve.sh
-
curl -L -o solve.sh https://huggingface.co/datasets/micro1-inc/MissionReport/resolve/main/tasks/war-08/solution/solve.sh
2.75 kB
| # Oracle solution: the expert golden report IS the correct deliverable. Copy it | |
| # binary-safe to the expected output path. The verifier grades it blind (no | |
| # reference report) and it should score >= 0.9: a lower score means the golden | |
| # does not meet its own rubric. On rubric-less tasks, the verifier of this | |
| # oracle run also derives the draft rubric for expert review. | |
| set -euo pipefail | |
| # Assert the agent's input files actually localized. The oracle copies the | |
| # golden and never reads the attachments, so a silent localization failure | |
| # would still pass golden-vs-golden and ship a task that real agents see with | |
| # an empty /app/attachments (a false 0.0). Fail the calibration gate loudly. | |
| test -s "/app/attachments/01_Division_Commander_Guidance_v1.pdf" || { echo "MISSING INPUT: /app/attachments/01_Division_Commander_Guidance_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/02_Rapid_Armored_Gunnery_Qualification_Program_v1.pdf" || { echo "MISSING INPUT: /app/attachments/02_Rapid_Armored_Gunnery_Qualification_Program_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/03_Weekly_Gunnery_Schedule.xlsx" || { echo "MISSING INPUT: /app/attachments/03_Weekly_Gunnery_Schedule.xlsx absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/04_Abrams_Crew_Qualification_Tracker.xlsx" || { echo "MISSING INPUT: /app/attachments/04_Abrams_Crew_Qualification_Tracker.xlsx absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/05_Bradley_Crew_Qualification_Tracker.xlsx" || { echo "MISSING INPUT: /app/attachments/05_Bradley_Crew_Qualification_Tracker.xlsx absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/06_Range_Ammo_Evaluator_Status_v1.pdf" || { echo "MISSING INPUT: /app/attachments/06_Range_Ammo_Evaluator_Status_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/07_Maintenance_and_Crew_Availability_Report_v1.pdf" || { echo "MISSING INPUT: /app/attachments/07_Maintenance_and_Crew_Availability_Report_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/08_Battalion_Training_Updates_15Feb2019_v1.pdf" || { echo "MISSING INPUT: /app/attachments/08_Battalion_Training_Updates_15Feb2019_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/09_Division_Master_Gunner_Weekly_Working_Notes_v1.pdf" || { echo "MISSING INPUT: /app/attachments/09_Division_Master_Gunner_Weekly_Working_Notes_v1.pdf absent or empty" >&2; exit 1; } | |
| test -s "/app/attachments/10_Higher_Headquarters_Training_Notes_v1.pdf" || { echo "MISSING INPUT: /app/attachments/10_Higher_Headquarters_Training_Notes_v1.pdf absent or empty" >&2; exit 1; } | |
| mkdir -p "$(dirname "/app/outputs/report.docx")" | |
| cp "/solution/golden/20190215_1ID_WAR_U.docx" "/app/outputs/report.docx" | |