test: neutral names for the reference path and the office-IT baseline

Rename the reference-project helpers and test names (_reference_k,
test_reference_path_*) and the cost-baseline helper (_kontor_it_baseline,
which already returned KONTOR-IT-E1). Names only; no assertion changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-09-23 17:31:13 +02:00
commit 9cdbd57cf6
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
8 changed files with 25 additions and 22 deletions

View file

@ -241,7 +241,7 @@ def _make_docs(tmp_path: Path, name: str) -> str:
return str(d)
def _road_k(tmp_path: Path, *, verdict_input: dict[str, str] | None) -> Project:
def _reference_k(tmp_path: Path, *, verdict_input: dict[str, str] | None) -> Project:
return Project(
id="REF-K",
name="Reference k",
@ -275,7 +275,7 @@ async def test_a_given_verdict_on_k_does_reach_kplus1(
"""T4 CONTROL (mirrors ``test_portfolio_learning_loadbearing``): when an expert DID review
project *k*, that verdict reaches *k+1*'s hypothesis prompt. This is the event T5 denies —
proving first that it can happen is what makes T5's negative assert mean anything."""
k = _road_k(tmp_path, verdict_input={"decision": "approved", "rationale": _SENTINEL})
k = _reference_k(tmp_path, verdict_input={"decision": "approved", "rationale": _SENTINEL})
kplus1 = _bundle_kplus1(tmp_path)
monkeypatch.setattr("portfolio_optimiser.run.load_reference_projects", lambda: (k, kplus1))
factory, recorded = make_recording_client_factory(_ALIGNED_REPLY)
@ -295,7 +295,7 @@ async def test_an_ungiven_verdict_on_k_never_reaches_kplus1(
prompt — no verdict is minted, none enters the shared store, and *k*'s candidate key never
shows up as a prior judgement. RED before the seam: *k* minted an ``approved`` verdict from a
``verdict_input`` no expert supplied, and the threaded store carried it forward."""
k = _road_k(tmp_path, verdict_input=None)
k = _reference_k(tmp_path, verdict_input=None)
kplus1 = _bundle_kplus1(tmp_path)
monkeypatch.setattr("portfolio_optimiser.run.load_reference_projects", lambda: (k, kplus1))
factory, recorded = make_recording_client_factory(_ALIGNED_REPLY)