Spaces:
Sleeping
Sleeping
Download graders.py from DevastatingRPG/toolforge-env: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/DevastatingRPG/toolforge-env/resolve/main/graders.py
- Command line
-
hf download hf://spaces/DevastatingRPG/toolforge-env/graders.py
-
curl -L -o graders.py https://huggingface.co/spaces/DevastatingRPG/toolforge-env/resolve/main/graders.py
420 Bytes
| import random | |
| class Toolforge_grader: | |
| def grader(self): | |
| return random.uniform(0.01, 0.99) | |
| class EasyGrader(Toolforge_grader): | |
| def grade(self, *args, **kwargs): | |
| return self.grader() | |
| class MediumGrader(Toolforge_grader): | |
| def grade(self, *args, **kwargs): | |
| return self.grader() | |
| class HardGrader(Toolforge_grader): | |
| def grade(self, *args, **kwargs): | |
| return self.grader() |