File size: 613 Bytes
3b0d6b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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