TEA-Bench-BR
A benchmark for coding agents built on the Brazilian autism screening clinical pathway, covering multi-specialty referral flows and FHIR R4/RNDS data export, used to evaluate agents' ability to translate branching clinical specifications into correct code.
Timeline (last 90 days)
TEA-Bench-BR is a coding agent benchmark built on the Brazilian early autism screening pathway, comprising three fictional scales, a multi-specialty referral process, and a component that exports to FHIR R4 and the national RNDS profile, with all specifications written in Portuguese.
TEA-Bench-BR contains 144 tasks and 6,798 hidden test cases.
The 6,798 hidden test cases of TEA-Bench-BR are able to kill all 1,955 non-equivalent mutants of the reference implementation.
The tasks of TEA-Bench-BR are divided into three levels: the first level targets a single scale, the second level involves referral workflows, and the third level requires exporting data that conforms to the FHIR R4 and RNDS profiles.
Tested with the Gemma 4 12B model as the agent, it solved 38.0% of the single-scale tasks but succeeded on none at the FHIR level.
Tested with the Gemma 4 31B model as the agent, its solve rates at the three levels were 77.8%, 85.2% and 78.7%, respectively, and it passed more than 99% of the hidden test cases.
Most of the remaining failures of the Gemma 4 31B model occurred in input validation rather than in the clinical decisions themselves.
When the same tasks were presented in English, the solve rate of the Gemma 4 31B model at the third level dropped to 57.4%, because its code validated identifiers less frequently.
When the same tasks were presented in English, the Gemma 4 12B model validated identifiers more frequently (the opposite of the 31B).
Among the cases requiring referral, the Gemma 4 12B model missed 10.10% of cases, while the Gemma 4 31B model missed only 0.02%.
1 more timeline events
All Facts (11)
TEA-Bench-BR is a coding agent benchmark built on the Brazilian early autism screening pathway, comprising three fictional scales, a multi-specialty referral process, and a component that exports to FHIR R4 and the national RNDS profile, with all specifications written in Portuguese.
50%UnverifiedTEA-Bench-BR contains 144 tasks and 6,798 hidden test cases.
50%UnverifiedThe 6,798 hidden test cases of TEA-Bench-BR are able to kill all 1,955 non-equivalent mutants of the reference implementation.
50%UnverifiedThe tasks of TEA-Bench-BR are divided into three levels: the first level targets a single scale, the second level involves referral workflows, and the third level requires exporting data that conforms to the FHIR R4 and RNDS profiles.
50%UnverifiedTested with the Gemma 4 12B model as the agent, it solved 38.0% of the single-scale tasks but succeeded on none at the FHIR level.
50%UnverifiedTested with the Gemma 4 31B model as the agent, its solve rates at the three levels were 77.8%, 85.2% and 78.7%, respectively, and it passed more than 99% of the hidden test cases.
50%UnverifiedMost of the remaining failures of the Gemma 4 31B model occurred in input validation rather than in the clinical decisions themselves.
50%UnverifiedWhen the same tasks were presented in English, the solve rate of the Gemma 4 31B model at the third level dropped to 57.4%, because its code validated identifiers less frequently.
50%UnverifiedWhen the same tasks were presented in English, the Gemma 4 12B model validated identifiers more frequently (the opposite of the 31B).
50%UnverifiedAmong the cases requiring referral, the Gemma 4 12B model missed 10.10% of cases, while the Gemma 4 31B model missed only 0.02%.
50%UnverifiedContamination probing on a modified PHQ-9 scale found no errors caused by following the original rules, indicating that the benchmark results are unlikely to come from memorization of the training data.
50%