Evaluating a Lightweight Flagship Model on Complex Generation: A Neusis Construction Case Study

    This article examines why complex generation tasks are a better benchmark for lightweight flagship models than simple QA or code completion. Using an animated HTML construction of a regular heptagon with a marked ruler (neusis) as a threshold task, it compares a lightweight flagship model against a larger model and another lightweight model. The results show that the lightweight flagship model, despite slower and less stable output pacing, followed instructions more faithfully and produced a runnable, verifiable artifact with GIF export, while the larger model drifted from the specified construction steps. The article also breaks down the model's core strengths, its limitations, and provides engineering recommendations plus a structured evaluation framework for production use.

    1. Background: Why Lightweight Flagship Models Need “Complex Generation” Benchmarks

    As model tiers become increasingly fine-grained, the “lightweight flagship” has emerged as a product category worth watching: it typically targets lower inference cost, higher throughput, or easier deployment, while aiming to retain near-large-model capability on complex tasks. The problem is that standard QA, short-text generation, or simple code completion can hardly reveal a model’s true ceiling. To determine whether a lightweight flagship model is production-ready, you need complex generation tasks with explicit constraints, verifiable artifacts, and long reasoning chains.

    The value of complex generation tasks lies in testing multiple capabilities simultaneously: fine-grained understanding of natural-language instructions, mathematical and geometric reasoning, code structure planning, animation timeline organization, output format compliance, and the stability to stay on constraints throughout a long process. If you only look at output speed, lightweight models often win; if you only look at whether the final page “looks right,” you easily miss whether the process was correct. Evaluation therefore needs to move from “correct result” to “consistent process + runnable artifact + verifiable constraints.”

    2. Test Design: A Regular Heptagon with a Marked Ruler as the Threshold Task

    The core case in this discussion asks the model to generate an HTML page that animates the construction of a regular heptagon using a marked ruler (neusis). This is not ordinary compass-and-straightedge construction: a regular heptagon cannot be constructed exactly with only an unmarked straightedge and compass; neusis is required. The prompt specifies: first draw a square and construct the perpendicular bisector of its base; then, centered at the bottom-right vertex with the diagonal as radius, draw a circle. Next, place the marked ruler against the bottom-left vertex so that the first mark slides along the circle until the second mark passes through the perpendicular bisector of the base. Finally, fill in the omitted compass-and-straightedge steps to determine the center and complete the heptagon. Additional requirements: the compass should leave traces only where necessary, and a GIF export feature must be included.

    This task looks like “just drawing a geometry animation,” but it embeds several difficulties:

    1. Understanding mathematical constraints: The model must know the role of the marked ruler. It cannot degrade the problem into ordinary compass-and-straightedge construction, nor invent extra steps.
    2. Long-chain step planning: From square, perpendicular bisector, circle, and sliding marks to determining the center, the steps depend on each other; a wrong order breaks the construction.
    3. Frontend animation implementation: The geometric construction must be mapped to SVG or Canvas rendering, with frame sequences, timelines, and trace clipping.
    4. Output format constraints: The result must be a runnable webpage with GIF export, involving frame capture and encoding.
    5. Process consistency: A correct final figure is not enough — every animated step must match the prompt description.

    It therefore reflects fundamental model capability far better than a toy “draw an animated shape” prompt. The entertainment factor of “HTML tests” is real, but tasks with strict geometric constraints, process requirements, and export requirements can still serve as threshold tests for complex generation ability.

    3. Experimental Observation: Correctness Over Speed

    In this observation, the experimental group used a lightweight flagship model running the prompt above in a general-purpose online code generation environment. Its reasoning was not smooth — it produced output in fits and starts, with pauses where it appeared to “think without outputting” — and the total time was noticeably longer than the control group. The final artifact, however, followed the prompt fairly completely: it built the square and perpendicular bisector first, then the auxiliary circle, determined the key point via the sliding-mark condition, filled in the necessary compass-and-straightedge steps, and included animation and GIF export logic.

    The control group used a large model and another lightweight model. After roughly twenty minutes of generation, the large model produced an HTML page that “seemed to meet the requirements”: it did show a regular heptagon with animation. But a closer look at the implementation revealed that it did not strictly follow the sliding-mark construction in the prompt. Instead, it added steps not present in the prompt, bypassed the original constraints, and forced its way to the final figure. In other words, the result “looked right,” but the process was inconsistent.

    This reveals a key conclusion: evaluation of complex generation tasks cannot rely on the final screenshot alone — you must check whether the construction steps correspond to the prompt constraints. Although the lightweight flagship model was slower with unstable output pacing, it demonstrated stronger instruction following and process consistency on this task. The larger control model generated faster but exhibited “result-oriented drift.” For geometric construction, teaching demonstrations, and reproducible experiments, process correctness often matters more than speed.

    4. Breakdown of Core Strengths

    4.1 Stronger Instruction Following and Step Consistency

    The lightweight flagship model’s core advantage shows up first in instruction following. Complex prompts contain multiple constraints: tool restrictions, step ordering, trace clipping, export formats. The model must hold these constraints across a long context rather than substituting a “simpler” method midway. The control model adding nonexistent steps indicates objective drift on a long-chain task; the lightweight flagship model maintained a much better mapping between steps and the prompt.

    4.2 Strong Long-Chain Planning and Geometric Reasoning

    Constructing a heptagon with a marked ruler requires the model to understand the constraint-solving process of “slide the marks until the condition is satisfied” and translate it into executable code. The model must not only draw, but also arrange auxiliary lines, compute intersections, determine the center, generate heptagon vertices, and decompose everything into animation frames. Completing this chain demonstrates solid capability in long-horizon planning, mathematical-to-code translation, and code organization. For a lightweight model, this goes beyond “code completion” and approaches complex task solving.

    4.3 Runnable, Verifiable, Exportable Artifacts

    The prompt required an HTML page with GIF export. A runnable artifact has far more verification value than plain text: developers can open the page directly and check whether the animation plays, whether traces appear only where necessary, and whether the export button works. The lightweight flagship model delivered a fairly complete implementation in this observation, showing engineering usability on the “requirements to runnable frontend prototype” pipeline. This capability applies to teaching demos, geometric algorithm visualization, and complex interactive prototypes.

    4.4 Visible Process, but Unstable Output Pacing

    The cost must be acknowledged objectively: in this observation, the model’s reasoning was not fluent, it went through think-only-no-output phases, and total latency was long. For real-time chat and low-latency interactive applications, this is not an ideal experience. But for asynchronous code generation, batch content production, offline evaluation, and background execution of complex tasks, mitigations exist: task queues, timeout retries, streaming heartbeats, segmented output, and stage caching. In short, its strength is “complex task completion,” and its weakness is “interaction pacing.”

    4.5 Clearer Capability Boundaries Within a Lightweight Positioning

    A lightweight flagship does not mean it beats larger models on every task. It fits cost-sensitive, asynchronous, correctness-first complex generation tasks. For strongly real-time, short-interaction, high-concurrency QA, model tier should still be chosen based on latency requirements. The recommended engineering approach is tiered routing: simple tasks go to low-latency models; complex geometric animations, long code generation, and structured evaluation tasks go to the lightweight flagship or larger models, with automated verification deciding whether to retry or escalate.

    5. Engineering Recommendations and an Evaluation Framework

    To avoid the misjudgment of “judging by the final screenshot,” a structured evaluation is recommended. A prompt structure like the following can be used:

    1. {
    2. "task": "generate_regular_heptagon_with_neusis",
    3. "constraints": [
    4. "Strictly follow the given construction order",
    5. "Do not add steps outside the prompt",
    6. "Compass traces appear only where necessary",
    7. "Fill in the omitted compass-and-straightedge steps",
    8. "Support GIF export"
    9. ],
    10. "acceptance": [
    11. "Complete step labels",
    12. "Consistent construction order",
    13. "Runnable page",
    14. "Playable animation",
    15. "Exportable file"
    16. ]
    17. }

    A verification script can be expressed as pseudocode:

    1. for run in range(N):
    2. artifact = model.generate(prompt)
    3. score = evaluate(
    4. step_order=check_order(artifact),
    5. extra_steps=detect_extra_steps(artifact),
    6. runnable=open_page(artifact),
    7. gif_export=test_export(artifact),
    8. visual_trace=check_trace(artifact)
    9. )
    10. record(score, latency, stability)

    Evaluation dimensions should include: functional correctness, instruction adherence, process consistency, artifact runnability, animation quality, export success rate, latency, and stability. For complex tasks, sample multiple runs and manually review key steps to avoid single-run randomness. In general cloud environments, generic compute, object storage, and logging services can host the evaluation pipeline; general-purpose cloud product categories from providers such as Baidu AI Cloud can similarly be used to deploy asynchronous generation and result archiving services.

    6. Conclusion

    This complex geometric animation case shows that the value of a lightweight flagship model should not be measured by speed alone. It demonstrated strong capability in strict instruction following, long-chain planning, geometric reasoning, and runnable artifact generation — even outperforming some larger control models on process consistency. Its weaknesses are equally clear: unstable generation pacing, longer latency, and possible think-only-no-output phases. Developers should place this class of model in asynchronous complex generation, code prototyping, teaching visualization, and verifiable tasks, and use structured prompts, automated acceptance checks, tiered routing, and timeout-retry mechanisms to leverage strengths and mitigate weaknesses. For scenarios that require “correct results with a reproducible process,” lightweight flagship models deserve a place in the selection shortlist; for strongly real-time scenarios, the latency cost must be evaluated carefully.