mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +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
|
|
@ -38,12 +38,12 @@ def test_rearc_items():
|
|||
assert "input" in meta
|
||||
assert "output" in meta
|
||||
assert "task_id" in meta
|
||||
assert "rng" in meta["difficulty"]
|
||||
assert "pso" in meta["difficulty"]
|
||||
assert "rng" in meta
|
||||
assert "pso" in meta
|
||||
|
||||
# Validate difficulty bounds
|
||||
assert config.diff_lb <= meta["difficulty"]["rng"] <= config.diff_ub
|
||||
assert config.diff_lb <= meta["difficulty"]["pso"] <= config.diff_ub
|
||||
assert config.diff_lb <= meta["rng"] <= config.diff_ub
|
||||
assert config.diff_lb <= meta["pso"] <= config.diff_ub
|
||||
|
||||
|
||||
def test_rearc_solution_validation():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue