aggregate_benchmark: statistical verdicts (CI / significance) on config deltas

Aperta
#142 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Start by reading aggregate_benchmark.py and the referenced eval-metrics bug to understand the current record format and how variant and baseline results are aggregated. Compare suitable statistical methods, then define how confidence intervals, verdicts, and suggested run counts should be reported. Done means valid records produce the requested fields and only records with status == ok are included.

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

Descrizione

Describe your idea

Extend aggregate_benchmark.py so each metric delta comes with a confidence interval and a verdict: better, worse or noise.

Why is this needed?

The variant and baseline modes exist to answer "did this change help?". A mean delta with two stddevs leaves that judgement to the model or the user, and with the default --runs 1–3 most deltas are noise.

How should it work?

  • Bootstrap 95% CI on the difference of means (stdlib only, seeded), or Mann–Whitney U when n ≥ 5 per side.
  • Report n, delta, ci_low, ci_high, verdict, and a suggested runs needed to resolve noise at the observed variance.
  • Only status == ok records count (see the eval-metrics bug).

PR

Happy to help implement this if the direction is agreed.

Lingua principale
Python
Stelle
220
Fork
54
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 bmad-code-org/bmad-builder

Tutte le issue di bmad-code-org/bmad-builder

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.