File size: 1,009 Bytes
15e3224
 
 
 
7d38b61
 
15e3224
 
 
 
 
7d38b61
15e3224
 
 
 
 
 
 
 
 
 
 
7d38b61
 
15e3224
e7d44a8
15e3224
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.backends.legacy:build"

[project]
name = "SecureCodeEnv"
version = "2.0.0"
description = "An RL environment for training LLM agents to write production-ready, secure Python code."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
dependencies = [
    "fastapi==0.115.0",
    "uvicorn==0.30.6",
    "pydantic==2.7.0",
    "bandit==1.7.10",
    "openai>=2.7.2",
    "requests==2.32.3",
    "python-multipart==0.0.9",
    "httpx==0.27.0",
    "bcrypt==4.1.3",
    "PyJWT==2.8.0",
    "openenv-core>=0.2.0",
]

[project.scripts]
server = "server.app:main"

[tool.setuptools.packages.find]
where = ["."]
include = ["app*", "graders*", "codegraph*", "sandbox*", "tasks*", "server*"]

[tool.openenv]
name = "SecureCodeEnv"
version = "2.0.0"
entrypoint = "app.main:app"
port = 7860
reset_endpoint = "/reset"
step_endpoint = "/step"
state_endpoint = "/state"
health_endpoint = "/health"
framework = "fastapi"