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
|
|
@ -123,7 +123,7 @@ def _base(tmp_path: Path, *, sentinel: bool = False) -> tuple[str, prepass.Prepa
|
|||
|
||||
|
||||
def _docs(tmp_path: Path) -> str:
|
||||
"""The road path's data source, unused on the bundle arm but required by the signature."""
|
||||
"""The reference path's data source, unused on the bundle arm but required by the signature."""
|
||||
d = tmp_path / "docs"
|
||||
d.mkdir(exist_ok=True)
|
||||
(d / "cost.txt").write_text("Energitiltak i kontorbygg.", encoding="utf-8")
|
||||
|
|
@ -359,7 +359,7 @@ async def test_a_payload_that_delivers_nothing_is_refused_by_name(tmp_path: Path
|
|||
|
||||
|
||||
async def test_a_payload_without_a_bundle_dir_is_refused(tmp_path: Path) -> None:
|
||||
"""The road path has no base for the payload to agree with."""
|
||||
"""The reference path has no base for the payload to agree with."""
|
||||
_, payload = _base(tmp_path)
|
||||
with pytest.raises(prepass.PrepassRefused, match="bundle"):
|
||||
await run_project(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue