AI & XML / LLM test suite / Methodology study / 8 Statistics, reproducibility and performance Statistics, reproducibility and performance

This chapter explains Testsuite statistics and their interpretation, focusing on scores, repeatability, runtime metrics, uncertainty, sample sizes and the conditions for meaningful performance comparisons.

Metrics need a clear denominator

The Testsuite aggregates runs. Every metric must identify its reference population, especially distinguishing all runs, technically successful runs and domain-evaluated runs.

Metric

Meaning

Runs

Number of stored repetitions

OK

technically successful runs

Timeouts

Runs exceeding the time limit

No Rule

technically successful runs without an evaluation rule

Evaluated

domain-evaluated runs

Correctness Score

domain score excluding technical errors

Effective score

Score including technical errors as 0

Correct

Share of fully correct evaluated runs

Median

middle observed runtime of technically successful runs

P95

Runtime below which 95 percent of technically successful runs fall

"Score" alone is too vague without these definitions.

Effective score

The effective score combines domain quality with technical availability. Timeouts and empty answers are unusable in production and therefore count as 0.

The domain Correctness Score, by contrast, measures the quality of technically usable answers. Both values are useful but answer different questions.

Reproducibility

A model is particularly suitable for automation if it repeatedly solves a task correctly. A model–test case combination should therefore not be described by its average alone.

Further perspectives include:

  • repetition count,

  • share of technically successful runs,

  • share of fully correct runs,

  • distribution of partial assessments,

  • most frequent error types,

  • runtime dispersion,

  • alternation between correct and incorrect output forms.

Five correct and five incorrect answers in ten runs have a different risk profile from ten consistently partial answers, even if averages are similar.

Median and P95

The median is robust to occasional very long runs. With skewed runtimes, it describes a typical value better than the arithmetic mean.

P95 shows the long tail. For interactive systems or time-critical pipelines, P95 often matters more than median because users and downstream processes experience the slow cases.

Both metrics use only technically successful runs. Timeouts are counted separately and must remain part of operational interpretation.

Score and runtime

A faster model is not automatically better in content, nor does long runtime guarantee a high score. The following scatter plot reveals whether models in a particular dataset combine quality and speed favorably.

Scatter plot of effective score and median runtime for tested models

Figure: median runtime uses a logarithmic axis. Each point is an evaluated LLM. The plot explores one dataset, not a general causal relation between runtime and quality.

Performance by execution route

The speed view in the LLM Testsuite Dashboard groups models by access route, separating local and external systems.

Speed view in the LLM Testsuite Dashboard

Figure: the view shows fastest models, access route distribution and a table comparing median, P95, score, correct rate and more.

Cross-route comparisons must consider hardware, network and provider conditions. Duration is an end-to-end metric of the specific environment.

Speed comparison detail in the LLM Testsuite Dashboard

Figure: the table combines operational and domain metrics. Model selection should consider quality, P95, coverage and operating requirements, not median ranking alone.

Drilldown to individual repetitions

Aggregations must trace to raw observations. A model–case detail view shows runs, status, label, score, duration, return code, answer length and output preview.

Model–test case detail view in the LLM Testsuite Dashboard

Figure: the detail view links aggregation and individual runs, showing three technically successful runs, labels and runtimes, plus a JSON excerpt for further examination.

Unequal coverage

Models need not have run every case equally often. Timeouts, later inclusion, context limits, provider limits or ongoing expansion can explain gaps.

Global comparisons should check at least:

  1. identical or sufficiently overlapping test sets,

  2. comparable evaluated run counts,

  3. identical evaluation rules,

  4. documented execution routes,

  5. treatment of missing combinations.

Balanced rankings using only common tests are a useful addition.

Further statistical methods

For Research Notes, methods beyond dashboard metrics can include:

  • confidence intervals for success rates,

  • bootstrap intervals for score differences,

  • paired tests on identical task variants,

  • effect sizes rather than rankings alone,

  • variance analysis by format, model family and execution route,

  • stability measures over repetitions,

  • sensitivity analysis for different score weights.

These methods should suit the research topic. The live dashboard deliberately remains accessible and exploratory.

Uncertainty and sample size

An 80 percent success rate means something different over five runs than over fifty. Rate and observation count must be considered together. Small samples can give early indications but should not imply high precision.

Selected Research Notes can add confidence intervals, bootstrap methods or sensitivity analyses. The public default view deliberately stays accessible but should always show underlying run counts.

Weighting test cases

An unweighted total score treats every evaluated run equally. This is transparent but not universally appropriate: an organization may prioritize complex standard generation over simple number output, or vice versa.

The methodology therefore separates published standard scope from application-specific weights. The dashboard filters subsets; custom weighting must be labeled as a separate analysis, never silently presented as the general Testsuite score.

Time series and model updates

Repeated builds allow comparisons over time if test definition, rule version and model identity remain stable or documented. A provider-updated model name can create an apparent time series even though the underlying system changed.

Prefer clearly versioned model variants; otherwise include measurement date in model identity.

Limits of performance comparisons

Runtimes depend on more than the model: prompt size, answer length, hardware utilization, network, provider queues, cold starts and parallelism affect them. Median and P95 describe observed operation in a setup, not an immutable model property.

Performance articles should identify measurement environment and task set. A model can be fast on short extraction but slow on long generation. Category runtime profiles often explain more than one overall value.

Stability as a quality dimension

A good average score with strong fluctuations can be unsuitable for unattended automation. A slightly lower but stable score may be more valuable for a controlled process.

Future analyses can add stability metrics to averages and rates: variance, share of completely consistent model–case combinations or probability of at least one error over successive production runs.

back to top