Skip to content

docs: publish headline counts for the Screenshots Are Not State paper - #362

Merged
abrichr merged 5 commits into
mainfrom
docs/paper-headline-counts
Dec 1, 2026
Merged

abrichr merged 5 commits into
mainfrom
docs/paper-headline-counts

Conversation

@abrichr

@abrichr abrichr commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

This PR publishes the headline counts behind arXiv:2611.39728, "Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents", as one small JSON file. The blog post about the paper can then bind each of its figures to pinned bytes, as it already does for the other benchmark posts.

  • scripts/build_paper_headline_counts.py (standard library only) reads the 17 result ledgers the paper's counts were computed from, plus one new measurement. Thirteen ledgers are named in the paper's reproducibility appendix. The other four are dim_chrome_metrics, exp_hitl_cold_to_warm_n60, osharm_live_v2 and agentdojo_results. Where a ledger has per-run rows, the script recomputes each count from those rows and fails if the recomputed count differs from the ledger's own aggregate. It then writes docs/eval_results/screenshots_are_not_state/headline_counts.json.
  • Every ratio is stored as {k, n, pct}. pct is 100*k/n to one decimal place, rounded half up, so 9/16 is 56.3.
  • Exact two-sided McNemar p-values are recomputed from the discordant counts for HealthAdminBench appeals, ST-WebAgentBench and OS-Harm. The other p-values are the ones the ledgers recorded.
  • Each input is recorded by file name and sha256. Three inputs are already public, byte for byte, in OpenAdaptAI/OpenAdapt under benchmarks/public-runs/. The file holds no per-run rows, transcripts, task text, URLs or file system paths.
  • The step-critic latency is stored as median_ms_per_run_all_steps. The ledger field is the median over runs of the critic latency summed over every step checked, not the latency of a single check. Each run also records how many steps were checked, so the file adds median_ms_per_check (492.3 ms): for each run, summed critic time divided by steps checked, then the median over runs.
  • For ST-WebAgentBench, the file records each arm's total tokens and the wrapped arm's increase over unwrapped (38.7%).
  • scripts/measure_desktop_dim_share.py measures how much of each frame the desktop verifier's dimming darkens. It uses the evaluation runner's own dim_the_chrome, copied unchanged, on the first and last frame of each of the 160 held-out OSWorld-Verified runs. Frames are read in place from the public xlangai/ubuntu_osworld_verified_trajs archives, which are recorded by sha256.
    • Results: the last action was a click in 102 of 160 runs. In those runs the final frame was a median of 78.9% dimmed (75.1% to 93.4%). Every other frame, first or last, was 9.8% dimmed, a fixed border.
    • The per-run file is an input to the headline counts. The headline counts carry the overall and per-app summaries.
  • tests/test_paper_headline_counts.py checks that every percentage equals its own k/n, that the file is in canonical form, and that it carries no paths or URLs. The test does not need the ledgers.

Test plan

  • pytest tests/test_paper_headline_counts.py (4 passed)
  • ruff check on both new Python files
  • python scripts/check_source_boundary.py
  • python scripts/build_paper_headline_counts.py --ledger-dir <ledgers> --check reports that the file matches the ledgers

Add a stdlib script that reads the result ledgers named in the paper's
reproducibility appendix, recomputes each headline count from per-run rows
where the ledger has them, checks it against the ledger's own aggregate, and
writes one JSON file of counts and denominators. Inputs are recorded by file
name and sha256. A test checks that every percentage equals its own k/n.
The ledger's arm1_step_level_ep_p50 is the median over runs of the critic
latency summed over every step checked, not the latency of one check. Rename
the key, say which inputs the paper's appendix does not name, and drop table
and section numbers that were not checked against the paper.
Record the step critic's median per-check latency (each run stores its summed
critic time and the number of steps checked) and the wrapped ST-WebAgentBench
arm's token use relative to the unwrapped arm.
… runs

Add scripts/measure_desktop_dim_share.py, which replays the evaluation runner's
dim_the_chrome on the first and last frame of each held-out OSWorld-Verified
run, read in place from the public trajectory archives. The headline counts
gain a per-app summary of the dimmed share; the per-run file is an input
recorded by sha256.
The runner places the bright box at the click in the next-to-last action, so
say so in the summary key.
@abrichr

abrichr commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Grok
Reviewed-Head: 7e0bc15

I reviewed this exact head. I am not merging or pushing.

The PR adds scripts/build_paper_headline_counts.py, scripts/measure_desktop_dim_share.py, and docs/eval_results/screenshots_are_not_state/headline_counts.json. I checked the counts against the eight private ledgers plus the dim-share file committed in OpenAdaptAI/openadapt-internal#304: every one of those nine files matches the sha256 recorded in headline_counts.json inputs. I independently recomputed the desktop dimming medians from the 160 per-run shares: 102/160 clicks, 78.9% and 9.8%, which is what the counts file publishes.

measure_desktop_dim_share.py copies dim_the_chrome in-file, reads first and last frames only from the three named archives, records each archive's sha256, and writes shares and frame sizes with no pixels. test_desktop_dimming_geometry passed: a 1920×1080 frame with no click is 0.0979 dimmed (the 9.8% border); a centre click is 0.7508, matching the 921×561 box arithmetic.

Checks I ran

pytest tests/test_paper_headline_counts.py: 5 passed, including percentage-vs-counts consistency, half-up rounding, exact McNemar, canonical rendering with no paths, and the dimming geometry.

CI

test, prime-env, and reject-lifecycle-app are green. freshness is red, as it already is on main; I am not treating that inherited failure as a blocker for this counts file.

Limitations

I did not re-download the Hugging Face archives or re-run the measurement on the pixels, and I did not assemble every public-plus-private ledger into a --ledger-dir to re-run --check end to end. The five unit tests plus the sha256 matches on the nine #304 ledgers are what I could verify here. I also did not byte-compare dim_the_chrome against a runner checkout; the script states it is copied unchanged, and the geometry test pins its box and border.

@abrichr
abrichr merged commit eb6a98f into main Dec 1, 2026
4 of 5 checks passed
@abrichr
abrichr deleted the docs/paper-headline-counts branch December 1, 2026 17:45
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.

1 participant