Spaces:
Running
Running
Project Structure (Judge-Friendly)
This repository keeps runtime-critical files in their original paths for deployment safety. No existing files were deleted.
Top-Level Layout
app/- core environment logic and FastAPI serverapp/web/- deployed React frontend assets served by backend at/uifrontend/- frontend ownership docs and reserved source folder for future split componentsrl/- reinforcement-learning wrappers, training, evaluation, configstests/- deterministic unit/integration test suitesscripts/- operational scripts (local run, validation, benchmark ladder)docs/- judge-facing documentation and phase notesopenenv.yaml- OpenEnv manifestinference.py- OpenEnv inference entrypointbaseline_openai.py- CLI baseline workflowDockerfile- deployment image
Deployment-Critical Paths
- API app import path:
app.main:app - Frontend route:
/ui(served fromapp/web/index.html) - RL training entrypoint:
python -m rl.train_ppo - RL evaluation entrypoint:
python -m rl.evaluate - OpenEnv config:
openenv.yaml
Phase Mapping
- Phase 1:
rl/feature_builder.py,rl/action_mask.py,rl/gym_wrapper.py,rl/train_ppo.py - Phase 2:
rl/curriculum.py,rl/configs/curriculum.yaml,tests/test_curriculum.py - Phase 3:
rl/train_recurrent.py,rl/configs/recurrent.yaml,tests/test_rl_evaluate.py - Phase 3+: reserved in existing
rl/module structure
Judge Quick Navigation
- Environment behavior:
app/env.py,app/reward.py,app/graders.py - OpenEnv compliance + inference:
openenv.yaml,inference.py - Frontend behavior:
app/web/react_app.js,docs/FRONTEND_WORKFLOW.md - RL implementation:
rl/ - Validation:
tests/,scripts/validate_env.py,scripts/validate-submission.sh