TL;DR
Large Language Models (LLMs) are great at writing everyday Python scripts, but how do they fare when asked to build real-world industrial software—like aerospace simulations or econometric models in MATLAB and Stata? IndustryCode is a new benchmark of 125 complex industrial projects (broken down into 579 sub-problems) across 14 industry sectors and four programming languages. Even the best model tested, Claude 4.7 Opus, solved less than half (48.9%) of the full industrial projects, revealing that while LLMs can reason well, they still struggle with specialized domain knowledge and strict industrial syntax.
What Problem Does This Paper Address?
Most popular coding benchmarks—like HumanEval or SWE-bench—focus on general software development, usually in Python or consumer-level web apps. They don't capture the messy reality of industrial engineering.
In the real world, industrial coding comes with three distinct headaches:
- Domain Specificity: Writing code for orbital mechanics or chemical manufacturing requires strict physical constraints and specialized business logic.
- Linguistic Diversity: Industry doesn't just run on Python; it relies heavily on C++, MATLAB for scientific computing, and Stata for statistical analysis.
- Task Complexity: Real engineering projects aren't single-function snippets. They require decomposing a massive goal into interconnected modules that actually work together.
IndustryCode bridges this gap by testing whether LLMs can handle authentic, multi-step industrial workflows.
Methods
To mirror how engineers actually work, the authors structured IndustryCode hierarchically. Each Main Problem represents a complete industrial project, which is factorized into multiple modular Sub-problems with specific input/output signatures and dependencies.
To prevent models from relying on memorized training data, the authors took real, proprietary production codebases and ran them through a three-stage pipeline:
- Problem Selection: Choosing tasks covering system simulation, data processing, and numerical calculation.
- Adversarial Hardening: Manually rewriting problems to inject higher mathematical rigor, complex algorithms, inter-module coupling, and strict design patterns.
- Iterative Verification: Running automated tests in industrial runtimes (like MATLAB and Stata) followed by domain expert review.
Models were evaluated using a zero-shot, cumulative context setup: for each sub-problem, the model received the global project goal, the current sub-problem's specs, and the historical code it had generated in previous steps. For 97.2% of sub-problems, correctness was verified by executing test cases against ground-truth numerical values within engineering tolerances. For the remaining 2.8% (which tested structural design patterns rather than numbers), Claude 4.7 Opus served as an LLM-Judge, achieving 91% agreement with human experts.
Datasets
IndustryCode is newly introduced in this paper and consists of 125 Main Problems and 579 Sub-problems (split into 19 main / 80 sub-problems for development, and 106 main / 499 sub-problems for testing).
It spans 14 industrial sub-domains grounded in the North American Industry Classification System (NAICS)—including Aerospace Product Mfg, Chemical Mfg, Finance & Insurance, Information, and Ship & Boat Building—across four languages:
Key Insights and Ideas
- Syntax and misunderstanding beat logic errors: When models failed, it wasn't usually because they couldn't reason (Reasoning Failure was only 8.4% of errors). Instead, they tripped over Syntax Errors (32.8%), Misunderstanding the Question (30.2%), and Hallucinating non-existent APIs (19.6%).
- "Thinking Mode" is a double-edged sword: Enabling explicit Chain-of-Thought reasoning boosted performance for several large models (averaging +4.70% on sub-problems and +7.65% on main problems). However, for some models, prolonged thinking caused over-engineering—leading to more syntax errors, hallucinations, and "context confusion" where the model mixed its internal monologue into the final code output.
- Domain matters: Models thrived in mathematically standardized fields like Finance & Insurance (62.35% sub-problem accuracy) and Information (59.18% sub-problem, 42.08% main-problem). In contrast, highly specialized fields like Ship & Boat Building saw sub-problem accuracy drop to 38.89% and main-problem accuracy plummet to 5.5%.
Key Results
Across all evaluated proprietary and open-weights models (measured by Pass@1 accuracy):
- Top Overall Model: Claude 4.7 Opus led the pack with 71.9% on sub-problems and 48.9% on main problems, followed closely by Claude 4.6 Sonnet (68.5% sub / 48.8% main) and GPT-5.5 (67.1% sub / 48.7% main).
- Open-Weights Competitiveness: Open models held their own in standard languages. Notably, Qwen3-Max hit 70.4% on C++ sub-problems, nearly matching GPT-5.5 (71.0%) and outperforming GPT-5.2 (67.9%) and Gemini-3.1-pro (66.0%).
Limitations and Future Work
The authors note three main limitations:
- Domain coverage: While 14 sectors are represented, IndustryCode does not yet cover all industrial domains.
- Beyond functional correctness: The benchmark only checks if the code produces the right outputs; it does not evaluate safety, reliability, or compliance with strict industrial coding standards (like MISRA-C).
- No visualization tasks: Plotting and visual data inspection—common in engineering workflows—are currently excluded and left for future work.
Summary updated