feat: Fehlende Größe aus den Teilpaketen geschätzt statt pauschal M (D66)

Mindestens die größte Größe der zählenden Kinder, ab drei Kindern dieser
Größe eine Stufe mehr (Deckel XXL); disjunktiv die kleinste Alternative,
rekursiv über größenlose Kinder, Blatt bleibt M. Badge, Tooltip und
aria-label zeigen die geschätzte Größe („mindestens {size} angenommen").

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
mhoennig
2026-08-24 19:59:13 +02:00
co-authored by Claude Fable 5
parent ebc5be407e
commit bb01045488
8 changed files with 317 additions and 43 deletions
+5 -1
View File
@@ -108,7 +108,11 @@ One node per line. Everything except the label is optional.
- T-shirt sizes in parentheses: `(XS) (S) (M) (L) (XL) (XXL)`.
- From `(M)` upward a node **should be decomposed further**; a node ≥ M
without children gets a placeholder hint in the diagram.
- For cost estimation a missing size counts as `M`.
- For cost estimation a missing size is **estimated from the sub-packages**:
at least the largest size among the counting children (same children as
the conflict check below, except unsized children count too — estimated
recursively); three or more children at that largest size raise it by one
step, capped at `XXL`. Without counting children it stays `M`.
- **Size conflict check:** a given size must fit the direct children. For
this one check each size is read as a range (lower bounds double, XXL is
open-ended):