fix decimal arithmetic curriculum to respect constraints (#430)

* fix decimal arithmetic curriculum to respect constraints

* update test accordingly
This commit is contained in:
Oliver Stanley 2025-05-06 19:23:19 +01:00 committed by GitHub
parent dca8117e7e
commit 3df26e0fb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -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",