fix(curriculum): Make boundaries in curriculum more sensible (#407)

* init

* fix tests

* unify codeio

* filtered for libraries not present in reasoning-gym

* fix more bounds

* puzzle24

* knight swap curriculum

* fix number sorting

* fix attributes

* add validation of config in creation of dataset

* dry run for instantiating and validating the datasets

* remove unused imports

* fix curriculum tests to reference newly updated attribute names
This commit is contained in:
Zafir Stojanovski 2025-04-04 20:24:14 +02:00 committed by GitHub
parent 7853263650
commit dced3bfc45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
132 changed files with 1226 additions and 347 deletions

View file

@ -102,17 +102,19 @@ class CaesarCipherCurriculum(BaseCurriculum):
self._define_attributes(
RangeAttributeDefinition(
name="rotation",
levels=[5, 10, 15, 25],
levels=[5, 15, 25, 50],
description="Max rotation for cipher",
lower_field_name="min_rotation",
upper_field_name="max_rotation",
ensure_interval=True,
),
RangeAttributeDefinition(
name="words",
levels=[5, 10, 15, 25],
levels=[5, 15, 25, 50],
description="Max number of words",
lower_field_name="min_words",
upper_field_name="max_words",
ensure_interval=True,
),
)