`ga_ctc` has a value for years before 2026

Aperta Adatta ai principianti
#11,687 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
84/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, yaml
Ambito
backend, databases

Direzione di ricerca

Inizia leggendo credits/ctc/amount.yaml e il comportamento di retrodatazione del parametro; l’issue afferma che nessuna esecuzione del modello ha verificato il valore precedente al 2026, quindi esegui prima il modello per il nucleo familiare del 2025 indicato. Aggiungi un caso YAML per il 2025 che verifichi ga_ctc: 0 con imposte positive in Georgia, poi conferma che il caso passa e che gli anni precedenti restituiscono zero.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Georgia's child tax credit starts with tax year 2026. By reading the code on main (50af7fba69), ga_ctc returns up to $250 per child for earlier years when a caller reads it directly. Georgia tax is not affected. Found in the review tracked in #11662.

  • Law: O.C.G.A. 48-7-29.27(b), added by House Bill 136 (2025): "For taxable years beginning on or after January 1, 2026, a taxpayer shall be allowed a credit ... in an amount equal to $250.00 for each qualifying child of the taxpayer."
  • Model: credits/ctc/amount.yaml and credits/ctc/age_threshold.yaml each have one value, dated 2026-01-01. backdate_parameters copies a parameter's earliest value to earlier years, so ga_ctc_potential is $250 per child under 6 before 2026.
  • What stays correct: credits/non_refundable.yaml lists ga_ctc only from 2026, so ga_non_refundable_credits and ga_income_tax leave it out before then.
  • Result (2025): a married couple with one child aged 3 and Georgia tax above $250. Read directly, ga_ctc would be $250. The law gives $0.

Suggested fix

  • Add a zero value before 2026 to credits/ctc/amount.yaml.
  • Add a 2025 YAML case that asserts ga_ctc: 0 for a household with positive Georgia tax.

Sources

Not verified: no model run. The pre-2026 value is inferred from the parameter files and the backdating function, so confirm it with a run before fixing.

Lingua principale
Python
Stelle
178
Fork
224
Merge medio
3g 13h
PR unite (30g)
309

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-us

Tutte le issue di PolicyEngine/policyengine-us

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.