feat(trekninger): read parameter file 1.1 and store the new draws
The loader knows the new checksum and the units of the new quantities (g CO2 per kWh, cubic metres per MWh). 10 000 draws of 91 quantities with the same seed; the four new ones are the last columns. All columns have new numbers, because the random numbers are laid out row by row. The stream for yearly events is byte for byte the same; only its description records the new checksum. Tests for the counts, the new quantities and the checksum in the pre-registration. README, CHANGELOG and CLAUDE.md updated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
5be06462ac
commit
ea26cd4226
9 changed files with 100 additions and 25 deletions
|
|
@ -20,7 +20,8 @@ carousel, Python code, and a Claude plugin (own repo, later).
|
|||
- `FORHANDSREGISTRERING.md`: the approved direction and pre-registered criteria (M1–M7). Committed.
|
||||
- `modell/spesifikasjon.md`: the model specification (equations S1–S54; chapter 17,
|
||||
the addition to the direction, is not coded yet). `modell/parametere.json`: the frozen
|
||||
parameters (value, range, distribution, source entries); its checksum is recorded in the pre-registration.
|
||||
parameters (value, range, distribution, source entries); its checksum is recorded in the pre-registration
|
||||
(version 1.1 after the one deviation of 2026-11-12, which added the quantities of chapter 17.8).
|
||||
The table in chapter 14 of the specification is generated from that file.
|
||||
`modell/fagfellevurdering-*.md`: review findings per draft and what was done.
|
||||
- `PLAN.md` and `STATE.md`: local working files (gitignored). `private/`: working documents, never committed
|
||||
|
|
@ -42,7 +43,7 @@ carousel, Python code, and a Claude plugin (own repo, later).
|
|||
cost of capital before tax), approved by the operator 2026-11-12; 67 lists what remains. Clarification 68
|
||||
holds the sources' figures for M5 (i), mirrored in `miljo.KILDEVERDIER_M5`. The run over the draws, the
|
||||
sensitivities and the tools of chapter 12 are not coded yet.
|
||||
- `data/trekninger.npy` and `data/trekninger.json`: the 10 000 draws of the 87 drawn quantities, in the parameter
|
||||
- `data/trekninger.npy` and `data/trekninger.json`: the 10 000 draws of the 91 drawn quantities, in the parameter
|
||||
file's units. `data/aarshendelser.npy` and `.json`: one uniform number per draw and year 2028–2100 for the
|
||||
export rule (own seed). Committed; every later computation reads them.
|
||||
- `tests/`: unit tests per equation, the loader, the draws, and `test_fasit.py` (known answers from Argonne,
|
||||
|
|
@ -70,7 +71,7 @@ carousel, Python code, and a Claude plugin (own repo, later).
|
|||
chapters 0 to 13 it prevails. A new ambiguity is settled there with a date, never silently in code. Chapter 17
|
||||
holds the addition to the direction (solution T in the versions T-F and T-K, on-device compute, avoided
|
||||
emissions, cooling water; S48–S54). Where it is silent, T follows the rules for C and B. Its new quantities
|
||||
(17.8) are candidates, not parameters, until the deviation from the freeze.
|
||||
(17.8) were frozen in the deviation of 2026-11-12 and stand last in the parameter file.
|
||||
- **Known-answer tests:** nothing is tuned to make one pass. A miss stays in the suite as a strict `xfail` with
|
||||
the measured deviation and the cause if known, and is reported in the review log.
|
||||
- **No results yet:** until part 6, code is only run on made-up numbers or on a source's own assumptions, never on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue