Evaluating LLMs for Multilingual Programming and AI Agent Capabilities: A Practical Methodology
This article presents a reproducible methodology for evaluating new large language models beyond launch-day benchmarks. It explains why minor version updates can produce step-change improvements, why coding ability should be split into greenfield generation and legacy codebase modification, and how to use a real repository as a test input with verifiable acceptance criteria. It also defines four standards for judging AI agent capabilities, highlights context management as the key variable in long tasks, and offers cost-control and deployment recommendations. Readers will learn how to build their own evaluation set and acceptance rules for model selection and engineering adoption.
1. Why a Minor Version Update Can Still Deliver a Major Experience Leap
In the evolution of general-purpose large language models, a small change in the version number does not always translate into linear capability growth. Practice over the past two years has repeatedly shown that once training data mixtures, the proportion of code corpora, tool-call trajectories, and reasoning-chain supervision are reorganized, a model’s performance in structured output, long-context understanding, and multi-step task planning can improve by a step rather than a slope. So when evaluating a new model, a more reliable approach is not to rely on the side-by-side comparison charts from a launch event, but to put it into your own real engineering environment and run a round of “hard testing.”
This article does not recommend any specific product. Instead, it abstracts a evaluation methodology: take a real repository as input, produce verifiable results as output, and focus on two capabilities—multilingual programming and AI agent execution.
2. Split Programming Ability into Two Task Types to Avoid One-Size-Fits-All Conclusions
Many evaluation conclusions are distorted because they treat “programming ability” as a single dimension. A more reasonable split is:
- Greenfield build tasks: Given a requirement, generate a project skeleton that is structurally reasonable and runnable. These tasks have a ceiling on difficulty, because public corpora already contain a large number of open-source implementations, and the model can produce output close to a standard answer through pattern matching.
- Legacy modification tasks: Locate, analyze, modify, and verify changes inside an existing repository that is messy in structure, spans multiple languages, and contains legacy design. This is where a model’s depth of code understanding, context management, dependency reasoning, and self-correction are truly tested—and it is the core battleground for software engineering agents (SWE Agents).
Putting the evaluation focus on the second type of task brings conclusions closer to real R&D returns.
3. Running a “Real-World Coding Exam”: A Reproducible Workflow
A high-quality evaluation sample is often hiding in your own historical projects. Take a personal site with years of iteration traces as an example: it may have been produced by multiple rounds of automated coding, its directory structure may have drifted with changing requirements, its documentation may be out of sync with the actual implementation, and it may run but be hard to maintain. Such projects are well suited as stress-test inputs.
The recommended workflow is as follows:
- Step 1: Deliver the repository URL and let the model autonomously pull, install, run, and understand it, without providing any extra manually annotated architecture description, to test its ability to explore on its own.
- Step 2: Ask for a “health check report”, including identification of core modules, a breakdown of directory and file responsibilities, a risk list, and prioritized refactoring suggestions.
- Step 3: Ask for verifiable refactoring items, for example unifying how resources are organized, filling in missing build configuration, and fixing hidden defects in the rendering pipeline.
- Step 4: Local rendering and manual acceptance, to confirm whether the suggested items are actually implemented rather than remaining at the level of text description.
A sample acceptance checklist can be written in a structured format for dual verification by both machines and humans:
acceptance:- id: structuredesc: Content directories reorganized under a unified rule, with no orphaned resourcesstatus: pass- id: builddesc: One command completes dependency installation and local previewstatus: pass- id: renderdesc: List pages, detail pages, and archive pages all render correctlystatus: pass- id: multi_langdesc: Cross-language scripts and style resources work together without errorsstatus: pass
When the repository reaches hundreds of megabytes and involves around six programming languages, if the model can still accurately grasp the two main threads—the content module and the presentation module—it shows that its long-context retrieval and cross-language semantic association capabilities have reached a usable level. This also explains why “multilingual programming” has become an important metric of a model’s engineering value: real enterprise repositories can hardly rely on a single language.
4. Judge Agent Capability by Acceptance, Not by Demos
Almost every model today claims to have agent capability, but there is a clear gap between demo videos and real delivery. The criteria can be narrowed down to four:
- Task closure: Can it plan, execute, observe results, and correct itself, rather than outputting suggestions in a single pass?
- Reasonable tool use: Does it choose appropriate commands and call order, and avoid destructive operations?
- Failure recovery: When facing dependency conflicts or missing environment components, can it locate the problem on its own and provide an alternative path?
- Result verifiability: Does the output come with a runnable verification method, such as build logs, rendering screenshots, or test cases?
A practical evaluation method is to set a “minimum acceptance unit,” for example:
Goal: Give the project one-command startup capability without changing business logicConstraints: Do not delete existing content files; do not introduce base components that require paid licensingAcceptance: After running the startup command, the site is accessible locally and core pages show no errors
Only when all constraints and acceptance conditions are met is it counted as a pass. The advantage of this approach is that conclusions are reproducible and comparable, and it also helps turn subjective experience into engineering metrics.
5. Context Management: The Key Variable in Long-Task Success
Failures in legacy modification tasks are mostly not because the model “cannot write code,” but because it “cannot finish reading the project.” Evaluation should therefore pay attention to the model’s context strategy:
- Can it first build a macro view of directories and dependencies, then drill down layer by layer?
- Does it search all reference points before making changes, to avoid missing callers?
- Does it split large files into processable semantic chunks rather than simply truncating them?
- Does it stay consistent with the goal across multiple rounds of interaction, without requirement drift?
In engineering practice, a “layered summary” approach can assist the model: first use tools to generate a repository structure summary and a dependency graph summary, then let the model locate based on the summaries, and finally read specific files. This both reduces token consumption and significantly improves localization accuracy.
6. Cost, Controllability, and Deployment Recommendations
The token scale consumed by an evaluation often reaches the hundreds of thousands, which suggests that model capability assessment is itself an engineering activity that requires budget management. For deployment, the recommendations are:
- Pilot on low-risk repositories first and establish a baseline;
- Script the acceptance process and incorporate it into continuous integration to form regression evaluation;
- Set manual confirmation for operations involving deletion, renaming, and dependency upgrades;
- Build an observable evaluation pipeline by combining general cloud capabilities (such as object storage for saving evaluation artifacts, log services for collecting run records, and monitoring and alerting for tracking task status).
7. Conclusion
The most convincing way to evaluate a new-generation model is not to cite leaderboards, but to put it into a messy, real, cross-language legacy project and measure its output against verifiable criteria. Multilingual programming ability determines whether it can enter an enterprise codebase, agent execution ability determines whether it can independently complete closed-loop tasks, and context management and failure recovery determine whether it can be trusted over the long term. Building your own evaluation set and acceptance standards is the infrastructure most worth investing in for model selection and engineering deployment.
