Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
e5d552a
Add held-out quote portal benchmark scaffold and first portal
abrichr Nov 21, 2026
3146a82
Add three more held-out quote portals, scorer tests and manifest builder
abrichr Nov 21, 2026
36be56d
Finish held-out quote portals: intake vocabulary, reference runs and …
abrichr Nov 21, 2026
e816c3d
fix(form-tx): read back every typed or selected field and report the …
abrichr Nov 21, 2026
8ea2e56
docs(form-tx): pre-register the held-out quote-portal benchmark
abrichr Nov 21, 2026
eeb53ca
Merge remote-tracking branch 'origin/claude/form-tx-heldout-portals' …
abrichr Nov 21, 2026
6392bac
fix(form-tx): keep popup inputs not_checked when only re-read before …
abrichr Nov 21, 2026
d9a1b9a
docs(form-tx): re-pin the held-out benchmark engine (deviation D1)
abrichr Nov 21, 2026
3312524
bench(form-tx): held-out runner, dev-case packs and deviation D2 befo…
abrichr Nov 21, 2026
40a218f
bench(form-tx): held-out arms B and C, docs, capabilities rows and ch…
abrichr Nov 21, 2026
f6e5a5c
docs: refresh llms-full.txt
abrichr Nov 21, 2026
0148cfe
bench(form-tx): held-out arm A rerun, rename a made-up carrier (D3), …
abrichr Nov 21, 2026
124db5c
bench(form-tx): registered R4 denominator, trap table, raw logs; cut …
abrichr Nov 21, 2026
de6a3bf
bench(form-tx): second held-out portal set (four new fictional carriers)
abrichr Nov 21, 2026
d2d6883
bench(form-tx): reference runs and manifest for the second held-out set
abrichr Nov 21, 2026
487c478
fix(flow): support bounded native and routed form frames
abrichr Nov 20, 2026
45d5ab6
fix(flow): wait for allowed frame successors within settle deadline
abrichr Nov 20, 2026
4add178
fix(form-tx): see and fill forms in routed iframes and open shadow roots
abrichr Nov 21, 2026
3c06084
fix(form-tx): run two-step and in-page popup estimators
abrichr Nov 21, 2026
f42a998
docs(form-tx): describe popup steps and in-page popups
abrichr Nov 21, 2026
cc8002c
fix(form-tx): type into type-aheads and stop on surface errors
abrichr Nov 21, 2026
53d29dc
fix(form-tx): treat session expiry as a sign-in wall and unchecked ra…
abrichr Nov 21, 2026
540c1d8
fix(form-tx): read back summaries shown as page text
abrichr Nov 21, 2026
4a15620
docs(capabilities): link the text read-back PR
abrichr Nov 21, 2026
9b05255
Merge remote-tracking branch 'origin/claude/form-gap-1-text-readback'…
abrichr Nov 21, 2026
8ec436b
Merge remote-tracking branch 'origin/claude/form-gap-2-typeahead' int…
abrichr Nov 21, 2026
6fb88d3
Merge remote-tracking branch 'origin/claude/form-gap-3-frames-shadow'…
abrichr Nov 21, 2026
b528056
Merge remote-tracking branch 'origin/claude/form-gap-4-popup-steps' i…
abrichr Nov 21, 2026
3fa542e
Merge remote-tracking branch 'origin/claude/form-gap-5-expiry-radios'…
abrichr Nov 21, 2026
7b8632c
test(form-tx): frames, shadow roots, type-aheads, radios and text rea…
abrichr Nov 21, 2026
3fcc425
bench(form-tx): runner takes a portal suite; pre-register the second …
abrichr Nov 21, 2026
a3151ff
bench(form-tx): harborline pack v2
abrichr Nov 21, 2026
efbf620
wip
abrichr Nov 21, 2026
c791435
bench(form-tx): harborline radios
abrichr Nov 21, 2026
3230d80
bench(form-tx): pinecrest and tidewater packs v2
abrichr Nov 21, 2026
0e0a0db
bench(form-tx): cobalt pack v2
abrichr Nov 21, 2026
bb344b2
bench(form-tx): cobalt select placeholder
abrichr Nov 21, 2026
524ad60
bench(form-tx): v2 packs for the first four portals (dev set)
abrichr Nov 21, 2026
1b804a5
fix(form-tx): check a popup's returned value against its displayed re…
abrichr Nov 21, 2026
a5a1615
fix(form-tx): set checkboxes and radios that re-render, read ARIA and…
abrichr Nov 21, 2026
52c1183
fix(form-tx): re-observe the form when a fill rebuilds its controls
abrichr Nov 21, 2026
284ad8c
style: format popup step tests
abrichr Nov 21, 2026
374563a
test(form-tx): a popup-only figure is not checked when its inputs are…
abrichr Nov 21, 2026
4ee5ce9
style(form-tx): ruff format
abrichr Nov 21, 2026
f027b5c
Merge remote-tracking branch 'origin/claude/form-gap-4-popup-steps' i…
abrichr Nov 21, 2026
59282ac
Merge PR 4 and PR 5 follow-ups; read a popup's result from page text too
abrichr Nov 21, 2026
dd92074
bench(form-tx): scripted operator follows a sign-in link and presses …
abrichr Nov 21, 2026
67bd982
Merge remote-tracking branch 'origin/claude/form-gaps-oldpacks' into …
abrichr Nov 21, 2026
66b2fc1
style(form-tx): ruff format and import order after the merges
abrichr Nov 21, 2026
53d455d
bench(form-tx): dev-set packs use estimator results, label-anchored r…
abrichr Nov 21, 2026
3360b1d
Merge remote-tracking branch 'origin/claude/form-gaps-oldpacks' into …
abrichr Nov 21, 2026
b89a3eb
fix(form-tx): find a redrawn type-ahead again by its signature before…
abrichr Nov 21, 2026
e1999ae
fix(form-tx): match a redrawn type-ahead by section, label and kind
abrichr Nov 21, 2026
2ea280b
fix(form-tx): find a redrawn checkbox or radio again by section, labe…
abrichr Nov 21, 2026
335c322
test(form-tx): radio group and type-ahead redrawn with new names and ids
abrichr Nov 21, 2026
8625e37
fix(form-tx): find a redrawn type-ahead again by its signature before…
abrichr Nov 21, 2026
92cff78
fix(form-tx): match a redrawn type-ahead by section, label and kind
abrichr Nov 21, 2026
9a0cd79
test(form-tx): a type-ahead redrawn after a pick
abrichr Nov 21, 2026
3157013
fix(form-tx): find a redrawn checkbox or radio again by section, labe…
abrichr Nov 21, 2026
950a75d
test(form-tx): a radio group renamed on every redraw
abrichr Nov 21, 2026
46b8a4a
bench(form-tx): freeze the engine for the second held-out run
abrichr Nov 21, 2026
8929578
Merge remote-tracking branch 'origin/claude/form-tx-heldout2-portals'…
abrichr Nov 21, 2026
4bba359
fix(form-tx): do not rely on the page's CSS global when building sele…
abrichr Nov 21, 2026
d641698
fix(form-tx): do not rely on the page's CSS global when building sele…
abrichr Nov 21, 2026
5651d70
bench(form-tx): dev-case demonstrations of the new portals (dev cases…
abrichr Nov 21, 2026
9c62500
Merge branch 'claude/form-gaps-integration' into claude/form-tx-heldo…
abrichr Nov 21, 2026
b552c8d
bench(form-tx): packs module for the second portal set; glasswing dem…
abrichr Nov 21, 2026
240a12f
bench(form-tx): dev-case exploration probe
abrichr Nov 21, 2026
ec8030b
bench(form-tx): velloway pack from the dev case
abrichr Nov 21, 2026
63140c6
bench(form-tx): ferncastle pack from its dev case
abrichr Nov 21, 2026
805772a
bench(form-tx): glasswing pack (dev case only)
abrichr Nov 21, 2026
1f32ab8
probe: popups and page text
abrichr Nov 21, 2026
96fe330
bench(form-tx): ferncastle loss-of-rents default is overwritten
abrichr Nov 21, 2026
c09c319
bench(form-tx): glasswing pack (dev case only)
abrichr Nov 21, 2026
e316f07
bench(form-tx): velloway selects start on Choose
abrichr Nov 21, 2026
bf223cc
probe: closed popup
abrichr Nov 21, 2026
ab43cf9
bench(form-tx): okelund pack v1
abrichr Nov 21, 2026
d4b5ad6
okelund pack: route the lookup window
abrichr Nov 21, 2026
da2da89
bench(form-tx): okelund pack, dev smoke notes
abrichr Nov 21, 2026
34d9600
probe: lint
abrichr Nov 21, 2026
44c27fe
fix(form-tx): table-cell labels, Choose placeholders, partial type-ah…
abrichr Nov 21, 2026
e8f1274
fix(form-tx): a partial type-ahead pick still matches on the next pass
abrichr Nov 21, 2026
f0061cb
Merge branch 'claude/form-gaps-integration' into claude/form-tx-heldo…
abrichr Nov 21, 2026
04b1c23
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-ferncastl…
abrichr Nov 21, 2026
12aa75c
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-glasswing…
abrichr Nov 21, 2026
29be9c8
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-okelund' …
abrichr Nov 21, 2026
90380f6
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-velloway'…
abrichr Nov 21, 2026
3115bcf
okelund pack: drop the lookup-window routing workaround
abrichr Nov 21, 2026
a8b5571
bench(form-tx): velloway pack drops the Choose placeholder workaround
abrichr Nov 21, 2026
dfcd7c5
fix(form-tx): accept a type-ahead pick that keeps the leading part of…
abrichr Nov 21, 2026
dcaa630
fix(form-tx): labels from the table cell before a control; Choose rea…
abrichr Nov 21, 2026
02de376
bench(form-tx): glasswing pack (dev case only)
abrichr Nov 21, 2026
c9cbaa1
test(form-tx): test_form_tx_partial_pick.py
abrichr Nov 21, 2026
5bee551
bench(form-tx): okelund pack, final dev smoke notes
abrichr Nov 21, 2026
8c97227
test(form-tx): test_form_tx_table_labels.py
abrichr Nov 21, 2026
368ba4e
fix(form-tx): a child window does not inherit the parent's frame routing
abrichr Nov 21, 2026
84d9513
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-okelund-f…
abrichr Nov 21, 2026
92828c1
Merge remote-tracking branch 'origin/claude/form-tx-h2-pack-velloway'…
abrichr Nov 21, 2026
4a3bf0e
fix(form-tx): a hidden dd ends its group in page-text read-back
abrichr Nov 21, 2026
cc86205
fix(form-tx): shadow-root selectors unique across the host's light DO…
abrichr Nov 21, 2026
459a94b
fix(form-tx): a sign-in wall after the submit click is delivery_uncer…
abrichr Nov 21, 2026
09e2404
test(form-tx): a shadow control that no selector can single out is re…
abrichr Nov 21, 2026
cdf3fdc
fix(form-tx): every popup surface failure stops; in-page popups scope…
abrichr Nov 21, 2026
8f4070f
style(form-tx): ruff format
abrichr Nov 21, 2026
5baf94a
style(form-tx): ruff
abrichr Nov 21, 2026
6508366
Merge remote-tracking branch 'origin/claude/form-gap-1-text-readback'…
abrichr Nov 21, 2026
7c30fd2
Merge remote-tracking branch 'origin/claude/form-gap-3-frames-shadow'…
abrichr Nov 21, 2026
a7d34c7
Merge remote-tracking branch 'origin/claude/form-gap-2-typeahead' int…
abrichr Nov 21, 2026
dc6c68a
Merge remote-tracking branch 'origin/claude/form-gap-5-expiry-radios'…
abrichr Nov 21, 2026
670b4a2
Merge remote-tracking branch 'origin/claude/form-gap-4-popup-steps' i…
abrichr Nov 21, 2026
af77216
style(form-tx): drop an import the popup catch no longer uses
abrichr Nov 21, 2026
72a6ad4
style(form-tx): ruff format
abrichr Nov 21, 2026
125ff7e
bench(form-tx): deviation D1 draft and companion K1 figure
abrichr Nov 21, 2026
ed1280d
Merge remote-tracking branch 'origin/claude/form-gaps-integration' in…
abrichr Nov 21, 2026
7a2abea
bench(form-tx): re-pin to 72a6ad428 (D1), registered companion metric…
abrichr Nov 21, 2026
7c768ad
bench(form-tx): second held-out run, arms A and B raw rows
abrichr Nov 21, 2026
b21fb4a
bench(form-tx): dev-set rerun of the first four portals, arm B rows
abrichr Nov 21, 2026
f3fdcc2
bench(form-tx): second held-out run results, verdict rework; capabili…
abrichr Nov 21, 2026
d84e57c
ci(form-tx): rename the held-out answers file so CI does not read it …
abrichr Nov 21, 2026
fa26f69
fix(form-tx): a written field with no expected value and an empty sum…
abrichr Nov 21, 2026
7fbb893
docs(form-tx): say that 2 of the 5 wrong submits were flagged on othe…
abrichr Nov 21, 2026
dd78df9
fix(form-tx): absent-evidence-as-success and partial-match-as-match, …
abrichr Nov 21, 2026
be4ee06
fix(form-tx): bind coverage to observations and save evidence (absent…
abrichr Nov 21, 2026
dff5bf0
fix(form-tx): save evidence and subject coverage at the signer (absen…
abrichr Nov 21, 2026
9106908
fix(form-tx): unblock CI checks and close commit/signer attribution gaps
abrichr Nov 21, 2026
5cd1c1d
fix(form-tx): scope commit confirmation to own page without failures …
abrichr Nov 21, 2026
026326e
fix(form-tx): require commit endpoint or lookup attribution and bind …
abrichr Nov 21, 2026
7e275d1
Merge remote-tracking branch 'origin/main' into HEAD
abrichr Nov 22, 2026
949e695
Merge remote-tracking branch 'origin/main' into fix-2429-local
abrichr Nov 22, 2026
0c61aaf
fix(form-tx): declare commit endpoints in the portal fixture packs
abrichr Nov 22, 2026
95d04ca
Merge commit '0c61aaf821c00ae50e918b948cbc9ea10f748b7c' into HEAD
abrichr Nov 22, 2026
251317d
test(form-tx): give the commit-confirmation fake page a url
abrichr Nov 22, 2026
cf768ad
fix(flow): read the top-frame tick probe's new shape in the frame-sco…
abrichr Nov 22, 2026
f56cbf4
fix(form-tx): count a page-text read-back as an observation for subje…
abrichr Nov 22, 2026
9b99046
fix(form-tx): one subject per radio group, and the receipt counts aut…
abrichr Nov 22, 2026
6db50ad
test(form-tx): declare each fixture's commit endpoint; submit handler…
abrichr Nov 22, 2026
7220615
fix(form-tx): a 2xx save answer stands when the page leaves before th…
abrichr Nov 22, 2026
1067e97
fix(form-tx): check actuations against the ledger before signing; cou…
abrichr Nov 22, 2026
80b2e7e
Merge commit '1067e9756b99e60821c6a1e7325f630f319f67e8' into HEAD
abrichr Nov 23, 2026
89eed39
test(form-tx): submit handlers leave the page without reading the rep…
abrichr Nov 23, 2026
cfdb87b
fix(form-tx): answered-save state keyed by sequence, cut-off only on …
abrichr Nov 23, 2026
49062b5
Merge commit 'cfdb87bf8d8dd73fb7a5133a1b3e920421b75c93' into HEAD
abrichr Nov 23, 2026
18e772e
Merge remote-tracking branch 'origin/main' into HEAD
abrichr Nov 23, 2026
19d4763
fix(form-tx): pass the type-ahead query length through the actuation …
abrichr Nov 23, 2026
ef4f5cc
Merge remote-tracking branch 'origin/main' into HEAD
abrichr Nov 23, 2026
b813c50
Merge remote-tracking branch 'origin/main' into HEAD
abrichr Nov 23, 2026
116dd44
Merge remote-tracking branch 'origin/claude/form-tx-weekend' into HEAD
abrichr Nov 23, 2026
c5f58eb
ci(form-tx): rename the second held-out answers file so CI does not r…
abrichr Nov 23, 2026
cec5b34
fix(form-tx): the session keeps its own record of auto-filled control…
abrichr Nov 23, 2026
aea5f80
fix(form-tx): treat a missing read-back status as not checked in the …
abrichr Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,27 @@ f92237889163b242800c6aecd7c334c174ce4428:packages/flow/tests/test_connector_pilo
# relay test in one commit; not a credential. The test now draws a nonce from
# os.urandom at runtime.
e09ebaec9b380b8217471cccb4031511ac7c966e:packages/flow/tests/test_readiness_devtools_relay.py:generic-api-key:44
# PR #2429: sha256 digests of the synthetic held-out benchmark's answers file in
# MANIFEST.json, under the old "answer_key" names (renamed to answers.json and
# answers_sha256, so new commits no longer match). Digests, not keys.
36be56dcd6fdc9adc97567bce272ab81d2a528ff:packages/flow/benchmark/form_tx_heldout/MANIFEST.json:generic-api-key:3
36be56dcd6fdc9adc97567bce272ab81d2a528ff:packages/flow/benchmark/form_tx_heldout/MANIFEST.json:generic-api-key:8
3146a82dd83641e83021d7034aaf03411c635555:packages/flow/benchmark/form_tx_heldout/MANIFEST.json:generic-api-key:3
3146a82dd83641e83021d7034aaf03411c635555:packages/flow/benchmark/form_tx_heldout/MANIFEST.json:generic-api-key:6
# PR #2453: the second synthetic held-out benchmark. MANIFEST.json lines 3 and 8 are
# sha256 digests under the old "answer_key" names (renamed to answers.json and
# answers_sha256). The rest are the synthetic fixture portals' made-up test
# passwords ("<portal>-test-pass-N") in the answers file and fixtures/portal_logins.json.
# Digests and fixture values, not keys.
d2d6883374d9984b0a14d6ce6a603ebfd4cdf8dc:packages/flow/benchmark/form_tx_heldout2/MANIFEST.json:generic-api-key:3
d2d6883374d9984b0a14d6ce6a603ebfd4cdf8dc:packages/flow/benchmark/form_tx_heldout2/MANIFEST.json:generic-api-key:8
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/fixtures/portal_logins.json:generic-api-key:4
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1001
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1044
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1089
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1151
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1202
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1255
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1298
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1350
de6a3bf88472bf34bc672cf0619484a72e4e22bb:packages/flow/benchmark/form_tx_heldout2/answer_key.json:generic-api-key:1393
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Fill a multi-step browser form or quote wizard from an intake record, including forms in same-origin iframes and open shadow roots, typed type-aheads, radio groups and two-step or in-page popup estimators; stop for an operator on a prefill that disagrees with the intake, a question the intake does not answer, a sign-in wall or session-expiry banner, or a control it cannot act on; submit once; and give every typed, selected or kept field a read-back verdict (`passed`, `failed` or `not_checked`), including from summaries shown as page text. A field it cannot read back is `not_checked`, never passed; such a submit ends `readback_incomplete` with no receipt ([#2449](https://github.com/OpenAdaptAI/OpenAdapt/pull/2449), [#2448](https://github.com/OpenAdaptAI/OpenAdapt/pull/2448), [#2440](https://github.com/OpenAdaptAI/OpenAdapt/pull/2440), [#2441](https://github.com/OpenAdaptAI/OpenAdapt/pull/2441), [#2447](https://github.com/OpenAdaptAI/OpenAdapt/pull/2447)) | On main, prototype; not on PyPI until Flow 3.4.0 ([#2308](https://github.com/OpenAdaptAI/OpenAdapt/pull/2308)) | Synthetic only, pre-registered. Four new held-out quote portals, 33 cases: 6 correct, 5 wrong submitted, all flagged after submit and none with a receipt, but 2 of the 5 (`fc-s02`, `gw-s04`) were flagged on other fields, not the wrong one, because the wrong control had no binding, 1 verified with a receipt; 15 of 18 trap cases stopped before submit but none of those then ended correct; 10 of 15 clean cases stopped. Verdict: rework. On the first four portals (now a dev set) 20 of 32 correct, 10 verified, and 2 receipts for wrong quotes, because a receipt covers only the fields the pack binds. A sign-in mid-quote can reset fields the layer does not re-check (caught by read-back). Rule proposals from repeated operator answers had no measured effect ([RESULTS](packages/flow/benchmark/form_tx_heldout2_run/RESULTS.md)) | `openadapt_flow/form_tx/`, [FORM_TX.md](packages/flow/docs/FORM_TX.md) |
12 changes: 12 additions & 0 deletions packages/flow/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@

### Fixes

- The form transaction layer (`form_tx`, an unreleased prototype until this
release) reads back every field it typed, selected or kept. Each one gets
a `passed`, `failed` or `not_checked` verdict; a field it cannot read back
(no read-back declared, the summary control missing or ambiguous, a failed
lookup, a value entered only in a popup) is `not_checked` and never
passed. A submit with any `not_checked` field ends `readback_incomplete`,
never `verified_done`, and gets no receipt. Before, fields typed in a popup
estimator had no verdict at all and such a run could end verified.
Popup inputs are also re-read just before the popup's apply button, and a
mismatch stops the run before apply. The side panel shows refuted and
incomplete runs as needing action. Measured on four held-out synthetic
quote portals: `benchmark/form_tx_heldout_run/RESULTS.md`.
- A FHIR searchset Bundle's `OperationOutcome` entry (`search.mode:
outcome`) is no longer read as a marker match. Packs can declare
`search_match` on the entry parent (Medplum uses `path: search.mode`,
Expand Down
68 changes: 68 additions & 0 deletions packages/flow/benchmark/form_tx_heldout/MANIFEST.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"description": "sha256 of every git-tracked file in benchmark/form_tx_heldout except this manifest",
"answers_sha256": "948f695aaddcb1d30db0316d1da6af73fce7adfa6b60dc5c5ef14edc8ec27227",
"files": {
"README.md": "4560673c356139432df7aabdd847c1bb9738c809deca3d19179dd3de252bc6e6",
"REFERENCE_RUNS.json": "d1e8e45d08034a9f8d9b074079c62f3b0124466f7e1b5ea76e07ef45841a4f35",
"__init__.py": "69614a328f302618c7716d3385c45f9c0a625760c550f26f672b83b4b6fbf403",
"answers.json": "948f695aaddcb1d30db0316d1da6af73fce7adfa6b60dc5c5ef14edc8ec27227",
"build_cases.py": "b6a160d872d5da846f4b33b7094406ba77b33e72f213ba36b4250d8e3f80af0c",
"case_defs.py": "739dea2780800e61c45907c805e28dd2516aee0e00894a9d068e7138d5217271",
"cases/cobalt/cr-dev.intake.json": "8a35cfe6bf1ec5d4a1db9c0cef2564189118a9cd6ee43b7bfec8c8aea209c549",
"cases/cobalt/cr-s01.intake.json": "a9b0a0cb916f7e86ed652ecf7cc3d0fc822a22717d7d629fec4f645132eeb57a",
"cases/cobalt/cr-s02.intake.json": "3ab22c68add6fab6eaa18c681ea5ba000055d8c33efd5d65504abf2e7ab15b89",
"cases/cobalt/cr-s03.intake.json": "467f163ef24fad0b72f6937d8397fde0063044f5cb9214f72487d6ad1a13e063",
"cases/cobalt/cr-s04.intake.json": "d6a2abfa61e9a5ea81a7435cfac80914e21512719b2ff3354de334d3632d37a2",
"cases/cobalt/cr-s05.intake.json": "1450df2f07996503304d128c1eb5fd9d2ba188f0567a026e78986afa4fae04f6",
"cases/cobalt/cr-s06.intake.json": "7722c302051b76d8ca674e2e4609154aa5f58d7adb9e006ed3a60918689bc0e7",
"cases/cobalt/cr-s07.intake.json": "f143cdc7b9894cb20a485406899468d6919da440489c0f6283decd386e86e6fa",
"cases/cobalt/cr-s08.intake.json": "303861f791995b094c464b05187f5ee14d7e7e2400a93c9149af172bbb2fe4c7",
"cases/harborline/hl-dev.intake.json": "91a31fc55550d2c39aeffa304cb39591b8b5308f3dc23e6ea1c93b969ad0a813",
"cases/harborline/hl-s01.intake.json": "16e160b4d45fc8b3113a3910bfc066393f5737d71a2ca323f7ff693cdfda455a",
"cases/harborline/hl-s02.intake.json": "d555266be4391d756c1826b59e5fc86407051f50fec0a14971c4663070f5a7f2",
"cases/harborline/hl-s03.intake.json": "97dbe846a7fbe02d2c8aab80e7b5354bf57a27a5ad7dd6002605823adef4fb50",
"cases/harborline/hl-s04.intake.json": "f768d5d27da0a2e8363c6dd390b75b2b5d3dd69c7aa343c8e305e11550758a89",
"cases/harborline/hl-s05.intake.json": "65ffb3fdeb05f9e153ade5e671c94e4b756023c139ecafc1597e56a80e40a03d",
"cases/harborline/hl-s06.intake.json": "5de480ca64181132c006001c7f19eef3bfaa09f1059e64766c756d0bf3da824a",
"cases/harborline/hl-s07.intake.json": "b4fed18286bac0b3feb4546b760df74c2e999c5a7cc70d27492d1fd24b0f895f",
"cases/harborline/hl-s08.intake.json": "54e21cb7521aa457c80e9fe07e2b2e3080eef2508c9a367c56315729962dd3f1",
"cases/harborline/hl-s09.intake.json": "d663341bb3322051970a4fa5bef7919214df50ef8894f736af53e5ad193ca10e",
"cases/pinecrest/pc-dev.intake.json": "52208d4d3c83047378a6c5f1ba96455bc9a91690a83e79d1178dbe46e3bbbdb9",
"cases/pinecrest/pc-s01.intake.json": "d863bb666c94253348cdd16d4a00f81866fd237876f095cd53f4228d1a9813c3",
"cases/pinecrest/pc-s02.intake.json": "85deea1bf1ed0d76b83e9d39e1c32a8cb70a32b2b36b801a802c6e852d9e0c47",
"cases/pinecrest/pc-s03.intake.json": "d881a9166111e49a64a65739103de827d5fee8779f8082d001d1b91f4d24e1d7",
"cases/pinecrest/pc-s04.intake.json": "9eb5373961619c0d7406cbec13d7fe8bc63cbac5d78ece507c9615cf3f8b3d09",
"cases/pinecrest/pc-s05.intake.json": "27c1765a7cfe1f0bb3fcd0d1ad0742cfbf67bf8c502a89ba22ee85d22b3cfd85",
"cases/pinecrest/pc-s06.intake.json": "b8bc166b03ece5758e2a678ca28e3a16e7ea72c67bbfd5c3481a034d074b5f90",
"cases/pinecrest/pc-s07.intake.json": "35e7033f9e5f06a0520854fe735df3fa86e965befa2223c6246ae2a33c652840",
"cases/pinecrest/pc-s08.intake.json": "5230992b6f65057425e167c8794222f044e1dd070b01b45f93a46b5fe35a0106",
"cases/tidewater/tw-dev.intake.json": "37300d5c23ed4f3f69f4c75c8ec05e3baedd70b14b20a99decf02f00919b8805",
"cases/tidewater/tw-s01.intake.json": "b9ccb838e7cef75b89ac474db55b868c6cedaae3cf3638b70304eb9bd9e4b834",
"cases/tidewater/tw-s02.intake.json": "16e5f58697dabe98c7c92413bbc10771342aa737aae4b4ef71affdc4c5d9c38c",
"cases/tidewater/tw-s03.intake.json": "352a984123bbac72898fa9529f1592dee64cfca4299dcba380911dfd5116e042",
"cases/tidewater/tw-s04.intake.json": "4660e96945a292f654ba5edd4bae6b8bf7c7617215533c07aca5ad2159113e05",
"cases/tidewater/tw-s05.intake.json": "f3128abf422e9054af739ab9b77b2c9439e2b956f0d313e877f592c8c97baf21",
"cases/tidewater/tw-s06.intake.json": "e2c95f488521a079e41c8a40733ded0ffbd5040b85149efa58fd03fe05711d2c",
"cases/tidewater/tw-s07.intake.json": "1e6f6493a45e849d7682838522953ec1d530a5846301dfd430c854e55e8212a3",
"cobalt.py": "47f94c03c9709a216f119ed4739fafcae82feb295f12dab8a4d9053e8db8c3a2",
"common.py": "e266495a186a2b0a29a445b58de4bc73a52da4e6c9e9e77248c3aaf1010db7c1",
"drivers/__init__.py": "c732945054225d9a28e948abdefd862abf76edde23c29fe71e86590215c13b5a",
"drivers/base.py": "6128d83baee6c8709609764af0540a3ddb788d4cd680cece7d0b95d6e5c2d9e2",
"drivers/cobalt.py": "d5528f2dd6c207312b7f213168933b3fea49b4c1d217317faf950447c60acd80",
"drivers/harborline.py": "d78ec672760d874ddc99934a2b7a05a99d1587ef327739ba5b5c4cebe63d2993",
"drivers/pinecrest.py": "ec7f388bab0170b9f23952ff57b2de1139018a07b87837137896c335b42d1799",
"drivers/tidewater.py": "f3046691cb5670df27191925d9b61fdd4b2a16a3688a0dfc3cc135d2727f001c",
"estimators.py": "795b85575e6caa2a80efab49e4d511e4e9a30d27f36283b341ae3306b9830d3c",
"fixtures/portal_logins.json": "237d3a7726284bac1310091400d20eb74e1fc1c44363e72d67a2a5f4d488cc6d",
"harborline.py": "13ea78283f9caa09f1f629239c43a6782e356d9c05a93b568adb8420a5808905",
"intake_vocabulary.json": "720c3ab2e612e24c693aea4da26748a578711a01c7c04592a3647026daf7cc43",
"make_manifest.py": "f33fca58a2f60651ac10bb0cb181f7b6574896b414c1d550f4e9797598ae37a5",
"naive_filler.py": "699d6c7eb62043adfdc82307e97fb5a5f1fae799dad6a1ae0ad3a60dbc060c43",
"pinecrest.py": "4b35ded5ad6551b2a7c6a3a5832807db62f8395c9ff9a7f51720c55eabbdd318",
"portals.py": "1cac1e25506832a194e1629f0d9cc3d06800e0ed43a3b8310bb354a90fadc683",
"reference_human.py": "1d0d5b93e86f22935049a3a168fb54aefaf633a6c3fc51c487b2c15756b03984",
"runner.py": "d155c511f361cb176cb9f3c34a31576e352e520ddaee71551284ef0084229381",
"scoring.py": "0563710efd99703e3c8895c9ddd856beb2f599e20ff8caf95e2c976c91c8e29f",
"tidewater.py": "1f6975ed43561fee75983787babbe4577bf66bdcd3b497bb19f2102e8de0cb39"
}
}
57 changes: 57 additions & 0 deletions packages/flow/benchmark/form_tx_heldout/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Held-out carrier quote portals

Four synthetic personal-lines quote portals for fictional carriers, served by
the Python standard library (`ThreadingHTTPServer`) with plain HTML and
vanilla JavaScript. They are a held-out benchmark for a form-filling layer:
the layer's authors may look only at each portal's `dev` case.

All names, people, addresses and policy numbers are invented.

| id | carrier | style |
|---|---|---|
| `harborline` | Harborline Mutual | legacy table-layout homeowners wizard, server-rendered, pop-up estimator window |
| `cobalt` | Cobalt Ridge Insurance | single-page auto quote, div/ARIA widgets, async type-ahead listboxes |
| `pinecrest` | Pinecrest Assurance | homeowners app inside an iframe, full re-render on change, modal estimator |
| `tidewater` | Tidewater Bay Insurance | home + auto bundle, shadow-DOM custom elements |

## Using a portal

```python
from benchmark.form_tx_heldout.portals import PORTALS
from benchmark.form_tx_heldout.scoring import score_case

spec = PORTALS["harborline"]
server, base_url = spec.start() # host="127.0.0.1", port=0
# POST {base_url}/__oracle/load_case {"case_id": "<case>"} (resets first)
# drive the browser from base_url + spec.entry_path; sign in with spec.login
# GET {base_url}/__oracle/submissions -> list of stored records
result = score_case("<case>", records)
server.shutdown()
```

`spec.cases` lists the scored cases in the order they must be run.
`spec.dev_case` is the one inspectable case. Intakes are in
`cases/<portal>/<case_id>.intake.json`. Test sign-in credentials are in
`fixtures/portal_logins.json` and in `spec.login`.

Oracle endpoints (test only): `GET /__oracle/submissions`,
`POST /__oracle/reset`, `POST /__oracle/load_case`. Every submission is
stored, including repeats.

## Scoring

`scoring.py` documents the normalization and the result fields.
`answers.json` (named `answer_key.json` until 2026-11-21; renamed because CI
treats any file named like a key as key material; contents and sha256 unchanged) holds, per case, `expected_record` (every non-metadata
field the portal stores), `expected_behavior`, `also_acceptable`, `traps`
and `operator_script` (keyed by visible label and by canonical key, plus
`session_login`). `case_defs.py` documents the behavior labels.

## Reference fillers

`reference_human.py` (careful human, from the answer key) and
`naive_filler.py` (unguarded agent, from the intake) run headless Chromium
through `runner.py`; results are in `REFERENCE_RUNS.json`.
`tests/test_form_tx_heldout_portals_selfcheck.py` checks the key, the
scorer and the reference run. `MANIFEST.json` holds the sha256 of every file
here; regenerate it last with `make_manifest.py`.
Loading
Loading