From Answering Questions to Delivering Tasks: Evaluating Complex Task Performance in Large Language Models

    Gaps between large language models look different depending on what you measure. On single-turn questions, top models often perform similarly, but complex work such as software projects, long research chains, multi-step data analysis, and automated operations exposes whether a model can deliver results reliably. This article explains how to evaluate task completion rather than answer correctness, how agent systems affect results, which stability and cost factors matter for long-running tasks, and how to build a fair evaluation framework with engineering practices that make AI workflows verifiable and recoverable.

    The article distinguishes two evaluation targets: answering a question and completing a task. Answering a question asks whether a single-turn response is correct. Completing a task asks whether a model can understand requirements, plan, call tools, modify artifacts, verify results, and recover after failure in a real environment. In everyday scenarios such as Q&A, writing, translation, and summarization, leading models may perform quite similarly. In complex software projects, long research chains, multi-round data analysis, or automated operations, gaps appear in a different way. The issue is often not that a model cannot solve a particular problem, but whether it can deliver a task reliably.

    1. Shifting the Evaluation Paradigm: From Correct Answers to Closed-Loop Tasks

    Complex tasks usually involve a full chain of steps: requirement parsing, gap identification, planning, context management, tool invocation, artifact modification, testing and verification, error localization, regression checking, and result explanation. A basic model may produce code or a plan that looks reasonable. A stronger model, however, must keep multiple steps consistent. Interfaces and data structures must not conflict, changes must not break existing functionality, errors must be located and fixed, and final results must be explainable and auditable.

    Therefore, evaluating frontier models should not focus on a single capability. Three dimensions should be considered together:

    1. Capability ceiling: Whether the model can find a feasible path on hard tasks, and whether it can reason and plan across files, steps, and tools.
    2. Reliability of task completion: Whether success rates stay stable across repeated runs of similar tasks, whether the model can recover after failure, and whether it drifts during long runs.
    3. Cost of capability: Inference cost, tool-call cost, retry cost, human supervision cost, latency, and resource consumption.

    All three dimensions matter. Looking only at the ceiling can hide fluctuations in practice. Looking only at average scores can mask long-tail failures. Looking only at per-call cost can underestimate the hidden expense of retries and manual audits.

    2. Agent Systems Amplify Gaps and Can Also Mask Them

    Complex tasks are often carried out by agent systems. These systems provide a file system, a command execution environment, testing tools, retrieval tools, logs, and monitoring. In this setting, final performance does not equal the underlying model’s ability alone. It reflects the combination of model capability and system engineering quality. The same model can perform very differently in a plain chat window than in a development environment with tools, sandboxing, verifiers, and state management.

    This leads to two conclusions. First, comparing the full workflow of one product with the plain chat interface of another model is unfair. Second, the gains from system engineering should not be credited entirely to the model. A fair comparison should keep the task set, tool permissions, execution environment, budget ceiling, timeout policy, and verification criteria basically consistent. Otherwise, the comparison measures the surrounding system, toolchain, and human fallback instead of the model’s capability.

    3. Long-Running Stability Is the Harder Problem

    A single high score does not guarantee repeatable delivery. Errors accumulate in complex tasks. Outdated conclusions remain in the context, abnormal tool outputs go unnoticed, changes to multiple files leave the state inconsistent, tests pass without adequate coverage, and the model drifts from the goal during long conversations. Stability requires engineering measures:

    • Checkpoints and rollback: Save state at key steps, and return to the most recent trusted point after a failure.
    • Verifiers: Confirm results with tests, static checks, rule validation, or human review, rather than relying only on the model’s own report.
    • Tool contracts: Define inputs, outputs, error codes, timeouts, retry rules, and idempotency requirements to reduce ambiguity.
    • Observability: Record plans, actions, tool results, failure causes, and costs to support review.
    • Isolation and rate limits: Run high-risk operations in a sandbox, limit permissions and budgets, and prevent errors from spreading.
    • Degradation strategies: When the budget runs out or failures occur repeatedly, switch to a smaller task, hand over to a human, or output a risk statement.

    Evaluation should also go beyond average accuracy. Useful metrics include success rate across multiple runs, variance, recovery rate, average repair time, cost per task, and latency distribution. For long-running tasks, stable delivery matters more than occasional impressive results.

    4. Cost Is an End-to-End Budget, Not a Single Price

    The cost of a complex task includes explicit inference cost and implicit supervision cost. Longer context, more retries, and more frequent tool calls all increase cost. Manual checks, rework after failures, waiting time, and risk handling also count toward the total. A model that completes a task in fewer turns, with fewer tool calls and a higher first-attempt pass rate, may have a lower end-to-end cost even if each call is more expensive. Conversely, a low-priced system that fails often will multiply total overhead.

    In practice, set task-level budgets. Limit the maximum number of turns, tool calls, context length, and runtime. Set thresholds for caching, batching, degradation, and human review. When selecting a model, include cost metrics alongside success rates.

    5. A Fair Evaluation Framework and Engineering Practice

    A layered task set works well. Short tasks test correctness, medium tasks test consistency across multiple steps, and long tasks test planning, tool use, error recovery, and final delivery. Each task should have a reproducible environment, clear acceptance criteria, and the same budget. An evaluation report should include at least the success rate for each task layer, variance across repeated runs, the distribution of failure types, recovery success rate, average number of turns, number of tool calls, latency, and total cost.

    For implementation, a state machine can constrain the agent loop. A verifier can decide whether the loop should continue, and logs and monitoring keep the process auditable. The following pseudocode illustrates the pattern:

    1. task = parse_requirement(input)
    2. plan = planner(task, budget)
    3. state = init_state()
    4. while not done and budget.remaining > 0:
    5. action = policy(state, tools)
    6. result = sandbox.execute(action)
    7. state = update(state, action, result)
    8. if verifier.failed(state):
    9. state = recover(state, logs)
    10. budget.consume(action.cost)
    11. report = summarize(state, risks)

    At the deployment level, general-purpose cloud services such as those from Baidu AI Cloud, including container platforms, object storage, log services, and monitoring and alerting, can support isolated execution environments, artifact storage, end-to-end logging, and budget alerts. The key is not adding more tools. The goal is a closed loop in which tools, verification, rollback, and observation work together.

    6. Conclusion

    The gap between large language models on complex tasks is a systemic gap between answering questions and delivering results. Capability ceiling determines how far a model can go. Stability determines whether it can deliver repeatedly. Cost determines whether it can scale. Evaluations should use the same tools, tasks, budgets, and environments, and they should draw conclusions from statistics across multiple runs rather than a single leaderboard result. For developers, a sound approach is to place models inside observable, verifiable, and recoverable engineering systems. Selection should be based on task success rate, recovery capability, and end-to-end cost, not on a single benchmark score or brand reputation.