Official Codebase of 3DCodeVerse
Python
cost: profile rows name a model only where they depart from the Backends defaults — balanced restated all four literals and, applied by get_settings, overrode the one place config.py says they live (bug B11)
gaoypengf6d5d5cde078
diff --git a/harness/codeverse3d/cost/profiles.py b/harness/codeverse3d/cost/profiles.pyindex e96560d5..f08a7eaf 100644--- a/harness/codeverse3d/cost/profiles.py+++ b/harness/codeverse3d/cost/profiles.py@@ -37,6 +37,8 @@ from __future__ import annotationsfrom dataclasses import dataclass+from codeverse3d.contracts.common import Backends+#: profile names in increasing order of spendPROFILE_NAMES = ("economy", "balanced", "quality")@@ -79,15 +81,19 @@ class Profile:return f"~${self.expected_usd:.2f}/run, {self.expected_score}"+#: the backend defaults (``contracts.common.Backends``, the one place they are written): a+#: row names a model literally only where it departs from them.+_D = Backends()+#: the three dials. Generator ids are harness backend ids; judge/planner ids are#: ``<provider>:<model>``.PROFILES: dict[str, Profile] = {"economy": Profile(name="economy",generator="single-shot:gemini:gemini-3.7-flash",- planner="gemini:gemini-3.7-flash",+ planner=_D.planner,judge="gemini:gemini-3.7-flash",- captioner="gemini:gemini-3.7-flash",+ captioner=_D.captioner,rounds=2, candidates=1, judge_samples=2, texture=False,max_minutes=30.0,expected_usd=0.30,@@ -98,10 +104,10 @@ PROFILES: dict[str, Profile] = {),"balanced": Profile(name="balanced",- generator="gemini-cli:gemini-3.7-flash",- planner="gemini:gemini-3.7-flash",- judge="gemini:gemini-3.1-pro-preview",- captioner="gemini:gemini-3.7-flash",+ generator=_D.generator,+ planner=_D.planner,+ judge=_D.judge,+ captioner=_D.captioner,rounds=4, candidates=1, judge_samples=1, texture=False,max_minutes=60.0,expected_usd=1.47,@@ -114,10 +120,10 @@ PROFILES: dict[str, Profile] = {),"quality": Profile(name="quality",- generator="gemini-cli:gemini-3.7-flash",- planner="gemini:gemini-3.7-flash",- judge="gemini:gemini-3.1-pro-preview",- captioner="gemini:gemini-3.7-flash",+ generator=_D.generator,+ planner=_D.planner,+ judge=_D.judge,+ captioner=_D.captioner,rounds=4, candidates=2, judge_samples=3, texture=True,max_minutes=90.0,expected_usd=3.20,