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

Dashboard chart key says "significant gap" on the Summary tab, where hatched means significant in every model

Chiusa Adatta ai principianti
#905 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
86/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
html, javascript, python

Direzione di ricerca

Inizia da assets/benchmark-dashboard.js e segui come renderChart(), chartModel() e chartToSvg() costruiscono la chiave del grafico; controlla #benchKey in benchmark.html. Poi leggi tests/test_benchmark_dashboard.py e aggiungi asserzioni per le etichette Summary e di equità sia nella chiave HTML sia nell’esportazione SVG. Il lavoro è completato quando ogni scheda mostra l’etichetta corrispondente alla propria regola di significatività.

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

Descrizione

bug good first issue

Where: benchmark.html (#benchKey), assets/benchmark-dashboard.js (renderChart(), chartToSvg()).

Current gap: the key added in #894 reads "hatched = significant gap" on every non-performance tab. On the Summary tab a bar is only flagged when the result is significant in every model (the toggle there says "Significant in every model only"), so a reader of that chart, or of its SVG/PNG export, is told something weaker than what the hatch means.

Repro: open benchmark.html?tab=summary, choose a metric and protected attribute: the key still says "hatched = significant gap".

Suggested approach: make the first key label depend on kind ("significant in every model" on summary, "significant gap (p < 0.05)" on fairness), pass the label through chartModel() so the HTML key and chartToSvg() stay in step, and assert both in tests/test_benchmark_dashboard.py.

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
3h 10m
PR unite (30g)
100

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 Data Visualization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.