Skip to content

Commit 06d6c1c

Browse files
author
Dylan Huang
committed
update docs
1 parent 11ab349 commit 06d6c1c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/pytest/test_pytest_math_example.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ def test_math_dataset(row: EvaluationRow, **kwargs) -> EvaluationRow:
2727
- Format compliance checking for <think>...</think><answer>...</answer> structure
2828
2929
Args:
30-
messages: The conversation messages including the math solution
31-
ground_truth: Expected answer for comparison
32-
**kwargs: Additional parameters (like tolerance)
30+
row: EvaluationRow containing the conversation messages and ground truth
31+
**kwargs: Additional parameters (like math_reward_kwargs)
3332
3433
Returns:
35-
EvaluateResult with combined score and detailed metrics
34+
EvaluationRow with the evaluation result
3635
"""
3736
# Get the assistant's response
3837
assistant_message = row.messages[-1]

0 commit comments

Comments
 (0)