use native types List->list, Dict->dict, Set->set, Tuple->tuple

This commit is contained in:
Andreas Koepf 2025-02-21 15:13:19 +01:00
parent 5d02064b5a
commit 3e7ff3b084
95 changed files with 754 additions and 760 deletions

View file

@ -95,7 +95,7 @@ class ReArcDataset(ProceduralDataset):
},
}
def score_answer(self, answer: str, entry: Dict[str, Any]) -> float:
def score_answer(self, answer: str, entry: dict[str, Any]) -> float:
reward = 0.0
metadata = entry["metadata"]
if answer is not None: