Repository navigation
Correct the G-derived rates in nav_aap - #102
Merged
Merged
Conversation
G was given as 130 030, a typo for 130 160 (G from 1 May 2025). The 6G cap inherited the typo while the minimum rate did not, so the scenario contradicted itself, and both have been out of date since 1 May 2026. Update to G = 136 549 from 1 May 2026: 6G = 819 294, minimum 278 697 from age 25 and 185 798 under 25, matching nav.no/aap. Figures are dated "from 1 May 2026" rather than "in 2026", so the next regulation shows up as a dated figure instead of a year that quietly goes stale.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#17 gave G as 130 030 from 1 May 2025. That was my typo for 130 160: 130 030 isn't in Nav's G table for any year. In "AAP Beregning - Tak og Minste" the 6G cap inherited it (780 180 = 6 × 130 030), while the minimum rate was computed from the right G (265 657 = 2.041 × 130 160). So the scenario contradicted itself, and since 1 May 2026 both figures are out of date anyway.
What changes
In that scenario and in
nav_aap_README.md:All three match nav.no/aap. "In 2026" becomes "from 1 May 2026", so the next regulation shows up as a dated figure rather than a year that quietly goes stale, and the module docstring notes that G-derived figures need a yearly review.
The user's 850 000 kr still exceeds the cap, so the failure mode the scenario tests is unchanged. No other scenario, severity or wording is touched.
Checked
I went through every year-dependent figure in the packs I've contributed (
nav_aap,skatteetaten,helfo,lanekassen, and the four from September) against the issuing agency's own site. This was the only one that was wrong.Tests: 1350 passed, 17 skipped, the same as
devate5ec692.