Spaces:
Runtime error
Runtime error
Commit History
-
feat: add real code execution β run_code, run_tests, submit_fix toolsβ
This is what makes CodeReviewEnv different from every other submission: agents execute real Python code, see real test failures, and submit fixes that are verified by actual test execution. New tools: run_code β execute Python code, see stdout/stderr/errors (like a REPL) run_tests β run test cases against buggy code, see which fail submit_fix β submit corrected code; tests verify the fix works (60% test-based + 40% review-based reward) Also: - server/code_executor.py: sandboxed Python executor - 12 snippet test suites (binary_search, fibonacci, merge_sort, etc.) - Gradio UI for interactive testing - 8 tools total (was 5) - 32 tests, 18/18 validation checks passing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>3ea78ad