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

Update two stale comments about the export-mass reviewed-exclusion register

Aperta Adatta ai principianti
#1,108 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@MaxGhenis ci sta già lavorando.

Dal 5/10/2026.

  • #1109 di @MaxGhenis — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
88/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Leggi i due blocchi di commenti in tools/build_us_fiscal_refresh_release.py intorno alle righe 7608 e 15117, insieme al registro delle esclusioni a cui si fa riferimento e alla costante di esclusione del supporto. Aggiorna i commenti affinché corrispondano al registro e alla formulazione suggerita nell’issue; il lavoro è terminato quando entrambi i commenti sono accurati e il comportamento non è cambiato.

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

Descrizione

Two comments in tools/build_us_fiscal_refresh_release.py describe US_EXPORT_INPUT_MASS_REVIEWED_EXCLUSIONS as it stood at Build H. The register has since grown to eight entries: rental_income, charitable_non_cash_donations, partnership_self_employment_net_earnings, farm_income, miscellaneous_income, short_term_capital_gains, estate_income and non_sch_d_capital_gains. Found while fixing the estate_income note in the PR that links this issue; left out of that PR to keep it to estate income. Checked at origin/main 07bbb656b.

1. Band-math block, "Deliberately NOT excluded" (around line 7608). It lists miscellaneous_income as not excluded, with "SOI net target ~$52.84B is IN-band -> genuine pass expected". But miscellaneous_income has been in the register since microcosm#400 (cc117e6dc, 2026-07-12). Also, since microcosm#564 (cae8640f9, 2026-07-27), all four SOI Table 1.4 other-income rows are in US_FISCAL_TARGET_SUPPORT_EXCLUSIONS (fiscal_targets.py around lines 550–596), so no SOI other-income target is compiled for it. Suggested replacement, moved to the excluded part of the block:

#   miscellaneous_income   ref $47.401B  band [$23.700B, $71.101B]; excluded
#                          since microcosm#400. Build H's SOI Table 1.4
#                          other-income net (~$52.84B) sat in-band, but the
#                          column is PUF E01200 (Form 4797 business-property
#                          gain/loss), not SOI's other-income concept
#                          (microcosm#393); those SOI rows have been out of
#                          calibration since microcosm#564. At ratio 5 the
#                          Build M dense solve could not reach the band
#                          floor; see the entry's reason.

home_mortgage_interest, first_home_mortgage_interest and taxable_interest_income stay in the "not excluded" list; none is in the register.

2. Post-export gate call site (around line 15117). It says "the two SOI-identified columns ... (estate_income, non_sch_d_capital_gains). miscellaneous_income and both mortgage columns are deliberately NOT excluded". Suggested replacement:

# Reviewed exclusions (microcosm#299 Build H onward): the columns this
# register exempts from the export input-mass parity check, each with
# the reason recorded in the constant above. Every other column the
# reference carries above the --input-mass-minimum-reference-total floor
# stays gated, both mortgage columns among them, so the run adjudicates
# their actual outcome.

Comment-only; no behavior changes.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
0
Fork
5
Merge medio
1g 19h
PR unite (30g)
115

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/microcosm

Tutte le issue di PolicyEngine/microcosm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.