Where language models fail on codes
AECBench: A Hierarchical Benchmark for Knowledge Evaluation of Large Language Models in the AEC Field
Evidence & evaluationCompliance & code checkingDocument intelligence

What it proposes
AECBench tests nine language models on 4,800 engineer-written AEC questions, from recalling a clause to drafting a document.
Why it is here
It locates the failure. The models recall and explain code text well, then drop on tables, multi-step calculations and document writing. The table result is the useful one, because it comes with a fix you can apply.
What was evaluated
4,800 questions over 23 tasks on five levels: memorisation, understanding, reasoning, calculation and application. Engineers wrote most of them and two rounds of expert review checked them. Nine models were tested. On the two tasks built on code tables, average accuracy was 45.27% and 40.65%. When an expert rewrote the tables as plain sentences, it rose to 98.94% and 87.27%. When GPT-4.1 converted the table images to HTML automatically, it rose to 72.67% and 68.24%.
Limits of the evidence
The questions come from engineers in Shanghai and the code examples follow Chinese standards; long answers are scored by a model against expert rubrics.
Evidence check
- Real task?
- Yes. 4,800 questions written mainly by engineers from practice, including open questions scored by a language model against expert rubrics.
- Repeated runs?
- Not reported.
- Variations tested?
- Nine models; two ways of formatting code tables.
- Failures analysed?
- Yes. Failure cases analysed by cognitive level; the table result comes with a fix.
- Data public?
- Code and data public on GitHub.
Worth the full paper?
Worth the full paper if you are putting code documents behind a search or chat tool. The models had the knowledge; they could not read it out of the tables. Rewriting tables as text by hand roughly doubled accuracy, and automatic conversion got a little over half that gain. Peer reviewed in Advanced Engineering Informatics, with code and data public.