Skip to main content

REQUIRED_ARTIFACTS

Constant REQUIRED_ARTIFACTS 

Source
pub const REQUIRED_ARTIFACTS: [&str; 6];
Expand description

Files every level directory must contain, non-empty.

Why: #5441 requires the raw tcode_report.json, stderr, prompt, solution, verifier output, and metadata.json to be preserved per level. A retained bundle missing any of them cannot be re-examined later, which is the whole point of retaining it. What: the fixed filenames the gate looks for inside <bundle>/L<n>/. Test: bakeoff::tests::a_missing_artifact_is_rejected, bakeoff::tests::an_empty_artifact_is_rejected.