Skip to content

feat: add post 'We re-ran it on a real EMR' (OpenEMR head-to-head)#10

Draft
abrichr wants to merge 2 commits into
mainfrom
post/openemr-benchmark
Draft

feat: add post 'We re-ran it on a real EMR' (OpenEMR head-to-head)#10
abrichr wants to merge 2 commits into
mainfrom
post/openemr-benchmark

Conversation

@abrichr

@abrichr abrichr commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Short follow-up post to the-500th-run:

  • Recaps the MockMed benchmark in two sentences, then explains why a result on our own demo app deserved skepticism.
  • Presents the OpenEMR public-demo head-to-head: both arms 100% (compiled 20/20 at 39.2s p50 / $0; claude-sonnet-5 computer-use 10/10 at 70.4s p50 / $0.5522/run at list). Framing is explicit that the agent did NOT fail — repetition cost (500-run arithmetic), determinism, and auditability are the differentiators.
  • Full caveats section: shared mutable demo, not CI-reproducible (MockMed stays the anchor), agent N=10 with wide error bars, OCR undercount, model pinned, one-minute demonstration required, and the 4/5 → closed-loop-scrolling → 5/5 history with the pencil-icon geometry residual soft spot.
  • Engineering aside on cost guardrails ($1.50/run cap, $8.00 arm ceiling, preflight call) and the ~30% prompt-cache hit rate (563,928 read vs 1,317,803 write tokens) limited by 3-screenshot history truncation.
  • Links openadapt-flow repo, benchmark/openemr/BENCHMARK.md, and docs/showcase-openemr/FINDINGS.md.

Does not touch the original post. Chart is the latency_cost.png generated by the benchmark run.

Dependencies

Linked files (benchmark/openemr/BENCHMARK.md, docs/showcase-openemr/FINDINGS.md) land on openadapt-flow main with OpenAdaptAI/openadapt-flow#11 (awaiting review). Do not merge/publish this before that one.

Test plan

  • hugo build passes locally with the new post
  • Preview: table, image, and internal link to /posts/the-500th-run/ render
  • Verify GitHub links resolve after openadapt-flow#11 merges

🤖 Generated with Claude Code

https://claude.ai/code/session_01CKrVJJy5jWVCkXAqgUqtqZ

abrichr and others added 2 commits July 8, 2026 17:58
Follow-up to the-500th-run: same compiled-vs-agent head-to-head on the
official OpenEMR public demo. Both arms 100% (20/20 vs 10/10); compiled
1.8x faster at p50 (39.2s vs 70.4s), 0 vs ~24 model calls/run, $0 vs
$0.5522/run at list. Framing: agents don't fail on real apps — repetition
cost, determinism, and auditability are the differentiators. Full caveats
disclosed (shared mutable demo, N=10, OCR undercount, model pinned,
demonstration required), plus an engineering aside on cost guardrails and
the ~30% prompt-cache hit rate under screenshot truncation.

Numbers from openadapt-flow benchmark/openemr/results.json (2026-07-08).
Does not modify the original post.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKrVJJy5jWVCkXAqgUqtqZ
Add the run-20 nuance to the caveats section: postconditions flagged
drift on the final step, the arm-independent OCR check verified the
note saved, and halting on drift is what safe failure looks like on a
live shared instance. Matches the BENCHMARK.md disclosure; headline
numbers unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKrVJJy5jWVCkXAqgUqtqZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant