File size: 859 Bytes
1a8801d
8272e36
1a8801d
8272e36
 
1a8801d
8272e36
 
1a8801d
 
 
 
8272e36
1a8801d
8272e36
 
1a8801d
 
 
 
8272e36
1a8801d
8272e36
 
1a8801d
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
env_id: code-debug-env
version: "1.0.0"
description: "RL environment where AI agents debug Python code"

tasks:
  - id: fix_addition_bug
    difficulty: easy
    max_steps: 5
    description: "Fix the function so it correctly returns the sum of two numbers"
    grader:
      type: programmatic
      prompt_template: "Score the fix 0.0 to 1.0 based on correctness"

  - id: fix_max_finder_bug
    difficulty: medium
    max_steps: 5
    description: "Fix the function so it correctly returns the largest number in a list"
    grader:
      type: programmatic
      prompt_template: "Score the fix 0.0 to 1.0 based on correctness"

  - id: fix_fibonacci_bug
    difficulty: hard
    max_steps: 5
    description: "Fix the recursive fibonacci function"
    grader:
      type: programmatic
      prompt_template: "Score the fix 0.0 to 1.0 based on correctness"