Repository navigation
Labels
Description
Priority
P3 · When convenient: wording, layout, tests
Today
- After Leaderboard: switch the page, command and API to labelled tasks and remove the Scoring weights #526, the Leaderboard is unweighted: every labelled task counts once, and Overall covers the shown axes.
- The Scoring view and
DEFAULT_ENTRIESare gone. A savedscoring.jsonstays on disk, unread.
Wanted
- A scoring function in the Leaderboard's Scoring dialog: Counts (the default, every labelled task once), Weight vector (one weight per axis; Overall is the weighted average of the shown axes) or Weight matrix (one editable cell per benchmark and axis; it weighs each axis's benchmarks, and Overall is the average of the shown axes).
- Weights are relative: a share is a weight over its total. Editing a cell changes no other cell.
- A matrix cell exists only where labels give the benchmark tasks on that axis. Weights never give a task an axis.
- Every weight starts at 1.
- Normalize rewrites the weights so each set sums to 1. Reset sets every weight back to 1.
- No other settings for weights.
- Counts by default. Page, command and API read the same weights file in the profile and agree.
- When a weight function is chosen, the board says so, and the command's text and JSON carry it.
Acceptance
- Counts gives the unweighted board; with every weight at 1, the vector gives the plain average of the axes and the matrix gives each benchmark the same share of its axis
-
(0.4, 0.25, 0.25, 0.4)and(1.6, 1, 1, 1.6)give the same axis value - Editing one cell leaves every other cell unchanged
- Normalize makes each set of weights sum to 1 without changing any score
- A weight for a benchmark with no labelled task on that axis is reported, not applied
- Weights change no label and add no axis to a task
- Page and command agree on every weighted number for the same weights
- The board, the command's text and its JSON state the scoring function
Related
Follow-up of #524. Needs #526. A v0.3.0 scoring.json is not read: its entries assign axes.
Activity