@@ -43,7 +43,7 @@ def _valid_job(
4343 task = task_config ,
4444 trials_dir = tmp_path / "trials" ,
4545 agent = AgentConfig (
46- name = "AutoResearchExamAgent " ,
46+ name = "autoresearchexam-terminus " ,
4747 model_name = "provider/model" ,
4848 kwargs = {
4949 "min_time_per_iteration" : 0 ,
@@ -97,7 +97,7 @@ async def test_plugin_accepts_and_preserves_the_public_agent_name(
9797) -> None :
9898 job = _valid_job (tmp_path )
9999 agent = job ._trial_configs [0 ].agent
100- agent .name = "AutoResearchExamAgent "
100+ agent .name = "autoresearchexam-terminus "
101101 agent .import_path = None
102102 monkeypatch .setattr (
103103 "harbor_autoresearch.plugin.EnvironmentFactory.run_preflight" ,
@@ -107,7 +107,7 @@ async def test_plugin_accepts_and_preserves_the_public_agent_name(
107107
108108 await plugin .on_job_start (job )
109109 try :
110- assert agent .name == "AutoResearchExamAgent "
110+ assert agent .name == "autoresearchexam-terminus "
111111 assert agent .import_path == ("harbor_autoresearch.agent:AutoResearchExamAgent" )
112112 finally :
113113 await plugin .on_job_end (object ())
@@ -120,7 +120,7 @@ async def test_plugin_forwards_all_public_agent_settings(
120120) -> None :
121121 job = _valid_job (tmp_path )
122122 agent = job ._trial_configs [0 ].agent
123- agent .name = "AutoResearchExamAgent "
123+ agent .name = "autoresearchexam-terminus "
124124 agent .import_path = None
125125 monkeypatch .setattr (
126126 "harbor_autoresearch.plugin.EnvironmentFactory.run_preflight" ,
@@ -170,7 +170,7 @@ async def test_plugin_rejects_conflicting_agent_settings_without_overwriting_the
170170) -> None :
171171 job = _valid_job (tmp_path )
172172 agent = job ._trial_configs [0 ].agent
173- agent .name = "AutoResearchExamAgent "
173+ agent .name = "autoresearchexam-terminus "
174174 agent .import_path = None
175175 agent .kwargs = {setting : agent_value }
176176 plugin = TimedWindowPlugin (
@@ -182,7 +182,7 @@ async def test_plugin_rejects_conflicting_agent_settings_without_overwriting_the
182182 with pytest .raises (ValueError , match = f"Conflicting { setting } " ):
183183 await plugin .on_job_start (job )
184184
185- assert agent .name == "AutoResearchExamAgent "
185+ assert agent .name == "autoresearchexam-terminus "
186186 assert agent .import_path is None
187187 assert agent .kwargs == {setting : agent_value }
188188
@@ -205,7 +205,7 @@ async def test_failed_preflight_does_not_mutate_agent_configuration(
205205 with pytest .raises (ValueError , match = "tests/Dockerfile" ):
206206 await plugin .on_job_start (job )
207207
208- assert agent .name == "AutoResearchExamAgent "
208+ assert agent .name == "autoresearchexam-terminus "
209209 assert agent .import_path is None
210210 assert agent .kwargs == {"min_time_per_iteration" : 0 }
211211
0 commit comments