mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-24 17:05:03 +00:00
include ranges rather than sampled values in difficulty metadata dicts (#387)
* update difficulty metadata for logic datasets * update difficulty metadata for graph datasets * update difficulty metadata for geometry datasets * update difficulty metadata for games datasets * update difficulty metadata for cognition datasets * update difficulty metadata for arithmetic datasets * update difficulty metadata for arc datasets * update difficulty metadata for algorithmic datasets * update difficulty metadata for algebra datasets * use tuples * update tests * update tests
This commit is contained in:
parent
b69c35818a
commit
7475a20700
80 changed files with 304 additions and 126 deletions
|
|
@ -270,7 +270,13 @@ class TsumegoDataset(ProceduralDataset):
|
|||
"Specify your move in coordinates (e.g. 'C4' for column C, row 4)"
|
||||
),
|
||||
"answer": solution_str,
|
||||
"metadata": {"difficulty": {"board_size": size}, "board": board},
|
||||
"metadata": {
|
||||
"board": board,
|
||||
"board_size": size,
|
||||
"difficulty": {
|
||||
"board_size": (self.config.min_board_size, self.config.max_board_size),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
def score_answer(self, answer: Optional[str], entry: dict[str, Any]) -> float:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue