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

Abierto
#142 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
220
Forks
54
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bmad-code-org/bmad-builder

Todos los issues de bmad-code-org/bmad-builder

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.