TEA-Bench-BR:编程智能体能否把分支化临床规范转成正确代码?
TEA-Bench-BR: Can Coding Agents Turn a Branching Clinical Specification into Correct Code?
AI 导读
研究者推出 TEA-Bench-BR 基准,基于巴西 TEA(自闭症)早期筛查路径,包含 144 个任务、6,798 个隐藏测试用例,可杀死参考实现的全部 1,955 个非等价变异体。
正文 · 原文
Abstract: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.
| Comments: | 7 pages, 2 figures. Submitted to the Google Gemma 4 Developer Agent Paper Track (Kaggle, November 2026). Benchmark, code and results: this https URL |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| ACM classes: | D.2.5; J.3 |
| Cite as: | arXiv:2611.27895 [cs.SE] |
| (or arXiv:2611.27895v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2611.27895 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Marcio Estevam [view email]
[v1]
Fri, 20 Nov 2026 17:35:59 UTC (257 KB)
来源:arXiv cs.AI · arxiv.org