config: concurrency=24, max_steps=40, breaker_threshold=48

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 12:27:05 -04:00
parent a7ca6d15ed
commit ba400417e2
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -23,8 +23,8 @@ def _valid_kwargs() -> dict:
"store_dir": Path("store"),
"mode": "infer",
"run_id": "",
"concurrency": 12,
"max_steps": 15,
"concurrency": 24,
"max_steps": 40,
"skill_mode": "auto",
"n_samples": 0,
"questions": "benchmarks/Video-MME",
@@ -453,7 +453,7 @@ class TestLoadConfigCliOverrides:
yaml_path = _write_yaml(tmp_path, harness_data)
cfg = load_config(yaml_path, cli_overrides={"concurrency": None, "max_steps": 20})
assert cfg.concurrency == 12 # YAML 默认值
assert cfg.concurrency == 24 # YAML 默认值
assert cfg.max_steps == 20
def test_cli_run_id_override(self, tmp_path: Path) -> None:
@@ -483,7 +483,7 @@ class TestLoadConfigCliOverrides:
yaml_path = _write_yaml(tmp_path, harness_data)
cfg = load_config(yaml_path, cli_overrides={"nonexistent_field": 42})
assert cfg.concurrency == 12 # 正常字段不受影响
assert cfg.concurrency == 24 # 正常字段不受影响
def test_validation_runs_after_loading(self, tmp_path: Path) -> None:
"""load_config 加载后应运行校验,非法值应报错。"""
@@ -545,7 +545,7 @@ class TestLoadConfigRealYaml:
assert cfg.mode == "infer"
assert cfg.gate_e_confirm == 20.0
assert cfg.batch_size == 15
assert cfg.concurrency == 12
assert cfg.concurrency == 24
assert cfg.workspace_dir == Path("workspaces/default")
assert cfg.store_dir == Path("store")
assert cfg.skill_mode == "auto"