Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion atroposlib/envs/reward_fns/accuracy_reward.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def _extract_final_answer(text: str) -> str:

Handles formats like:
- "#### 42" (GSM8K style)
- "The answer is 42"
- "\\boxed{42}"

Returns the extracted answer or the original text if no pattern is found.
Expand Down