diff --git a/task-maker-format/src/ioi/mod.rs b/task-maker-format/src/ioi/mod.rs index cfc9eef8c..2ef851983 100644 --- a/task-maker-format/src/ioi/mod.rs +++ b/task-maker-format/src/ioi/mod.rs @@ -521,8 +521,9 @@ impl FromStr for TestcaseScoreAggregator { fn from_str(s: &str) -> Result { match s { - "min" => Ok(TestcaseScoreAggregator::Min), - "sum" => Ok(TestcaseScoreAggregator::Sum), + "min" | "GroupMin" => Ok(TestcaseScoreAggregator::Min), + "sum" | "Sum" => Ok(TestcaseScoreAggregator::Sum), + "GroupMul" | "GroupThreshold" => bail!("{s} is not supported yet"), _ => bail!("Invalid testcase score aggregator: {}", s), } }