diff --git a/task-maker-format/src/ioi/dag/output_generator.rs b/task-maker-format/src/ioi/dag/output_generator.rs index e4fa71364..7c33657f0 100644 --- a/task-maker-format/src/ioi/dag/output_generator.rs +++ b/task-maker-format/src/ioi/dag/output_generator.rs @@ -42,7 +42,12 @@ impl OutputGenerator { validation_handle: Option, ) -> Result<(Option, Option), Error> { match self { - OutputGenerator::NotAvailable => Ok((None, None)), + OutputGenerator::NotAvailable => { + let file = File::new("Empty file"); + let uuid = file.uuid; + eval.dag.provide_content(file, vec![]); + Ok((Some(uuid), None)) + } OutputGenerator::StaticFile(path) => { if !path.exists() { bail!("Static output file not found: {:?}", path);