Spaces:
Runtime error
Runtime error
Commit History
-
feat: major upgrade β multi-step MDP, AST injection, 5-signal rewardβ
- Multi-step episodes (up to 5 actions): analyze β flag_line β request_hint β submit_review Earlier decisions (flagged lines, hints) directly affect final reward - AST-based bug injection for Python (4 new injectors using ast module) alongside 5 regex-based injectors for JS/Go β 9 total injectors - 5-signal shaped reward: bug_detection (0.40), fix_quality (0.25), line_precision (0.15), comment_quality (0.10), efficiency (0.10) - 36 clean code snippets across Python/JS/Go with procedural generation - MCP tool endpoints: get_code_snippet, submit_review, request_hint, get_state - Concurrent session support (SUPPORTS_CONCURRENT_SESSIONS=True) - Difficulty tiers: easy (1 bug), medium (1-2), hard (2-3 + 1.5x multiplier) - 42 tests passing, 17/17 OpenEnv validation checks - Docker HEALTHCHECK, proper ENV vars, spec-compliant openenv.yaml Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>74c9d03
-
CodeReviewEnv v1.0 β OpenEnv-compliant submissionβ
- 3 tasks (easy/medium/hard) with deterministic graders - Spec-compliant inference.py with [START]/[STEP]/[END] per-task logs - Root-level baseline.py (heuristic, no API key needed) - Fixed reward double-counting bug in _apply_reward_shaping - 17/17 validation checks, 21/21 tests passing - Docker-ready on port 7860 for HF Spacesdbf5e96