Skip to content

3. Schema validation and data safety

Current capacity raw-v5 histogram objects use exactly count, lowest_ns, highest_ns and buckets; each bucket uses exactly upper_ns and count. The runtime now enforces these existing declared field sets before analysis, including the embedded low-load source report. Historical raw versions retain their prior admission behavior. The evidence schema inventory distinguishes structural schemas, legacy discarded fields, byte admission and semantic evidence verification. Current histograms validate every bucket's integer values, ordering and count conservation before percentile lookup, including zero-count histograms and buckets following an already satisfied rank. Raw JSON admission and retained-artifact hashing observe the 64 MiB byte ceiling after file growth; the reader requests at most cap+1 bytes before decode and suppresses private read/decode causes. Aborted raw evidence validates UTC timestamp calendar values and retains exactly one known abort reason, unavailable measurements/cleanup and no artifacts. Its in-memory builder can be unsigned; persisted admission requires the verified checksum, without inventing completed observations. Summary-v5 comparison enforces its exact declared root fields and local-only qualification scope. The entire summary passes recursive secret-like field/value and nonfinite checks before comparison, including historically open curve records. Benign unknown curve fields remain unsupported legacy admission; the summary builder emits only its known curve vocabulary. Each curve point reconciles its nonempty run array with an integer trial count and an equally sized array of known classifications before selected-point analysis, including unselected points. Curve rates and medians must be finite and nonnegative (scheduled rates positive); achieved-rate intervals have two ordered finite nonnegative bounds. Selected capacity equals the retained lower interval bound of its selected scheduled-rate point. This verifies the projection, not authenticity. Builder and comparison share selection of the last point with at least five passing trials and the first subsequent nonpassing point after a confirmation. Comparison requires increasing rates and consistent selected/first-nonpassing projections; it does not change the selection policy. Every retained summary latency histogram uses the same closed validation as current raw evidence, including records for unselected curve points, before comparison or percentile lookup. Summary startup records reuse raw startup field, source, digest, run identity, timestamp and restart validation, and must cover each retained run exactly once. Summary candidate dirty flags require booleans before identity equality. Summary evidence does not retain raw run time bounds, so startup ordering against those bounds remains a raw-evidence check rather than an invented summary claim.

Evaluation bootstrap work has a fixed 10,000,000-unit aggregate ceiling: 2 * interval_count * bootstrap_resamples * (trial_count + 1). Overall and slice intervals both count. The factor two reserves assembly and publication verification; each replicate budgets score visits plus one retained estimate. Evaluator planning uses all declared intervals and maximum trial counts before Consumer effects. Report loading uses retained overall/slice interval counts before summary recomputation. Existing byte and per-field bounds still apply independently. Below-budget intervals retain their deterministic seeds and imported summaries remain verified. This is an operation budget, not a wall-clock capacity claim.

Closed schema

TelemetrySchema registers all names accepted by one runtime instance:

TelemetrySchema
├── version: token
├── instrumentation_scope: token
├── operations: frozenset[token]
├── events: frozenset[token]
├── metrics: tuple[MetricSpec]
├── resource_attributes: frozenset[attribute-name]
├── context_attributes: frozenset[attribute-name]
├── operation_attributes: frozenset[attribute-name]
├── event_attributes: frozenset[attribute-name]
├── operation_outcomes: frozenset[token]
├── error_outcomes: frozenset[token]
└── failure_categories: frozenset[token]

Names not present in the applicable set are rejected. A metric's allowed dimensions come from its own MetricSpec. Metric names must be unique under ASCII case-insensitive SDK identity. Public spelling and lookup remain exact; a supported mixed-case name exports using the SDK's lowercase spelling.

The optional aggregate GenAI bridge uses this same closed Consumer vocabulary. Its reviewed convention snapshot is development-2026-09-20; it preflights the registered operation, usage-kind operation attribute, numeric metric names, and success outcome. It adds no implicit semantic-convention fields. In particular, gen_ai.token.type violates the normalized attribute-name privacy floor on every attribute surface; registering it in a schema cannot relax that ban. Chunks are not relabeled as tokens, and prompt, completion, rubric, model/configuration, provider-error, and credential values have no export path.

