Synapse_Code_Auditor / openenv.yaml
coderMayank69's picture
debugged the task validation error
a8a9661
Raw History Blame
1.45 kB
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