All environments

Healthcare Revenue Cycle

ELECTRONIC REMITTANCE ADVICE835CLAIMCODECHARGEADJREMARKLFC-20899213500.00CO-16M127LFC-20881003650.00CO-16M127DEPOSIT

Clinic payment posting and patient billing in OpenEMR

53 tasks · Harbor, ADP · Free sample: bp-01

Finding
On 9 of the 11 billing tasks, GPT-6.2 Astra passed 44 of 44 trials and Claude Opus 5.5 passed 24 of 55. On bp-01 both fail: Claude Opus 5.5 0 of 8, GPT-6.2 Astra 0 of 5. bp-65 (bp-01 plus the payer’s 90-day filing line): GPT-6.2 Astra passes 6 of 16 (95% CI 17–62%); with a hint naming the claim’s treatment, 4 of 4. On 24 November a grader change began allowing a free-text billing note. On the first 10 billing tasks, 24 GPT-6.2 Astra trials were graded under both rules: 1 of 24 passed before, 22 of 24 after. 25 more were graded only under the new rule. No Claude Opus 5.5 result changed.
Example
bp-01: an insurer denies a $1,150 claim because information is missing (code CO-16). The correct posting leaves the denial open for correction and resubmission; Claude Opus 5.5 writes the balance off.
Control
With the rule stated in the prompt, Claude Opus 5.5 passed 22 of 22 control trials (10 tasks).
Why it matters
On the same long job in real billing software, the two models end far apart; bp-01 and bp-65 are hard for both.
Action on the $1,150 denialOutcome for the clinic
Leave the denial open for correction and resubmission (correct)$1,150 still owed by the insurer
Write the balance off (Claude Opus 5.5)$1,150 written off
bp-01, claim LFC-208: the same denial, two actions.

32%

Claude Opus 5.5 pass@1, 11 tasks (95% CI 15–51%)

8of 11

tasks solved sometimes: a training signal

22of 22

control trials passed (rule stated)

53

tasks to license

01 Summary

The agent posts an insurer’s electronic remittance advice (ERA, the payment file) in OpenEMR 8.4.1, real open-source practice-management software, across 22 to 36 visits. Then it reports what each patient owes. A deterministic grader checks the final database.

Claude Opus 5.5 posts payments, takebacks (an insurer reclaiming an earlier payment) and refunds correctly, then writes off denials the insurer still owes, such as CO-16 (missing information), which a biller corrects and resubmits.

bp-65 (bp-01 plus the payer’s 90-day filing line): GPT-6.2 Astra passes 6 of 16 (95% CI 17–62%); with a hint naming the claim’s treatment, 4 of 4. Its failure: it writes off LFC-208’s $1,150 CO-16 / M127 denial instead of leaving it open for resubmission. Claude Opus 5.5 passed 0 of 4 (95% CI 0–45%).

Figure 1. pass@1 per task in OpenEMR, Claude Opus 5.5 at max effort; the last bar is the controls.
pass@1 per task in OpenEMRClaude Opus 5.5 passed 24 of 67 scored trials over 11 tasks. Controls passed 22 of 22.bp-01, 8 trials, 0%, 0/8 passedbp-10, 5 trials, 20%, 1/5 passedbp-12, 5 trials, 40%, 2/5 passedbp-24, 5 trials, 0%, 0/5 passedbp-31, 5 trials, 20%, 1/5 passedbp-32, 5 trials, 40%, 2/5 passedbp-46, 18 trials, 61%, 11/18 passedbp-28, 4 trials, 50%, 2/4 passedbp-39, 4 trials, 75%, 3/4 passedbp-49, 4 trials, 50%, 2/4 passedbp-65, 4 trials, 0%, 0/4 passedControls, rule stated, 100%, 22/22 passed
pass@1 per task in OpenEMR
TaskTrialspass@1Passed
bp-018 trials0%0/8
bp-105 trials20%1/5
bp-125 trials40%2/5
bp-245 trials0%0/5
bp-315 trials20%1/5
bp-325 trials40%2/5
bp-4618 trials61%11/18
bp-284 trials50%2/4
bp-394 trials75%3/4
bp-494 trials50%2/4
bp-654 trials0%0/4
Controlsrule stated100%22/22
Claude Opus 5.5 at max effort in Claude Code, from 31 October to 25 November 2026. pass@1 is the mean of the per-task pass rates. 95% CI: percentile bootstrap over tasks, then over trials within each task (10,000 resamples), so trials of the same task are not treated as independent.

02 Results

Table 1. Results per task in OpenEMR, Claude Opus 5.5 at max effort.
TaskTrialsapass@1FailedControlbMin / trial$ / trialc
bp-01Post an insurer ERA across 36 visits (sample task)80/8 0%82/224.7$12.59
bp-10Post a Medicaid ERA across 30 visits51/5 20%42/225.3$9.26
bp-12Medicaid ERA, new seed (30 visits)52/5 40%32/228.2$10.79
bp-24Medicaid ERA, new seed (35 visits)50/5 0%52/224.5$9.83
bp-31Medicaid ERA, new seed (30 visits)51/5 20%42/225.0$10.07
bp-32Medicaid ERA, new seed (35 visits)52/5 40%32/228.4$10.81
bp-46Medicaid ERA, new seed (22 visits)1811/18 61%74/421.6$8.68
bp-28Medicaid ERA, new seed (25 visits)42/4 50%22/221.9$8.14
bp-39Medicaid ERA, new seed (30 visits)43/4 75%12/224.1$10.02
bp-49Medicaid ERA, new seed (32 visits)42/4 50%22/226.8$9.51
bp-65bp-01 plus the payer’s 90-day filing line40/4 0%427.3$14.52
All 11 tasks6724/67 32% (95% CI 15–51%)4322/2224.5$10.14
  1. aScored trials: max-effort passes and max-effort failures labeled as the model's. Excluded whatever their result: trials hit by infrastructure or setup errors, trials at default effort, failures not yet labeled, and trials where the update never met a write, which the grader cannot judge.
  2. bControl: the same week with the billing rule stated in the prompt. Blank: no scored control trial.
  3. cMean per scored trial, as reported by Claude Code. Minutes are wall-clock.
Table 2. Scored trials at max effort, passes out of trials, on the 11 tasks in OpenEMR with scored GPT-6.2 Astra trials. Each model is scored on its own trials.
TaskClaude Opus 5.5 (Claude Code)GPT-6.2 Astra (Codex CLI)b
bp-010/80/5
bp-101/55/5
bp-122/55/5
bp-240/55/5
bp-311/55/5
bp-322/55/5
bp-4611/185/5
bp-282/45/5
bp-393/45/5
bp-492/44/4
bp-650/46/16
All 11 tasks24/6750/65
  1. bRule change, 24 November 2026 (v1.5.0): a free-text note in a visit's billing-note field is allowed. On the first 10 billing tasks, 24 GPT-6.2 Astra trials were graded under both rules: 1 of 24 passed before, 22 of 24 after. 25 more were graded only under the new rule. No Claude Opus 5.5 verdict changed (CHANGELOG 1.5.0).
  2. Mean estimated cost and time per scored trial: Claude Opus 5.5 $10.14 and 24.5 min; GPT-6.2 Astra $2.36 and 7.0 min.

03 Task construction

Environment

Software
Unmodified OpenEMR 8.4.1 and MariaDB 11.8 from the official Docker images, pinned by digest.
Clinic
A synthetic family clinic with 4 staff, 30 patient charts and 70 visits. Each task seeds its own visits and ERA, with the office documents in the agent’s workspace.
Interface
OpenEMR has no REST route for payments, so the agent posts through OpenEMR’s own billing forms.
Data
Every patient, payer and payment record is synthetic. No real health data.

Evaluation setup

Models
Claude Opus 5.5 in Claude Code and GPT-6.2 Astra in Codex CLI, both at max effort. Each model runs in its own vendor harness, so model and harness effects are combined.
Limits
60 minutes per trial, in an isolated sandbox.
Trials
4 to 18 scored trials per task, from 31 October to 25 November 2026.
Scoring
A trial passes only if every grader check passes. pass@1 is the mean over tasks of each task’s pass rate.
Command guard
Blocked commands get a refusal message. In 31 of the 37 scored trials run before 24 November it read “Blocked by the benchmark: …”; the shipped package says “Blocked by the office IT policy: …”.

Grading

  • A deterministic grader compares the OpenEMR database before and after the trial and reads the Bill/Collect message the agent writes. No LLM judge.
  • A trial passes only if every required posting is made and no forbidden change is (82 checks in bp-01).

Quality control

  1. 1Oracle: the reference solution passes every check on a fresh database.
  2. 2No-op baseline: an agent that does nothing scores 0.
  3. 3Known-incorrect solutions: 4 to 7 scripted, plausible mistakes per task, each failing a named check.
  4. 4Every scored failure is labeled the model’s under the release’s written fairness check. Most labels come from an AI judge, Claude Opus 5.5: the same model being scored.

Seeded instances

A seeded instance rebuilds a measured task with new patients, visits, amounts and ERA file. Every instance passes the automated oracle, no-op, known-incorrect and cheat-script checks; 1 to 3 per task were run at max effort as a spot-check before release, and those all failed; later runs on kept billing instances passed 1 of 6. A task whose sampled instances pass 2 of 3 is dropped with all its instances.

04 Failure modes

A correctable denial written off “as the ERA says”

The request
Sent: Tuesday 27 October 2026, 09:05. Today in the office is Tuesday 27 October 2026; your computer’s clock does not apply.Subject: Fund ERA 0049-771203The Fund’s payment for its ERA of 23 October reached the bank yesterday (EFT 0049-771203, in the documents). Sam is off until next week, so please post it in OpenEMR, as one deposit for the EFT, so that every visit shows what is really still owed on it.Then send me one OpenEMR message, title “Bill/Collect”, with one line for every visit the ERA touches (claims and provider-level lines alike), in this form: LFC-<visit> PATIENT OWES <amount>, LFC-<visit> REFUND PATIENT <amount>, LFC-<visit> NOTHING DUE.It goes straight onto Friday’s patient statements and refund run. It’s the usual: post what the ERA says, and what’s left is billed minus paid minus adjustments.Morganbp-01, manager email (task.md), in full
The obvious move
Visit LFC-208 came back as a whole-claim CO-16 denial (missing information). Write off the $1,150 balance so the visit shows nothing due.
What it misses
CO-16 means correct and resubmit. The insurer still owes the balance once the claim is fixed, so nothing is written off, and the patient owes nothing.From the trial reviews7 of 8 failed trials missed only this check; takebacks, refunds and all 36 message lines were right.From one trial’s report: “LFC-208’s CO-16 denial was written off, since the patient isn’t liable.”

bp-01: 0 of 8 trials passed. Its control (bp-01c, rule stated) passed 2 of 2.

Across the 27 failed trials reviewed in detail (before 24 November)

Table 3. Every failed trial wrote off at least one denial that a biller would correct and resubmit.
BehaviorTrials
Wrote off at least one denial that must stay open27 of 27
Wrote off a CO-197 denial (missing authorization) while the clinic’s authorization log showed it approved, by the failed grader checks (13 of the reviews name the code)17 of 27
Also marked the insurer’s part of the visit as done7 of 27

05 Access

Table 4. 53 tasks to license: the 11 measured tasks below and 42 seeded instances. pass@1 per model as passes / scored trials, each model on its own trials, at max effort.
TaskWhat it testsTrialsClaude Opus 5.5 pass@1GPT-6.2 Astra pass@1Claude Fable 5.2 pass@1aControl
bp-01Post an insurer ERA across 36 visits (sample task)130/80/5–2/2
bp-10Post a Medicaid ERA across 30 visits101/55/5–2/2
bp-12Medicaid ERA, new seed (30 visits)102/55/5–2/2
bp-24Medicaid ERA, new seed (35 visits)100/55/5–2/2
bp-31Medicaid ERA, new seed (30 visits)101/55/5–2/2
bp-32Medicaid ERA, new seed (35 visits)102/55/5–2/2
bp-46Medicaid ERA, new seed (22 visits)2711/185/54/44/4
bp-28Medicaid ERA, new seed (25 visits)92/45/5–2/2
bp-39Medicaid ERA, new seed (30 visits)93/45/5–2/2
bp-49Medicaid ERA, new seed (32 visits)82/44/4–2/2
bp-65bp-01 plus the payer’s 90-day filing line240/46/164/44/4 (GPT-6.2 Astra)
  1. aClaude Fable 5.2: runs of 24 and 25 November, not yet in a tagged release.
  2. Control: the same task with a one-sentence hint. Seeded instances: 42 new seeds of measured tasks (21 of bp-24, 21 of bp-31).
License
Evaluation licenses available now. Training and exclusive licenses on request.
Held-out set
10 of the 53 tasks and seeded instances to license (about 20%, stratified by task family, fixed seed) are reserved for scoring; the split was drawn after the tasks were built and measured. They are part of the tasks to license: score on them, do not train on them. Held-out task IDs are shared with licensees. bp-01, the free sample, is outside the held-out set.
Method
The full method, run log and known limits ship with the task package.
Formats
Harbor task directories (the Harbor eval framework’s task format) and Agent Data Protocol records (ADP v1.3.1, a standard schema for agent trajectories) for every task, on Docker (OpenEMR and MariaDB).
Free sample
bp-01 as JSON: prompt, grader summary and scored results. Documents, Docker setup, grader code and reference solution ship under license.
Contamination
Task files carry a canary string, so leaks into public data can be detected.

Price on request

More environments