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
|
|
@ -105,9 +105,9 @@ def _bundle_with_patched_verdict(tmp_path: Path, old: str, new: str) -> str:
|
|||
frontmatter rewritten — the packaged fixture is never mutated."""
|
||||
dst = tmp_path / "bundle"
|
||||
shutil.copytree(_MULTI_BUNDLE, dst)
|
||||
target = dst / "verdict-b-asfalt.md"
|
||||
target = dst / "verdict-b-lisens.md"
|
||||
text = target.read_text(encoding="utf-8")
|
||||
assert old in text, f"fixture drift: {old!r} not in verdict-b-asfalt.md"
|
||||
assert old in text, f"fixture drift: {old!r} not in verdict-b-lisens.md"
|
||||
target.write_text(text.replace(old, new, 1), encoding="utf-8")
|
||||
return str(dst)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue