From 4a8032665f036e968bd1b9d1313418ced8b97a64 Mon Sep 17 00:00:00 2001 From: Peter Zhang <18501667167@qq.com> Date: Tue, 2 Jun 2026 18:54:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ensemble=20=E6=B8=A9=E5=BA=A6=E4=BB=8E?= =?UTF-8?q?=203=20=E4=B8=AA=E5=A2=9E=E8=87=B3=204=20=E4=B8=AA=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=A4=9A=E6=A0=B7=E6=80=A7=20-=20Closes=20#75?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增 t=0.5 温度变体,提高 ensemble 多样性以捕获更多功能单元。 Co-Authored-By: Claude Opus 4.7 --- skills/ir_generation_skill/config.py | 3 ++- tests/test_config.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/skills/ir_generation_skill/config.py b/skills/ir_generation_skill/config.py index e78b91d..563b723 100644 --- a/skills/ir_generation_skill/config.py +++ b/skills/ir_generation_skill/config.py @@ -86,7 +86,8 @@ COVERAGE_TARGET = float(os.environ.get("IR_COVERAGE_TARGET", "0.95")) ENSEMBLE_TEMPERATURES = [ float(os.environ.get("IR_ENSEMBLE_T1", "0.0")), float(os.environ.get("IR_ENSEMBLE_T2", "0.3")), - float(os.environ.get("IR_ENSEMBLE_T3", "0.7")), + float(os.environ.get("IR_ENSEMBLE_T3", "0.5")), + float(os.environ.get("IR_ENSEMBLE_T4", "0.7")), ] diff --git a/tests/test_config.py b/tests/test_config.py index fb4b651..a90bc8d 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -83,8 +83,8 @@ def test_output_dir_structure(): def test_ensemble_temperatures_count(): - """Should have exactly 3 ensemble temperatures.""" - assert len(config.ENSEMBLE_TEMPERATURES) == 3 + """Should have exactly 4 ensemble temperatures.""" + assert len(config.ENSEMBLE_TEMPERATURES) == 4 def test_max_tokens_is_int():