Skip to content

Show scored sample counts in the results table - #1419

Open
b423016 wants to merge 1 commit into
huggingface:mainfrom
b423016:fix/results-table-sample-count
Open

b423016 wants to merge 1 commit into
huggingface:mainfrom
b423016:fix/results-table-sample-count

Conversation

@b423016

@b423016 b423016 commented Oct 8, 2026

Copy link
Copy Markdown

Summary

  • The markdown summary now has a Count column, so a zero score can be told apart from an empty run.
  • Counts come from the details logger, one entry per scored document. The all row and suite-average rows use the same grouping as MetricsLogger.aggregate. A one-task suite does not get an average row.
  • n_samples is added only to the display dict from generate_final_dict. The saved results file is unchanged.

Fixes #804

Test plan

  • pytest tests/unit/utils/test_utils.py
  • Count helper: one task (no average row), two tasks in one suite (average is the sum), empty details

A zero score could not be told apart from an empty eval. Count the details that were actually scored, and keep that number out of the saved results file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FT] showing count in Markdown summary table

1 participant