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

index.html's Tenant Screening card shows stale 7.17%/5.07%/29% numbers - the real script output and README.md both say 6.68%/5.16%/23%

Chiusa Adatta ai principianti
#730 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à
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
88/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
html, python
Ambito
content

Direzione di ricerca

Inizia eseguendo python3 "Tenant Screening/unfair.py" e python3 "Tenant Screening/fair.py", quindi ispeziona la sezione Tenant Screening e le menzioni del ticker in index.html. Confronta ogni tasso, divario, riduzione, valore di accuratezza e intervallo di confidenza visualizzato con l'output dello script e README.md. Il lavoro è completato quando la scheda mostra coerentemente i risultati correnti di 6.68%/5.16%, una riduzione del 23%, i tassi corrispondenti e gli intervalli di confidenza.

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

Descrizione

bug documentation

Where: index.html's entire "PROJECT - 07 - TENANT SCREENING" section (JSON-LD, homepage tickers, stats, terminal output, key insight, bias bars).

The gap: Running python3 "Tenant Screening/unfair.py" and python3 "Tenant Screening/fair.py" today prints:

Black Applicant High-Risk Flag Rate: 66.74%   White: 60.06%   Gap: 6.68%
95% CI: [3.99%, 9.33%]
...
Black Applicant High-Risk Flag Rate: 62.06%   White: 56.90%   Gap: 5.16%
95% CI: [2.43%, 7.88%]

which is exactly what README.md and Tenant Screening/README.md document: 6.68% → 5.16%, a 23% reduction. But index.html's entire Tenant Screening card still shows an older, internally-self-consistent-but-wrong set of numbers: 7.17% biased gap, 5.07% mitigated gap, 29% reduction, 67.05%/59.88% flag rates, 70.49%/63.50% model accuracy, 62.16%/57.08% mitigated flag rates, and CIs [4.50%, 9.81%]/[2.30%, 7.83%] - none of which match a fresh run of the scripts. These numbers have been there since the card was first added and were never updated when the rest of the repo was corrected to the current figures.

Repro:

python3 "Tenant Screening/unfair.py" | tail -6
python3 "Tenant Screening/fair.py" | tail -6
grep -n "7.17\|5.07\|29%\|67.05\|59.88" index.html

The script output (6.68%/5.16%, CI [3.99%,9.33%]/[2.43%,7.88%]) never matches any of the numbers grep finds in index.html.

Fix direction: Replace every occurrence of 7.17%/5.07%/29%/67.05%/59.88%/70.49%/63.50%/62.16%/57.08%/"[4.50%, 9.81%]"/"[2.30%, 7.83%]" in index.html's Tenant Screening card and both ticker mentions with the current 6.68%/5.16%/23%/66.74%/60.06%/62.06%/56.90% figures and their CIs, matching README.md and a fresh script run.

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
1h 54m
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 Content

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.