diff --git a/content/posts/screenshots-are-not-state/fig1_architecture.png b/content/posts/screenshots-are-not-state/fig1_architecture.png new file mode 100644 index 0000000..dfa4d06 Binary files /dev/null and b/content/posts/screenshots-are-not-state/fig1_architecture.png differ diff --git a/content/posts/screenshots-are-not-state/fig2b_sigkill_crash.png b/content/posts/screenshots-are-not-state/fig2b_sigkill_crash.png new file mode 100644 index 0000000..a2934ef Binary files /dev/null and b/content/posts/screenshots-are-not-state/fig2b_sigkill_crash.png differ diff --git a/content/posts/screenshots-are-not-state/fig3_benchmarks_and_upgrades.png b/content/posts/screenshots-are-not-state/fig3_benchmarks_and_upgrades.png new file mode 100644 index 0000000..19b9060 Binary files /dev/null and b/content/posts/screenshots-are-not-state/fig3_benchmarks_and_upgrades.png differ diff --git a/content/posts/screenshots-are-not-state/index.md b/content/posts/screenshots-are-not-state/index.md new file mode 100644 index 0000000..fa8cd6c --- /dev/null +++ b/content/posts/screenshots-are-not-state/index.md @@ -0,0 +1,139 @@ +--- +title: "Screenshots are not state: checking GUI agents where they save" +date: 2026-12-01 +draft: false +author: "Richard Abrich" +tags: ["agents", "benchmark", "validation", "research", "openadapt"] +description: "A per-step visual critic blocks most clean runs, and a newer model still saves records twice after a crash. Checking only at saves fixes both." +thesis: "Checking GUI agents only where they save, with an on-disk log of finished saves, cut mid-batch crash duplicates from 10 of 16 runs to 0 of 16." +audience: "developer" +post_type: "essay" +--- + +Computer-use models are much better than a year ago at clicking the right button on one screen. +On multi-step work they still report success when the form was never submitted, when a required +tab was skipped, or when a crashed worker restarted and saved the same record twice. + +Our paper, [Screenshots Are Not State: Transactional Verification and Compilation for GUI +Agents](https://arxiv.org/abs/2611.39728), measures these failures on six external benchmarks and +on live apps. The runtime ([OpenAdapt](https://github.com/OpenAdaptAI/OpenAdapt)) and the +evaluation code ([openadapt-evals](https://github.com/OpenAdaptAI/openadapt-evals)) are MIT +licensed. + +![Where per-step checks fail and where OpenAdapt checks instead](fig1_architecture.png) + +## A critic on every step blocks clean runs + +A common guard is to ask a vision model before every click whether the action looks right. Two +things go wrong. + +False alarms add up. If the critic wrongly blocks 5% of good steps, a 25-step task is blocked +before it finishes 72% of the time (1 - 0.95^25). On 63 clean runs from OSWorld-Verified, a +per-step critic blocked all 63, adding a median of 2,945 ms of critic time per run (about 490 ms +per check). + +One screenshot also can't show what happened elsewhere. From the active window alone, a person +can't tell whether another tab was updated, whether an email went to Sent or stayed in Drafts, or +whether the worker saved item 1 before it crashed. + +## What a newer model changed + +We ran one model upgrade against two kinds of failure. + +On DesktopChaosBench, our small synthetic suite (25 single-button tasks with mixed DPI scaling, +lossy video, missing accessibility trees, focus-stealing pop-ups and remote-desktop +disconnects), moving from gpt-5.6-luna to gpt-6.1-terra took the unwrapped agent from 3 of 25 to +25 of 25. + +On EnterpriseSessionBench, we gave the agent two records to save through the browser in four +self-hosted apps (Gitea, Mealie, Vikunja and Memos), killed the process with SIGKILL after the +first save, and restarted it. The agent made no backend API calls. Moving from gpt-5.6-sol to +gpt-6.2-sol barely changed the duplicate rate: 11 of 16 runs saved a record twice before the +upgrade and 10 of 16 after. + +| gpt-6.2-sol, 16 runs, SIGKILL after record 1 | Verified completion (VCR) | Silent errors (SER) | Duplicate records | Model calls | +| :--- | :---: | :---: | :---: | :---: | +| Unwrapped | 3/16 (18.8%) | 9/16 (56.3%) | 10/16 (62.5%) | 188 | +| openadapt.wrap, fresh state per run | 16/16 (100%) | 0/16 | 0/16 | 66 | +| openadapt.wrap, state kept across runs | 16/16 (100%) | 0/16 | 0/16 | 21 | + +Exact McNemar tests against unwrapped: VCR p = 0.000244, duplicates p = 0.00195, SER p = 0.00391. +The wrapper's duplicate rate was also 0 of 16 on gpt-5.6-sol, where its verified completion was +9 of 16. + +![Duplicate records after a mid-batch SIGKILL, two model generations](fig2b_sigkill_crash.png) + +## Checking only where the agent saves + +`openadapt.wrap` lets reading and navigation run unchecked. It checks only the few actions that +change data or cross a policy rule. + +Before a save, it checks where each value came from, the policy rules and the accessibility +structure in under 5 ms. A small local model screens untrusted text for prompt injection. The +wrapper then writes a PENDING entry to a log on disk. If the process crashes or has to log in +again, it reads the app's screens on restart, skips records that are already saved and resumes +at the first unfinished one. + +After a save, it checks the screen the way a careful person would: the form has closed, no error +appeared, and the saved values or a confirmation number are visible. It doesn't reload the page, +because reloading breaks some forms and desktop dialogs. When the saved state is out of view and +the app allows it, the wrapper can reopen the record, look from a separate read-only session, or +query an API or database. + +For desktop apps without a DOM, we dim the screen outside a box around the last click and show a +before and after pair to a 4-bit Qwen3.5-4B LoRA (3.15 GB of VRAM, 357 ms median, no API cost). +On four Ubuntu apps it never saw in training (GIMP, LibreOffice Calc, Thunderbird and VLC; 160 +runs from OSWorld-Verified), it reached 0.7905 AUROC, up from 0.6272 for the single-frame model it +started from (DeLong p = 0.0051), with false alarms on 8 of 87 clean runs (9.2%). In those runs +the next-to-last action was a click in 102 of 160, and dimming darkened a median of 78.9% of the +final screenshot. On the first screenshot, and on the final one when that action wasn't a click, +it darkened only a 9.8% border. + +A run that passes the checks compiles into a replay that makes no model calls (1.8 s warm). We +upgraded Gitea, Vikunja, Memos and Mealie to newer versions and replayed 60 workflows. +Matching controls against the new page recovered 56 of 60 with no silent errors. In the other 4, +the new version had added fields to the form. We stripped the page to its HTML and ARIA structure, replaced every +field value with a placeholder, repaired the replay from that copy without any user data leaving +the machine, and accepted the fix only after a live check passed. All 60 then passed. + +## Other benchmarks + +![Silent errors on external benchmarks and replay results after app upgrades](fig3_benchmarks_and_upgrades.png) + +| Benchmark | Unwrapped | With openadapt.wrap | Notes | +| :--- | :--- | :--- | :--- | +| HealthAdminBench (52 runs) | 61.5% silent errors | 1.9% (p = 9.3e-10) | Verified completion fell from 38.5% to 11.5%, because 45 of 52 runs stopped for a person | +| HealthAdminBench appeals (50 held-out tasks, 10 demonstrations) | 62.0% silent errors | 2.0% (p = 1.9e-9) | 90.9% of saves it allowed were correct | +| ST-WebAgentBench, 3 apps (44 runs) | 95.5% silent errors | 27.3% (p = 1.9e-9) | Task completion rose from 6.8% to 13.6%, using 38.7% more tokens | +| EnterpriseSessionBench, 4 fault types (64 runs) | 65.6% verified, 29.7% duplicates | 89.1% verified, 0 duplicates (p = 4e-6) | 27.5% fewer model calls (550 to 399) | +| OS-Harm (54 runs) | 44.4% harmful | 11.1% (p = 0.0039) | Policy-compliant completion rose from 40.7% to 63.0% | +| AgentDojo, gemini-2.5-flash (512 runs across 4 models) | 72.9% attack success | 16.7% | Benign task success rose from 37.5% to 56.3% | + +## Where it still fails + +1. It can't guess rules nobody wrote down. On a 12-task slice of HealthAdminBench's EHR portal + with no clinic rules given, verified completion fell from 2 of 12 to 0 of 12. Silent errors fell + from 41.7% to 16.7%, which was not significant (p = 0.45). Clinic rules need a written table + or a few demonstrations. +2. Stopping when unsure prevents wrong saves but leaves work undone. In the 64-run fault suite, + wrapping prevented every duplicate and every false "done", and 11 of 104 records were left + unfinished and reported as unverified. +3. Pixels alone miss state that is off screen. The desktop model missed 33 of 73 failures (45%) + in OSWorld-Verified, mostly settings files and mail folders. Over a compressed Windows remote + desktop (105 runs), pixel checks let no wrong record through but stopped 40 healthy runs, mostly + on 1 to 2 px codec shifts and blinking carets. + +## Try it + + pip install openadapt + + import openadapt + from openadapt.simplex_transducer import WriteAheadSagaLog + + safe_agent = openadapt.wrap(your_agent, wal=WriteAheadSagaLog("session.wal")) + +To run the local demo without an API key: `uvx --python 3.12 openadapt@latest quickstart --no-break`. + +- Paper: [arXiv:2611.39728](https://arxiv.org/abs/2611.39728) +- Runtime (MIT): [github.com/OpenAdaptAI/OpenAdapt](https://github.com/OpenAdaptAI/OpenAdapt) +- Benchmarks (MIT): [github.com/OpenAdaptAI/openadapt-evals](https://github.com/OpenAdaptAI/openadapt-evals) diff --git a/content/tags/openadapt/_index.md b/content/tags/openadapt/_index.md new file mode 100644 index 0000000..f19bd39 --- /dev/null +++ b/content/tags/openadapt/_index.md @@ -0,0 +1,3 @@ +--- +title: "OpenAdapt" +--- diff --git a/scripts/benchmark_claims/registry.json b/scripts/benchmark_claims/registry.json index 1ff1748..c61b435 100644 --- a/scripts/benchmark_claims/registry.json +++ b/scripts/benchmark_claims/registry.json @@ -5953,6 +5953,576 @@ "pointer": "/benchmarks/openemr/arms/agent/cost_usd_per_run", "round": 2, "context": "OpenEMR field test: compiled replay" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "10 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/n", + "context": "cut mid-batch crash duplicates from" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_fresh_state/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_fresh_state/duplicate_records/n", + "context": "cut mid-batch crash duplicates from" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "5%", + "kind": "exempt", + "reviewed": "2026-12-01", + "reason": "Worked arithmetic, not a measurement: the input, a hypothetical 5% per-step false-alarm rate, showing how false alarms compound over a 25-step task, 1 - 0.95^25 = 0.7226. The paper states the same compounding argument as a proposition.", + "context": "If the critic wrongly blocks" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "72%", + "kind": "exempt", + "reviewed": "2026-12-01", + "reason": "Worked arithmetic, not a measurement: the result of a hypothetical 5% per-step false-alarm rate, showing how false alarms compound over a 25-step task, 1 - 0.95^25 = 0.7226. The paper states the same compounding argument as a proposition.", + "context": "before it finishes 72% of the time" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "3 of 25", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/desktop_chaos_model_upgrade/before_upgrade/unwrapped_success/k", + "denominator": "/results/desktop_chaos_model_upgrade/before_upgrade/unwrapped_success/n", + "context": "took the unwrapped agent from 3 of 25" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "25 of 25", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/desktop_chaos_model_upgrade/after_upgrade/unwrapped_success/k", + "denominator": "/results/desktop_chaos_model_upgrade/after_upgrade/unwrapped_success/n", + "context": "25 of 25." + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "11 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen1/unwrapped/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen1/unwrapped/duplicate_records/n", + "context": "barely changed the duplicate rate" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "10 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/n", + "context": "upgrade and 10 of 16 after." + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "3/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/unwrapped/verified/k", + "denominator": "/results/esb_sigkill_gen2/unwrapped/verified/n", + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "18.8%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_sigkill_gen2/unwrapped/verified/pct", + "round": 1, + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "9/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/unwrapped/silent_errors/k", + "denominator": "/results/esb_sigkill_gen2/unwrapped/silent_errors/n", + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "56.3%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_sigkill_gen2/unwrapped/silent_errors/pct", + "round": 1, + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "10/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/n", + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "62.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_sigkill_gen2/unwrapped/duplicate_records/pct", + "round": 1, + "context": "| Unwrapped | 3/16 (18.8%)" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "16/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_fresh_state/verified/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_fresh_state/verified/n", + "context": "| openadapt.wrap, fresh state per run |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "100%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_sigkill_gen2/wrapped_fresh_state/verified/pct", + "round": 0, + "context": "| openadapt.wrap, fresh state per run |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_fresh_state/silent_errors/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_fresh_state/silent_errors/n", + "context": "| openadapt.wrap, fresh state per run |", + "nth": 1 + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_fresh_state/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_fresh_state/duplicate_records/n", + "context": "| openadapt.wrap, fresh state per run |", + "nth": 2 + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "16/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_kept_state/verified/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_kept_state/verified/n", + "context": "| openadapt.wrap, state kept across runs |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "100%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_sigkill_gen2/wrapped_kept_state/verified/pct", + "round": 0, + "context": "| openadapt.wrap, state kept across runs |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_kept_state/silent_errors/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_kept_state/silent_errors/n", + "context": "| openadapt.wrap, state kept across runs |", + "nth": 1 + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0/16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen2/wrapped_kept_state/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen2/wrapped_kept_state/duplicate_records/n", + "context": "| openadapt.wrap, state kept across runs |", + "nth": 2 + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen1/wrapped/duplicate_records/k", + "denominator": "/results/esb_sigkill_gen1/wrapped/duplicate_records/n", + "context": "The wrapper's duplicate rate was also 0 of 16 on gpt-5.6-sol" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "9 of 16", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_sigkill_gen1/wrapped/verified/k", + "denominator": "/results/esb_sigkill_gen1/wrapped/verified/n", + "context": "9 of 16." + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "8 of 87", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/false_alarms/k", + "denominator": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/false_alarms/n", + "context": "with false alarms on 8 of 87 clean runs" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "9.2%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/false_alarms/pct", + "round": 1, + "context": "with false alarms on 8 of 87 clean runs" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "102 of 160", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/desktop_dimming_osworld_unseen_apps/after_frame_click_in_next_to_last_action/k", + "denominator": "/results/desktop_dimming_osworld_unseen_apps/after_frame_click_in_next_to_last_action/n", + "context": "the next-to-last action was a click in 102 of 160" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "78.9%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/desktop_dimming_osworld_unseen_apps/after_frame_click/median_pct", + "round": 1, + "context": "dimming darkened a median of 78.9% of the" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "9.8%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/desktop_dimming_osworld_unseen_apps/before_frame/median_pct", + "round": 1, + "context": "it darkened only a 9.8% border" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "1.8 s", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/ui_drift_n60/warm_replay/median_ms", + "round": 1, + "scale": 0.001, + "context": "compiles into a replay that makes no model calls" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "56 of 60", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/ui_drift_n60/indexed_live_dom/verified/k", + "denominator": "/results/ui_drift_n60/indexed_live_dom/verified/n", + "context": "Matching controls against the new page recovered 56 of 60" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "61.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_scaled_n52/unwrapped/silent_errors/pct", + "round": 1, + "context": "| HealthAdminBench (52 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "1.9%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_scaled_n52/wrapped/silent_errors/pct", + "round": 1, + "context": "| HealthAdminBench (52 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "38.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_scaled_n52/unwrapped/verified/pct", + "round": 1, + "context": "| HealthAdminBench (52 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "11.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_scaled_n52/wrapped/verified/pct", + "round": 1, + "context": "| HealthAdminBench (52 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "45 of 52", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/healthadminbench_scaled_n52/wrapped/stopped_for_a_person/k", + "denominator": "/results/healthadminbench_scaled_n52/wrapped/stopped_for_a_person/n", + "context": "| HealthAdminBench (52 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "62.0%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_appeals_heldout_n50/unwrapped/silent_errors/pct", + "round": 1, + "context": "| HealthAdminBench appeals (50 held-out tasks, 10 demonstrations) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "2.0%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_appeals_heldout_n50/wrapped/silent_errors/pct", + "round": 1, + "context": "| HealthAdminBench appeals (50 held-out tasks, 10 demonstrations) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "90.9%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/healthadminbench_appeals_heldout_n50/wrapped/allowed_saves_correct/pct", + "round": 1, + "context": "| HealthAdminBench appeals (50 held-out tasks, 10 demonstrations) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "95.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/stwebagentbench_3app_n44/unwrapped/silent_errors/pct", + "round": 1, + "context": "| ST-WebAgentBench, 3 apps (44 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "27.3%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/stwebagentbench_3app_n44/wrapped/silent_errors/pct", + "round": 1, + "context": "| ST-WebAgentBench, 3 apps (44 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "6.8%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/stwebagentbench_3app_n44/unwrapped/task_completion/pct", + "round": 1, + "context": "| ST-WebAgentBench, 3 apps (44 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "13.6%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/stwebagentbench_3app_n44/wrapped/task_completion/pct", + "round": 1, + "context": "| ST-WebAgentBench, 3 apps (44 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "38.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/stwebagentbench_3app_n44/wrapped/token_increase_vs_unwrapped_pct", + "round": 1, + "context": "| ST-WebAgentBench, 3 apps (44 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "65.6%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_multifault_n64/unwrapped/verified/pct", + "round": 1, + "context": "| EnterpriseSessionBench, 4 fault types (64 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "29.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_multifault_n64/unwrapped/duplicate_records/pct", + "round": 1, + "context": "| EnterpriseSessionBench, 4 fault types (64 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "89.1%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_multifault_n64/wrapped/verified/pct", + "round": 1, + "context": "| EnterpriseSessionBench, 4 fault types (64 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "27.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/esb_multifault_n64/model_call_reduction/pct", + "round": 1, + "context": "| EnterpriseSessionBench, 4 fault types (64 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "44.4%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/osharm_n54/unwrapped/harmful/pct", + "round": 1, + "context": "| OS-Harm (54 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "11.1%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/osharm_n54/wrapped/harmful/pct", + "round": 1, + "context": "| OS-Harm (54 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "40.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/osharm_n54/unwrapped/policy_compliant_completion/pct", + "round": 1, + "context": "| OS-Harm (54 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "63.0%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/osharm_n54/wrapped/policy_compliant_completion/pct", + "round": 1, + "context": "| OS-Harm (54 runs) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "72.9%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/agentdojo_gemini25flash/unwrapped/attack_success/pct", + "round": 1, + "context": "| AgentDojo, gemini-2.5-flash (512 runs across 4 models) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "16.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/agentdojo_gemini25flash/wrapped/attack_success/pct", + "round": 1, + "context": "| AgentDojo, gemini-2.5-flash (512 runs across 4 models) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "37.5%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/agentdojo_gemini25flash/unwrapped/benign_utility/pct", + "round": 1, + "context": "| AgentDojo, gemini-2.5-flash (512 runs across 4 models) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "56.3%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/agentdojo_gemini25flash/wrapped/benign_utility/pct", + "round": 1, + "context": "| AgentDojo, gemini-2.5-flash (512 runs across 4 models) |" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "2 of 12", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/zero_sop_ehr_n12/unwrapped/verified/k", + "denominator": "/results/zero_sop_ehr_n12/unwrapped/verified/n", + "context": "verified completion fell from 2 of 12 to 0 of 12" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "0 of 12", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/zero_sop_ehr_n12/wrapped/verified/k", + "denominator": "/results/zero_sop_ehr_n12/wrapped/verified/n", + "context": "verified completion fell from 2 of 12 to 0 of 12" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "41.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/zero_sop_ehr_n12/unwrapped/silent_errors/pct", + "round": 1, + "context": "from 41.7% to 16.7%, which was not significant" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "16.7%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/zero_sop_ehr_n12/wrapped/silent_errors/pct", + "round": 1, + "context": "from 41.7% to 16.7%, which was not significant" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "11 of 104", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/esb_multifault_n64/wrapped/records_lost/k", + "denominator": "/results/esb_multifault_n64/wrapped/records_lost/n", + "context": "11 of 104 records were left" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "33 of 73", + "kind": "ratio", + "source": "paper_2611_39728", + "numerator": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/missed_failures/k", + "denominator": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/missed_failures/n", + "context": "The desktop model missed 33 of 73 failures" + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "token": "45%", + "kind": "number", + "source": "paper_2611_39728", + "pointer": "/results/desktop_verifier_osworld_unseen_apps/raw_threshold/missed_failures/pct", + "round": 0, + "context": "The desktop model missed 33 of 73 failures" } ], "universals": [ @@ -6236,6 +6806,135 @@ "/sets/published/openadapt/cost_usd/max" ] } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "The agent made no backend API calls.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "paper_2611_39728", + "pointer": [ + "/results/esb_sigkill_gen1/unwrapped/backend_api_calls", + "/results/esb_sigkill_gen1/wrapped/backend_api_calls", + "/results/esb_sigkill_gen2/unwrapped/backend_api_calls", + "/results/esb_sigkill_gen2/wrapped_fresh_state/backend_api_calls", + "/results/esb_sigkill_gen2/wrapped_kept_state/backend_api_calls" + ] + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "For desktop apps without a DOM, we dim the screen outside a box around the last click and show a before and after pair to a 4-bit Qwen3.5-4B LoRA (3.15 GB of VRAM, 357 ms median, no API cost).", + "reviewed": "2026-12-01", + "evidence": { + "claim": "prose", + "reason": "'no API cost' means the verifier is a local model: the source ledger (veto4b_r6_desktop_results.json, public in OpenAdaptAI/OpenAdapt benchmarks/public-runs) records a local Qwen/Qwen3.5-4B base with a LoRA adapter loaded at 3.154 GB of VRAM, so no hosted API is called." + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "On four Ubuntu apps it never saw in training (GIMP, LibreOffice Calc, Thunderbird and VLC; 160 runs from OSWorld-Verified), it reached 0.7905 AUROC, up from 0.6272 for the single-frame model it started from (DeLong p = 0.0051), with false alarms on 8 of 87 clean runs (9.2%).", + "reviewed": "2026-12-01", + "evidence": { + "claim": "prose", + "reason": "'never saw in training' is the strict app holdout recorded in veto4b_r6_desktop_results.json: six train apps, four held-out test apps, zero_app_overlap_verified and zero_task_id_overlap_verified both true." + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "A run that passes the checks compiles into a replay that makes no model calls (1.8 s warm).", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "paper_2611_39728", + "pointer": "/results/ui_drift_n60/warm_replay/model_calls" + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "Matching controls against the new page recovered 56 of 60 with no silent errors.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "paper_2611_39728", + "pointer": "/results/ui_drift_n60/indexed_live_dom/silent_errors/k" + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "We stripped the page to its HTML and ARIA structure, replaced every field value with a placeholder, repaired the replay from that copy without any user data leaving the machine, and accepted the fix only after a live check passed.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "paper_2611_39728", + "pointer": [ + "/results/ui_drift_n60/after_local_repair/outbound_bytes_of_field_values", + "/results/ui_drift_n60/after_local_repair/silent_errors" + ] + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "All 60 then passed.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "all_success", + "source": "paper_2611_39728", + "success": "/results/ui_drift_n60/after_local_repair/verified/k", + "total": "/results/ui_drift_n60/after_local_repair/verified/n" + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "On a 12-task slice of HealthAdminBench's EHR portal with no clinic rules given, verified completion fell from 2 of 12 to 0 of 12.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "prose", + "reason": "'no clinic rules given' is the paper's zero-SOP condition: the wrapped arm ran with no policy table and no demonstrations. The counts come from wave2_health_admin_v4_ehr_results.json, whose suite is HealthAdminBench's live EMR portal (som-shahlab/health-admin-bench)." + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "In the 64-run fault suite, wrapping prevented every duplicate and every false \"done\", and 11 of 104 records were left unfinished and reported as unverified.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "paper_2611_39728", + "pointer": [ + "/results/esb_multifault_n64/wrapped/duplicate_records/k", + "/results/esb_multifault_n64/wrapped/silent_errors/k" + ] + } + }, + { + "file": "content/posts/screenshots-are-not-state/index.md", + "sentence": "Over a compressed Windows remote desktop (105 runs), pixel checks let no wrong record through but stopped 40 healthy runs, mostly on 1 to 2 px codec shifts and blinking carets.", + "reviewed": "2026-12-01", + "evidence": { + "claim": "equals_zero", + "source": "rdp_avc444", + "pointer": [ + "/conditions/emr~1bpp16/wrong_target/count", + "/conditions/emr~1bpp16/silent_wrong_saves/count", + "/conditions/emr~1desktop1440/wrong_target/count", + "/conditions/emr~1desktop1440/silent_wrong_saves/count", + "/conditions/emr~1healthy/wrong_target/count", + "/conditions/emr~1healthy/silent_wrong_saves/count", + "/conditions/pn~1bpp16/wrong_target/count", + "/conditions/pn~1bpp16/silent_wrong_saves/count", + "/conditions/pn~1decoy/wrong_target/count", + "/conditions/pn~1decoy/silent_wrong_saves/count", + "/conditions/pn~1desktop1440/wrong_target/count", + "/conditions/pn~1desktop1440/silent_wrong_saves/count", + "/conditions/pn~1healthy/wrong_target/count", + "/conditions/pn~1healthy/silent_wrong_saves/count", + "/conditions/pn~1reorder/wrong_target/count", + "/conditions/pn~1reorder/silent_wrong_saves/count", + "/conditions/pn~1siblings/wrong_target/count", + "/conditions/pn~1siblings/silent_wrong_saves/count" + ] + } } ] } diff --git a/scripts/benchmark_claims/sources.json b/scripts/benchmark_claims/sources.json index cafe2a8..53e44d5 100644 --- a/scripts/benchmark_claims/sources.json +++ b/scripts/benchmark_claims/sources.json @@ -94,6 +94,24 @@ "sha256": "409c975abb4aa2127be5920109be4b0b8548e16d828579029193c41c665ac2a3", "blob": "99208fbe751a5c25a90167402ffbc97d7e7abea4", "note": "AgentDojo prompt-injection defense across 4 models (N=48 attacks per model)." + }, + "paper_2611_39728": { + "repo": "OpenAdaptAI/openadapt-evals", + "commit": "7e0bc154b5b6c59070a1a0c37c67736e1cc8ed4a", + "path": "docs/eval_results/screenshots_are_not_state/headline_counts.json", + "vendored": "upstream/paper_2611_39728_headline_counts.json", + "sha256": "0ad6062dd2f4840aabd057e7efe2b0bb5df03ce376248e8b2dec44ff1681df39", + "blob": "372f4f1b7f3dcbcc0abed0fc580c961ff6c07aec", + "note": "Headline counts of arXiv:2611.39728 (Screenshots Are Not State), derived from the paper's result ledgers by scripts/build_paper_headline_counts.py in the same repository, which recomputes each count from per-run rows and records every input ledger by sha256. Every ratio is {k, n, pct}, with pct rounded half up to one decimal. Pinned at the head of openadapt-evals PR #362; move the pin to the merge commit once it lands." + }, + "rdp_avc444": { + "repo": "OpenAdaptAI/OpenAdapt", + "commit": "31e1492c7f441a0b00c41055adf1c3f72a0c13d1", + "path": "packages/flow/benchmark/rdp_avc_real/results/results.json", + "vendored": "upstream/rdp_avc444_results.json", + "sha256": "ebe13cd4153d67b043995c450c2013f2509e46b4d9567121a1c8c52107761560", + "blob": "a56400faee5f0e5cb0a428998e062f2e6c4632d2", + "note": "Screen-only runs over a real Windows H.264/AVC444 remote desktop (mstsc to Windows Server 2022), Patient Notes and OpenEMR, 105 counted runs, every save judged from the app's own database. The paper's reproducibility appendix cites this file for the RDP result." } } } diff --git a/scripts/benchmark_claims/upstream/paper_2611_39728_headline_counts.json b/scripts/benchmark_claims/upstream/paper_2611_39728_headline_counts.json new file mode 100644 index 0000000..372f4f1 --- /dev/null +++ b/scripts/benchmark_claims/upstream/paper_2611_39728_headline_counts.json @@ -0,0 +1,704 @@ +{ + "_comment": [ + "Headline counts of arXiv:2611.39728, derived from the result ledgers", + "listed in 'inputs' by scripts/build_paper_headline_counts.py.", + "Every ratio is {k, n, pct}; pct is 100*k/n to one decimal, round-half-up.", + "Regenerate with --ledger-dir; --check fails if this file would change." + ], + "inputs": { + "agentdojo_results.json": { + "public_copy": "OpenAdaptAI/OpenAdapt:benchmarks/public-runs/agentdojo_results.json", + "sha256": "aebc4811aefc1647a5b41c59e6580c2e743a4dfbf4d24cd63a9e7a1f36beb2d7" + }, + "clean_hab_multitab_v3_scale_n50_results.json": { + "sha256": "df32a4f2c9bab95aa3cb3f5897c9318dc120aa4c661b40af940132ea35bfa906" + }, + "dim_chrome_metrics.json": { + "sha256": "00023dd5cd3733bda27963b2434b29169438a236896fbece631afc78a8638e13" + }, + "esb_fault_d_live_n16_v2_results.json": { + "sha256": "40689d97932b261233bef4ac080d78ebbe70569c92e328acc60649f04b4ec8e0" + }, + "esb_fault_d_v3_gpt62sol_results.json": { + "sha256": "748be9a9cce7dcb2a0646b02d669e541aed81634180a3343af1b7ce5a1c5d8fd" + }, + "esb_v1_live_n64_v2_results.json": { + "sha256": "332d31cf981ffe10bdd3e7a2762734961394d7fca6088d8b6432f4dc4581d54e" + }, + "exp_a_full_4app_indexed_n60_results.json": { + "sha256": "1a3a278691e2b74445ffded1884f93e78a60551eb7ea197dbdf8a55ebe5be098" + }, + "exp_hitl_cold_to_warm_n60_results.json": { + "sha256": "2c3063f3b6133dcf99a1d6176d58188ba76233697d02b06da2dd3569bd4b2258" + }, + "exp_z_zero_phi_full_4task_repair_results.json": { + "sha256": "043f8e0f2a7e677cb268195d9c8083e119a03075557295f1ea843cb0f6b3bb06" + }, + "hab_v8_longitudinal_n60_results.json": { + "sha256": "d215e035f13fb29145a7dcf8683d6fd66b369cdd057d5b41723b295af0e138f8" + }, + "osharm_live_v2_results.json": { + "public_copy": "OpenAdaptAI/OpenAdapt:benchmarks/public-runs/osharm_live_v2_results.json", + "sha256": "967d271227171a6b5327e8bda4e64970436ae701b8245d7f7461b52e5faa561a" + }, + "osworld_desktop_dim_share_runs.json": { + "sha256": "c930abe3389db45cc36a9c115a5486ee6b5e24c5579db06dae0d18ec40e7d233" + }, + "pixel_only_osharm_veto4b_results.json": { + "sha256": "7cbfa5cf385fa2b43162955c2d6e2f414b548ab5d1b514e41b6dbad85a864142" + }, + "stweb_scale_n40_prestep_v2_results.json": { + "sha256": "b4bce38e48abf9f4d7c982f6ffc672e1ee25b67652fd59078fed2c6b32527777" + }, + "upstream_desktop_chaos_v2_results.json": { + "sha256": "646ad0e6b7921b98013e8f2e65a7a503a2db02ce46499f2f9b2a080b7c5f2d75" + }, + "upstream_desktop_chaos_v3_6series_results.json": { + "sha256": "7134dfa693c47b74fabc55e6373c8dae0ed086597d88574f3e94ae6218da21d1" + }, + "veto4b_r6_desktop_results.json": { + "public_copy": "OpenAdaptAI/OpenAdapt:benchmarks/public-runs/veto4b_r6_desktop_results.json", + "sha256": "8894ef43fdcf051f36096e2378a08cb29ae98bea08477bed0543f88c2f654a43" + }, + "wave2_health_admin_v4_ehr_results.json": { + "sha256": "115c90b2e9392db31726b4cdf637667eac0d523a9b356bb3038a9fdbe7bc51bd" + } + }, + "paper": { + "arxiv": "2611.39728", + "title": "Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents" + }, + "results": { + "agentdojo_gemini25flash": { + "benchmark": "AgentDojo v1.2.1, 4 suites, important_instructions attack", + "runs_across_4_models": 512, + "unwrapped": { + "attack_success": { + "k": 35, + "n": 48, + "pct": 72.9 + }, + "benign_utility": { + "k": 6, + "n": 16, + "pct": 37.5 + } + }, + "wrapped": { + "attack_success": { + "k": 8, + "n": 48, + "pct": 16.7 + }, + "benign_utility": { + "k": 9, + "n": 16, + "pct": 56.3 + } + } + }, + "desktop_chaos_model_upgrade": { + "after_upgrade": { + "model": "gpt-6.1-terra", + "unwrapped_success": { + "k": 25, + "n": 25, + "pct": 100.0 + } + }, + "before_upgrade": { + "model": "gpt-5.6-luna", + "unwrapped_success": { + "k": 3, + "n": 25, + "pct": 12.0 + } + }, + "benchmark": "DesktopChaosBench v0.1, 25 single-button tasks" + }, + "desktop_dimming_osworld_unseen_apps": { + "after_frame": { + "max_pct": 93.4, + "median_pct": 75.1, + "min_pct": 9.8, + "n": 160 + }, + "after_frame_click": { + "max_pct": 93.4, + "median_pct": 78.9, + "min_pct": 75.1, + "n": 102 + }, + "after_frame_click_in_next_to_last_action": { + "k": 102, + "n": 160, + "pct": 63.8 + }, + "after_frame_no_click": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 58 + }, + "archives_sha256": { + "autoglm_15steps.zip": "5a5dd328721dd81085b912888bf97f9174699b987de94a70abc93ff557ef78fe", + "results_agent_s2_o3_15steps.zip": "ba903a669e76f530b736fccccd50b0e7d1fbbbe611d948eec8b1716f9ce3b01c", + "results_opus4p5_single_agent.zip": "5a35efde68e09d4289227b97e22ea174898e27dca30f59f987a5117dc3a32509" + }, + "before_frame": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 160 + }, + "benchmark": "OSWorld-Verified, held-out apps gimp, libreoffice_calc, thunderbird, vlc", + "by_app": { + "gimp": { + "after_frame": { + "max_pct": 93.1, + "median_pct": 75.1, + "min_pct": 9.8, + "n": 40 + }, + "after_frame_click": { + "max_pct": 93.1, + "median_pct": 80.4, + "min_pct": 75.1, + "n": 25 + }, + "after_frame_click_in_next_to_last_action": { + "k": 25, + "n": 40, + "pct": 62.5 + }, + "before_frame": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 40 + } + }, + "libreoffice_calc": { + "after_frame": { + "max_pct": 90.2, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 40 + }, + "after_frame_click": { + "max_pct": 90.2, + "median_pct": 78.7, + "min_pct": 75.1, + "n": 18 + }, + "after_frame_click_in_next_to_last_action": { + "k": 18, + "n": 40, + "pct": 45.0 + }, + "before_frame": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 40 + } + }, + "thunderbird": { + "after_frame": { + "max_pct": 92.2, + "median_pct": 77.0, + "min_pct": 9.8, + "n": 40 + }, + "after_frame_click": { + "max_pct": 92.2, + "median_pct": 77.7, + "min_pct": 75.1, + "n": 35 + }, + "after_frame_click_in_next_to_last_action": { + "k": 35, + "n": 40, + "pct": 87.5 + }, + "before_frame": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 40 + } + }, + "vlc": { + "after_frame": { + "max_pct": 93.4, + "median_pct": 75.1, + "min_pct": 9.8, + "n": 40 + }, + "after_frame_click": { + "max_pct": 93.4, + "median_pct": 80.7, + "min_pct": 75.1, + "n": 24 + }, + "after_frame_click_in_next_to_last_action": { + "k": 24, + "n": 40, + "pct": 60.0 + }, + "before_frame": { + "max_pct": 9.8, + "median_pct": 9.8, + "min_pct": 9.8, + "n": 40 + } + } + }, + "frame_sizes": [ + "1920x1080" + ], + "n_runs": 160 + }, + "desktop_verifier_osworld_unseen_apps": { + "auroc": 0.7905, + "auroc_before_training": 0.6272, + "benchmark": "OSWorld-Verified, held-out apps gimp, libreoffice_calc, thunderbird, vlc", + "clean_runs": 87, + "delong_p_value": 0.005096, + "dim_the_chrome": { + "crop_px": [ + 384, + 384 + ], + "unchanged_pixel_fraction_by_theme": { + "v1": 0.957, + "v2": 0.9484, + "v2_dark": 0.9469 + }, + "unchanged_pixel_pct_mean": 95.1 + }, + "failed_runs": 73, + "median_ms": 356.88, + "n_runs": 160, + "raw_threshold": { + "false_alarms": { + "k": 8, + "n": 87, + "pct": 9.2 + }, + "missed_failures": { + "k": 33, + "n": 73, + "pct": 45.2 + } + }, + "session_start_normalized": { + "auroc": 0.7857, + "false_alarms": { + "k": 6, + "n": 87, + "pct": 6.9 + }, + "missed_failures": { + "k": 35, + "n": 73, + "pct": 47.9 + } + }, + "vram_gb": 3.154 + }, + "esb_multifault_n64": { + "benchmark": "EnterpriseSessionBench, faults A/B/C (48 runs) and D (16 runs)", + "mcnemar_p": { + "duplicate_records": 4e-06, + "silent_errors": 4e-06, + "verified": 6.1e-05 + }, + "model_call_reduction": { + "after": 399, + "before": 550, + "pct": 27.5 + }, + "unwrapped": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 19, + "n": 64, + "pct": 29.7 + }, + "model_calls": 550, + "records_lost": { + "k": 8, + "n": 104, + "pct": 7.7 + }, + "silent_errors": { + "k": 19, + "n": 64, + "pct": 29.7 + }, + "verified": { + "k": 42, + "n": 64, + "pct": 65.6 + } + }, + "wrapped": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 0, + "n": 64, + "pct": 0.0 + }, + "model_calls": 399, + "records_lost": { + "k": 11, + "n": 104, + "pct": 10.6 + }, + "silent_errors": { + "k": 0, + "n": 64, + "pct": 0.0 + }, + "verified": { + "k": 57, + "n": 64, + "pct": 89.1 + } + } + }, + "esb_sigkill_gen1": { + "benchmark": "EnterpriseSessionBench Fault D, SIGKILL after record 1, 2 records per run", + "model": "gpt-5.6-sol", + "unwrapped": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 11, + "n": 16, + "pct": 68.8 + }, + "model_calls": 191, + "silent_errors": { + "k": 11, + "n": 16, + "pct": 68.8 + }, + "verified": { + "k": 2, + "n": 16, + "pct": 12.5 + } + }, + "wrapped": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "model_calls": 193, + "silent_errors": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "verified": { + "k": 9, + "n": 16, + "pct": 56.3 + } + } + }, + "esb_sigkill_gen2": { + "benchmark": "EnterpriseSessionBench Fault D, SIGKILL after record 1, 2 records per run", + "mcnemar_p_unwrapped_vs_wrapped_fresh_state": { + "duplicate_records": 0.001953, + "silent_errors": 0.003906, + "verified": 0.000244 + }, + "model": "gpt-6.2-sol", + "unwrapped": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 10, + "n": 16, + "pct": 62.5 + }, + "model_calls": 188, + "silent_errors": { + "k": 9, + "n": 16, + "pct": 56.3 + }, + "verified": { + "k": 3, + "n": 16, + "pct": 18.8 + } + }, + "wrapped_fresh_state": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "model_calls": 66, + "silent_errors": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "verified": { + "k": 16, + "n": 16, + "pct": 100.0 + } + }, + "wrapped_kept_state": { + "backend_api_calls": 0, + "duplicate_records": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "model_calls": 21, + "silent_errors": { + "k": 0, + "n": 16, + "pct": 0.0 + }, + "verified": { + "k": 16, + "n": 16, + "pct": 100.0 + } + } + }, + "healthadminbench_appeals_heldout_n50": { + "benchmark": "HealthAdminBench appeals_denials, 50 held-out tasks, 10 demonstrations", + "mcnemar_p_silent_errors": 1.86e-09, + "unwrapped": { + "silent_errors": { + "k": 31, + "n": 50, + "pct": 62.0 + }, + "verified": { + "k": 19, + "n": 50, + "pct": 38.0 + } + }, + "wrapped": { + "allowed_saves_correct": { + "k": 10, + "n": 11, + "pct": 90.9 + }, + "human_touches": 0, + "silent_errors": { + "k": 1, + "n": 50, + "pct": 2.0 + }, + "verified": { + "k": 10, + "n": 50, + "pct": 20.0 + } + } + }, + "healthadminbench_scaled_n52": { + "benchmark": "HealthAdminBench, 26 tasks x 2 models", + "mcnemar_p_silent_errors": 9.3132e-10, + "unwrapped": { + "silent_errors": { + "k": 32, + "n": 52, + "pct": 61.5 + }, + "stopped_for_a_person": { + "k": 0, + "n": 52, + "pct": 0.0 + }, + "verified": { + "k": 20, + "n": 52, + "pct": 38.5 + } + }, + "wrapped": { + "silent_errors": { + "k": 1, + "n": 52, + "pct": 1.9 + }, + "stopped_for_a_person": { + "k": 45, + "n": 52, + "pct": 86.5 + }, + "verified": { + "k": 6, + "n": 52, + "pct": 11.5 + } + } + }, + "osharm_n54": { + "benchmark": "OS-Harm, 9 tasks x 3 models", + "mcnemar_p_harmful": 0.00391, + "n_runs": 54, + "unwrapped": { + "harmful": { + "k": 12, + "n": 27, + "pct": 44.4 + }, + "policy_compliant_completion": { + "k": 11, + "n": 27, + "pct": 40.7 + } + }, + "wrapped": { + "harmful": { + "k": 3, + "n": 27, + "pct": 11.1 + }, + "policy_compliant_completion": { + "k": 17, + "n": 27, + "pct": 63.0 + } + } + }, + "step_critic_osworld": { + "benchmark": "OSWorld-Verified, claude-opus-4.5 trajectories, 10 Ubuntu apps", + "clean_runs": 63, + "clean_runs_blocked": { + "k": 63, + "n": 63, + "pct": 100.0 + }, + "failed_runs": 57, + "max_steps_checked_per_run": 6, + "median_ms_per_check": 492.3, + "median_ms_per_run_all_steps": 2944.91, + "n_runs": 120, + "steps_checked": 676 + }, + "stwebagentbench_3app_n44": { + "benchmark": "ST-WebAgentBench, ShoppingAdmin + GitLab + SuiteCRM, 44 tasks", + "commit_only": { + "silent_errors": { + "k": 22, + "n": 44, + "pct": 50.0 + }, + "task_completion": { + "k": 5, + "n": 44, + "pct": 11.4 + }, + "total_tokens": 2093172 + }, + "mcnemar_p_silent_errors_unwrapped_vs_wrapped": 1.86e-09, + "unwrapped": { + "silent_errors": { + "k": 42, + "n": 44, + "pct": 95.5 + }, + "task_completion": { + "k": 3, + "n": 44, + "pct": 6.8 + }, + "total_tokens": 1505674 + }, + "wrapped": { + "silent_errors": { + "k": 12, + "n": 44, + "pct": 27.3 + }, + "task_completion": { + "k": 6, + "n": 44, + "pct": 13.6 + }, + "token_increase_vs_unwrapped_pct": 38.7, + "total_tokens": 2088516 + } + }, + "ui_drift_n60": { + "after_local_repair": { + "outbound_bytes_of_field_values": 0, + "previously_failing_repaired": "4/4", + "silent_errors": 0, + "verified": { + "k": 60, + "n": 60, + "pct": 100.0 + } + }, + "benchmark": "Gitea, Vikunja, Memos and Mealie upgrades, 60 workflows", + "indexed_live_dom": { + "silent_errors": { + "k": 0, + "n": 60, + "pct": 0.0 + }, + "verified": { + "k": 56, + "n": 60, + "pct": 93.3 + } + }, + "warm_replay": { + "median_ms": 1842.7, + "model_calls": 0, + "verified": { + "k": 60, + "n": 60, + "pct": 100.0 + } + } + }, + "zero_sop_ehr_n12": { + "benchmark": "HealthAdminBench live EMR portal, 12 tasks, no clinic rules given", + "mcnemar_p_silent_errors": 0.453125, + "model": "gpt-6.1-terra", + "unwrapped": { + "silent_errors": { + "k": 5, + "n": 12, + "pct": 41.7 + }, + "verified": { + "k": 2, + "n": 12, + "pct": 16.7 + } + }, + "wrapped": { + "silent_errors": { + "k": 2, + "n": 12, + "pct": 16.7 + }, + "verified": { + "k": 0, + "n": 12, + "pct": 0.0 + } + } + } + }, + "schema": "openadapt-evals.paper-headline-counts.v1" +} diff --git a/scripts/benchmark_claims/upstream/rdp_avc444_results.json b/scripts/benchmark_claims/upstream/rdp_avc444_results.json new file mode 100644 index 0000000..a56400f --- /dev/null +++ b/scripts/benchmark_claims/upstream/rdp_avc444_results.json @@ -0,0 +1,965 @@ +{ + "schema": "openadapt.rdp-avc444-campaigns.v1", + "conditions": { + "emr/bpp16": { + "trials": 10, + "verified_saves": { + "count": 7, + "per_100": 70.0, + "ci95": [ + 39.7, + 89.2 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 3, + "per_100": 30.0, + "ci95": [ + 10.8, + 60.3 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "model_calls": 0, + "median_elapsed_s": 90.36 + }, + "emr/desktop1440": { + "trials": 5, + "verified_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 43.4 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 43.4 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 43.4 + ] + }, + "false_stops": { + "count": 5, + "per_100": 100.0, + "ci95": [ + 56.6, + 100.0 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 43.4 + ] + }, + "model_calls": 0, + "median_elapsed_s": 11.3 + }, + "emr/healthy": { + "trials": 20, + "verified_saves": { + "count": 8, + "per_100": 40.0, + "ci95": [ + 21.9, + 61.3 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "false_stops": { + "count": 12, + "per_100": 60.0, + "ci95": [ + 38.7, + 78.1 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "model_calls": 0, + "median_elapsed_s": 81.88 + }, + "pn/bpp16": { + "trials": 10, + "verified_saves": { + "count": 10, + "per_100": 100.0, + "ci95": [ + 72.2, + 100.0 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "model_calls": 0, + "median_elapsed_s": 18.72 + }, + "pn/decoy": { + "trials": 10, + "verified_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 10, + "per_100": 100.0, + "ci95": [ + 72.2, + 100.0 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "model_calls": 0, + "median_elapsed_s": 11.38 + }, + "pn/desktop1440": { + "trials": 10, + "verified_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 10, + "per_100": 100.0, + "ci95": [ + 72.2, + 100.0 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "model_calls": 0, + "median_elapsed_s": 18.58 + }, + "pn/healthy": { + "trials": 20, + "verified_saves": { + "count": 20, + "per_100": 100.0, + "ci95": [ + 83.9, + 100.0 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "false_stops": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 16.1 + ] + }, + "model_calls": 0, + "median_elapsed_s": 18.28 + }, + "pn/reorder": { + "trials": 10, + "verified_saves": { + "count": 10, + "per_100": 100.0, + "ci95": [ + 72.2, + 100.0 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "stops_on_lookalike": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "model_calls": 0, + "median_elapsed_s": 18.06 + }, + "pn/siblings": { + "trials": 10, + "verified_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "wrong_target": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "silent_wrong_saves": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "false_stops": { + "count": 0, + "per_100": 0.0, + "ci95": [ + 0.0, + 27.8 + ] + }, + "stops_on_lookalike": { + "count": 10, + "per_100": 100.0, + "ci95": [ + 72.2, + 100.0 + ] + }, + "model_calls": 0, + "median_elapsed_s": 6.59 + } + }, + "stops": [ + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 16, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 17, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 18, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 19, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 20, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 21, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "identity_precheck", + "step_id": "step_003", + "detail": "Identity check failed for step 'step_003' (click 'eil'): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Sorensen 1983-01-19' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 22, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "identity_precheck", + "step_id": "step_003", + "detail": "Identity check failed for step 'step_003' (click 'eil'): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed '1983-01-19 Sorensen' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 23, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "identity_precheck", + "step_id": "step_003", + "detail": "Identity check failed for step 'step_003' (click 'eil'): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Sorensen 1983-01-19' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 24, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "identity_precheck", + "step_id": "step_003", + "detail": "Identity check failed for step 'step_003' (click 'eil'): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Sorensen 1983-01-19' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 25, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "identity_precheck", + "step_id": "step_003", + "detail": "Identity check failed for step 'step_003' (click 'eil'): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Sorensen 1983-01-19' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 31, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 32, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 33, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 34, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-1", + "app": "pn", + "trial": 35, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 16, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 17, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 18, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 19, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 20, + "condition": "decoy", + "class": "false_stop", + "cause": "state_check", + "step_id": "step_002", + "detail": "Postconditions failed for step 'step_002' (click 'Search'): expected screen state not reached (semantic drift) \u2014 failed: text_present 'Patient: Neil Sorenson (1984-03-12)' \u2014 run aborted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 21, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "ambiguity_refusal", + "step_id": "step_003", + "detail": "OCR safety refusal for step 'step_003' (click 'eil'): OCR landmark evidence did not uniquely establish a target \u2014 no action was admitted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 22, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "ambiguity_refusal", + "step_id": "step_003", + "detail": "OCR safety refusal for step 'step_003' (click 'eil'): OCR landmark evidence did not uniquely establish a target \u2014 no action was admitted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 23, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "ambiguity_refusal", + "step_id": "step_003", + "detail": "OCR safety refusal for step 'step_003' (click 'eil'): OCR landmark evidence did not uniquely establish a target \u2014 no action was admitted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 24, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "ambiguity_refusal", + "step_id": "step_003", + "detail": "OCR safety refusal for step 'step_003' (click 'eil'): OCR landmark evidence did not uniquely establish a target \u2014 no action was admitted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 25, + "condition": "siblings", + "class": "stop_on_lookalike", + "cause": "ambiguity_refusal", + "step_id": "step_003", + "detail": "OCR safety refusal for step 'step_003' (click 'eil'): OCR landmark evidence did not uniquely establish a target \u2014 no action was admitted" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 31, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 32, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 33, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 34, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "pn-run-3", + "app": "pn", + "trial": 35, + "condition": "desktop1440", + "class": "false_stop", + "cause": "hover_reresolve", + "step_id": "step_006", + "detail": "Step 'step_006' (click 'Save Note') resolved to (561, 490) after remote pointer hover, not the prepared point (560, 489); refusing a click whose target moved before actuation" + }, + { + "campaign": "emr-run-1", + "app": "emr", + "trial": 16, + "condition": "desktop1440", + "class": "false_stop", + "cause": "layout_reflow", + "step_id": "step_000", + "detail": "Postconditions failed for step 'step_000' (click 'ername'): expected screen state not reached (semantic drift) \u2014 failed: region_stable region=(554, 342, 303, 93) \u2014 run aborted" + }, + { + "campaign": "emr-run-1", + "app": "emr", + "trial": 17, + "condition": "desktop1440", + "class": "false_stop", + "cause": "layout_reflow", + "step_id": "step_000", + "detail": "Postconditions failed for step 'step_000' (click 'ername'): expected screen state not reached (semantic drift) \u2014 failed: region_stable region=(554, 342, 303, 93) \u2014 run aborted" + }, + { + "campaign": "emr-run-1", + "app": "emr", + "trial": 18, + "condition": "desktop1440", + "class": "false_stop", + "cause": "layout_reflow", + "step_id": "step_000", + "detail": "Postconditions failed for step 'step_000' (click 'ername'): expected screen state not reached (semantic drift) \u2014 failed: region_stable region=(554, 342, 303, 93) \u2014 run aborted" + }, + { + "campaign": "emr-run-1", + "app": "emr", + "trial": 19, + "condition": "desktop1440", + "class": "false_stop", + "cause": "layout_reflow", + "step_id": "step_000", + "detail": "Postconditions failed for step 'step_000' (click 'ername'): expected screen state not reached (semantic drift) \u2014 failed: region_stable region=(554, 342, 303, 93) \u2014 run aborted" + }, + { + "campaign": "emr-run-1", + "app": "emr", + "trial": 20, + "condition": "desktop1440", + "class": "false_stop", + "cause": "layout_reflow", + "step_id": "step_000", + "detail": "Postconditions failed for step 'step_000' (click 'ername'): expected screen state not reached (semantic drift) \u2014 failed: region_stable region=(554, 342, 303, 93) \u2014 run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 1, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 2, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 4, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 6, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_009", + "detail": "Step 'step_009' (click 'First Name'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 8, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 9, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 10, + "condition": "healthy", + "class": "false_stop", + "cause": "identity_precheck", + "step_id": "step_011", + "detail": "Identity check failed for step 'step_011' (click recorded visual target): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Preferred Name: Patient preferred name or name patier' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 12, + "condition": "bpp16", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 13, + "condition": "bpp16", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-2", + "app": "emr", + "trial": 14, + "condition": "bpp16", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_014", + "detail": "Step 'step_014' (click 'Unassigned'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-3", + "app": "emr", + "trial": 3, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_009", + "detail": "Step 'step_009' (click 'First Name'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-3", + "app": "emr", + "trial": 4, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_009", + "detail": "Step 'step_009' (click 'First Name'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-3", + "app": "emr", + "trial": 5, + "condition": "healthy", + "class": "false_stop", + "cause": "identity_precheck", + "step_id": "step_011", + "detail": "Identity check failed for step 'step_011' (click recorded visual target): a target was found positionally (rung 'geometry', confidence 0.90) but its surrounding text does not match the recorded target's \u2014 expected '', observed 'Preferred Name: Patient preferred name or namepatier' (coverage 0.00) \u2014 refusing to act; run aborted" + }, + { + "campaign": "emr-run-3", + "app": "emr", + "trial": 6, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_009", + "detail": "Step 'step_009' (click 'First Name'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + }, + { + "campaign": "emr-run-3", + "app": "emr", + "trial": 10, + "condition": "healthy", + "class": "false_stop", + "cause": "timing_codec", + "step_id": "step_009", + "detail": "Step 'step_009' (click 'First Name'): the screen kept changing at the identity region between the check and the click \u2014 click not delivered; run aborted" + } + ], + "ranked_causes": [ + { + "cause": "timing_codec", + "false_stops": 13, + "fix": "Wait for the region to settle (bounded) before the identity and stability checks instead of failing on the first changing frame; mask a blinking caret; record the codec's refinement interval.", + "where": [ + "emr/bpp16:step_014", + "emr/healthy:step_009", + "emr/healthy:step_014" + ] + }, + { + "cause": "state_check", + "false_stops": 10, + "fix": "Do not compile an auto-selected row's header text into the next step's postcondition when the row is chosen by a later click.", + "where": [ + "pn/decoy:step_002" + ] + }, + { + "cause": "hover_reresolve", + "false_stops": 10, + "fix": "Accept a re-resolve inside the target's own box (or within the codec's measured jitter, 1-2 px) instead of exact pixel equality.", + "where": [ + "pn/desktop1440:step_006" + ] + }, + { + "cause": "layout_reflow", + "false_stops": 5, + "fix": "Bind postcondition regions to the resolved target (offsets from it), not the recorded frame's absolute pixels; or halt at the first step with an explicit 'layout changed' reason.", + "where": [ + "emr/desktop1440:step_000" + ] + }, + { + "cause": "identity_precheck", + "false_stops": 2, + "fix": "Exclude run parameters and transient dialog content (duplicate lists) from the recorded identity band.", + "where": [ + "emr/healthy:step_011", + "pn/siblings:step_003" + ] + } + ], + "cause_frames": { + "state_check": "state_check_pn_decoy_step_002.png", + "ambiguity_refusal": "ambiguity_refusal_pn_siblings_step_003.png", + "hover_reresolve": "hover_reresolve_pn_desktop1440_step_006.png", + "layout_reflow": "layout_reflow_emr_desktop1440_step_000.png", + "timing_codec": "timing_codec_emr_healthy_step_014.png", + "identity_precheck": "identity_precheck_emr_healthy_step_011.png" + } +} \ No newline at end of file diff --git a/tests/test_tag_titles.py b/tests/test_tag_titles.py index e150dfe..e6c04ee 100644 --- a/tests/test_tag_titles.py +++ b/tests/test_tag_titles.py @@ -31,6 +31,7 @@ "api": "API", "autohotkey": "AutoHotkey", "gui-automation": "GUI Automation", + "openadapt": "OpenAdapt", "openadapt-flow": "openadapt-flow", "openemr": "OpenEMR", "power-automate": "Power Automate",