The default outcomes are success, failure, and unavailable; default error outcomes are failure and unavailable. The schema must register success, must include failure among error outcomes, and must make all error outcomes a subset of operation outcomes. A failure category is optional. If present, it must be registered and the selected outcome must be an error outcome.

Name grammar

Schema tokens and attribute names must be strings between 1 and 255 characters, contain no whitespace, and contain no ASCII control character below code point 32. The implementation does not otherwise restrict punctuation. Metric identifiers additionally require an ASCII letter first, then only ASCII letters, digits, underscore, period, hyphen or slash, within the same 255-character limit. Invalid identifiers and case-only collisions reject during schema construction, before any optional SDK import.

Attribute safety comparison normalizes a name by:

  1. inserting a separator at a lower-case/digit to upper-case boundary;
  2. applying Unicode case folding;
  3. splitting on every run of non-ASCII-lowercase-letter or non-digit characters; and
  4. removing empty pieces.

This makes AuthorizationToken, authorization-token, and authorization.token comparable as the parts authorization, token.

Universal privacy floor

The following exact normalized names are forbidden in resource, context, operation, event, and metric attribute schemas:

Exact normalized name
body
browsing session
header
headers
order
payload

The following phrases are forbidden when their normalized parts occur contiguously, or when their collapsed spelling equals or ends the collapsed attribute name:

Family Forbidden phrases
Credentials authorization, password, secret, token, idempotency key
Connections connection string, connection url, database url, db url
SQL sql statement, sql query, sql parameter, sql parameters, sql param, sql params, sql comment
HTTP content request body, response body, request header(s), response header(s)
Raw/domain payloads interaction row(s), recommendation payload, feature vector
Sensitive identities order id, order identifier, order uuid, browsing session id, browsing session identifier, browsing session uuid

Validation errors name the violated rule but do not echo the rejected attribute name or value.

Metric cardinality floor

Metric dimensions apply the universal privacy floor and reject identity-like dimensions for these entities:

account, catalog, commerce, job, order, product, request, run, and snapshot.

They also reject the multi-part phrases browsing session, commerce account, and commerce scope. An entity is rejected by itself, alongside the identity markers id, identifier, key, name, or uuid, or in a collapsed suffix such as ProductID. The implementation deliberately allows safe, bounded classification fields such as job.outcome; consumers can impose a stricter domain policy.

The Collector metric safety processor is broader than this Python rule. It also removes metric dimensions matching training-run, recommendation-snapshot, data-source, tracking, commerce-property, catalog, product, order, request, or browsing-session identity families before fan-out.

Value schema

Batch evaluation safety

evaluate_batches() keeps Consumer inputs, collated payloads, predictions, and split outputs in process. Its payload-free result retains only requested/successful/failed counts and whole-batch latency/count evidence; it never derives per-case latency. Batch size is bounded and defaults to one. A bad collate, prediction, split, output cardinality, or padding mask fails the entire batch. Padding is accepted only with an explicit boolean mask whose true count exactly matches actual batch cases. Split output sequences have their length checked before copying. Iterable outputs are consumed through a bounded fallback that requests at most the actual batch cardinality plus one entry; mismatches fail the entire batch before any success callback.

Value kind Accepted form Bound
String str At most 1,024 characters
Boolean bool True or False
Integer int, excluding bool where a metric number is expected Signed 64-bit range
Floating point float Finite values only
String sequence tuple[str, ...] At most 16 elements; each at most 1,024 characters

Lists, mappings, bytes, None, nested sequences, non-string sequence items, infinities, and NaN are rejected as attribute values. An attribute collection contains at most 64 unique names. The attributes() helper consumes at most 65 entries from either a mapping's items or an iterable, rejecting the first excess entry before copying or validating the rest of the source.

MetricObservation.value accepts an integer or float, excludes booleans, bounds integers to signed 64-bit range, and rejects non-finite floats. It does not impose sign or magnitude bounds on finite floats, and it does not prohibit negative values for counters before the OpenTelemetry SDK is called.

Schema and envelope ceilings

Item Maximum Reason or reservation
Attributes in any input envelope 64 Public envelope ceiling
Resource attributes registered by consumer 57 7 runtime-generated resource fields reserved
Context plus operation attributes 61 distinct names 3 operation result fields reserved
Context plus event attributes 62 distinct names 2 event/exception fields reserved
Dimensions for one metric 64 No Python-generated metric dimensions
Operations 256 Vocabulary bound
Events 256 Vocabulary bound
Metrics 256 Vocabulary bound
Operation outcomes 256 Vocabulary bound
Error outcomes 256 Vocabulary bound
Failure categories 64 Vocabulary bound
Metric unit 64 characters Non-empty string
Metric description 255 characters Empty is allowed

The combined limits use set union, so a name registered in both context and operation/event sets counts once. The “reserved” counts protect capacity; the Python schema does not separately ban consumers from registering names that happen to equal generated OpenTelemetry field names.

Resource identity

ResourceIdentity requires non-empty strings of at most 255 characters for service name, service version, instance ID, and deployment environment. These identifiers reject control characters, ://, strings beginning with Bearer or Basic (case-insensitive), and strings containing authorization= or password=. Unlike schema tokens, identifiers may contain ordinary whitespace.

Custom identity attributes use the same attribute tuple and privacy validation as other envelopes and must be registered in TelemetrySchema.resource_attributes before enabled runtime construction.

Two enforcement layers

flowchart LR
    E[Consumer envelope] --> V[Python schema validation]
    V --> SDK[OpenTelemetry SDK limits]
    SDK --> OTLP[OTLP payload]
    OTLP --> C[Collector identity and safety processing]
    C --> B[Backend]

Python rejects unsafe registered names and bounds values before emission. The SDK applies configured span and log bounds. The Collector then deletes matching keys and applies its own resource, span, datapoint, and log-attribute limits. Collector safety processing is key-based: it does not inspect or redact arbitrary log bodies or safe-named attribute values. The production Python log handler avoids exporting arbitrary application messages and redacts credential-shaped text only when copying approved record extras. Producers that bypass this Python runtime remain responsible for keeping sensitive values out of log bodies and apparently safe keys.

Performance evaluation data safety

ReportStore reads each document once, bounded at the 16 MiB ceiling plus one byte. It rejects oversized or digest-mismatched data before decoding and parses only the same byte snapshot whose SHA3-512 digest it verified. Concurrent path replacement cannot substitute another report after digest verification.

Spawned evaluation owns its direct child and pipe handles. Cleanup waits 0.1 seconds, then terminates and waits one second, then kills and waits one second, verifying exit before closing the process handle. Cleanup failure raises a fixed safe RuntimeError; a pending caller exception retains its identity and receives only a fixed cleanup-failure note. This is direct-child containment, with no descendant or security-sandbox guarantee.

Evaluation Cases and successful algorithm outputs exist only in process while Measurements execute. Evaluation Reports never retain case names, inputs, expected values, outputs, or exception messages. They retain bounded evaluation/candidate/Measurement labels, the execution plan, a SHA3-512 fingerprint of ordered case names, aggregate execution counts and timings, finite scores, uncertainty, and exception class names. A report-v2 may additionally retain a Consumer-supplied DatasetIdentity (namespace, revision, split, and optional opaque manifest SHA3-512 digest). It never hashes private case contents to create that identity. Dataset labels reject control characters, URL-shaped values, and credential-shaped values. Consumer Measurements are responsible for not encoding private payload data into numeric scores or public labels. Report-v2 can also retain Consumer-attested model/preprocessing/artifact and Measurement implementation/ aggregation identities. These are closed bounded labels or optional SHA3-512 digests; callable source, configuration dumps, local paths, and private target values are never inferred or serialized.

An injected LLM stream observation is a separate payload-free document, not a Report extension. It consumes at most its declared chunk and duration bounds and retains only aggregate timing/count/status evidence plus explicitly provider-reported input/output units when available. Prompt text, chunks, completion text, provider objects, model identifiers, and exception text are never retained. First-content timing must not be presented as TTFT unless a Consumer provider adapter has explicitly marked a provider token boundary; otherwise true TTFT and usage both remain explicitly unknown. Cancellation closes the iterator and propagates rather than becoming ordinary error evidence.

Consumer-injected judge request payloads and returned decisions remain in a separate in-process channel with no serialization method. The only publishable judge value is aggregate evidence: safe rubric/model/config revisions, bounded counts and reservations, explicit actual-usage availability, and optional Consumer-supplied currency/cost totals. It never contains prompts, judge inputs, decision text, completions, provider errors, provider configuration, prices, or exchange rates.

Assessment policy evidence is not report payload. AssessmentStatus is a closed pass/fail/ inconclusive decision independent of Evaluation Report execution status. AssessmentReason is a closed aggregate code; individual bounded Rule Result reasons remain the source-specific explanation. Missing or invalid inputs remain RuleStatus.UNAVAILABLE; valid but insufficient evidence is RuleStatus.INCONCLUSIVE. Neither a partial nor failed candidate or baseline can be converted into a passing Assessment.

performance-evaluation/assessment-v1 is a separately bounded JSON document, not a report-v2 capability. It has an exact closed field set: schema version; candidate SHA3-512 report link; optional paired baseline and comparison SHA3-512 links; and the derived Assessment with bounded Rule Results. Its reader reconstructs the Assessment and rejects unknown fields, unsupported versions, missing paired links, and any passed/status/reason contradiction. It never copies case data, report content, exception messages, or arbitrary diagnostics.

MeasurementUnavailableError accepts only a MeasurementUnavailableReason enum value. Its reason is recorded only for a measurement-stage failure and never substitutes a numeric trial score. An unknown or internal scorer exception carries no unavailable-reason value and its message is never serialized.

ExecutionIdentity is a closed, immutable comparison input and may be retained in report-v2 through the known performance-evaluation/execution-v1 section when its closed execution capability is true. The known execution-v2 variant keeps that identity and adds only a closed lifecycle timing scope: phase plus compilation and cache policy enums. It accepts no cache key, artifact, framework configuration, source, path, model value, or arbitrary metadata. Execution-v1 remains valid with lifecycle scope explicitly unknown, never inferred from a callable or timing values. It admits only bounded safe labels and positive bounded counts for OS/ architecture, CPU and accelerator descriptions, device class, backend/runtime, precision, thread/batch/ concurrency, and timing scope. None means unknown. It has no hostname, device UUID, path, environment dump, arbitrary metadata, or provider configuration field. The report reader rejects an unknown execution section version, unknown fields, or a missing/contradictory capability. Timing comparison rejects unknown required controls rather than silently treating missing provenance as matching.

collect_execution_identity() produces a separately versioned, closed field-classification list. Its standard-library reader keeps only OS/architecture, CPU model, and CPU count; optional accelerator data comes only from a Consumer-supplied framework reader. It retains neither reader failures nor unknown keys, and normalizes every accepted value through ExecutionIdentity validation. A missing reader, missing GPU, invalid value, or reader failure is unavailable; thread count, batch size, concurrency, and timing scope are unsupported because the collector must not guess Consumer execution controls. No collection result contains hostname, device UUID, environment variables, paths, provider configuration, exception text, or arbitrary reader metadata. The immutable collection record validates all 13 classifications against the same safe identity: available requires a known value; unavailable and unsupported require an unknown value. Missing, reordered, oversized, mutable or incorrectly typed field collections fail before use by an evaluator. Errors use fixed labels without reader values. Availability does not verify Consumer attestations. Timing compatibility checks seven execution controls, not host equivalence; OS/architecture, CPU, accelerator and runtime differences are diagnostic. Quality hardware warnings remain intentional, and matching unknown values are never evidence of observed equality.

Report-v2 may attach a fully typed performance-evaluation/provenance-v1 record only when its closed provenance capability is true. The report reader rejects an unknown provenance schema, an unflagged provenance section, or a flagged section that does not validate. Strict provenance comparison requires every retained collection to be available; matching unknown evidence is still unknown. Standalone provenance collection is opt-in and requires an explicit repository and lock-file input. It serializes only an allowlisted distribution name and safe installed version, a validated Git revision and dirty flag, and a bounded lock-file SHA3-512 digest. A non-Git directory, missing distribution, timeout, inaccessible file, or oversized lock is a classified unavailable field. No local path, source or lock text, command output, exception detail, or environment value enters the serialized record. The persisted effective randomness plan contains only three integer base seeds and an explicit candidate determinism status. Its domain-separated seed derivations use trial, case, and Measurement positions only; they never hash or retain case names, inputs, expected values, outputs, exception text, or arbitrary Consumer metadata. Ordinary callables remain explicitly unspecified rather than being credited with unverified framework determinism.

The optional-integration registry contains only closed names, package import names, extra names, and short static support declarations. It never discovers installed packages, probes devices, connects to providers, or retains import diagnostics. A loader runs only after an explicit Consumer call. A missing direct package yields an actionable extra name without environment or exception detail; CUDA is unsupported rather than inferred from a package, mock, or unverified device.

Evaluation construction rejects duplicate case or Measurement names, non-finite scores, invalid goals, empty suites, and plans beyond the fixed case, repetition, warmup, execution, and bootstrap bounds. Opt-in execution adapters receive only an immutable ExecutionContext containing bounded trial and case positions, the warmup/measured phase, and (only after explicit candidate_randomness negotiation) one bounded derived candidate seed. The context carries no case name, input, expected value, output, exception text, secret, or arbitrary metadata, and it is never serialized into an Evaluation Report or emitted as telemetry. Capability requirements are closed enum values and are validated before the adapter setup or candidate invocation. Paired case/group resampling is in-process only and accepts finite numeric score vectors plus optional non-negative integer group positions. It neither receives nor serializes case names, inputs, expected values, outputs, exceptions, group labels, or arbitrary Consumer metadata. It requires equal paired vectors and at least two independent case, group, or trial units. A replicate selects shared positions for both candidates; group selection expands only whole groups. Resampling is bounded to 100--100,000 replicates, one replicate is processed at a time, score-visit work is preflighted against a fixed 100 million ceiling, and retained numeric cells against one million. Callers may lower, never raise, those ceilings; excessive evidence requests reject instead of being silently reduced. The bounded numeric state includes an aggregate's one sequential selected-score vector, never a collection of replicas. Length and minimum work/retention admission precede any input copying or callback. Admitted sequence copies stop after the declared length plus one overflow sentinel; inconsistent sequences reject. Bounded group inspection then checks the largest possible replicate expansion before resampling. Overall and pointwise slice entry points also admit budgets before selecting retained evidence or allocating repeated-case groups. Unavailable slices retain their existing classification before resampling-budget rejection. Required slice families resample only their exact requested name/revision memberships. Before any interval runs, one family-wide preflight counts both candidate vectors across all requested rows and Measurements: 2 * resamples * total_requested_rows * measurement_count. The conservative retention bound uses the same core model, 3 * total_requested_rows + 2 * resamples; replicas run sequentially. Unrequested declarations consume no family budget. Revision matching, Bonferroni correction, and whole-family completeness requirements still apply. Corpus slice/family inference selects aligned private observations for the declared callback and keeps repeated observations in original case blocks. Declaration order does not change membership identity. Required-family evidence binds both exact report identities, and sufficiency is recomputed from the current candidate slice using the retained policy and Measurement. Stale or unbound evidence cannot pass. PyTorch device-wide peak samplers load the explicit backend and resolve CUDA device aliases to a canonical indexed device before reserving one owner token atomically and resetting its counters. The resolved device remains fixed through both peak reads even if the ambient current device changes. Failed setup rolls back that token; stop retains it through both peak reads and releases only its own token. A per-sampler lock serializes start/stop, while the registry lock never covers backend work, so different devices can proceed independently. Fake-backend concurrency checks establish ownership behavior without qualifying CUDA counters or hardware. Persisted reports accept performance-evaluation/report-v1 and performance-evaluation/report-v2, reject non-finite JSON constants, require timezone-aware timestamps, and are limited to 16 MiB before parsing. Filesystem readers read at most the byte limit plus one overflow-detection byte, so a file growing after its size check cannot cause an unbounded read. Completed-trial checkpoint files use the same bounded-read rule with a 1 MiB limit. Comparison and CLI document readers likewise consume only a bounded binary snapshot before decoding. Lock provenance counts actual streamed bytes up to its limit plus one; overflow reports TOO_LARGE without a digest, never the hash of a truncated prefix. Checkpoint cursor and per-trial execution counts reconcile before resume. Failure case indices must be valid for their completed trial. Ordinary callable resume also preflights the evaluator's declared Measurement names: each successful trial has exactly one score or explained failure per Measurement, with no unknown, duplicate or overlapping outcomes. Algorithm failure cases are known and unique and match failed-case counts; zero-success trials carry no Measurement outcomes. Warmup failures stay separate from measured cases and fit the declared warmup budget. Lifecycle-only failure stages and failures under a stop-on-error plan cannot become replayable ordinary-Candidate evidence. Identity and coverage checks finish before candidate factory invocation, including fully completed checkpoints. Real abrupt-process tests at the atomic replacement boundary retain the previous or new complete checkpoint; abandoned temporary files cannot change the selected destination. Interrupted callbacks resume only committed trials. This local crash evidence does not claim power-loss durability. Report-v1 loads with unknown dataset identity; report-v2 requires an explicit valid identity and the exact closed capability map, so unknown extensions cannot become preserved evidence. Report-v1 cannot carry provenance; a report-v2 provenance section is accepted only through its matching capability and its known nested schema version. ReportStore retains only validated report bytes under a SHA3-512-derived filename plus digest, size, creation time, and pin state in its local index. It accepts no caller-supplied document path or report label as a storage location, reads at most 16 MiB plus one byte, verifies the digest, and parses those same verified bytes without reopening the path. It never automatically deletes a report; explicit pruning preserves pinned baseline records. preview_prune() selects the same bounded oldest-unpinned target without a write, so the CLI requires a separate explicit deletion target. Recovery derives indexed sizes from the same authenticated byte buffer, preserving committed pins and creation times while repairing stale sizes and removing rows whose documents are missing. Complete valid orphan documents are recovered; interrupted, truncated, or oversized documents are never accepted. Corrupt pinned documents remain protected from pruning and fail explicit reads. Recovery and pruning serialize through immediate SQLite transactions. Recovery does not enforce quotas by deleting evidence: an over-quota recovered store requires explicit pruning before new puts. Tests at 4, 16, and 64 retained documents verify one authentication per document and bytes hashed equal total retained bytes. Reading, hashing, and decoding cost is O(total retained bytes), in addition to directory and index work; startup is not constant time. These checks establish process-interruption behavior, not power-loss durability or a physical disk quota under external filesystem mutation. export_mlflow_report() can only read a digest from that store and emits a separate closed metadata projection through an injected client. The projection excludes report JSON, trials, failures, case names, inputs, expected values, outputs, exception classes, tracking endpoints, and credentials. It has no arbitrary tags or metadata map; its only artifact is a bounded canonical JSON encoding of the same closed projection. A destination is a bounded non-URL label; credentials and URI remain in the Consumer-owned client. Its fixed deadline/retry policy yields a safe indeterminate state whenever remote acceptance cannot be established, while leaving the local document unchanged. Strict report comparison requires equal Consumer-supplied namespace, revision, and split in addition to the legacy case-name alignment hash; absent report-v1 identity is an explicit comparison failure, never fabricated provenance.

explain_compatibility() retains no report values or private payloads in diagnostics. Each result contains only a closed reason code, a fixed contract path, and warning/blocker severity. Its optional execution identities remain external Consumer-attested inputs rather than a report extension; quality hardware differences are informative warnings, while timing controls that are unknown or unequal block a timing comparison.

Paired candidate execution requires explicit dataset, candidate, and complete Measurement identities before either candidate is invoked. Its private (trial_index, case_index) pairs retain case references and outputs only in memory and deliberately provide no serialized representation. A candidate failure does not skip the peer's invocation for that index; the missing successful pair remains explicit through the bounded in-memory pair collection rather than being imputed into an Evaluation Report.

The serving-arrival harness accepts only an injected callable and supplies it a private, payload-free arrival sequence and scheduled offset. It retains no request body, response, exception object, message, or client configuration. A bounded result has only immutable plan settings, closed arrival/status labels, aggregate conservation counts, and finite timing-distribution summaries. It has no endpoint, credential, payload, or Collector-report field. Open-loop generation, queueing, fixed workers, and drain are all capped before the first client invocation; a saturated generator is classified inconclusive, never silently treated as a complete lower-load run. Failed, timed-out, or dropped work makes latency evidence insufficient rather than allowing completed-request timing alone to mask selection bias.

Serving sweeps require one safe opaque endpoint revision and one safe configuration revision for every point, plus an allowlisted ExecutionIdentity resource record. They retain point outcomes in declaration order, including failed and generator-limited points, but never client factories, endpoint URLs, credentials, request/response payloads, exception text, or arbitrary environment metadata. Their local curve presentation is not a heterogeneous-hardware absolute-capacity or confidence-interval gate.

Paired Measurement reduction keeps aligned finite per-case scores only in a private, non-serializable complete evidence object for CaseMeasurement. Missing pairs, score-reduction failures, and Measurements without a declared per-case reducer, including CorpusMeasurements without an explicit private resampling callback, are explicit incomplete or unsupported evidence with counts only. A corpus callback receives selected observations only in process and returns a finite aggregate; report aggregates, case names, inputs, expected values, outputs, exception text, and partial scores are never repurposed as paired uncertainty evidence. Paired uncertainty records only the closed capability and bounded sampling provenance: unit, method, confidence, resample count, independent-unit count, and seed policy. It stores neither a seed value nor private score vectors. Legacy report intervals are explicitly trial-variability evidence; their independent count is trial scores, so repeated deterministic cases cannot inflate it into case inference. Paired difference estimation remains in-process and requires complete private paired evidence. It invokes the Consumer's original aggregation for each shared resample, then records only oriented absolute or resampled-ratio outcomes. It never subtracts two standalone score intervals, divides an absolute interval by a fixed score, or retains any case score vector. A zero ratio denominator or a negative point/replicate aggregate makes relative interval evidence unavailable. Signed absolute effects remain usable, and unavailable bootstrap replicates are never removed to create a favorable relative interval.

The performance-evaluation/comparison-v3 aggregate document is an explicit publication boundary, not a way to infer pairing from two reports. It retains only bounded report identities and aggregate effects, intervals, uncertainty method/confidence/independent count, and a closed relative-unavailable code. Writers use deterministic JSON and atomic replacement. Readers reject unknown or missing fields, oversized input, invalid methods or counts, and non-finite JSON constants; no private case, pair, or failure payload can cross that boundary. Both report identities include SHA3-512 digests of exact UTF-8 report publication bytes. Legacy comparison-v1 reads remain supported, but absent content binding cannot establish confidence evidence for Assessment. Comparison-v2 remains readable and eligible for bound absolute rules. Relative rules require v3 recomputation because legacy aggregate fields do not establish the private resampling ratio domain. The closed relative_signed_scores_unsupported reason distinguishes this domain from a zero denominator.

Confidence-aware Assessment Rules consume only a linked aggregate paired-comparison document. Their Consumer-supplied threshold and non-inferiority tolerance must be finite; allowed regression is non-negative. Absolute effect gates require an exact Measurement unit, while relative effect gates are explicitly dimensionless and require a defined relative interval. The closed paired-population inference scope and report links prevent a repeated-trial or unrelated comparison from being treated as confidence evidence. Missing, unlinked, mismatched, or denominator-undefined evidence produces an unavailable Rule Result and never a passing Assessment.