mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-05-02 17:45:58 +00:00
make task entries json serializable (#443)
* make sympy-based task entries json serializable * remove datetime objs from time_intervals metadata * make adv geometry json serializable * make futoshiki metadata json serializable * fixes * futoshiki tweaks * fix adv geometry * deal with fractions in str representations * fix * restore start_time, end_time as str
This commit is contained in:
parent
6614338ecc
commit
c0e98f93b4
11 changed files with 36 additions and 37 deletions
|
|
@ -114,7 +114,7 @@ When performing calculations, please follow these guidelines:
|
|||
"source_dataset": DATASET_NAME,
|
||||
"source_index": idx,
|
||||
"polynomial_expr": str(polynomial_expr),
|
||||
"variables": list(product.free_symbols),
|
||||
"variables": [str(x) for x in product.free_symbols],
|
||||
"difficulty": {
|
||||
"min_terms": self.config.min_terms,
|
||||
"max_terms": self.config.max_terms,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue