docs(rapport): the price threshold as per cent above the model's path in the summaries and the conclusion
A derived number per solution and scenario, (k - 1) * 100, replaces '1,068 times as high' with '7 % above' where a reader meets it first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
078f6d9f9c
commit
2b20f81152
7 changed files with 19 additions and 10 deletions
|
|
@ -258,6 +258,14 @@ def _pris(fil: Any, tall: dict[str, Tall], ut: Path) -> None: # noqa: ANN401
|
|||
vist="over søkegrensen" if p["over_maks"] else "finnes ikke",
|
||||
)
|
||||
tall[f"{nokkel}.k"] = k
|
||||
if p["k"] is not None:
|
||||
# How far above the model's price path the threshold lies, in per cent.
|
||||
tall[f"{nokkel}.pst-over"] = avledet(
|
||||
(p["k"] - 1.0) * 100.0,
|
||||
0,
|
||||
FIL,
|
||||
f"(k - 1) * 100 for pristerskler.{losning}.{scenario}.k",
|
||||
)
|
||||
innenfor = _ord(fra_fil(fil, FIL, (*sti, "innenfor_kontraktsprisene"), "tekst"))
|
||||
tall[f"{nokkel}.innenfor"] = innenfor
|
||||
andel = fra_fil(fil, FIL, (*sti, "andel_innenfor"), "pst", 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue