Skip to content

Add repeat-level variability statistics to reward profiling - #2474

Merged
marta-sd merged 1 commit into
mainfrom
mpatelka/add-variability-statistics
Aug 28, 2026
Merged

marta-sd merged 1 commit into
mainfrom
mpatelka/add-variability-statistics

Conversation

@mpatel31415

@mpatel31415 mpatel31415 commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Issue this PR addresses
Related new bug

Adds a per-repeat statistics to reward profiling / aggregation, so a score can be
reported with a measure of how much it moves between whole runs rather than as
a bare point estimate.

What's new

repeat_level_metrics — one entry per (agent, repeat), computed when an
agent has two or more completed repeats. Each entry carries sample_count,
missing_count, and per numeric field: mean, median, std (ddof=1), sem,
min/max, p25/p75, and a 95% Student's-t confidence interval.

Cross-repeat aggregates — the per-repeat means are summarized across repeats
and merged into agent_metrics as mean_across_repeats/mean/{field},
median_across_repeats/…, se_across_repeats/…, and the 95% CI bounds.

Note

Per task across samples aggregates deliberately gets no CI — a per-task distribution over
repeated outcomes can't be assumed normal, and the CLT doesn't apply to raw
outcomes, so their computation / formula is benchmark and metric specific.

@copy-pr-bot

copy-pr-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

@mpatel31415 mpatel31415 changed the title feat(eval): initial changes Add repeat-level variability statistics to reward profiling Aug 18, 2026
@mpatel31415
mpatel31415 marked this pull request as ready for review August 18, 2026 09:51
@mpatel31415
mpatel31415 requested a review from a team as a code owner August 18, 2026 11:05
@ritaneves
ritaneves requested a review from mlazuka August 18, 2026 20:46
@github-actions github-actions Bot added the sla:review-overdue Review response is over the one-business-day SLA label Aug 19, 2026
ko3n1g
ko3n1g previously approved these changes Aug 26, 2026
Squashed and rebased onto current main to replace a merge-commit-heavy
history with a single clean commit carrying the net PR changes.

Signed-off-by: Martyna Patelka <[email protected]>
@marta-sd

Copy link
Copy Markdown
Contributor

Automation's approval got dismissed on rebase but pyproject.toml and uv.lock weren't change so I'm assume the approval still holds and I'm merging the changes.

This branch was previously deployed

1 inactive deployment
public — c9c13219 Deployed Aug 28, 2026 by copy-pr-bot[bot] via release / finalize / notify #2210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sla:review-overdue Review response is over the one-business-day SLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants