Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

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

Open

Description

@CloneOfAlex

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions