docs(optimization): record the lessons of the GENETIC0 migration

Additional changes
- Correct a stale GENETIC0 docstring.
- Count infinite readings and predictions as missing in the energy-domain rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
Bobby Noelte
2026-11-27 13:55:41 +01:00
co-authored by Claude Opus 5.5
parent 40d0fab9d2
commit 8c06245e8b
11 changed files with 145 additions and 19 deletions
@@ -5,8 +5,9 @@ parameters, and the data the solution conversion presents (time zone, device IDs
series). They are prepared once before the run by ``genetic0prepare``.
The simulation reads the forecast and device dataclasses, which are derived from the request
(``Genetic0Request``). The request itself is kept because the result echoes it (until step 5); a
replay file stores the request and the dataclasses are derived again when it is read.
(``Genetic0Request``). The request itself is kept for the conversion, the visualization and the
public responses; a replay file stores the request and the dataclasses are derived again when it
is read.
"""
import math