Overview of Code Sandbox features
mainCode Sandbox is a secure environment designed for running and judging code generated by Large Language Models (LLMs). It provides two primary capabilities:
- Code Runner: Executes code snippets and returns the results. It supports a wide range of languages including Python (with
pytestand GPU support), C++, C#, Go, Java (withjunit), NodeJS, Typescript (withjest), Scala, Kotlin, PHP, Rust, Bash, Lua, R, Perl, D, Ruby, Julia, Verilog, and CUDA. - Online Judge: An implementation for evaluating and running Reinforcement Learning (RL) datasets. Supported datasets include HumanEval, MultiPL-E HumanEval, CodeContests, MBPP, MBXP, MHPP, CRUXEval, NaturalCodeBench, PAL-Math, and verilog-eval.