Skip to content

fix(builder): show each check's proof on every chosen dataset - #324

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/checks-every-dataset
Nov 23, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/checks-every-dataset

Conversation

@harenome

@harenome harenome commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #301

What

The Agent step's Checks cards (Null control, Reference control) read the proofs of the first chosen dataset only. With GSM8K test and GSM8K-Platinum chosen, they showed nop ✓ 0/1319 and oracle ✓ 1319/1319, though a check chosen there runs on both.

  • With several datasets chosen, each card carries one chip per dataset, one row each, in the Dataset step's order and with that step's counts. Each chip names its dataset, as the catalogue names it: nop GSM8K test ✓ 0/1319, nop GSM8K-Platinum ✓ 0/1209. The rows stack the same way on every Checks card, whatever a chip's width. A long name wraps inside its chip. The tooltip also starts with the dataset's name.
  • With one dataset chosen, the chip is unchanged: no name, same tooltip. With none chosen, it shows the first dataset's proof, as before.
  • Not a sum. A proof belongs to its dataset and may be failed, partial or not run on one and proven on the other, which a sum cannot show. Datasets can also share tasks: GSM8K-Platinum is the GSM8K test split, cleaned, so 2528 would count most problems twice.

It applies to every standard benchmark with several datasets (GAIA, GSM8K, LongMemEval, Open Telco, OSWorld1, OSWorld2, τ³-bench, Terminal-Bench 2.0), not only GSM8K.

Touches

static (app/static/builder/command-builder.js, app/static/builder/command-builder.css) · tests

Before and after

Before After
01-before-checks-both 01-after-checks-both
02-before-checks-one 02-after-checks-one
  1. GSM8K with GSM8K test and GSM8K-Platinum chosen, the Agent step's Checks cards. Before: the GSM8K test counts only. After: both datasets' counts, one row per dataset, each named.
  2. GSM8K with GSM8K test alone. The same before and after.

Verified

A Playwright check in Chromium, 1280 x 900, light theme, an empty profile, on upstream/main (38235bd0) and on this branch:

Acceptance upstream/main This branch
Both GSM8K datasets chosen: the cards show GSM8K-Platinum's counts as well nop ✓ 0/1319, oracle ✓ 1319/1319 nop GSM8K test ✓ 0/1319 and nop GSM8K-Platinum ✓ 0/1209 on two rows; oracle GSM8K test ✓ 1319/1319 and oracle GSM8K-Platinum ✓ 1209/1209 on two rows
One dataset chosen: that dataset's counts, as today nop ✓ 0/1319, oracle ✓ 1319/1319 The same, no name added

Also on this branch: no page errors. At 375 px in the dark theme the named chips stack one per row inside both cards.

  • New app/ui_tests/test_builder_check_chips.py runs the page's chip code under Node against the bundled catalogue, for every standard benchmark with several datasets: all chosen gives one chip per dataset on rows of their own, each showing and titled with its dataset's name; one chosen (the first, the second, or none) gives one chip with that dataset's proof and no name. Both tests fail on upstream/main.
  • In a rootless podman python:3.12 container with Node:
    • python3 app/tests/parallel.py: 2779 tests in 170 modules, OK.
    • python3 app/tests/parallel.py app/ui_tests: 614 tests in 62 modules, OK.

Risk

  • A benchmark with many datasets chosen at once (Open Telco has 16) shows that many rows per card, and some dataset names are long (Terminal-Bench 2.0's "Every task whose reference solution downloads nothing"). They wrap; nothing is cut.
  • Display only: what a recipe runs and what Review checks are unchanged. Undone by a revert.

The Agent step's Checks cards read the first chosen dataset's proofs only.
With several datasets chosen, each card now carries one chip per dataset,
one row each, named by its dataset. One dataset reads as before. Proofs are
not summed: each is its own dataset's, and datasets can share tasks.
@harenome
harenome merged commit 52da8d9 into ThinkFlowLab:main Nov 23, 2026
2 checks passed
@harenome
harenome deleted the fix/checks-every-dataset branch November 23, 2026 16:04
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.

Run builder: with two datasets chosen, the Checks cards show the first dataset's counts only

1 participant