Commit 3e2a6cb
Fix docs notebook: per-fg unit on the child-count threshold
The 'tax deduction only for families with at least two children' example
compares `familie__anzahl_kinder_fg` (a count at the Familiengemeinschaft
level) against a threshold parameter. Under GEP 10 a comparison requires both
operands in the same unit, so the threshold must be declared
`PERSON_COUNT.PER_FG`, not plain `PERSON_COUNT`. Without this the docs build
fails with a UnitConsistencyError while executing the notebook.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 749c417 commit 3e2a6cb
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
1013 | 1016 | | |
1014 | | - | |
| 1017 | + | |
1015 | 1018 | | |
1016 | 1019 | | |
1017 | 1020 | | |
| |||
0 commit comments