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
|
|
@ -47,9 +47,9 @@ from portfolio_optimiser.simulation import ScriptedChatClient
|
|||
|
||||
_FIXTURES = Path(__file__).parent / "fixtures"
|
||||
_PRICED = str(_FIXTURES / "k2-prisskjema-SYNTETISK")
|
||||
_EXAMPLES = Path(__file__).resolve().parents[1] / "shared" / "examples"
|
||||
_BUNDLES = Path(__file__).resolve().parents[1] / "src" / "portfolio_optimiser" / "data" / "bundles"
|
||||
#: A base that SHIPS a hand-written ``cost-baseline.json`` - the anchored control.
|
||||
_ANCHORED_SOURCE = _EXAMPLES / "tunnel-hauglia"
|
||||
_ANCHORED_SOURCE = _BUNDLES / "driftssenter-kjoling"
|
||||
|
||||
_IR_PROJECTION = {
|
||||
"project_id": "K2",
|
||||
|
|
@ -170,7 +170,7 @@ async def test_it_composes_with_the_derivation(tmp_path: Path) -> None:
|
|||
|
||||
|
||||
def test_cli_requires_bundle_dir(capsys: pytest.CaptureFixture[str]) -> None:
|
||||
"""(f) The road path is anchored by construction, so on it the flag could never fire. A flag
|
||||
"""(f) The reference path is anchored by construction, so on it the flag could never fire. A flag
|
||||
that cannot fire is a claim the surface makes about itself (the Fase-3 class)."""
|
||||
rc = run.main(["P1", "--docs-dir", "docs", "--require-cost-baseline"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue