include ranges rather than sampled values in difficulty metadata dicts (#387)

* update difficulty metadata for logic datasets

* update difficulty metadata for graph datasets

* update difficulty metadata for geometry datasets

* update difficulty metadata for games datasets

* update difficulty metadata for cognition datasets

* update difficulty metadata for arithmetic datasets

* update difficulty metadata for arc datasets

* update difficulty metadata for algorithmic datasets

* update difficulty metadata for algebra datasets

* use tuples

* update tests

* update tests
This commit is contained in:
Oliver Stanley 2025-03-20 09:27:03 +00:00 committed by GitHub
parent b69c35818a
commit 7475a20700
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 304 additions and 126 deletions

View file

@ -124,7 +124,11 @@ In solving equations, please follow these instructions:
"variable": variable,
"degree": degree,
"real_solutions": real_solutions,
"difficulty": {"terms": num_terms, "degree": degree},
"num_terms": num_terms,
"difficulty": {
"terms": (self.config.min_terms, self.config.max_terms),
"degree": (self.config.min_degree, self.config.max_degree),
},
},
}

View file

@ -85,7 +85,10 @@ When performing calculations, please follow these guidelines:
"integrand": str(derivative),
"variable": str(symbol),
"expected_answer_expression": polynomial,
"difficulty": {"terms": num_terms},
"num_terms": num_terms,
"difficulty": {
"terms": (self.config.min_terms, self.config.max_terms),
},
},
}