mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
fix decimal arithmetic curriculum to respect constraints (#430)
* fix decimal arithmetic curriculum to respect constraints * update test accordingly
This commit is contained in:
parent
dca8117e7e
commit
3df26e0fb2
2 changed files with 8 additions and 8 deletions
|
|
@ -237,7 +237,7 @@ class DecimalArithmeticCurriculum(BaseCurriculum):
|
|||
self._define_attributes(
|
||||
RangeAttributeDefinition(
|
||||
name="decimal_places",
|
||||
levels=[3, 5, 8, 10],
|
||||
levels=[2, 4, 6, 8],
|
||||
description="Number of decimal places of the numbers in problem",
|
||||
lower_field_name="min_num_decimal_places",
|
||||
upper_field_name="max_num_decimal_places",
|
||||
|
|
@ -247,7 +247,7 @@ class DecimalArithmeticCurriculum(BaseCurriculum):
|
|||
name="precision",
|
||||
field_name="precision",
|
||||
description="Precision of the Decimal arithmetic operations",
|
||||
levels=[5, 7, 10, 12],
|
||||
levels=[6, 8, 10, 12],
|
||||
),
|
||||
RangeAttributeDefinition(
|
||||
name="num_terms",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue