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

@ -57,7 +57,7 @@ def _make_docs(tmp_path, name: str) -> str:
return str(d)
def _road_k(tmp_path, *, rationale: str) -> Project:
def _reference_k(tmp_path, *, rationale: str) -> Project:
return Project(
id="REF-K",
name="Reference k",
@ -92,7 +92,7 @@ async def test_verdict_on_k_reaches_kplus1_hypothesis_prompt(
*k+1*'s hypothesis-generation prompt (both the sentinel rationale and *k*'s verdict id, via the
ExpeL few-shot). Detach ``bundle_dir=project.bundle_dir`` at run.py:496 → *k+1* runs the reference
path → the Step-1 fold is skipped → the sentinel never arrives → RED."""
k = _road_k(tmp_path, rationale=_SENTINEL)
k = _reference_k(tmp_path, 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)
@ -120,7 +120,7 @@ async def test_kplus1_alone_against_fresh_store_carries_no_signal(
"""T-2.0b CAUSALITY CONTROL: running ONLY *k+1* against a fresh (empty) store carries the
sentinel into NO prompt — proving the signal in T-2.0a is caused by the threaded store, not
incidental to the fixture (makes the positive test genuinely load-bearing)."""
k = _road_k(tmp_path, rationale=_SENTINEL)
k = _reference_k(tmp_path, 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)
@ -158,7 +158,7 @@ async def test_dropped_verdict_in_kplus1_inbox_reaches_store(
)
write_verdict(str(inbox), dropped)
k = _road_k(tmp_path, rationale=_SENTINEL)
k = _reference_k(tmp_path, rationale=_SENTINEL)
kplus1 = _bundle_kplus1(tmp_path, verdict_dir=str(inbox))
monkeypatch.setattr("portfolio_optimiser.run.load_reference_projects", lambda: (k, kplus1))
factory, _recorded = make_recording_client_factory(_ALIGNED_REPLY)