From 5d3bfda677b90b9524aa86c8f40b1aeb37bd2303 Mon Sep 17 00:00:00 2001 From: AhmedSaif2 Date: Fri, 21 Feb 2025 17:01:59 +0200 Subject: [PATCH] fix parameter name in compute_decimal_reward docstring --- reasoning_gym/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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