---
title: "TEA-Bench-BR: Can Coding Agents Turn a Branching Clinical Specification into Correct Code?"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.27895v1"
permalink: "https://feed.astralor.com/items/itm_808785e0ce7d2f2d74389ffe"
published: "2026-11-20T17:35:59.000Z"
score: 55
channel: "ai"
tags: ["AI Agent","TEA-Bench-BR","Can Coding Agents","Turn","Branching Clinical Specification","Correct Code","Coding","Brazilian"]
---

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

## At a glance

Coding agents increasingly implement rules written by domain experts, and bugs in such code are silent: it runs and returns a plausible answer. We introduce TEA-Bench-BR, a benchmark built on the Brazilian pathway for e…

## Key points

- Coding agents increasingly implement rules written by domain experts, and bugs in such code are silent: it runs and returns a plausible answer.
- 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 FHI…
- 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.

## Full text

Coding agents increasingly implement rules written by domain experts, and bugs in such code are silent: it runs and returns a plausible answer. 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. With the same tasks in English, the 31B solves 57.4% at level 3, as its code validates an identifier less often; the 12B's, more often. 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.

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_808785e0ce7d2f2d74389ffe
