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
|
|
@ -7,7 +7,7 @@ which is what keeps every commons-owned golden bundle running). The anchoring st
|
|||
purpose — and that is not what this file changes.
|
||||
|
||||
What it changes is that the skip was INVISIBLE. Measured (session 48, ``9d149b3``): four
|
||||
``--live-dry-run``s over copies of the veglys bundle — intact rc 0 · without ``validator-input.json``
|
||||
``--live-dry-run``s over copies of a delivered example bundle — intact rc 0 · without ``validator-input.json``
|
||||
rc 1 · **without ``cost-baseline.json`` rc 0 with no message at all** · corrupt baseline rc 1. And
|
||||
``grep baseline provenance.py outbox.py`` returned 0 hits, so neither the stamp nor the outbox
|
||||
artefacts carried it either. An operator could therefore run the whole gate un-anchored, read a
|
||||
|
|
@ -35,7 +35,7 @@ four bare dry-runs above, none of which had a mandate — would still have print
|
|||
|
||||
Arms:
|
||||
(a) the provenance field is ``False`` on an un-anchored bundle run and ``True`` on an anchored one,
|
||||
end-to-end through ``run_project`` (+ the road path, which is anchored by construction);
|
||||
end-to-end through ``run_project`` (+ the reference path, which is anchored by construction);
|
||||
(b) the notice EXISTS un-anchored and is ABSENT anchored — asserted on a sentinel that the anchored
|
||||
branch cannot contain, because it prints no line at all (never a substring both branches share:
|
||||
the 08-09 class);
|
||||
|
|
@ -138,10 +138,10 @@ async def test_provenance_records_an_anchored_bundle_run(fresh_store) -> None:
|
|||
|
||||
|
||||
async def test_road_path_is_anchored_by_construction(docs_dir, fresh_store) -> None:
|
||||
"""The road path derives its baseline from the reference project's own ``cost_items``, so it is
|
||||
"""The reference path derives its baseline from the reference project's own ``cost_items``, so it is
|
||||
ALWAYS anchored — the stamp says so rather than leaving the reader to know it."""
|
||||
result = await run_project(
|
||||
"FV42-GSV-E1",
|
||||
"KONTOR-IT-E1",
|
||||
"local",
|
||||
docs_dir=docs_dir,
|
||||
verdict_input=_VERDICT_INPUT,
|
||||
|
|
@ -309,7 +309,7 @@ def test_portfolio_surface_announces_an_unanchored_run(monkeypatch, capsys) -> N
|
|||
|
||||
Driven by a CRAFTED ``PortfolioResult`` (the ``budget_stop`` precedent in
|
||||
``test_portfolio_cli_offline_loadbearing``), and for the same measured reason: no reference
|
||||
project sets ``bundle_dir``, so every portfolio run today takes the road path and is anchored by
|
||||
project sets ``bundle_dir``, so every portfolio run today takes the reference path and is anchored by
|
||||
construction. This arm is therefore DEFENSIVE — it guards the surface for the day a bundle-backed
|
||||
project is wired into a pass, rather than covering a path reachable now."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue