Download tasks/refactor_extract_function.yaml from smlflg/AgentArena: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/smlflg/AgentArena/resolve/main/tasks/refactor_extract_function.yaml
- Command line
-
hf download hf://smlflg/AgentArena/tasks/refactor_extract_function.yaml
-
curl -L -o refactor_extract_function.yaml https://huggingface.co/smlflg/AgentArena/resolve/main/tasks/refactor_extract_function.yaml
613 Bytes
| slug: refactor-extract-function | |
| title: "Refactor monolithic process_data() into three focused functions" | |
| description: | | |
| processor.py contains a single 60+ line process_data() function that validates, | |
| transforms, and formats data all in one place. Extract three top-level functions: | |
| validate_data(data), transform_data(data), format_output(data). | |
| process_data() must delegate to all three and continue to work correctly. | |
| repo: | |
| url: file:///tmp/arena-tasks/arena-task-extract | |
| ref: main | |
| success: | |
| command: "python -m pytest tests/ -v" | |
| limits: | |
| time_seconds: 300 | |
| max_tokens: 200000 | |
| difficulty: medium | |