Multi-Model Code Review for Complex Engineering: A Hands-On Retrospective

    This article shares a hands-on retrospective of using multiple AI models together to review a complex engineering task: cutting the full-home floor plan generation flow of a LiDAR-based mobile measuring tool to two or three minutes without changing the underlying recognition capability. It explains why the more useful question is which model is reliable at which stage rather than which one ranks highest, describes three observed working styles, and presents a reusable two-channel workflow in which a proposal channel turns requirements into a change list and a validation channel turns that list into reproducible evidence. It also covers concrete speedups across capture, post-processing, interaction, and export, the four metrics worth fixing, batch simulation as a substitute for subjective judgment, common pitfalls, and an acceptance checklist.

    1. Reframing the Question: From “Which Model Is Stronger” to “Which Model Is Reliable at Which Stage”

    Given the same requirements and the same codebase, different AI coding tools often return noticeably different feedback. Some are good at turning a vague request into an executable product plan; others prefer running large numbers of repeated experiments to validate a single hypothesis. So the more engineering-relevant question is not a single overall ranking. It is to break the task down to the stage level and define, for each stage, the evaluation criteria and the deliverable that counts as acceptance.

    The scenario measured here was highly specific: an already-published mobile floor plan measurement tool that relies on the device’s LiDAR to collect spatial data while the user walks around a house, generates 2D and 3D floor plans, and supports tapping walls to annotate measured dimensions, attaching on-site photos, and exporting reports. The goal for this round was to compress the whole-house output flow to two or three minutes for large homes above 100 square meters, without replacing the underlying recognition capability.

    Goals like this are “tightly constrained with many possible paths.” Because the underlying capability cannot be touched, optimization can only happen in stages such as capture guidance, post-processing and modeling, interaction confirmation, and export rendering. Because there are many paths, any single-point suggestion may conflict with trial entitlement boundaries, differences in house conditions, or export expectations. The evaluation therefore cannot be based on whether an answer “sounds like an expert.” It has to be based on whether the suggestion is executable, whether it covers the constraints, and whether it can be verified with data.

    2. The Test Setup: Three Working Personalities and Their Division of Labor

    In the first round, the requirement description, the project structure, and real-device diagnostic logs were handed to three categories of tools at the same time, with a request for optimization entry points. The differences showed up quickly.

    The first behaved like a product partner. It read the real-device logs first and pointed out that post-processing and modeling itself took only one or two seconds, and that the real bottleneck was the pacing of the overall flow. It then offered trade-offs at the interaction level, proactively flagged that one of the proposed changes would cross a trial entitlement boundary, and factored in different house conditions and export expectations at the same time. The value of this kind of output is a “basis for decision-making”: read it once and you can decide.

    The second behaved like a lab engineer. At the conversational level it did almost no small talk, and even after two follow-up questions it was still hard to get a plain-language explanation. But once the task shifted to numerical balance and rendering performance validation, it ran more than 800 adversarial simulations with a real engine in the background and gave conclusions based on distribution data rather than subjective judgment. The value of this kind of output is evidence.

    The third sat in the middle. It could switch between semantic understanding and engineering constraints, but it was less thorough than the second when large-scale repeated validation was needed, and less sensitive than the first when commercial constraint trade-offs were needed.

    The first conclusion follows: putting models into the same project to review each other yields more than repeatedly comparing single-point strength.

    3. A Reusable Two-Channel Collaboration Flow

    Channel A (the proposal channel) turns requirements into a plan: input requirements, constraints, existing interactions, and entitlement rules; output a change list, the impact surface, and a rollback strategy. Channel B (the validation channel) turns the plan into evidence: input the change list and collectable metrics; output batch simulation or load-test results, anomaly distributions, and threshold recommendations.

    The handoff artifacts between the two channels must be structured. Example:

    1. {
    2. "goal": "Compress whole-house output for large homes to 120-180 seconds",
    3. "constraints": ["Do not replace the underlying recognition capability", "Do not break trial entitlement boundaries"],
    4. "proposal": [
    5. {"id": "P1", "change": "Segment capture guidance and persistence by room", "risk": "medium"},
    6. {"id": "P2", "change": "Change wall confirmation to batch confirmation", "risk": "high, touches entitlements"}
    7. ],
    8. "metrics": ["p50_duration", "p95_duration", "rework_rate", "export_fail_rate"],
    9. "acceptance": {"p95_duration_ms": 180000, "rework_rate": 0.05}
    10. }

    Review uses “cross-criticism” rather than “continuous follow-up questioning”: once the proposal channel produces output, the validation channel picks out the items that cannot be measured; once the validation channel produces data, the proposal channel judges whether product boundaries are crossed. This avoids the explanation loop caused by repeatedly self-confirming inside the same model.

    4. Turning the Speedup into Engineering Details

    Optimizing flow pacing usually pays off more than fine-tuning algorithms, and there are four places to start.

    In the capture stage, guide and persist by spatial unit in segments to avoid long transactions; if a single segment fails, only rerun that segment. Pipeline post-processing with capture, computing while scanning to reduce waiting at the end. Batch the interaction confirmation, changing wall-by-wall confirmation into grouped confirmation by room while keeping a single-point review entry. Tier the export rendering: produce a low-precision preview first, then generate high definition asynchronously, with resumable failure handling.

    Illustrative pseudocode:

    1. for room in scan_plan:
    2. pts = capture(room) # Capture one room; a failure reruns only that segment
    3. submit_async(rebuild, pts) # Pipeline capture and modeling
    4. confirm_walls(room, mode="batch") # Batch confirmation plus single-point review
    5. export_report(preview_first=True) # Preview first, high definition asynchronously

    For metrics, four are worth fixing: duration percentiles (p50/p95), rework rate, export failure rate, and number of entitlement triggers. Without percentiles, looking only at the average easily hides the experience collapse caused by long-tail house conditions.

    5. Empirical Validation: Replacing Subjective Judgment with Batch Simulation

    When the discussion turns to numerical balance and rendering performance, subjective description is nearly useless and batch simulation is required. A reusable approach is to abstract key parameters into configuration, use a fixed random seed to guarantee reproducibility, run hundreds or more adversarial simulations, and output win rate, frame time distribution, and anomaly sample IDs.

    1. sim:
    2. runs: 800
    3. seed: 20260214
    4. params: {difficulty: [0.8, 1.0, 1.2], render_scale: [0.75, 1.0]}
    5. report: [win_rate, frame_time_p95, crash_ids]

    The engineering implication is direct: any claim that something “feels smoother” should be replaced by a reproducible distribution conclusion, and any anomaly sample above a threshold should be traceable to a specific configuration combination.

    6. Common Pitfalls and an Acceptance Checklist

    Pitfall one: treating “explained nicely” as correct and ignoring measurability. Pitfall two: long-chain follow-up questioning with a single model, falling into tautology. Pitfall three: looking only at the average and not the long tail. Pitfall four: failing to mark entitlement and compliance boundaries before the change, causing disputes after release.

    Acceptance checklist: Are the immovable constraints explicit? Is the impact surface and rollback given? Is every conclusion backed by a metric or a log? Is a human decision point preserved? Are the random seed and configuration version recorded so results can be reproduced?

    7. Conclusion

    Gains in engineering efficiency come from role separation and a closed evidence loop, not from finding an all-capable tool. Placing the proposal channel and the validation channel side by side, letting product judgment and empirical data review each other, is what makes it possible to reliably obtain deliverable results in tightly constrained scenarios. To further reduce collaboration cost, general-purpose capabilities from Baidu AI Cloud (such as log services, monitoring and alerting, container platforms, and object storage) can carry the scheduling and record-keeping of batch tasks, making every conclusion traceable and reproducible.