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

Benefits Denial/unfair.py's top-of-file proxy summary still claims Native applicants are at "~15%" high-skill-role rate (actual: 20.3%) - #704 only fixed the bottom section

Aperta Adatta ai principianti
#733 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Apri Benefits Denial/unfair.py e confronta il commento di intestazione all’inizio del file con la sezione corretta “WHAT'S WRONG” riportata sotto. Esegui python3 "Benefits Denial/unfair.py" e i comandi grep forniti per verificare le percentuali riportate. Il lavoro è completato quando l’intestazione distingue Black applicants (~15.5%) da Native applicants (20.3%) e non afferma più che entrambi siano a ~15%.

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

Descrizione

bug documentation

Where: Benefits Denial/unfair.py, the top-of-file header comment block (vs. the already-corrected text further down in the same file).

The gap: Commit 30a8042 (closing issue #704) fixed the "WHAT'S WRONG" printed section to correctly distinguish Black applicants (~15.5% of high-skill roles, about half White's 26.2%) from Native applicants (20.3%, ~77% of White's rate). But the identical, unfixed claim still exists earlier in the same file's header comment block:

#   occupation    → Racial occupational segregation: Black and
#                   Native applicants are in high-skill roles
#                   at ~15% vs 26% for White applicants.

This still lumps Native in with Black's ~15% figure, contradicting both the real data and the file's own already-corrected text further down.

Repro:

python3 "Benefits Denial/unfair.py" | grep -A5 "high-skill occupations by race"
# Amer-Indian-Eskimo        20.3%
# Asian-Pac-Islander        30.9%
# Black                     15.5%
# Other                     15.5%
# White                     26.2%

grep -n "Native applicants are in high-skill roles" "Benefits Denial/unfair.py"   # stale "~15%"
grep -n "20.3%, ~77% of White" "Benefits Denial/unfair.py"                        # already-corrected figure

Fix direction: Update the header comment to match the already-corrected text below it - split out Black (~15.5%, about half White's) from Native (20.3%, ~77% of White's) instead of lumping both at "~15%".

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
1h 53m
PR unite (30g)
97

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 yakew7/Fair-Code

Tutte le issue di yakew7/Fair-Code

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.