LLM Agents for Research Report Generation: Capability Highlights and Reliability Evaluation

    Evaluating an LLM agent for research report generation requires more than judging whether its output reads fluently. This article frames evaluation as task acceptance: whether the agent can interpret data, convert a request into an executable plan, use deterministic tools for calculation and charting, and preserve evidence for review. It discusses percentile-rank definitions and sample scope, reproducible calculation chains, chart validation, runtime and permission boundaries, resource budgets, failure recovery, and a practical evaluation rubric for production use.

    1. From Model Experience to Task Acceptance: What Really Matters

    When evaluating a newly released large model, observing only whether its answers sound natural or whether its prose is rich can easily obscure the factors that actually affect production use. For developers and enterprise users, the more valuable questions are: Can it decompose a complex request into executable steps? Can it use external tools correctly? Can it deliver results that withstand review?

    Consider research report generation as an example. The task is usually not “write a market analysis paragraph” but a continuous workflow:

    Read historical data, identify the meaning of fields, clean anomalous records, calculate where current metrics sit in the historical distribution, retrieve relevant information, generate charts, and finally produce an analysis with supporting evidence.

    Language organization is only the final link. Incorrect data reading, inconsistent statistical definitions, or distorted charts can all make a report that looks complete lose its reference value.

    Therefore, the capability highlights worth attention should focus on three areas:

    First, whether the model can translate a natural-language request into a clear execution plan; second, whether the agent can use deterministic tools to perform calculations and generate charts; third, whether the system can retain process evidence so users know where each conclusion comes from.

    This also means that user experience should not be judged only by “whether it can generate a report in one pass.” It should also examine correctness, reproducibility, modifiability, and resource consumption.

    2. Agent Workflow for Research Reports: From Input Files to Deliverables

    2.1 Understand the Data Before Starting Analysis

    A spreadsheet file is not inherently computable data. Common problems include inconsistent date formats, the same metric expressed in different units, text mixed into numeric columns, duplicate records, and missing values incorrectly filled with zero.

    For example, if inventory data use “tons” and “ten thousand tons” separately, merging them for calculation without unit normalization will directly distort the historical distribution. For basis data, the definition must also be confirmed: Is it spot price minus futures price, or does it follow another business convention? Which product, region, and contract are involved? Has the definition changed during the historical period?

    A reliable process should first generate data inspection results, at minimum listing:

    • Which worksheets and fields the file contains;
    • The data type and unit of each field;
    • The valid time range and number of valid samples;
    • How missing values, duplicate values, and outliers are handled;
    • The date and source corresponding to the current observation.

    If field meanings are unclear, the system should ask the user for confirmation rather than letting the model guess from column names. Guessing may save one interaction, but it passes the risk into all downstream analysis.

    2.2 Turn the Task Plan into Explicit Steps

    The advantage of an agent is that it can coordinate multiple operations, but “automatic completion” does not mean execution constraints can be omitted.

    An auditable research report plan can be divided into five steps:

    1. Check input data and business definitions;
    2. Perform cleaning and statistical calculation;
    3. Retrieve and analyze external materials related to the analysis date;
    4. Generate charts based on calculation results;
    5. Produce the report and perform cross-checks.

    Each step should have inputs, outputs, and completion conditions. For example, “calculate historical position” should not output only a percentage. It should also output the sample interval, sample size, calculation formula, and missing-value handling rules.

    This design turns a vague writing task into an engineering task that can be accepted and reviewed, and makes it easier to identify which stage produced an error.

    3. Why Percentile Results Can Differ Significantly

    When the same dataset is processed by different agents, the historical position of inventory or basis may produce different results. These differences alone are not enough to claim that one model has stronger mathematical ability, nor can they simply be attributed to “the model only guessing decimals.”

    First, the terminology needs clarification: asking “what percentile is the current value in the historical distribution” usually means calculating a percentile rank; asking “what value corresponds to a certain percentile of the historical distribution” means calculating a quantile. The two directions are different and should not be mixed.

    3.1 Different Statistical Definitions Produce Different Results

    Let the number of valid historical samples be n, and the current value be x:

    • L is the number of samples strictly less than x;
    • E is the number of samples equal to x.

    Common percentile-rank definitions include:

    Strictly less than: P = 100 × L / n.

    Less than or equal to: P = 100 × (L + E) / n.

    Midpoint for ties: P = 100 × (L + 0.5 × E) / n.

    When historical data contain many duplicate values, the three results can differ significantly. This is especially common for inventory, quotations, and metrics that have been rounded.

    For example, suppose the historical sample is 10, 20, 20, 30 and the current value is 20. Under the three definitions above, the results are 25%, 75%, and 50%, respectively. These differences are not a matter of decimal precision; they come from different statistical definitions.

    Therefore, the report must specify the formula. Writing only “the current value is at a certain historical percentile” without explaining the calculation convention cannot support rigorous review.

    3.2 Sample Scope Matters More Than Decimal Places

    Even with the same formula, the following factors can change the result:

    • Whether the full historical dataset or only a recent period is used;
    • Whether the current observation is included in the comparison sample;
    • Whether daily data or weekly/monthly aggregated data are used;
    • Whether the comparison is limited to data from the same season;
    • Whether outliers and missing values are removed;
    • Whether data from different sources or business definitions are merged.

    For metrics with significant seasonality, the full-history percentile and the same-season percentile answer different questions. The former describes the position in the long-term distribution; the latter describes the relative level under a similar seasonal background. Both can be useful, but they should not be directly compared with each other.

    3.3 Computation Capability and Output Precision Are Not the Same Problem

    When a language model generates numbers directly, it does not guarantee that a rigorous statistical calculation was performed. But if an agent correctly calls a calculation program, it can output deterministic and reproducible results.

    Therefore, a more accurate understanding is:

    The model is responsible for understanding, planning, and explanation; deterministic programs are responsible for numerical calculation; validation mechanisms are responsible for confirming that the two are not disconnected.

    Decimal places also need to be managed independently. Necessary precision should be retained during calculation, and rounding should be unified only for final display, with the displayed number of digits stated. The report text, tables, and charts must not use different rounding methods.

    If the current value or historical data have been rounded through measurement, the distinction between “display precision” and “the precision of the data itself” should also be made. Displaying more decimal places does not mean the conclusion is more accurate.

    4. Building a Reproducible Calculation Chain

    Reliable numerical analysis should not leave only a final percentage. It should retain a complete calculation record.

    Below is illustrative pseudocode independent of any specific tool:

    1. Input: historical sample, current value, statistical convention
    2. Check whether the current value is a valid number
    3. Check the unit and date range of the historical sample
    4. Handle missing records and duplicate records according to the convention
    5. n = number of valid samples
    6. If n is zero:
    7. Stop the calculation and explain why
    8. L = number of historical samples strictly less than the current value
    9. E = number of historical samples equal to the current value
    10. If the midpoint-for-ties convention is used:
    11. percentile rank = 100 × (L + 0.5 × E) / n
    12. Output:
    13. percentile rank, n, L, E, sample interval, formula, cleaning record

    The key here is not the length of the code but the clarity of the calculation path. For data affected by measurement error or floating-point operations, whether values are treated as equal must be determined in advance according to business precision. Tolerance must not be increased arbitrarily to adjust results.

    In engineering implementation, three types of checks can be added:

    First, boundary checks. The percentile rank should be between 0% and 100%, and an empty sample must not enter division.

    Second, consistency checks. Report text, result tables, and charts must reference the same calculation artifact and must not generate values separately.

    Third, independent review. Use small samples that can be manually verified to test duplicate values, boundary values, and missing-value handling, then run calculations on formal data.

    These measures are more reliable than asking the model to “recalculate” repeatedly. If the error comes from the statistical convention, regenerating the output will not automatically fix the problem.

    5. Professional Charts Cannot Rely on Looking Right

    In research reports, illustrations and data charts serve different purposes.

    Conceptual illustrations can help explain business relationships; statistical charts must accurately express values, time, and units. Charts produced through image generation, even if visually polished, cannot guarantee that axes, ticks, curve positions, and labels are correct.

    Data charts should be driven by actual calculation results and generated through a deterministic plotting process. At minimum, check:

    • Whether the horizontal time axis is arranged in the correct order;
    • Whether the vertical axis unit and value range are accurate;
    • Whether the legend corresponds to the data series;
    • Whether missing intervals are mistakenly connected into a continuous trend;
    • Whether the current-value annotation corresponds to the correct date;
    • Whether chart data are consistent with the report table.

    Also pay attention to misleading presentation. For example, a truncated vertical axis may exaggerate the magnitude of change; displaying metrics in different units without explanation may cause readers to misjudge correlations.

    Professionalism is not about richer chart decoration. It means readers can trace a chart back to the data and understand the boundaries of what the chart expresses.

    6. A Browser Runtime Is Not a Local Computer

    A cloud-based agent with a graphical interface can lower the barrier to operation, but a distinction must be made between “the user operates through a browser” and “the program executes on the user’s computer.”

    Usually, the browser is only the interaction entry point, and tasks may run in a remote isolated environment. A remote environment does not automatically have local files, existing scripts, or personal credentials. Accessing these resources requires explicit upload, authorization, or connection mechanisms.

    Therefore, three questions should be confirmed before use:

    First, where the files actually are. Are they local files, uploaded copies, or data in remote storage?

    Second, where the program actually executes. Different execution locations mean different file paths, network restrictions, and security boundaries.

    Third, what scope of permissions is granted. Executing a research report task usually does not require access to the entire personal directory, and should certainly not obtain unrelated business files by default.

    In enterprise practice, the principle of least privilege should be followed, prioritizing read-only data, limited directories, and isolated runtime environments. External information should also be treated as material to be analyzed, not as directly executable instructions, to avoid persuasive content changing the task objective.

    7. Resource Budgets and Failure Recovery Determine Practical Experience

    Generating a complete report in one pass may consume a large amount of context, retrieval calls, and execution resources. If the budget is exhausted at the final stage, users may receive a half-finished product that cannot be further revised.

    A more robust approach is phased delivery:

    Complete data validation first, then save statistical results; generate charts next; finally write the analysis and summary.

    Each stage should retain intermediate artifacts so that after an interruption, the task can continue from the most recently completed step instead of rereading data and rerunning the entire analysis.

    Budget management should also consider failure retries. For operations that repeatedly produce the same error, stop conditions should be set and the reason reported to the user instead of attempting indefinitely. At the same time, resources should be reserved for result validation so that the entire budget is not consumed by draft generation.

    This design improves not merely speed but controllability of task completion: users know what has been completed, what is still missing, and what conditions are needed to continue.

    8. Designing a Meaningful Experience Evaluation

    To evaluate agent capability, use the same inputs, the same statistical definitions, and the same delivery standards. If data scope, tool permissions, or task prompts differ, it becomes difficult to attribute result differences to the model itself.

    Performance can be recorded across five dimensions:

    Task completion: Whether data inspection, calculation, retrieval, charting, and reporting are completed, not just whether text is generated.

    Numerical correctness: Whether key metrics match deterministic reference results, and whether any error comes from a clearly explainable difference in statistical convention.

    Evidence completeness: Whether information is accompanied by sources and dates, and whether factual descriptions are separated from analytical judgments.

    Reproducibility: Whether input versions, calculation rules, execution records, and intermediate artifacts are preserved.

    Modification cost: After changing the sample interval or statistical convention, whether existing work can be reused and related content updated consistently.

    For probabilistic systems, a single success is not enough to demonstrate stability. Multiple repeated tasks should be run, and failure types, locations of human intervention, and total resource consumption should be recorded. Only when verifiable results can be obtained consistently under fixed conditions does the system have stronger reference value for production use.

    9. Conclusion: Let Agents Collaborate and Evidence Determine Trust

    The value of large models and agents lies in reducing the organizational cost of complex analysis workflows and connecting data processing, tool execution, and report presentation. But this convenience cannot replace statistical definitions, permission control, and result validation.

    A trustworthy research report system should follow a clear principle: every key number can be traced to a calculation, every data chart can be traced to a sample, every fact can be traced to a source, and every judgment states its basis and limitations.

    The highlights truly worth attention are not longer answers, a more intuitive interface, or faster report generation. They are whether the system can reliably complete the right work and, when errors occur, allow users to see them, modify them, and review them.