Download tasks/average-float/tests_public.py from xdotli/cybergym-patch-bug: direct link, hf CLI and curl.
- Browser
- Download file 99 Bytes
-
https://huggingface.co/datasets/xdotli/cybergym-patch-bug/resolve/main/tasks/average-float/tests_public.py
- Command line
-
hf download hf://datasets/xdotli/cybergym-patch-bug/tasks/average-float/tests_public.py
-
curl -L -o tests_public.py https://huggingface.co/datasets/xdotli/cybergym-patch-bug/resolve/main/tasks/average-float/tests_public.py
99 Bytes
| from buggy import * # noqa: F401,F403 | |
| assert average([4]) == 4.0 | |
| assert average([2, 4, 6]) == 4.0 | |