portfolio-optimiser/contexts
Kjell Tore Guttormsen da0ccd0489 feat(p17b): a context set that spans TWO bases, and a judge told which one [skip-docs]
``contexts/dekke-og-kontrakt-lindaas-2027`` is the first set whose approaches
route at more than one knowledge base: a1/a2 at n200-2024 (material requirements)
and a3/a4 at r761-2025 (the rig, and the falsification arm). That is the whole
reason it exists -- P17b measures that ONE commission can be run across several.

``bundle.txt`` grows a block per base; a set naming one base is one block, so the
four pre-P17b files parse byte-identically. The reader now has ONE home
(``stress.read_bundle_declarations``): it used to be a private copy in the P14
gate and a second, looser one inside ``stress.main``, and the multi-base form is
exactly the change that would have let them drift.

Rule U becomes the UNION of every declared base, and that is not a formality.
MEASURED 15.09: ``enhetspris`` is absent from n200-2024 and carried by 70 of
r761-2025's 2 756 concepts, so anchors admitted per base would have admitted a
question the pass as a whole CAN ground. It was dropped from the fifth set's
anchors for that reason.

``score_context_set(bundle_id=...)`` restricts the judgement to the approaches
routed at THIS base. Without it, judging the n200 outbox reports the r761
approach as ``not_evaluated``/``absent`` -- a false finding, because that
approach WAS evaluated, against the other base, under the other run_id. That
defect is pinned by its own arm. The judge's CLI refuses to guess when a set
declares several bases, with an rc-0 control on ``--bundle``.

Arm (d) gained a second half: every DECLARED base must be named by some
approach, because a base no approach names is never run.

The P19/B2 fasit denominator moved 26 -> 32 and is asserted, not dropped: six new
references, two of them bare ``prosessnr`` (12.11, 12.12), so B1's
punctuation-and-digits form is now exercised by a fasit and not only by a
known-positive.

Suite 1774/5, golden byte-unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 04:44:37 +02:00
..
dekke-og-kontrakt-lindaas-2027 feat(p17b): a context set that spans TWO bases, and a judge told which one [skip-docs] 2026-09-15 04:44:37 +02:00
fv412-dekkefornyelse-2027 feat(p16): the stress judge -- and the order's own (a) was a gate that could only be green 2026-09-14 11:58:48 +02:00
gate-nordvik-2027 feat(p16): the stress judge -- and the order's own (a) was a gate that could only be green 2026-09-14 11:58:48 +02:00
kontrakt-sorasen-2027 feat(p16): the stress judge -- and the order's own (a) was a gate that could only be green 2026-09-14 11:58:48 +02:00
tunnel-hauglia-2027 feat(p16): the stress judge -- and the order's own (a) was a gate that could only be green 2026-09-14 11:58:48 +02:00