Skip to content

Alabama dependent exemption puts AGI of exactly $50,000 and exactly $100,000 in the lower tier #9701

Closed

Description

Bug

gov.states.al.tax.income.exemptions.dependent is a bracket scale with thresholds 50,000 and 100,000. A bracket starts at its threshold, so AGI of exactly 50,000 gets $500 and AGI of exactly 100,000 gets $300. Alabama's chart puts 50,000 in the $1,000 tier and 100,000 in the $500 tier.

Law

2024 Alabama Form 40 booklet, per-dependent exemption chart (https://www.revenue.alabama.gov/wp-content/uploads/2025/01/24f40bk.pdf#page=10):

Amount on Page 1, Line 10 Dependent exemption
0 – 50,000 1,000
50,001 – 100,000 500
Over 100,000 300

Reproduction (main f7c6525, 2026-09-29)

2024, AL, head of household, age 35, one dependent child aged 5, employment_income as shown.

AL AGI al_dependent_exemption Chart
50,000 500 1,000
50,001 500 500
100,000 300 500
100,001 300 300

Code

- threshold:
2021-01-01: 20_000
2022-01-01: 50_000
amount:
2021-01-01: 500
- threshold:
2021-01-01: 100_000
amount:
2021-01-01: 300

Suggested fix

Move the two thresholds just above the chart's upper bounds (for example 50_000.01 and 100_000.01), and add boundary tests at exactly 50,000 and 100,000.

Only 2024 was checked. The 2021 threshold of 20,000 in the same file may have the same boundary issue.

Activity

  1. buzzedaldrinx86-creator commented on Sep 30, 2026

    @buzzedaldrinx86-creator
    Author

    For transparency: this issue was found and checked with AI assistance. The reproduction and legal citation were verified by running the model and reading the cited source.

  2. buzzedaldrinx86-creator commented on Nov 13, 2026

    @buzzedaldrinx86-creator
    Author

    Fixed on main by #9943 (merged 12 Oct 2026): the lookup now keeps the higher amount through each threshold. On main at 44f9211, AGI of exactly 50,000 gives 1,000 and AGI of exactly 100,000 gives 500. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions