AdithyaSK HF Staff commited on
Commit
108e843
Β·
verified Β·
1 Parent(s): 0ca4714

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +8 -27
README.md CHANGED
@@ -251,23 +251,6 @@ ships those pre-installed:
251
  After this, pass `template="opencode-rl"` on every `run_rollout` call β€”
252
  each rollout drops to ~20–30s end-to-end.
253
 
254
- ## Tests
255
-
256
- A cheap pre-flight (no E2B, no opencode β€” just hits each LLM endpoint
257
- once with a tiny request to confirm it returns logprobs):
258
-
259
- ```bash
260
- .venv/bin/python envs/opencode_env/tests/test_inference_endpoints.py
261
- ```
262
-
263
- Multi-endpoint end-to-end (spawns one E2B sandbox per endpoint, runs
264
- opencode on a sorting task, prints a comparison table):
265
-
266
- ```bash
267
- .venv/bin/python envs/opencode_env/tests/test_five_sorts_e2e.py \
268
- --endpoint all --template opencode-rl
269
- ```
270
-
271
  ## Project Structure
272
 
273
  ```
@@ -275,8 +258,8 @@ opencode_env/
275
  β”œβ”€β”€ README.md # this file
276
  β”œβ”€β”€ openenv.yaml # OpenEnv space spec
277
  β”œβ”€β”€ pyproject.toml # deps + ``server`` entrypoint
278
- β”œβ”€β”€ uv.lock # frozen deps (required for openenv validate)
279
- β”œβ”€β”€ .gitignore / .dockerignore # excludes .env / __pycache__ / artifacts
280
  β”œβ”€β”€ __init__.py # re-exports primitive + client + models
281
  β”‚
282
  β”œβ”€β”€ client.py # OpenCodeEnv(MCPToolClient)
@@ -295,14 +278,12 @@ opencode_env/
295
  β”‚ β”œβ”€β”€ catalog.py # endpoint shorthand resolver
296
  β”‚ └── Dockerfile # multi-stage uv build (used by ``openenv build``)
297
  β”‚
298
- β”œβ”€β”€ sandbox/
299
- β”‚ β”œβ”€β”€ __init__.py
300
- β”‚ β”œβ”€β”€ base.py # SandboxBackend / SandboxHandle Protocols
301
- β”‚ β”œβ”€β”€ e2b.py # E2B implementation
302
- β”‚ β”œβ”€β”€ interception.py # in-sandbox FastAPI proxy (logprob capture)
303
- β”‚ └── build_template.py # one-time E2B template builder
304
- β”‚
305
- └── tests/ # pre-flight + e2e + unit tests
306
  ```
307
 
308
  ## References
 
251
  After this, pass `template="opencode-rl"` on every `run_rollout` call β€”
252
  each rollout drops to ~20–30s end-to-end.
253
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
  ## Project Structure
255
 
256
  ```
 
258
  β”œβ”€β”€ README.md # this file
259
  β”œβ”€β”€ openenv.yaml # OpenEnv space spec
260
  β”œβ”€β”€ pyproject.toml # deps + ``server`` entrypoint
261
+ β”œβ”€β”€ uv.lock # frozen deps (required by ``openenv validate``)
262
+ β”œβ”€β”€ .gitignore / .dockerignore # excludes .env / __pycache__
263
  β”œβ”€β”€ __init__.py # re-exports primitive + client + models
264
  β”‚
265
  β”œβ”€β”€ client.py # OpenCodeEnv(MCPToolClient)
 
278
  β”‚ β”œβ”€β”€ catalog.py # endpoint shorthand resolver
279
  β”‚ └── Dockerfile # multi-stage uv build (used by ``openenv build``)
280
  β”‚
281
+ └── sandbox/
282
+ β”œβ”€β”€ __init__.py
283
+ β”œβ”€β”€ base.py # SandboxBackend / SandboxHandle Protocols
284
+ β”œβ”€β”€ e2b.py # E2B implementation
285
+ β”œβ”€β”€ interception.py # in-sandbox FastAPI proxy (logprob capture)
286
+ └── build_template.py # one-time E2B template builder
 
 
287
  ```
288
 
289
  ## References