Open-Source Chinese Model Frontend Evaluation: Usable Layouts, Weaker Complex Logic

    This evaluation tests an unnamed Chinese open-source model against a realistic frontend requirements document covering a login page, a filtered product list, and a complex form. The model produced reusable page structures and workable component layouts, but struggled with combined filters, dependent fields, validation rules, and other business logic. Compared with a commercial model, the gap was most visible on pages requiring multi-step reasoning and state modeling.

    1. Evaluation Background and Questions

    Frontend developers increasingly expect AI coding assistants to do more than complete code snippets. They want them to independently build complete page modules. After the release of a Chinese open-source model, its public positioning suggested that its overall capabilities were close to those of leading commercial models. However, benchmark claims alone are not enough for model selection. This evaluation uses a realistic frontend requirement to examine how well the model performs on pages with business rules.

    The evaluation focuses on three questions:

    • Can the generated layout and component structure be reused directly?
    • Can the model accurately implement business rules such as filtering, validation, and field dependencies?
    • Where does it fall behind commercial models?

    2. Evaluation Environment and Method

    The original test did not preserve the model’s full name, version, quantization method, or inference environment. This article therefore refers to it only as “the open-source model.” All tests used the default parameters without additional prompt engineering. The complete product requirements document (PRD) was not published with the original test, so this article cites only its key requirements.

    The test used the same PRD for three pages:

    • A login page with a carousel;
    • A product list page with filtering logic and interactive states;
    • A complex form page with dependent fields, validation rules, and asynchronous submission.

    The model was asked to output runnable project code directly from the PRD. The original test did not use a standardized scoring rubric. To describe the results, this article uses three categories: fully implemented, partially implemented, and not implemented. These categories reflect the evaluation approach used here and do not represent the original recording method.

    The evaluation can be reproduced using the following process:

    1. Fix the model version and inference parameters, and record them in full.
    2. Use the same PRD and enter it verbatim without rewriting.
    3. Place the generated code into the same project scaffold, run it, and record any dependency installation errors.
    4. Review each item against an acceptance checklist, while saving screenshots and source code.

    3. Results Across the Three Pages

    3.1 Login Page: Complete Layout and Usable Project Structure

    The login page had the highest completion level of the three. The carousel was implemented correctly, the page structure was complete, and all required form elements were present. The code used relatively fine-grained component separation, and its state management was reasonably clear. It could serve as a starting point for an initial implementation.

    This conclusion has important limitations. A login page is a highly templated scenario with many similar examples in publicly available code. The result therefore shows that the model can reuse common implementation patterns, but it does not demonstrate that the model understands the underlying business rules.

    The original test also did not examine the following areas:

    • Whether the page could run in the target environment without modification;
    • Whether dependency versions were compatible;
    • Whether accessibility attributes, such as label and aria attributes, were complete;
    • Whether the responsive layout worked correctly on narrow screens;
    • Whether form submission and password handling introduced security issues.

    3.2 Product List Page: Correct Structure, Missing Filtering and Empty States

    The basic structure and data rendering of the list page were generally correct. However, two requirements explicitly emphasized in the PRD were not fully implemented: combining multiple filter conditions and displaying a fallback state when no data was available.

    Requirement PRD Requirement Generated Result Assessment
    Page structure List area and title area Structure was correct Fully implemented
    Data rendering Display data returned by the API Generally reasonable Fully implemented
    Combined filtering Multiple conditions must work simultaneously Not fully implemented Partially implemented
    Empty state Display a message when no data is available Not fully implemented Not implemented

    The original records did not preserve the details of each filter condition, so the assessment in the table is limited to the broader category of combined filtering. The result shows that the model can reuse the common structure of a list page, but it did not accurately translate the PRD’s textual requirements into concrete logic.

    3.3 Form Page: Insufficient Reconstruction of Business Rules

    The form page provided the clearest test of the model’s ability to understand business rules. Although the generated form had a complete UI structure, its field dependencies and validation behavior differed substantially from the PRD.

    Rule Generated Result Assessment
    Province, city, and district dependency Significant differences from the PRD Significant deviation
    Amount and tax-rate calculations Significant differences from the PRD Significant deviation
    Custom validation rules Significant differences from the PRD Significant deviation
    Error and exception messaging Significant differences from the PRD Significant deviation

    In this article, “semantic compression” refers to the ability to extract individual rules from written requirements and map them to page states and conditional branches. The observable metric is how many rules in the PRD were omitted or implemented incorrectly.

    The form page indicates that the model remains relatively weak at multi-step reasoning and state modeling. Its ability to produce a complete-looking UI was considerably stronger than its ability to reproduce the detailed behavior required by the business logic.

    3.4 Visual Style: Usable but Not Highly Refined

    The visual fidelity of the generated result was higher than that of most prototyping tools. Compared with a page manually implemented by an experienced frontend engineer using a mature component library such as Ant Design or Tailwind, however, the spacing and visual hierarchy were still relatively weak. The overall result felt more utilitarian than polished.

    For consumer-facing projects that require pixel-level accuracy or a strong brand identity, this output is not yet suitable for direct delivery.

    3.5 Comparison with a Commercial Model

    The same PRD was also provided to a commercial model. The difference between the two models was limited on the login page. On the list and form pages, the commercial model showed a clearer advantage in reproducing the filtering logic and relationships between fields.