Spaces:
Sleeping
Sleeping
Download dataset/problem_13/buggy.py from Viraj0112/rl_code_fix_env: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_13/buggy.py
- Command line
-
hf download hf://spaces/Viraj0112/rl_code_fix_env/dataset/problem_13/buggy.py
-
curl -L -o buggy.py https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_13/buggy.py
247 Bytes
| from dataset.problem_13.cache import LRUCache | |
| def run_ops() -> tuple[int, int]: | |
| cache = LRUCache(2) | |
| cache.put("a", 1) | |
| cache.put("b", 2) | |
| _ = cache.get("a") | |
| cache.put("c", 3) | |
| return cache.get("a"), cache.get("b") | |