1. ECTD
  2. AI News
  3. News
  4. TEA-Bench-BR: Can Coding Agents Turn a Branching Clinical Specification into Correct Code?

arXiv cs.AI · 21 Nov 2026, 03:35 AEST

TEA-Bench-BR: Can Coding Agents Turn a Branching Clinical Specification into Correct Code?

normalaitech

TEA-Bench-BR is a benchmark of 144 coding tasks built on a fictitious Brazilian autism screening pathway, specified in Portuguese. With Gemma 4 as the agent, the 31B model solves 77.8%, 85.2%, and 78.7% of tasks at levels 1 to 3, while the 12B model misses 10.10% of referral cases against 0.02% for the 31B.

Key facts

  • We introduce TEA-Bench-BR, a benchmark built on the Brazilian pathway for early autism (TEA) screening: three fictitious instruments with the structure of real ones, a multi-professional referral flow, and export to FHIR R4 with the national RNDS profiles, all specified in Portuguese.
  • A generator samples each task's parameters (144 tasks, 6,798 hidden cases), and the hidden cases kill all 1,955 non-equivalent mutants of the reference.
  • With Gemma 4 as the agent, the 12B solves 38.0% of single-instrument tasks and none at the FHIR level; the 31B solves 77.8%, 85.2% and 78.7% at levels 1 to 3 and passes over 99% of the hidden cases, its remaining failures mostly in input validation rather than clinical decisions.
  • The 12B misses 10.10% of the cases that call for referral; the 31B, 0.02%.
  • A contamination probe on a modified PHQ-9 finds no error that follows the original rules.

Read aloud

TEA-Bench-BR is a benchmark of one hundred forty four coding tasks built on a fictitious Brazilian autism screening pathway, specified in Portuguese. With Gemma four as the agent, the 31B model solves seventy seven point eight percent, eighty five point two percent, and seventy eight point seven percent of tasks at levels one to three, while the 12B model misses ten point one zero percent of referral cases against zero point zero two percent for the 31B. We introduce TEA-Bench-BR, a benchmark built on the Brazilian pathway for early autism TEA screening: three fictitious instruments with the structure of real ones, a multi-professional referral flow, and export to FHIR R4 with the national RNDS profiles, all specified in Portuguese. A generator samples each task's parameters one hundred forty four tasks, six thousand seven hundred ninety eight hidden cases, and the hidden cases kill all one thousand nine hundred fifty five non-equivalent mutants of the reference. With Gemma four as the agent, the 12B solves thirty eight point zero percent of single-instrument tasks and none at the FHIR level; the 31B solves seventy seven point eight percent, eighty five point two percent and seventy eight point seven percent at levels one to three and passes over ninety nine percent of the hidden cases, its remaining failures mostly in input validation rather than clinical decisions. The 12B misses ten point one zero percent of the cases that call for referral; the 31B, zero point zero two percent. A contamination probe on a modified PHQ-nine finds no error that follows the original rules.

Sources in this cluster

Free daily email

Get AI news, checked against sources

One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.

We email a confirmation link first. Pro and API plans