Skip to content
Open
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
1 change: 1 addition & 0 deletions affine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def miners(*args, **kwargs):
GAME_factory as GAME,
SWE_PRO_factory as SWEPRO,
PRINT_factory as PRINT,
ARC_GEN_factory as ARC_GEN,
list_available_environments,
)

Expand Down
18 changes: 18 additions & 0 deletions affine/core/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ class EnvConfig:
"timeout": 600,
},
),
"affine:arc-gen": EnvConfig(
name="affine:arc-gen",
docker_image="affinefoundation/arc-gen:v1",
env_vars={"UVICORN_WORKERS": "10"},
eval_params={
"temperature": 0.0,
"timeout": 600,
"num_train": 3,
},
),

# PrimeIntellect environments (no task_type)
"cde": EnvConfig(
Expand Down Expand Up @@ -187,6 +197,12 @@ class EnvConfig:
"affine:ded": "affine:ded-v2",
"ded": "affine:ded-v2",
"ded-v2": "affine:ded-v2",

# ARC-GEN aliases
"arc-gen": "affine:arc-gen",
"arc_gen": "affine:arc-gen",
"ARC-GEN": "affine:arc-gen",
"ARC_GEN": "affine:arc-gen",

# SAT aliases
"sat": "affine:sat",
Expand Down Expand Up @@ -562,6 +578,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)
ARC_GEN_factory = lambda mode=None: create_environment("arc-gen", mode=mode)

# Legacy class aliases
SAT = SAT_factory
Expand All @@ -574,6 +591,7 @@ def cleanup_all_environments():
LGC_V2 = LGC_V2_factory
GAME = GAME_factory
PRINT = PRINT_factory
ARC_GEN = ARC_GEN_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.