mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-25 17:10:51 +00:00
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:
parent
7853263650
commit
dced3bfc45
132 changed files with 1226 additions and 347 deletions
|
|
@ -157,11 +157,12 @@ class CourseScheduleCurriculum(BaseCurriculum):
|
|||
self._define_attributes(
|
||||
RangeAttributeDefinition(
|
||||
name="num_courses",
|
||||
levels=[10, 50, 100, 500],
|
||||
levels=[5, 10, 25, 50, 100],
|
||||
default_level=0, # Start with 5 courses
|
||||
description="Number of courses in the schedule",
|
||||
lower_field_name="min_num_courses",
|
||||
upper_field_name="max_num_courses",
|
||||
ensure_interval=True,
|
||||
),
|
||||
RangeAttributeDefinition(
|
||||
name="num_prerequisites",
|
||||
|
|
@ -170,6 +171,7 @@ class CourseScheduleCurriculum(BaseCurriculum):
|
|||
description="Number of prerequisites per course",
|
||||
lower_field_name="min_num_prerequisites",
|
||||
upper_field_name="max_num_prerequisites",
|
||||
ensure_interval=True,
|
||||
),
|
||||
RangeAttributeDefinition(
|
||||
name="cycle_length",
|
||||
|
|
@ -178,6 +180,7 @@ class CourseScheduleCurriculum(BaseCurriculum):
|
|||
description="Length of a cycle in the prerequisites",
|
||||
lower_field_name="min_cycle_length",
|
||||
upper_field_name="max_cycle_length",
|
||||
ensure_interval=True,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue