Add Julia Environment to OpenEnv #246
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the Julia Environment (
julia_env) to OpenEnv with all required files. The Julia Environment enables RL training with Julia programming tasks, including code execution, test result tracking, and reward calculation. This julia env derived from on this julia branch.What's New
Core Files Added
✅
src/envs/julia_env/README.md- Comprehensive documentation with quick start guide, environment details, and usage examples✅
src/envs/julia_env/openenv.yaml- Environment specification for deployment✅
src/envs/julia_env/pyproject.toml- Package metadata, dependencies, and build configuration✅
src/envs/julia_env/server/requirements.txt- Python dependencies for Docker container✅
src/core/tools/julia_executor.py- Julia code executor with process pooling support📝
src/core/tools/__init__.py- Exported JuliaExecutor class✅
src/envs/julia_env/server/app.py- Added main() entry point for pyproject.toml✅
src/envs/julia_env/server/Dockerfile- Fixed CMD and added requirements.txt installationTechnical Details
Environment Features
Testmodule output (@test statements)Architecture
Testing
All Docker builds and runtime tests pass successfully:
Build Test
✅ Image builds successfully with Julia 1.10 and all dependencies
Runtime Test
✅ Container starts with 4 workers and 64-worker Julia process pool
Endpoint Tests
✅ All endpoints functional, Julia code executes successfully
Impact
Checklist