mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
fix unit tests, lower python dependency to 3.9
This commit is contained in:
parent
ee67374aae
commit
ad9f0d265c
11 changed files with 66 additions and 56 deletions
|
|
@ -1,12 +1,12 @@
|
|||
from dataclasses import dataclass
|
||||
from enum import StrEnum
|
||||
from enum import Enum
|
||||
from random import Random
|
||||
from typing import List, Optional
|
||||
|
||||
from ..factory import ProceduralDataset, register_dataset
|
||||
|
||||
|
||||
class Operation(StrEnum):
|
||||
class Operation(Enum):
|
||||
"""Basic mathematical operations that can be composed"""
|
||||
|
||||
ADD = "+"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue