Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions affine/core/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@ class EnvConfig:
"timeout": 600,
},
),
"affine:codex-synth": EnvConfig(
name="affine:codex-synth",
docker_image="affinefoundation/affine-codex-synth:latest",
env_vars={
"UVICORN_WORKERS": "1",
"BUG_INJECT_MODEL": "deepseek-ai/DeepSeek-V3",
"BUG_INJECT_BASE_URL": "https://llm.chutes.ai/v1",
},
mem_limit="16g",
eval_params={
"timeout": 1200,
},
proxy_timeout=1500,
),

# PrimeIntellect environments (no task_type)
"cde": EnvConfig(
Expand Down Expand Up @@ -190,6 +204,11 @@ class EnvConfig:

# SAT aliases
"sat": "affine:sat",

# Codex synth aliases
"codex-synth": "affine:codex-synth",
"codex": "affine:codex-synth",
"bug-synth": "affine:codex-synth",

# PrimeIntellect aliases (uppercase versions)
"CDE": "cde",
Expand Down Expand Up @@ -562,6 +581,7 @@ def cleanup_all_environments():
GAME_factory = lambda mode=None: create_environment("game", mode=mode)
SWE_PRO_factory = lambda mode=None: create_environment("swe-pro", mode=mode)
PRINT_factory = lambda mode=None: create_environment("print", mode=mode)
CODEX_SYNTH_factory = lambda mode=None: create_environment("affine:codex-synth", mode=mode)

# Legacy class aliases
SAT = SAT_factory
Expand All @@ -574,6 +594,7 @@ def cleanup_all_environments():
LGC_V2 = LGC_V2_factory
GAME = GAME_factory
PRINT = PRINT_factory
CODEX_SYNTH = CODEX_SYNTH_factory

# SWE-bench factories
SWE_PRO = SWE_PRO_factory
12 changes: 6 additions & 6 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.