How to Evaluate Chinese AI Coding Tools: A Reusable Benchmarking Methodology
This article presents a repeatable evaluation framework for comparing AI coding tools in China on the same task. It defines a 10-page e-commerce frontend task brief, five scoring dimensions with a 1–5 rubric, a record template, a trial-run procedure, weighted scoring, and elimination rules. The goal is to help developers and technical teams make tooling decisions based on reproducible evidence rather than marketing claims, while keeping the methodology flexible enough to adapt to their own requirements and available tool modes.
Introduction: Use the Same Task to Reveal Real Differences
The number of AI coding tools in China is growing quickly, and most product pages sound similar: “generates code,” “easy to use,” “simple to operate.” These descriptions make it hard to judge which tool will actually perform well in a real project. When selecting a tool, developers need a reproducible method that puts each tool on the same task, records every step, and scores the results consistently.
This article is about the evaluation method, not a product ranking. The task specification, scorecard, and record template can be applied to any tool. Only results that have actually been produced by following these steps are useful for tool selection.
1. Task Specification: Give Every Tool the Same Brief
The task brief is the basis for comparability. This article uses “build a 10-page e-commerce frontend from scratch” as the common task because it covers page count, navigation, visual consistency, and code organization at the same time. A trivial task such as generating a single login page does not separate tools well. An overly complex task can fail because of one small error and produce useless results.
The brief should include the following and should be sent unchanged to every tool under test:
- Tech stack: React 18, built with Vite, routing with React Router v6. Write the actual version numbers in the brief before testing.
- State management: Use either Context or Zustand consistently. Do not allow the tool to choose a mixture of approaches.
- UI library: You can specify one, such as Ant Design or Tailwind CSS, or write “not specified.” Either way, state it clearly in the task brief.
- Mock data: Put all mock data under
src/mock/. Page components must not hard-code data. - Directory conventions:
src/pages,src/components,src/hooks,src/api,src/mock,src/styles. - Startup command: After
npm install, the project should run withnpm run devand be accessible locally.
The brief should describe the main flow: homepage → product detail page → purchase page → success page after submission → order page where the order can be viewed. It should also describe the login, registration, and user-center state transitions.
The 10 pages are:
- Homepage / product list
- Product detail page
- Purchase / checkout page
- Purchase success page
- Login page
- Registration page
- User center / Dashboard
- Orders page
- Wallet / coupon wallet page
- Settings page
2. Five Evaluation Dimensions and Scoring Criteria
Each dimension is scored from 1 to 5. Scores must be based on recorded evidence, not impressions.
| Dimension | What it examines | 1 point | 3 points | 5 points |
|---|---|---|---|---|
| UI experience | Clarity of operation paths, understandability of UI patterns, learning cost | Core functions are hard to find; user must read documentation before starting | Main functions can be found; some UI patterns require exploration | Pattern names are intuitive; first-time users can start without documentation |
| Generation quality | Whether all 10 pages are present, whether the main flow works, whether the visual style is consistent | Pages are missing or the flow is broken | Pages are complete, but some navigation or styles are inconsistent | Pages are complete, flow is complete, and the visual style is unified |
| Engineering structure | Directory organization, separation of styles and logic, decoupling of data from views | Directory nesting is chaotic; data is hard-coded in components | Directory is basically reasonable; data and views are partially separated | Layered according to the brief; API layer exists; data is managed independently |
| Response speed | Total time from task submission to a runnable project | Total time exceeds the acceptable limit; frequent freezes | Total time is acceptable; occasional pauses | Total time is short; process is smooth |
| Repair capability | After first delivery, can repair requests make the project usable? How many rounds are needed? | Multiple repair rounds and the project still cannot start | Project is usable after 2–3 repair rounds | Project runs on first delivery, or becomes usable after 1 repair round |
Defining “first-pass success”: After first delivery, all three conditions must be met:
npm installandnpm run devcomplete without errors.- All 10 pages can be accessed through their routes.
- The main flow—homepage to detail, purchase, success page, and order page—can be completed without manually editing code.
Recording repair rounds: Every repair request sent to the tool counts as one round. Repeatedly describing the same issue counts as one round, but the reason should be documented.
3. Record Template
Create one record per tool, with the same fields for every test, so results can be compared horizontally.
- Tool name and version number
- Test date
- Operating system, network environment, and machine configuration
- Run mode (for example, step-by-step confirmation mode, direct generation mode, architecture-planning mode)
- Task brief version
- First-pass success (yes/no, with evidence)
- Number of repair rounds
- Number of accessible pages (X/10)
- First-run error count and error types
- Generation time (from task submission to first runnable state)
- Screenshot or screen recording ID
- Scores for each dimension and the evidence behind them
- Notes
If a tool supports multiple run modes, test it in each mode separately. Simple tasks and complex tasks may be better suited to different modes, and the results should be recorded separately.
4. Trial Run Procedure
Use this procedure before formal selection, with one complete task per tool.
- Submit the task brief and record the submission time and selected mode.
- Install and start: Run
npm installandnpm run dev, and record any errors. - Visit each page: Enter the routes for all 10 pages directly in the address bar. Confirm there are no blank screens or 404 errors.
- Walk the main flow: From the homepage, go to product detail, then to purchase, submit the order, see the success page, and check the order page for the new order.
- Check the account flow: Register a user, log in, check that the user center displays the logged-in state, and verify that logout returns to the login page.
- Check responsiveness: View the pages at 1440px and 390px widths. Pay special attention to form pages such as login and registration for layout distortion.
- Check form validation: Test empty submissions, invalid formats, and mismatched passwords. The UI should show appropriate error messages.
- Check visual details: Confirm that button text has enough contrast against its background and that placeholder images are clearly marked for replacement.
- Check engineering structure: Confirm that the directory structure matches the brief, that components do not hard-code data, that an API layer exists, and that type definitions are complete.
Capture evidence at every step with screenshots or screen recordings. Items without evidence are not scored.
5. Weighted Scoring and Elimination Rules
Weights can be adjusted to fit your team’s priorities. A reference set of weights is:
| Dimension | Weight |
|---|---|
| UI experience | 15% |
| Generation quality | 25% |
| Engineering structure | 20% |
| Response speed | 15% |
| Repair capability | 25% |
To calculate the weighted score: divide each dimension score by 5, multiply by its weight, then add the five results. The result is a percentage score out of 100.
Elimination rules: A tool is disqualified from weighted comparison if any of the following occurs:
- The project cannot be installed or started, and the problem remains unresolved after three repair rounds.
- The main flow cannot be completed.
- Core pages are missing from the generated project.
If the only problem is slowness, do not eliminate the tool. Reduce its response-speed score instead. Speed and quality should be evaluated separately, and when comparing results, make sure the same measurement definition was used for all tools.
6. Common Mistakes
- Judging only by the UI, not the engineering structure. A good-looking project with tightly coupled data and views may require a large rewrite when a real API is connected later.
- Running the task once and drawing a conclusion. Single-run results are affected by network conditions and task randomness. Run the same task at least twice before making a decision.
- Ignoring responsive design and form validation. These details may look small, but they determine how much post-delivery work is needed.
- Comparing different tasks with the same mode. Simple pages may be better suited to fast generation mode; complex projects may need architecture-planning mode. Mixing modes makes comparison invalid.
- Using inconsistent speed definitions. Some records measure first output time, while others measure full project generation time. These cannot be compared directly.
- Using marketing content in place of test evidence. Official descriptions can only explain what a tool is intended to do, not what it actually does.
7. Conclusion
Using a unified task, unified scoring criteria, and complete records makes a tooling decision verifiable. AI coding tool capabilities change quickly, so conclusions can become outdated. Keep the test date and tool version in every record, and rerun the evaluation periodically. Developers should keep the habit of code review: the tool improves speed, while people maintain the quality baseline.
