File size: 1,451 Bytes
2db0a88
5d46764
2db0a88
 
 
 
ff84a08
6d75c2b
 
 
 
 
 
 
 
 
 
 
5d46764
6d75c2b
 
 
 
 
 
5d46764
6d75c2b
 
 
 
 
 
5d46764
6d75c2b
 
5d46764
 
 
 
 
a8a9661
5d46764
 
 
 
88c262b
 
 
 
 
 
 
 
 
 
 
 
6d75c2b
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
spec_version: 1
version: "1.0.0"
name: synapse_code_auditor
type: space
runtime: fastapi
app: app.main:app
port: 7860

description: >
  OpenEnv environment for deterministic AI code review evaluation across three tasks
  (easy, medium, hard) with automated deterministic graders. Per-task scores are in (0, 1).

tasks:
  - id: easy
    name: Detect syntax errors
    difficulty: easy
    max_steps: 1
    grader: true
    has_grader: true
    score_range: [0.01, 0.99]
  - id: medium
    name: Suggest optimization
    difficulty: medium
    max_steps: 1
    grader: true
    has_grader: true
    score_range: [0.01, 0.99]
  - id: hard
    name: Full code review with scoring
    difficulty: hard
    max_steps: 1
    grader: true
    has_grader: true
    score_range: [0.01, 0.99]

endpoints:
  health: GET /health
  metadata: GET /metadata
  tasks: GET /tasks
  manifest: GET /openenv.yaml
  graders_manifest: GET /graders.json
  reset: POST /reset
  step: POST /step
  state: GET /state

# Top-level graders (some validators scan for this key and `task:` aliases).
graders:
  - task: easy
    enabled: true
    type: deterministic
  - task: medium
    enabled: true
    type: deterministic
  - task: hard
    enabled: true
    type: deterministic

grading:
  type: automated
  deterministic: true
  graders:
    - task_id: easy
      type: deterministic
    - task_id: medium
      type: deterministic
    - task_id: hard
      type: deterministic