AI & XML / LLM test suite / Methodology study / Appendix A: technical methodology and data flow
This appendix describes the LLM Testsuite’s technical data and processing steps in more detail than the main methodology study, while remaining at the methodological level. The specific internal implementation and source code are outside its scope.
Purpose and scope
This appendix details technical methodology sufficiently to make data flow, responsibilities, assessment stages and published metrics understandable.
It deliberately contains no source code, internal scripts, executable commands, credentials or operational infrastructure configuration. These belong to the specific implementation and are not published.
Processing stage model
Level | Input | Processing | Result |
|---|---|---|---|
Test definition | domain test idea | define ID, prompt, categories and assessment | versioned test case |
Execution derivation | test case and model inventory | generate prompts and model selection | executable run configuration |
Model execution | prompt, model and run parameters | start and log multiple runs | raw run records |
Normalization | heterogeneous provider responses | create a common run format | uniform records |
technical classification | normalized runs | determine timeout, error, empty output or success | technical status |
domain assessment | technically usable answer | apply deterministic rule or LLM judge | label, score and justification |
Aggregation | assessed runs | grouping and metric calculation | model, test case and category overviews |
Quality assurance | reports, metadata and samples | check consistency and release | released build |
Publication | released build | generate the LLM Testsuite Dashboard and optional exports | public results resource |
Central data objects
The architecture uses logically separate data objects. Their physical storage may change without changing the methodology.
Data object | Content |
|---|---|
test case | ID, series, description, categories, prompt, expected value and assessment mode |
Model metadata | model name, family, variant, provider and execution route |
Run | individual model answer with time and status information |
Assessment rule | deterministic criteria or judge rubric |
Evaluation | status, label, score, justification and rule version |
Aggregation | metrics for a defined run group |
Build manifest | versions, timestamps, checksums and release status |
Dashboard version | verified results prepared for publication |
Structure of a test case definition
A test case contains at least:
Field group | Function |
|---|---|
stable identification | unique association across all stages |
domain description | explains the tested capability |
Prompt | actual input to the model |
Categories | identify domain, format, standard and capability |
expected result | defines the target domain outcome |
Assessment mode | specifies deterministic or semantic checking |
Version features | date, hash or rule version for later comparison |
A prompt fingerprint determines whether two runs truly use the same prompt version. Whitespace, structure or content changes may justify a new test version depending on the research aim.
Model metadata
For each model, at least model name and execution route are stored. Family, variant, size class, context, input type and provider are added where available.
Model identification must be precise enough to avoid mixing variants. A family name alone is insufficient when testing different sizes, quantizations or cloud versions.
Run format
A run is the smallest observation unit. It links exactly one test case to exactly one model and one repetition.
Typical fields include:
Area | Fields |
|---|---|
Identity | test case ID, model name, run index, timestamp |
Origin | execution route, provider and run configuration |
Technology | timeout, return status, finish reason |
Time | start, end and duration |
Content | answer text, preview and length |
Prompt | prompt fingerprint and length |
Evaluation | technical status, assessment label, score and justification |
Full answers may be retained for internal review. For the public LLM Testsuite Dashboard, a preview, shortened answer or only an aggregation may be shown depending on release and privacy requirements.
Technical status classes
Status | Interpretation |
|---|---|
successful | run supplies an answer suitable for domain assessment |
Timeout | time limit exceeded |
empty output | no usable answer available |
API or provider error | interface or service reports an error |
unsuccessful completion | local or external process ends with error status |
special finish reason | provider-specific interruption or incomplete finish |
Technical status is determined before domain assessment, showing whether a score results from incorrect content or technical failure.
Deterministic assessment forms
The LLM Testsuite uses different deterministic assessment forms:
Form | Suitable tasks |
|---|---|
exact comparison | single number, code or strictly defined string |
normalized comparison | answer with tolerable whitespace or formatting differences |
Containment | expected value must occur in an otherwise permitted answer |
Pattern checking | several alternative spellings are permitted |
Required structure checking | required elements, attributes or components must be present |
Parser and validator checking | XML, JSON or other structured output must be formally valid |
test-specific logic | task needs its own documented decision rule |
Partial scores may be useful when results contain some but not all required components. Their semantics are documented per rule.
Semantic assessment by an LLM judge
The judge receives a structured assessment task containing test description, expected content, mandatory and exclusion criteria, and the model answer.
The judge result contains at least:
Field | Function |
|---|---|
Label | domain class, such as correct, mostly correct, partial or wrong |
Score | numerical representation of the label |
Justification | short explanation of the verdict |
detected matches | criteria met |
missing points | criteria not met |
Judge version | model and rubric version used |
Judge verdicts are not treated as objective truth. They are versioned measurements requiring spot checks and control tests.
Caching and reassessment
Semantic assessments can be cached. The cache must reflect content and assessment conditions. Changes to model answer, expected result, judge model, prompt version or rubric require reassessment.
This prevents outdated verdicts from silently carrying over to new rules.
Assessment fields
Field | Meaning |
|---|---|
technical status | technical classification result |
Evaluation status | assessed, no rule, technical error or judge error |
Assessment label | machine-readable domain class |
Correctness Score | domain quality of technically usable answers |
effective score | overall production assessment including technical errors |
Rule reference | assessment mode and version used |
Justification | traceable explanation of the result |
Aggregation metrics
Metric | Meaning |
|---|---|
Runs | number of individual observations |
technically successful | usable model answers |
Timeouts | exceeded time limits |
empty answers | technically completed runs without content |
API or provider error | external or local interface errors |
no rule | technically successful runs without domain assessment |
evaluated | runs with deterministic or semantic assessment |
average Correctness Score | mean of domain scores |
average effective score | mean including technical errors |
fully correct runs | number of runs with maximum score |
Correct rate | proportion of fully correct runs among assessable observations |
Median runtime | typical duration of successful runs |
P95 runtime | upper runtime characteristic of successful runs |
Aggregation grouping levels
Aggregations are generated at several levels:
Model,
Test case,
Model–test case combination,
Category,
access route,
Assessment method.
Analysis by model–test case combination is the main basis for capability profiles. An overall model value can hide differences between standards and tasks.
Dashboard build
A published dashboard version is generated from verified aggregations, run metadata and descriptions. Depending on release level it contains:
overview metrics,
model and test case tables,
category views,
model–test case matrix,
runtime views,
technical statuses,
judge results,
individual run details,
machine-readable exports.
Publication is a controlled build, not a direct view of running internal processes.
Build manifest and provenance
A build manifest may contain:
Information | Purpose |
|---|---|
Build identifier and date | unique reference for articles and citations |
Methodology version | association with this study |
Test catalog version | association with test definitions |
Model, test case and run counts | data coverage |
Rule and judge versions | assessment traceability |
Checksums | check that artifacts are unchanged |
Release status | distinguish internal draft and publication |
Adding a test case
The methodological procedure includes:
Define capability and hypothesis.
Define a test case with a unique ID.
Create prompt and input data.
Determine expected result and assessment method.
Check positive, negative and partial sample answers.
Pilot the test on a small model group.
Correct ambiguities and set the version.
Include the test in regular execution.
Check results and release in the next build.
Adding an assessment rule
New rules are first described in domain terms. The feasibility of deterministic comparison or need for a semantic rubric is then checked. Rules are tested with correct, partially correct and incorrect sample answers.
Every change gets a new version. Existing answers can then be reassessed if the prompt has not changed.
Quality gates
Before publication, data pass through several quality gates:
Quality gate | Check |
|---|---|
Definition | test case and expectation are unambiguous |
Execution | model and test case assignment is complete |
Technology | statuses and runtimes are plausible |
Evaluation | rules and judge results are traceable |
Aggregation | totals and rates agree with individual runs |
Content | sensitive and unreleased data are excluded |
Presentation | dashboard, exports and metadata show the same version |
Release | build identifier and methodology version documented |
Public traceability without source code
Publishing source code is not the only form of scientific transparency. Domain traceability particularly requires:
precise description of the capability tested,
documented prompt version,
model and variant designation,
number of repetitions,
technical status,
assessment method and rule version,
metric definitions,
data version and build identifier,
clear identification of limits.
These details are provided in this study, the dashboard and Research Notes. Internal code is not part of the public offering.
Implementation artifacts not publicly provided
By default, the following are not published:
execution and analysis source code,
internal scripts and automation files,
concrete command lines and working directories,
credentials, tokens and provider configurations,
internal network and hardware details,
unreleased raw data and complete answers,
internal judge caches and monitoring data,
security and operations documentation.
Methodological documentation remains unaffected. It explains component functions and their place in the overall process.