Run a Tbench2Env Server
The following example usesNovitaSandboxProvider to build and start the Tbench2 OpenEnv server in a Novita Sandbox. It then connects to the server with Tbench2Env, resets a task, executes commands, and releases the sandbox when the run finishes.
The example is based on examples/novita_tbench2_simple.py in the OpenEnv repository.
Set NOVITA_API_KEY and run the example from the root of a local OpenEnv checkout:
CLI
Python
examples/novita_tbench2_e2e_eval.py:
CLI