mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-23 16:55:05 +00:00
add metadata for caesar cipher, graph coloring, decimal arithmetic (#304)
* add metadata for caesar cipher, graph coloring, decimal arithmetic * delete comma * clean up variables
This commit is contained in:
parent
1f360917fc
commit
91aa3f3ae2
3 changed files with 20 additions and 4 deletions
|
|
@ -188,7 +188,12 @@ class DecimalArithmeticDataset(ProceduralDataset):
|
|||
return {
|
||||
"question": problem_str,
|
||||
"answer": str(answer),
|
||||
"metadata": {"decimal_places": decimal_places, "num_terms": terms},
|
||||
"metadata": {
|
||||
"difficulty": {
|
||||
"decimal_places": decimal_places,
|
||||
"num_terms": terms,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
def score_answer(self, answer: Optional[str], entry: dict[str, Any]) -> float:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue