File size: 1,259 Bytes
06b0d69
 
 
 
 
 
8eecaf4
06b0d69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8eecaf4
 
 
 
 
 
06b0d69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8eecaf4
06b0d69
 
 
8eecaf4
 
 
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
spec_version: 1
name: api-debug-env
version: "1.0.0"
type: environment
runtime: docker
app: server/app.py
port: 7860
description: OpenEnv environment where AI agents debug broken HTTP API requests by reading real error responses and iteratively fixing headers, methods, bodies, and auth flows.
tasks:
  - id: easy
    name: Auth and Header Errors
    difficulty: easy
    max_steps: 5
    reward_range: [0.0, 1.0]
  - id: medium
    name: Method and Body Errors
    difficulty: medium
    max_steps: 5
    reward_range: [0.0, 1.0]
  - id: hard
    name: Rate Limiting and Multi-step Auth
    difficulty: hard
    max_steps: 10
    reward_range: [0.0, 1.0]
  - id: expert
    name: Discovery and Stateful Chains
    difficulty: expert
    max_steps: 10
    reward_range: [0.0, 1.0]
action_space:
  type: structured
  fields:
    - method: string
    - url: string
    - headers: dict
    - body: dict
    - query_params: dict
observation_space:
  type: structured
  fields:
    - task_id: string
    - task_description: string
    - broken_request: dict
    - last_status_code: int
    - last_response_headers: dict
    - last_response_body: string
    - step_feedback: string
    - current_score: float
    - reward: float
    - done: bool
    - attempt: int