refactor(examples): replace sector-specific example material with generic, fictitious examples
The context sets, the packaged knowledge bases and the example bundles are replaced by one fictitious example set about IT operations in an invented organisation: three context sets (serverrom-2027, driftsavtale-2027 and the two-base drift-og-avtale-2027), two synthetic knowledge bases under src/portfolio_optimiser/data/kunnskapsbaser and two example bundles under src/portfolio_optimiser/data/bundles. Numbers, codes and structural values in tests and fixtures are kept; names, ids and wording change. Dated measurement documents that only recorded runs on the replaced material are deleted. Gate figures measured on the new set are not comparable with earlier ones. The exclusion gate from the previous commit is green: 0 tracked files hit outside the shared/ subtree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
058dd25570
commit
37547fe292
1147 changed files with 24138 additions and 9503 deletions
|
|
@ -235,7 +235,7 @@ def _make_docs(tmp_path: Path, name: str) -> str:
|
|||
d = tmp_path / name
|
||||
d.mkdir()
|
||||
(d / "cost.txt").write_text(
|
||||
"Asphalt Ab11 unit rate renegotiation reduced the paving cost on the school stretch.",
|
||||
"Licence unit price renegotiation reduced the office-suite cost for the head office.",
|
||||
encoding="utf-8",
|
||||
)
|
||||
return str(d)
|
||||
|
|
@ -243,9 +243,9 @@ def _make_docs(tmp_path: Path, name: str) -> str:
|
|||
|
||||
def _road_k(tmp_path: Path, *, verdict_input: dict[str, str] | None) -> Project:
|
||||
return Project(
|
||||
id="ROAD-K",
|
||||
name="Road k",
|
||||
description="road-backed project k",
|
||||
id="REF-K",
|
||||
name="Reference k",
|
||||
description="reference-backed project k",
|
||||
currency="NOK",
|
||||
cost_items=(),
|
||||
docs_dir=_make_docs(tmp_path, "k-docs"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue