AI & XML / LLM test suite / Methodology study / 10 Technical architecture and procedure Technical architecture and procedure

This chapter explains the LLM Testsuite’s technical procedure, describing data and processing stages from test definition to the LLM Testsuite Dashboard, without publicly providing internal source code or executable implementation details.

Aim of the technical description

This study deliberately explains architecture in detail. Readers should understand how a test idea becomes a versioned case, a case produces repeated model runs, and those runs become assessed, aggregated and published results.

This transparency differs from publishing source code. The study describes components, data flows, states, assessment stages and quality controls, but publishes no internal programs, scripts, commands, credentials or operational configurations.

Two linked processing chains

The architecture comprises two linked chains:

Processing chain

Task

Execution

turn test definitions into executable prompts, contact models and log individual runs

Analysis and publication

normalize runs, classify technically, assess domain quality, aggregate statistically, check and publish in the LLM Testsuite Dashboard

This separation matters. Runs can be stored independently of later rules. Improved rules can be reapplied to existing answers without rerunning every model. Likewise, the dashboard can be regenerated without requesting new answers.

End-to-end chain

Diagram of the technical end-to-end processing chain in the LLM Testsuite Dashboard

Figure: the chain goes from authoritative test and model descriptions through prompt generation, model execution, normalization and assessment to the verified dashboard version.

The chain includes these stages:

  1. Maintain tests and model metadata in structured sources.

  2. Derive executable prompt artifacts from tests.

  3. Derive the model variant list from model metadata.

  4. Execute each model–test case combination with the planned repetitions.

  5. Log each run’s answer, runtime and technical status.

  6. Convert raw data to a uniform run format.

  7. Separate technical errors from assessable answers.

  8. Use deterministic rules or an LLM judge for domain quality.

  9. Aggregate by model, test, category and model–test combination.

  10. A verified build generates the public dashboard and optional exports.

Authoritative test definitions

Each test case has a stable ID and structured definition including at least task description, prompt, categories and assessment basis. Depending on type, expected value, permitted patterns, required structures, judge criteria or normalization notes may be added.

The definition is the methodological source. The generated prompt is merely the artifact passed to the model. Description, categories and rules remain separate, allowing later identification of the prompt version and rule used for any run.

Prompt hashes act as fingerprints. Changing a prompt changes its hash, allowing results from different versions to be separated even if the case name stays the same.

Model inventory and execution routes

The model inventory records model name, family, variant, provider, input type, available context information and access route. Local, cloud and API models are explicitly identified by route rather than silently mixed.

This identification is necessary for interpretation. Runtime, timeouts and availability depend on hardware, network, provider and quantization as well as the model. The dashboard can therefore filter by execution route.

Generating execution artifacts

The full definition produces an execution artifact containing the actual prompt. Similarly, model inventory produces the variant list planned for a run.

Derivation avoids duplicate maintenance. Changes are made at the authoritative source and transferred under control. The process records the test and model versions used.

Performing model runs

Execution systematically combines models and cases, starting several repetitions per combination. Repetition count and time limit are documented for each run series.

An individual run records at least:

Area

Typical content

Identification

test case, model, run index, timestamp

Execution conditions

route, repetitions, timeout

Technology

return status, timeout flag, finish reason

Time

start, end and duration

Content

full answer and shortened preview

Provenance

prompt fingerprint and version references

Timeouts or technical interruptions are stored as results rather than discarded as missing observations. Technical errors are themselves relevant to model assessment.

Raw data and normalization

Providers and local runtimes return different structures. Normalization maps these heterogeneous raw data to a common schema with one row or record per run.

Model name, test ID, runtime, status, answer length, prompt fingerprint and answer text are standardized. Console control characters and other disruptive characters are removed. Full text and preview can remain separate to meet different analysis and dashboard requirements.

Normalization is methodologically important: only it allows local and external runs to share aggregation and assessment methods.

Technical classification

Technical state is determined before domain assessment. Typical classes are:

Technical state

Meaning

successful

a usable answer was returned

Timeout

no complete answer within the defined time limit

empty answer

run completed technically but supplied no usable content

API or provider error

external or local interface reported an error

unexpected return status

process did not finish with an expected success status

other finish reason

provider-specific interruption reported

Classification prevents technical failures from being mistaken for semantic errors. They may nevertheless count as zero in an effective overall score because they also produce unusable results in production.

Domain assessment

Technically successful answers then receive domain assessment. The Testsuite uses two main routes:

Deterministic rules are used when results are unambiguously machine-checkable: exact or normalized values, numbers, defined patterns, required structures, XML well-formedness, validation or other formal criteria.

The LLM judge is used where multiple acceptable formulations or structures exist and deterministic checks alone would not represent the task adequately. It receives description, expected content, criteria and answer. Verdicts retain label, score, justification and version information.

The routes complement rather than compete: check as much as possible deterministically and add semantic assessment where necessary.

Aggregation and metrics

After individual assessment, runs are combined into several views:

  • per model,

  • per test case,

  • per model–test case combination,

  • per category,

  • per access route,

  • by assessment method where needed.

Model–test case combinations are particularly informative, combining individual run detail with a compact account of success rate, technical status, score and runtime for a specific capability.

Besides averages, run counts, assessed runs, fully correct results, timeouts, missing rules, median and P95 show how sound a metric is.

Generating the dashboard

The LLM Testsuite Dashboard is generated from verified aggregations and metadata. Data are prepared for browser filters, tables, charts and detail views. Exploration needs no direct provider access and starts no new model runs.

This separation simplifies archiving and publication. A build can be documented as a coherent version with timestamp, methodology version, catalog version and checksums.

Quality control before publication

Before release, at least these points are checked:

  1. Are test IDs, names and categories correct?

  2. Are technical errors classified correctly?

  3. Are rules and judge versions documented?

  4. Can aggregations be traced to individual runs?

  5. Are sensitive or unreleased contents excluded?

  6. Do dashboard values match machine-readable exports?

  7. Are build date and methodology version stated?

Only after these checks is the version released as a public results artifact.

Transparency without source code publication

The study explains the full procedure, data objects, assessment logic, metrics and quality assurance, enabling informed evaluation of the method and interpretation of results.

Public release excludes:

  • source code and internal scripts,

  • concrete commands and automation files,

  • credentials and provider configurations,

  • internal network and infrastructure details,

  • unreleased raw data and caches,

  • operational monitoring and security information.

This boundary separates methodological transparency from release of the specific software implementation; it does not conceal the process.

Reproducible builds and provenance

Each published build should trace to clearly versioned inputs: definitions, prompt fingerprints, model designations, run data, rules, judge configurations, aggregations and release status.

A metric’s provenance runs from test case through individual run and applied rule to dashboard aggregation. Correcting a rule identifies results requiring reassessment. Changing a prompt separates old and new runs.

Reproducibility here means data2type can internally regenerate a published version from versioned artifacts and explain methodological changes. Public source code release is not required.

Maintainability and development

Architecture is staged. Definition, execution, normalization, technical classification, domain assessment, aggregation and publication remain identifiable responsibilities.

This separation permits modernization without abandoning the domain data model. Other storage technologies, providers, validators or formats can be added. What matters is stable provenance and meaning of results.

back to top