code-debug-env / STRUCTURE.md
Souravdanyal's picture
Initial commit
2ce1061
|
raw
history blame
1.24 kB

Code Debug Environment β€” Full File Structure

code-debug-env/
β”œβ”€β”€ openenv.yaml                  ← OpenEnv manifest (required)
β”œβ”€β”€ inference.py                  ← Baseline agent script (must be in root)
β”œβ”€β”€ pyproject.toml                ← Dependencies
β”œβ”€β”€ README.md                     ← Docs with action/obs spaces
β”œβ”€β”€ .dockerignore
β”œβ”€β”€ models.py                     ← Pydantic Action/Observation/State
β”œβ”€β”€ client.py                     ← EnvClient (for training code)
β”œβ”€β”€ __init__.py                   ← Exports
└── server/
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ app.py                    ← FastAPI server
    β”œβ”€β”€ environment.py            ← Core logic: reset/step/state
    β”œβ”€β”€ tasks/
    β”‚   β”œβ”€β”€ __init__.py
    β”‚   β”œβ”€β”€ task_easy.py          ← 15 buggy code samples
    β”‚   β”œβ”€β”€ task_medium.py        ← 15 buggy code samples
    β”‚   └── task_hard.py          ← 15 buggy code samples
    β”œβ”€β”€ graders/
    β”‚   β”œβ”€β”€ __init__.py
    β”‚   β”œβ”€β”€ grader_easy.py
    β”‚   β”œβ”€β”€ grader_medium.py
    β”‚   └── grader_hard.py
    β”œβ”€β”€ requirements.txt
    └── Dockerfile