Spaces:
Sleeping
Sleeping
Download dataset/problem_16/helpers.py from Viraj0112/rl_code_fix_env: direct link, hf CLI and curl.
- Browser
- Download file 124 Bytes
-
https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_16/helpers.py
- Command line
-
hf download hf://spaces/Viraj0112/rl_code_fix_env/dataset/problem_16/helpers.py
-
curl -L -o helpers.py https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_16/helpers.py
124 Bytes
| def normalize_scores(scores: list[float]) -> list[float]: | |
| total = sum(scores) | |
| return [s / total for s in scores] | |