---
title: "TEA-Bench-BR: Can Coding Agents Turn a... | SI Paper Desk"
url: https://thesimind.si/papers/2611.27895/
description: "TEA-Bench-BR tests whether coding agents can turn Portuguese clinical rules for autism screening into correct code, and Gemma 4 31B does far better than 12B."
---

Number 8 of 12 · November 24, 2026

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

TEA-Bench-BR tests whether coding agents can turn Portuguese clinical rules for autism screening into correct code, and Gemma 4 31B does far better than 12B.

Marcio Andre de Souza Estevam · Submitted November 20, 2026 · arXiv 2611.27895v1 · cs.SE

[Read the paper on arXiv](https://arxiv.org/abs/2611.27895) · [The PDF](https://arxiv.org/pdf/2611.27895) · [The day's 12](https://thesimind.si/papers/day/2026-11-24/)

## What they found

The author built a benchmark on the Brazilian pathway for early autism (TEA) screening. It has three fictitious screening instruments, a referral flow across professionals, and export to FHIR R4 (a health data format) with national RNDS profiles. It has 144 tasks and 6,798 hidden test cases, and the hidden cases catch all 1,955 non-equivalent mutants (deliberately broken versions) of the reference code. 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 hidden cases, with most failures in input validation rather than clinical decisions. In English, the 31B solves 57.4% at level 3. The 12B misses 10.10% of cases that call for referral, against 0.02% for the 31B.

## Why it matters

Bugs in rule-based clinical code are silent. The code runs and gives a plausible answer, so they are easy to miss. This benchmark gives a way to measure that risk in a setting that is not in English. The results suggest model size matters a lot here, and that missed referrals are the failure to watch. The abstract does not say how other models would score.

## How it changes the race

This is a niche benchmark, not a change in capability. It could help builders check whether smaller, cheaper models are safe enough for domain-rule coding, and it shows a gap between the 12B and 31B models.

## Safety and control

The 12B model misses 10.10% of cases that need referral, which would be a real harm in clinical use. Passing most tests is not enough, so independent hidden tests and human review of such code still matter. A contamination probe on a modified PHQ-9 found no error that follows the original rules.

### The abstract, by the authors

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.

Quoted from arXiv:2611.27895. The research and its words belong to its authors.

Desk score **73** out of 100

Why it was picked

- Frontier lab: Google
- Agents (in the title)
- Evals
- Cross-listed in 3 fields

Topics

- [Benchmarks](https://thesimind.si/papers/?tag=benchmarks)
- [Code](https://thesimind.si/papers/?tag=code)
- [Agents](https://thesimind.si/papers/?tag=agents)
- [Health](https://thesimind.si/papers/?tag=health)
- [Evals](https://thesimind.si/papers/?tag=evals)
- [Language models](https://thesimind.si/papers/?tag=language-models)

**arXiv ID:** 2611.27895v1
**Submitted:** November 20, 2026
**Fields:** cs.SE (Software Engineering), cs.AI (Artificial Intelligence), cs.CL (Computation and Language)
**Level:** Intermediate
**Comments:** 7 pages, 2 figures. Submitted to the Google Gemma 4 Developer Agent Paper Track (Kaggle, November 2026). Benchmark, code and results: [https://doi.org/10.5281/zenodo.24143388](https://doi.org/10.5281/zenodo.24143388)

Fingerprint, SHA-256

`fe9d1fc6a2175a3a3a300bc4cbf35bbd7ca060864243599e2410abc204d0aad5`

In SI MIND's journal since Nov 24, 2026, 01:45 UTC. It goes on Solana with the next hourly Proof of Mind seal.

### The exact text fingerprinted

{"arxiv":"2611.27895","version":1,"title":"TEA-Bench-BR: Can Coding Agents Turn a Branching Clinical Specification into Correct Code?","authors":["Marcio Andre de Souza Estevam"],"day":"2026-11-24","rank":8,"score":73,"status":"written","summary":{"takeaway":"TEA-Bench-BR tests whether coding agents can turn Portuguese clinical rules for autism screening into correct code, and Gemma 4 31B does far better than 12B.","found":"The author built a benchmark on the Brazilian pathway for early autism (TEA) screening. It has three fictitious screening instruments, a referral flow across professionals, and export to FHIR R4 (a health data format) with national RNDS profiles. It has 144 tasks and 6,798 hidden test cases, and the hidden cases catch all 1,955 non-equivalent mutants (deliberately broken versions) of the reference code. 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 hidden cases, with most failures in input validation rather than clinical decisions. In English, the 31B solves 57.4% at level 3. The 12B misses 10.10% of cases that call for referral, against 0.02% for the 31B.","matters":"Bugs in rule-based clinical code are silent. The code runs and gives a plausible answer, so they are easy to miss. This benchmark gives a way to measure that risk in a setting that is not in English. The results suggest model size matters a lot here, and that missed referrals are the failure to watch. The abstract does not say how other models would score.","race":"This is a niche benchmark, not a change in capability. It could help builders check whether smaller, cheaper models are safe enough for domain-rule coding, and it shows a gap between the 12B and 31B models.","safety":"The 12B model misses 10.10% of cases that need referral, which would be a real harm in clinical use. Passing most tests is not enough, so independent hidden tests and human review of such code still matter. A contamination probe on a modified PHQ-9 found no error that follows the original rules.","level":"intermediate","tags":["benchmarks","code","agents","health","evals","language-models"]}}

[Check it on Verify a thought](https://thesimind.si/proof-of-mind/)

## The authors

Marcio Andre de Souza Estevam

Credit for this research belongs to its authors. SI MIND's page is a plain-English reading of their abstract on arXiv, not a review of the full paper.

Related on the desk

## More papers on these topics

[Nov 23, 2026 · Number 4EDAGoat: An EDA-Aware Agent for Project-Level GPU OptimizationEDAGoat, a coding agent that knows chip-design rules, found further GPU speedups in expert-tuned tools. Forcing it to validate its edits is what kept results correct.AgentsCodeEfficiency](https://thesimind.si/papers/2611.27196/) · [Nov 12, 2026 · Paper of the DayComparative Analysis of Agent Evaluation Frameworks: Stability, Detection, and Discovery in Enterprise Analytics AgentsIn a controlled test of three ways to check enterprise analytics agents, the method that sees the agent's full step-by-step trace caught failures best, and security red-teaming found different problems than functional testing.EvalsAgentsBenchmarks](https://thesimind.si/papers/2611.14493/) · [Nov 12, 2026 · Number 2AgentScript-Eval: Benchmarking LLMs and Agents for Code Generation in an Enterprise DSLOn a new benchmark for a private Salesforce agent language, SI models mostly fail zero-shot, and the setup around the model, like a compile-and-edit loop and clear guidance, mattered more than model size.BenchmarksCodeAgents](https://thesimind.si/papers/2611.13183/)

[Number 7](https://thesimind.si/papers/2611.27326/) · [All 12 for Nov 24, 2026](https://thesimind.si/papers/day/2026-11-24/) · [Number 9](https://thesimind.si/papers/2611.27348/)
