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
|
|
@ -40,7 +40,7 @@ from portfolio_optimiser.validator import (
|
|||
validate_proposal,
|
||||
)
|
||||
|
||||
# FV42-GSV-E1 cost codes 05.2 + 03.1 -> affected total 1_482_500 -> degenerate Monte Carlo
|
||||
# KONTOR-IT-E1 cost codes 05.2 + 03.1 -> affected total 1_482_500 -> degenerate Monte Carlo
|
||||
# P90 = 0.30 x 1_482_500 = 444_750. A claim of 800_000 is Pydantic-parseable (< affected total)
|
||||
# but > P90 -> the validator REJECTS it (exercising the OUTER max_attempts path). A claim of
|
||||
# 200_000 (<= P90) validates. Both proposals are built via proposal_for + model_dump_json, so
|
||||
|
|
@ -96,7 +96,7 @@ async def test_refinement_feeds_prior_falsification_into_next_prompt() -> None:
|
|||
"""LOAD-BEARING: the validator's rejection from attempt 1 reaches attempt 2's prompt, so the
|
||||
proposer can correct. Goes RED if ``_build_messages`` stops injecting ``prior_rejection.reason``
|
||||
(the flip token never arrives -> no validated outcome AND the verbatim assertion fails)."""
|
||||
project = load_reference_projects()[0] # FV42-GSV-E1
|
||||
project = load_reference_projects()[0] # KONTOR-IT-E1
|
||||
bad = proposal_for(project, _CODES, claimed_saving_nok=_BAD_CLAIM)
|
||||
corrected = proposal_for(project, _CODES, claimed_saving_nok=_CORRECTED_CLAIM)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue