Download backend/core/problem.py from ZAIDX11/Axiovora-X: direct link, hf CLI and curl.
- Browser
- Download file 792 Bytes
-
https://huggingface.co/ZAIDX11/Axiovora-X/resolve/main/backend/core/problem.py
- Command line
-
hf download hf://ZAIDX11/Axiovora-X/backend/core/problem.py
-
curl -L -o problem.py https://huggingface.co/ZAIDX11/Axiovora-X/resolve/main/backend/core/problem.py
792 Bytes
| """ | |
| Minimal stub for `problem` module used in trace_back tests. Provides lightweight | |
| constructs used by tests so import-time failures do not occur during collection. | |
| """ | |
| from typing import Any, List | |
| class Problem: | |
| def __init__(self, text: str): | |
| self.text = text | |
| self.goal = None | |
| def from_txt(cls, txt: str) -> 'Problem': | |
| return cls(txt) | |
| class Definition: | |
| def from_txt_file(cls, path: str, to_dict: bool = False): | |
| return {} | |
| class Theorem: | |
| def from_txt_file(cls, path: str, to_dict: bool = False): | |
| return {} | |
| class Dependency: | |
| def __init__(self, *args, **kwargs): | |
| pass | |
| __all__ = ["Problem", "Definition", "Theorem", "Dependency"] | |