Evaluating LLM Engineering Capability Through Interactive 3D Generation

    This article argues that comparing large language models by short prompts or casual outputs is misleading, and proposes a reproducible engineering evaluation approach using interactive 3D webpage generation as a stress test. It defines acceptance criteria, records both result and process metrics, uses task contracts and automated checks, and offers practical recommendations for selecting models under specific task domains, budgets, and acceptance standards.

    Define the Boundaries of “Strongest” Before Debating It

    The question “Which AI model is currently the strongest?” seems direct but lacks a unique answer. Comparing poetry, casual conversation, or a few logic puzzles often shows little gap among leading models; differences can be masked by prompt phrasing, sampling parameters, and benchmark leakage. The real separation appears in long-horizon tasks: whether a model maintains goal consistency over longer contexts, decomposes complex requirements into executable steps, produces runnable, maintainable, acceptance-ready engineering artifacts, and allocates its limited output budget between “thinking” and “delivery.”

    A more rigorous question is: Under a given task domain, time budget, output budget, and acceptance criteria, which model is more suitable? This article does not provide an absolute ranking. Instead, it turns model capability comparison into a reproducible engineering evaluation method. Evaluation targets can be abstracted to multiple general-purpose LLMs. The evaluation task is incremental generation from a 2D schematic to an interactive 3D webpage, because it tests planning, code organization, state management, render loops, interaction design, and error handling.

    Why Interactive 3D Webpages Are an Effective Stress Test

    Generating an ordinary form or static page barely differentiates model capability. An interactive 3D webpage is different: it requires the model to handle scene hierarchy, geometric proportions, camera controls, lighting and materials, animation loops, UI layers, event binding, and performance overhead. More critical is the “append modification” scenario: first generate a 2D mechanical assembly schematic, then require a 3D form. This is not rewriting a page from scratch, but completing an incremental transformation while preserving the original mechanical logic.

    A reasonable acceptance checklist should include at least:

    1. Bootable: The entry page opens, with no fatal script errors and no blank canvas.
    2. Geometrically correct: Part hierarchy is reasonable, proportions are not obviously distorted, and parent-child transforms do not contain self-references.
    3. Complete interactions: Basic operations such as orbit, zoom, explode, section, and reset are supported.
    4. State synchronization: Animations, annotations, and part toggles remain consistent with scene state.
    5. Correct layering: Load-failure and error-fallback prompts must not obscure the main canvas, and should be closable or automatically cleared.
    6. Controllable dependencies: External asset count, failure strategies, and offline runnability meet the constraints.
    7. Acceptable performance: Initial boot time, frame rate, and memory usage remain within the defined thresholds.
    8. Completed within budget: Full code is delivered within the given output budget and step limit, rather than exhausting the budget during reasoning.

    These acceptance points are more objective than “does it look right?” and are closer to enterprise delivery requirements.

    Record Result and Process Metrics Together

    When evaluating LLM engineering capability, do not rely only on the final screenshot. Record both result metrics and process metrics.

    Metric type Example metrics Engineering meaning
    Result metrics One-pass runnable rate, interaction coverage, geometric correctness rate, layer correctness rate Whether the artifact is deliverable
    Process metrics Total duration, output tokens, share of effective code tokens, rework count Cost and stability
    Quality metrics Maintainability, modularity, naming and comments, dependency count Cost of subsequent iteration
    Recovery metrics Whether errors can be located, locally fixed, or whether fallback obscures the canvas Engineering robustness

    The “share of effective code tokens” deserves particular attention. If a model spends a large part of its output budget on internal reasoning, the tokens actually used for code may be insufficient, leading to blank pages, missing functionality, or truncated code. Another common problem is improper error-fallback design: a load-failure prompt appears, but the layer hierarchy or cleanup logic is wrong, causing the prompt text to be fixed in the center of the already rendered 3D canvas.

    In an abstracted cross-model observation, four common patterns emerge:

    • Complete and heavy: All parts, annotations, and explode views are complete, but time and output volume are large. Suitable for delivery-level scenarios, but requires sufficient budget.
    • Detail-first: Mechanical motion, section views, and color marking are strong, but performance and resource usage require additional validation.
    • Fast prototype: A simplified version is produced within minutes, with usable proportions and basic interactions. Suitable as a draft, with details added later.
    • Budget mismatch: Reasoning consumes too much of the output budget, leaving little code; or the fallback prompt is not properly cleared and obscures the main canvas.

    These patterns show that “strongest” is not a single dimension. Fast prototyping, teaching demonstrations, and industrial-grade visualization have completely different model requirements.

    Use Contracts and Automated Acceptance to Constrain Generation

    To reduce evaluation subjectivity, define a task contract before letting the model generate. A pseudocode example:

    1. const task = {
    2. goal: "mechanical assembly 3D interactive page",
    3. deliverable: ["index.html", "style.css", "app.js"],
    4. constraints: {
    5. externalAssets: false,
    6. maxBootMs: 3000,
    7. requireReset: true
    8. },
    9. interactions: ["orbit", "explode", "section", "reset"],
    10. acceptance: ["boot", "geometry", "interaction", "layer"]
    11. };
    12. async function run(model, task) {
    13. const plan = await model.plan(task);
    14. const artifact = await model.build(task, {
    15. outputBudget: 20000,
    16. maxSteps: 6
    17. });
    18. return evaluate(artifact, task.acceptance);
    19. }

    The acceptance stage can combine a headless browser with static checks:

    1. function evaluate(artifact, acceptance) {
    2. const report = {};
    3. report.boot =
    4. Boolean(artifact.entryHtml) &&
    5. artifact.fatalErrors.length === 0;
    6. report.geometry = artifact.parts.every(
    7. p => p.hasTransform && p.parentId !== p.id
    8. );
    9. report.interaction = acceptance.interactions.every(
    10. key => artifact.ui.has(key)
    11. );
    12. report.layer = !(
    13. artifact.layers.error.visible &&
    14. artifact.layers.error.covers("canvas")
    15. );
    16. report.efficiency =
    17. artifact.codeLines / Math.max(1, artifact.totalTokens);
    18. return report;
    19. }

    The value of this contract-based evaluation is that even if models generate in different styles, the same standards can judge whether the artifact can be opened and used, whether it can be delivered, and whether rework cost is high.

    Engineering Implementation Recommendations

    First, contract first. In the prompt, explicitly specify entry files, dependency limits, interaction lists, performance thresholds, and acceptance methods to reduce uncertainty caused by free-form model behavior.

    Second, staged generation. Do not ask for a complete interactive 3D page all at once. Instead, proceed through stages such as “skeleton page—geometry modeling—interaction binding—visual enhancement—performance optimization,” and accept each stage before appending modifications. This significantly reduces the risk of losing control over long contexts.

    Third, automated acceptance upfront. Use a headless browser to check console errors, screenshot differences, layer occlusion, interaction clickability, and boot time. For 3D scenes, also check parent-child hierarchy, animation loops, and resource-load-failure strategies.

    Fourth, manage the output budget. In evaluation records, distinguish reasoning consumption from code output, and set maximum steps and failure-retry strategies. If the output budget is heavily consumed by reasoning, switch to staged tasks or require a structural plan before code generation.

    Fifth, error boundaries must be clearable. Load-failure prompts must have an explicit layer, a close button, and automatic cleanup logic, and must not cover the main canvas. Error fallback is not just “display a line of text”; users should still be able to understand the current state.

    Sixth, preserve maintainability. Prefer data-driven part configuration, clear module boundaries, and stable naming. Interactive 3D pages often need additional parts, animation adjustments, and mobile adaptation later, so one-shot code that is difficult to modify is not a high-quality delivery.

    Conclusion: “Strongest” Is Conditional

    Returning to the original question: there is no “absolute strongest” outside a specific scenario. If the goal is a fast draft, a model with low time cost and usable basic interactions is more valuable. If the goal is a teaching demonstration, motion details and section capabilities matter more. For delivery-level visualization, completeness, one-pass runnable rate, and maintainability take priority, and time and output budgets can be relaxed appropriately.

    A more reliable approach is to build a small evaluation set: choose three task types—structural visualization, state interaction, and 3D animation—and record one-pass runnable rate, interaction coverage, geometric correctness rate, layer correctness rate, total duration, output tokens, and effective code share. Only by breaking “strongest” into measurable engineering metrics can model selection avoid being misled by short-question performance and single screenshots.