feat(report): the four additional analyses in section 8.4

Section 8.4 of chapter 8 holds the four analyses made after the results
(expected net present value, half the construction time for small units
with the free choice of unit size, no displacement in the grid queue, net
present value by term), outside the verdicts, each with its reservation
and a list of what is not checked. Every number is a tillegg. key from
the new module rapport/resultater/tillegg.py, which reads data/tillegg/
and stops the build if the files do not agree with the main run's.

Section 8.3 now lists ten calculations not done, the row in appendix C
says the analyses are done, one sentence in chapter 10 and one in each of
three files of chapter 6 point to the section, and the README names the
analyses and the commands that made them. The report is 177 pages and is
copied to pdf/. The operator approved the wording 2026-11-24.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-11-24 12:16:26 +01:00
commit 7bf3d76e8e
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
10 changed files with 636 additions and 33 deletions

View file

@ -1,7 +1,8 @@
# ruff: noqa: INP001
r"""Write what chapter 6 of the report reads: numbers, tables and figure data from the result files.
Reads the eight files in ``data/resultater/`` and writes to ``rapport/generert/``. Each module in
Reads the eight files in ``data/resultater/`` (and, for the module ``tillegg``, the additional
analyses in ``data/tillegg/``) and writes to ``rapport/generert/``. Each module in
``rapport/resultater/`` has ``lag(data: Path, ut: Path) -> dict[str, Tall]``: it writes its own
tables (``.tex``) and figure data (``.dat``) to ``ut`` and returns every number it shows, under
keys that start with the module's name and a full stop. This script collects them and writes
@ -35,6 +36,7 @@ MODULER = (
"terskler",
"folsomheter",
"karusell",
"tillegg",
)
NOKKEL = re.compile(r"^[a-z0-9]+(?:[.-][A-Za-z0-9]+)*$")