diff --git a/reasoning_gym/utils.py b/reasoning_gym/utils.py index 5d8e7b69..02dbe461 100644 --- a/reasoning_gym/utils.py +++ b/reasoning_gym/utils.py @@ -87,7 +87,7 @@ def compute_decimal_reward(answer: Optional[str], oracle_answer: str, strip_comm Args: answer: Answer provided by model oracle_answer: Correct answer to the question - allow_commas: Whether to allow commas in the answer e.g "1,000" = "1000" + strip_commas: Whether to remove commas from answers e.g "1,000" = "1000" Returns: Reward value between 0.0 and 1.0