Refactor Curriculum Attributes (#335)

* remove min_value from AttributeDefinition
* remove type from AttributeDefinition
* Add CurriculumContext
* add ensure_interval option for RangeAttributes
* docs: Add legend explaining curriculum indicators in dataset gallery
* update GALLERY.md
This commit is contained in:
Andreas Köpf 2025-03-16 15:40:28 +01:00 committed by GitHub
parent 4e7d9296ee
commit d2c895f1d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
101 changed files with 286 additions and 677 deletions

View file

@ -208,4 +208,4 @@ def test_cryptarithm_curriculum():
curriculum.decrement_attr_level("words")
lower_bound_cfg: CryptarithmCurriculum = curriculum.generate_configuration(base_value)
assert lower_bound_cfg.min_words == 2
assert lower_bound_cfg.max_words == 2
assert lower_bound_cfg.max_words == 5