Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Illinois HBWD premium bands charge the next band's premium at each band edge

Aperta Adatta ai principianti
#10,369 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@hua7450 ci sta già lavorando.

Dal 21/10/2026.

  • #10372 di @hua7450 — aperta

Valutazione

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

Direzione di ricerca

Individua le scale gov.states.il.hfs.hbwd.premium.earned e .unearned e i test esistenti che fissano i limiti delle relative fasce. Leggi le indicazioni per lo sviluppo del modello relative alle fasce di reddito chiuse, quindi confronta le soglie di ricerca con la tabella dei premi dell’Illinois citata. Il lavoro è completato quando i redditi esatti ai limiti corrispondono alla tabella e i test aggiornati passano.

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

Descrizione

Summary

gov.states.il.hfs.hbwd.premium.earned and .unearned are single_amount scales with thresholds at 0, 250, 500, … 5,000, looked up with the default lower-inclusive calc. The premium chart uses closed bands that start one dollar later: 0-250, 251-500, … 4751-5000, then 5000+. Income of exactly $250, $500, … $5,000 is charged the next band's premium.

Monthly income Chart main
Earned $250 $0 $6
Earned $1,000 $19 $25
Unearned $1,000 $56 $75
Unearned $1,500 $94 $113
Unearned $5,000 $356 $375

Sources

Proposed fix

Key the thresholds at the chart's band starts (0, 251, 501, … 4,751, 5,001) and keep the default lookup, as the model-development guidance does for "3,001 to 5,000"-style tables. Because $5,000 is in the 4751-5000 band, the open top band starts above $5,000. Update the existing tests that pinned the old edges.

Lingua principale
Python
Stelle
170
Fork
216
Merge medio
3g 22h
PR unite (30g)
363

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.