KPI evidence, reports and verdicts#
This page explains how to read the result of a KPI run:
the exit codes;
the live console progress and the final summary;
the public record
measurements.jsonand the calibration evidencecalibration.json;the private execution tree.
Outputs lists where a run writes each file. The page uses the terms of the KPI glossary, such as attempt, run, campaign, series, noise, budget, package, bundle, CPU model, controller, driver, child and verified drain. The backend names ovstage and OpenUSD follow the consumer glossary.
All numbers in the examples are synthetic. The console and summary text comes from the code’s own format strings.
Reports and verdicts#
The controller, python -m benchmarks.kpi run, decides every verdict. It freezes the requested
inventory, journals the start and the completion of every attempt, drains its child processes
and then classifies the campaign. A child process that reports a pass cannot qualify a result
by itself.
Every report keeps five verdicts apart: execution, work consistency, environment, workflow and
performance. The work-consistency section, workload_consistency, records
verification_kind=benchmark-work and correctness_qualified=false. KPI checks only that each
workload did its frozen work. Sentinel owns correctness.
Exit |
Status |
Meaning |
|---|---|---|
0 |
|
Every required condition qualified and passed. Warnings stay visible |
1 |
|
A product or work-contract failure, a native crash, or a failed normal operation |
2 |
|
A confirmed performance regression: a candidate median above its failure limit |
3 |
|
Not enough qualified evidence, for example a missing or incompatible budget, an unqualified environment, exhausted CPU retries, unstable noise or an incomplete inventory |
4 |
|
Invalid input, schema or identity, an output directory that already exists, failed input preparation, a harness or collector failure, or unverified process cleanup |
75 |
(CI only) |
The CPU-contention warning of CI check mode on Linux x86-64 and AArch64; Windows exits 0 instead. The benchmark verdict stays 3 |
76 |
(process only) |
Too few physical cores, found before any native measurement. The benchmark verdict stays 3 |
130 |
|
Cancellation, for example Ctrl+C |
When several outcomes apply, the first one in this order wins: 1, 4, 130, 2, 3, 0
(runner.EXIT_PRIORITY). A product failure therefore outranks a regression in the same
campaign, and a regression outranks missing evidence. The per-metric results stay visible in
the summary and in the public record.
Deadlines and operation watchdogs are not budgets. An expired watchdog gives insufficient evidence (3), never a regression; deadlines gives their values. Baseline collection reports its own result with the same codes; see collection status and exit codes.
Exit 76: too few physical cores#
KPI measures each attempt on four physical cores.
Exit 76 reports a proven shortage before anything was measured. benchmarks/kpi/exit_codes.py
returns it only when all of these hold:
The benchmark verdict is 3, and the output is verified.
The workflow receipt passed and the inputs stayed unchanged, where they were checked.
At least one attempt was executed. Every executed attempt is a drained, non-retryable CPU selection record of kind
insufficient_physical_cores.The retained topology of each record fails the four-core proof again, with the same core count.
python -m benchmarks.kpi run and the launchers return 76, also in a CI job. The launchers
also need verified private cleanup and a published public record; without them they exit 4.
Check mode usually finds the shortage in its budget phase, from the
observed topology, before fixture generation. It prints:
KPI insufficient physical cores (process exit 76; benchmark exit 3).
The public record keeps "benchmark_exit_code": 3 and "ci_exit_code": 76; read them where a
CI system reports every nonzero Windows exit as 1. Baseline collection never returns 76: it
reports the shortage with exit 3; see
collection status and exit codes.
These cases never give 76:
Case |
Result |
|---|---|
A CPU quota below four, or a malformed or unsupported topology |
Exit 3: there is no measurable CPU model, so there is no coverage |
An explicitly selected budget path that is missing or is not a CPU-model package |
Exit 3: measurement is skipped, whatever the core count |
Busy cores, missing observations of a simultaneous multithreading (SMT) sibling, or an incompatible pool |
The ordinary CPU-admission outcome |
A shortage after a native measurement started |
The campaign’s ordinary verdict |
The CI CPU-contention warning#
scripts/kpi_ci.py turns exactly one kind of insufficient evidence into a warning: a campaign
that ran out of CPU availability and has no other problem. It does so only in check mode in a
CI context: a job that the built-in provider adapter detects (GitLab’s CI_JOB_ID), or one
declared with OVCLASH_CI_PROVIDER or OVCLASH_CI_JOB_ID; see
run KPI in another CI system. A local run and a
baseline collection keep exit 3. The controller marks a campaign as eligible
(ci_cpu_availability_warning in the private summary) only when all of these hold:
The benchmark verdict is 3 and no other reason is recorded. The producer workflow passed, the inputs stayed unchanged, and the build is of verified, clean source.
The campaign ran in the four-core
four-physical-cores-retry-v2CPU domain.Every required metric has exactly one enforcing CPU-model limit, all for one CPU model.
Every executed attempt either qualified with every required metric, or is a CPU-busy rejection that the controller replayed. A cell that a busy wait left no time to start is marked as caused by that rejection.
Every comparison passed, warned, or lacks values only because its workload has missing cells.
Even with zero for every missing value, no median exceeds its failure limit.
Any actual operation failure, unsupported result, cohort mismatch, incomplete inventory or plain deadline stop prevents the warning. An eligible campaign then exits like this:
Platform |
CI exit |
Why |
|---|---|---|
Linux x86-64 and AArch64 |
75 |
A nonzero code that differs from 3. A CI system that shows every nonzero exit as a failure needs the exit code or the |
Windows |
0 |
A success code. A CI system can report every nonzero Windows exit as 1, so 0 is the only code that stays distinct from a failure |
The console states the warning in one line:
KPI CI: non-blocking warning (exit 75); CPU availability exhausted; performance not verified; benchmark exit 3; public numerical diagnostics only; raw controls execution-only
Windows prints the same line with exit 0. What stays unchanged:
measurements.jsonkeepsverdict.statusinsufficient-evidenceandbenchmark_exit_code3. Onlyci_exit_codeis 75 or 0. The summary ends withSaved exits: benchmark=3, CI=75.The private
results/summary.jsonkeeps exit 3. The driver also writesresults/ci-disposition.jsoninto the private execution tree. It binds the summary’s SHA-256 and recordsperformance_verified: false. Like the rest of the private execution tree, it is deleted after a verified drain.The warning never permits budget creation. The campaign is incomplete, so it exports no calibration evidence.
CI disposition record#
results/ci-disposition.json is one line of canonical JSON:
{"benchmark_exit_code":3,"ci_exit_code":75,"kind":"ovclash-kpi-ci-disposition","performance_verified":false,"reason":"cpu-availability","schema_version":1,"status":"warning","summary_sha256":"<64 hex digits>"}
The driver writes every field:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
|
Schema version |
|
string |
Yes |
|
Record kind |
|
string |
Yes |
|
The CI disposition |
|
string |
Yes |
|
Why the campaign became a warning |
|
integer |
Yes |
|
The unchanged benchmark verdict |
|
integer |
Yes |
|
The exit code the driver returned |
|
boolean |
Yes |
|
Performance was not verified |
|
string |
Yes |
64 lowercase hexadecimal digits |
The SHA-256 of |
Console progress#
A launcher or CI run prints the settings block first. The
driver then prints one progress line as each step starts or finishes.
Check mode gives the order of the steps. The standalone
python -m benchmarks.kpi run prints only its settings block and one
result line.
Each step line starts with KPI and a phase name. This is a release check with an installed
package; ... marks omitted lines, including the workload tables, and
<seconds> stands for each measured time:
KPI preparation: starting validated Release artifact preparation
KPI RUN DETAILS
Release inputs: artifact:release-inputs
Release files: artifact:release-files
Results: artifact:results
KPI preparation: ready (<seconds>s)
KPI budget: checking the selected policy
...
KPI budget: local budget package selected; controller will validate its format and approval (<seconds>s)
KPI generation: starting representative stage generation
KPI generation: body-representative starting
KPI generation: body-representative ready (<seconds>s)
KPI generation: body-representative files
Stage: artifact:stage
Bundle: artifact:stage-bundle
...
KPI generation: ready (<seconds>s)
KPI WORKLOAD FILES
Definition: artifact:workload-definition
Expectations: artifact:expectations
Runtime: artifact:runtime-manifest
KPI campaign: starting release
KPI budget: limits selected for the observed CPU model; other models cannot substitute; actual CPU admission remains required
KPI Campaign context
Backend: ovstage
CPU model: Example Core 42
Physical RAM: 64.00 GiB total
Output volume: 412.00 GiB free
...
KPI campaign: pass (exit 0); elapsed <seconds>s; public numerical diagnostics only; raw controls execution-only
Line prefix |
Step |
|---|---|
|
Extract the wheel and bind the SDK archive, the wheel, the runtime and the one passing validation receipt |
|
Read the catalog or package and check coverage. The lookup and coverage lines in between are described in mode and lookup lines |
|
Generate each bundle and check it against its pin |
|
Measure the workloads. The last line gives the verdict and the elapsed time |
|
A phase failed. The line names the phase, the verdict and a fixed reason |
A failed phase prints one line, for example:
KPI generation: failed (<seconds>s); harness failure (exit 4); invalid input or identity; details unavailable; see public numerical diagnostics when available; raw controls execution-only
Troubleshooting lists the fixed reasons and their remedies.
Blocks such as RUN DETAILS name fixed artifact roles like artifact:stage, never paths.
The driver’s filtered campaign progress and final summary never print raw exception text,
private paths, or machine or user names. Startup settings and interpreter diagnostics
forwarded by the launchers are outside that filter; see
Troubleshooting. The public record keeps its closed privacy
contract. Review and budget creation use the retained evidence, never the console.
Workload tables#
Before the first Release workload, a Noise calculation block states the definition of MAD, the
median absolute deviation, both noise limits and the budget formulas. It prints only once. Each
executed workload then prints a heading, a two-line legend, its setup references and one table
row per actual attempt. This Release workload goes from its first attempt to a stable result.
Every number in it is synthetic, chosen to show the noise calculation, and is not a typical
duration; the values that the calculation does not use show <s>:
Noise calculation
MAD = median absolute deviation of all measured values. Warm-up is excluded.
Stability noise = 3*MAD/median*100; Load limit 25%; other metrics 15%.
Reported noise is the highest required non-Load metric; Load noise is shown separately.
Largest deviations are retained. Budget allowance N=max(3*MAD, largest deviation);
Suite serialization N is at least 30% of the median (runner-host spread);
warning=1.05*median+N; failure=1.10*median+N.
Values are rounded for display; saved gates use full precision.
Workload: 1.1 Body / Static query
Total includes CPU checks and setup; Qualified = passed its workload and environment checks, not an approved baseline.
CPU % = pre-run aggregate/busiest selected or SMT sibling; placement-only: ---/busiest checked CPU; --- means unavailable.
Definition: artifact:workload-definition
Stage: artifact:stage
Evidence: artifact:results
|Run | Try|CPU % |CPU load check |Result |Load |Pipeline |Capture/Save|Workload |Total |
|----|----|------------|---------------|---------------|-----------|-----------|------------|---------|---------|
|1 | 1|12.3/24.6% |Ready <s> |Warm-up |<s> |<s> |<s> |<s> |<s> |
|2 | 1|12.3/24.6% |Ready <s> |Qualified |1.0000s |4.0000s |1.0200s |6.00s |<s> |
|3 | 1|85.0/95.0% |Busy <s> |Insufficient |--- |--- |--- |--- |<s> |
|3 | 2|10.0/20.0% |Ready <s> |Qualified |1.0200s |4.0500s |1.0300s |6.10s |<s> |
|4 | 1|12.3/24.6% |Ready <s> |Qualified |0.9900s |3.9800s |1.0100s |5.95s |<s> |
PASSED: noise 2.94% (limit 15%); Load noise 3.00% (limit 25%)
Read it like this:
Run 1 is the warm-up. Runs 2 to 4 are the three measured runs.
CPU admission rejected the first attempt of run 3 because the CPU was busy. The rejected attempt used no run slot, and the second attempt, a retry, qualified.
After run 4, every required metric had three measured values and noise within its limit, so the workload became stable; see the noise gate.
The
PASSEDline shows the highest noise of the required non-Load metrics, then the Load noise. Hereresult_capture_secondsis the highest:3 * 0.01 / 1.02 = 2.94%.The heading
Workload: 1.1 Body / Static querygives the campaign number and the workload number. A check run is campaign 1; a collection counts its campaigns. Workload numbers follow the execution order.The
RunandTrynumbers start at 1. Attempt directory names count from 0; see attempt directories.A workload that never started prints no table. Its counts and stop reason appear in the final summary.
Column |
Meaning |
|---|---|
|
The successful-run slot. Release allows ten, the warm-up included. A fixed-count run shows its cell number |
|
The attempt within the run. Attempt 2 is the first CPU retry. Adaptive Release permits attempts 1 to 11 per run; see run, retry and attempt limits |
|
Pre-run CPU load from the final admission window: aggregate / busiest selected CPU or online SMT sibling. A placement-only |
|
|
|
|
|
|
|
|
|
The wall time of the attempt, including CPU checks, startup and cleanup |
The times overlap: Workload is part of Total, and a phase time includes the work inside it.
Timing boundaries defines each one.
A missing value prints ---. Lines under a row explain it:
A failed row is followed by its verdict and fixed causes.
A
BusyorInsufficientrow adds no duplicate line.An
Invalidrow prints the rejected counter operands, starting withCPU counter sample invalid:.Another CPU rejection prints
CPU check: Rejected: <reason>.
|2 | 1|11.0/19.0% |Ready <s> |Failed |--- |--- |--- |--- |<s> |
product failure (exit 1)
Overlap count differs: expected 1200, observed 1199.
A rejected attempt does not stop the campaign by itself. The workload’s closing line says whether it stopped.
Sampling and stop lines#
Each Release workload ends with one closing line. PASSED marks a stable workload, as in the
workload tables example; the final summary shows the same saved decision in
its campaign summary. The other closing lines are described with their rules:
Campaign stopped: ...lines and everyRecovery: CPU contention ...line, both the one that precedes a CPU-retry restart and the ones that end smoke CPU recovery: when a Release campaign stops.The calculation block after a noise stop, for its deciding metric: how a stop is explained.
Restarting this workload only ...andRestart limit reached ...incollect-baseline: console and log lines.
Reading the evidence directory#
A launcher or CI check run exports only two things: the public record and, for an eligible Release campaign, the calibration evidence. A collection also writes its progress log, its status and the generated packages; see outputs. Private captures, runtime binaries and host paths are never exported. Start here:
Question |
Where to look |
|---|---|
Did the run pass? |
The |
Which metric warned or regressed? |
|
Why did an attempt fail? |
The lines under its row in the console table. For the full record, run the controller directly and read its |
Can this run create a budget? |
Only when |
Where are the raw files of a launcher run? |
Nowhere. The private execution tree is deleted after a verified drain |
The final summary#
The final KPI JOB SUMMARY (public diagnostic) is rendered from the public record alone. It
never reads private files and never changes the verdict.
By default the driver prints the summary at the end of the run:
--summary-mode inlineis its default, and the launchers pass no--summary-mode.A CI job can pass
--summary-mode deferredand print the summary with--after-scriptfrom a later step, which also runs after a timeout or a cancellation. See print the summary in a later step.
The record states where it was made: {"kind": "local"}, or {"kind": "ci-job", "job_id": N}
with the controller-validated numeric job ID. The reader compares it with the current context
before it prints anything. A record from another job, or a record it cannot read, prints only:
KPI public snapshot unavailable; original verdict unchanged.
Example: empty catalog. A Linux release check with no installed package stops before
fixture generation. Its summary looks like this:
KPI JOB SUMMARY (public diagnostic)
Recorded UTC: 2026-01-01T12:00:00.000000Z
CPU model: Example Core 42
| Item | Result |
| ---------------------------- | ---------------------------------------------------------------------------- |
| Backend / platform / profile | ovstage / linux / release |
| Saved overall result | insufficient-evidence; exit codes benchmark=3, CI=3 |
| Initial measurement validity | INCOMPLETE: 0 / 0 valid / requested observations; 0 rejected attempt records |
| Performance comparison | NOT EVALUATED (no approved limits recorded) |
| Total controller time | <seconds>s |
| Campaign time | unavailable |
| CPU precheck time | unavailable |
| Extra contention wait | unavailable |
| Diagnostic completeness | Final controller projection |
| Baseline authority | Saved performance acceptance does not approve a baseline |
Initial measurements: unavailable - no workload inventory or attempt records
...
Saved comparison results (performance)
Body Duplicates Only
NOT EVALUATED: No approved comparison limits are recorded (5 metrics)
Body Dynamic
NOT EVALUATED: No approved comparison limits are recorded (5 metrics)
...
Cockpit Suite Save
NOT EVALUATED: No approved comparison limits are recorded (6 metrics)
...
Overall: INSUFFICIENT EVIDENCE | Initial measurements: NOT RUN (0 / 0 valid) | Performance: NOT EVALUATED (no approved limits recorded) | Report: final | Saved exits: benchmark=3, CI=3
The nine workloads list 47 missing metric cells on Linux. On Windows each workload adds
private_high_water_bytes, which gives 56.
Example: a measured Release campaign. Here Body Static passed with one warning, and Cockpit Static failed its work check. This is an excerpt with illustrative values:
| Saved overall result | product-failure; exit codes benchmark=1, CI=1 |
| Initial measurement validity | INCOMPLETE: 3 / 6 valid / planned cells (planned includes 2 warm-ups); 2 rejected attempt records |
| Performance comparison | NOT EVALUATED for campaign (incomplete initial evidence; saved product-failure outcome) |
...
Campaign summary (saved controller decisions)
| Workload | Runs | Attempts | Valid/metric | Result |
| -------------- | ------ | -------- | ------------ | ------- |
| Body Static | 4 / 10 | 5 | 3 | PASSED |
| Cockpit Static | 1 / 10 | 2 | 0 | Stopped |
...
Saved comparison results (performance)
Body Static
| Metric | Result | Median | Baseline | Change | Warn > | Fail > | -20% 0 +22% |
| --------- | --------------------- | ------ | -------- | ------ | ------ | ------ | -------------- |
| Operation | ACCEPTED (saved pass) | 100s | 98s | +2.0% | +7.1% | +12.2% | [ :*WF ] |
| Load | ACCEPTED with WARNING | 10s | 9s | +11.1% | +10.0% | +22.2% | [ :==! F] |
Saved comparison mode: direct
Cockpit Static
NOT EVALUATED: Product failure; exact cause not retained (1 metric)
...
Overall: PRODUCT FAILURE | Initial measurements: PARTIAL (3 / 6 valid; 2 warm-ups planned) | Performance: NOT EVALUATED for campaign (incomplete initial evidence; saved product-failure outcome) | Report: final | Saved exits: benchmark=1, CI=1
The summary has these sections, in this order:
Section |
Shown |
Content |
|---|---|---|
Header and result table |
Always |
Recording time and CPU model; backend, platform and profile; saved verdict with the benchmark and CI exits; measurement validity; campaign performance; controller, campaign and CPU-precheck time; extra contention wait; whether the record is final or partial |
|
Fixed-count runs ( |
Per workload: |
|
Adaptive Release |
Per workload: |
|
Only after a non-routine CPU check |
|
|
Always |
Per workload: |
|
Always |
Metrics with fewer than three qualified values, or with noise above its limit |
|
When the record has comparisons |
Per workload: |
|
Always |
The verdict, the initial measurement state, the performance result, |
The campaign summary. An adaptive Release record repeats the controller’s saved sampling decision of every workload. Notes follow the table: the count definitions, the noise limits, the retained warm-ups, the retry rule and, under each workload that stopped, restarted or kept rejected records, its retained records and its stop line. For a campaign that stopped at a noise limit (values illustrative; the calculation block is elided):
Campaign summary (saved controller decisions)
| Workload | Runs | Attempts | Valid/metric | Result |
| ------------------------ | ------- | -------- | ------------ | ------------- |
| Body Static | 4 / 10 | 4 | 3 | PASSED |
| Body Dynamic | 4 / 10 | 4 | 3 | PASSED |
| Body Suite Save | 4 / 10 | 4 | 3 | PASSED |
| Cockpit Static | 4 / 10 | 4 | 3 | PASSED |
| Cockpit Dynamic | 4 / 10 | 4 | 3 | PASSED |
| Cockpit Suite Save | 4 / 10 | 4 | 3 | PASSED |
| Body Dynamic Depth | 10 / 10 | 12 | 9 | FAILED: noise |
| Cockpit Static Clearance | 0 / 10 | 0 | 0 | Not run |
| Body Duplicates Only | 0 / 10 | 0 | 0 | Not run |
Runs: successful / 10, including one warm-up. Attempts: all actual attempts, including CPU-rejected retries. Valid/metric: minimum qualified measured values across required metrics. Unstarted placeholders are not attempts.
Noise limits: Load time <= 25%; all other metrics <= 15%.
Warm-up: 7 successful runs retained and excluded from measured statistics.
CPU-rejected retries do not count toward the 10 successful-run limit; up to 10 retries per run. All valid values are retained; no favorable subset is selected. Stability does not approve a baseline.
Body Dynamic Depth
Retained records: CPU rejects: 2; retries: 2; rejected: 2.
Campaign stopped: 10 successful runs used (1 warm-up, 9 measured); 12 total attempts; required metrics have not passed the noise checks (Load 25%; other metrics 15%); Operation noise 30.00% > 15%
...
Cockpit Static Clearance
Retained records: unstarted: 3.
Body Duplicates Only
Retained records: unstarted: 3.
|
Saved decision |
|---|---|
|
|
|
|
|
|
|
|
|
|
A workload that ended at the attempt limit repeats its console stop line and the calculation of its deciding metric; how a stop is explained describes both.
A
Stoppedworkload printsStopped before a stable result; see the saved overall result and attempt records.A restarted workload lists its restart history, and the notes add that only the final series counts; see console and log lines.
The result table states VALID or INCOMPLETE measurements. The Validity column and the
Overall: line use VALID, PARTIAL, REJECTED, NOT RUN or UNKNOWN. Each metric
comparison shows its saved result:
Result |
Meaning |
|---|---|
|
The median is at or below the warning limit |
|
The median is above |
|
The median is above |
|
No budget, no median, insufficient evidence, or a product or harness failure |
Budget limits defines W and F. Change, Warn > and
Fail > give the median, W and F as percent changes from B, the baseline median of the
budget row: a change above Warn > is a warning, and above Fail > a regression. When two
different values print alike, for example a median just above F that rounds to the same
percentage, the metric name gets [rounded] and the saved result decides.
The position bar draws the same numbers. All bars of one table share an axis of twelve cells from
-20% to the largest failure limit in the table, and the column header labels both ends and
B:
Mark |
Meaning |
|---|---|
|
The budget’s |
|
The change from |
|
The row’s warning and failure limits |
|
The median: at or below |
|
In place of a bracket: the median lies beyond that end of the axis |
The median’s mark compares the unrounded values, so it stays correct when it covers a limit’s
cell. Without a budget or a median, the cell reads unavailable. The bar is a picture; it
recomputes no verdict. The comparison details of the driver’s KPI JOB SUMMARY use the same
columns and bar, with one table per verdict group and workload.
How to read the counts and values:
Runscounts successful runs, the warm-up included.Attemptscounts actual attempts, CPU rejections included.Valid/metricis the smallest count of qualified measured values across the required metrics.An unstarted placeholder is not an attempt. An attempt record does not prove native execution. A rejected attempt is not a performance rejection.
For each cell, the latest retained record counts. A later failed or pending record replaces an earlier successful one.
Durations are in seconds and sizes in binary units (KiB, MiB, GiB). Displayed values have six significant digits; the JSON keeps the exact values. A missing value reads
unavailable, never zero.CPU precheck time, contention waiting, attempt durations and the total controller time overlap. Do not add them.
Passing CPU admission does not prove that the machine stayed idle during the operation.
A valid measurement does not mean accepted performance. Campaign performance stays
NOT EVALUATED for a partial report, incomplete initial evidence, a workload without
comparisons, omitted records, or any verdict other than pass or regression. The per-metric
results stay visible even then, as in the measured Release campaign example of
the final summary.
Baseline readiness applies the noise limits to the public
values of every report, smoke included. It is arithmetic on the displayed values, not an
eligibility decision. When the record holds more than one CPU model, it does not evaluate
variability.
A check run ends with this sentence and a heart only when its saved record shows a benchmark
pass, CI exit 0, a final record (incomplete is false) and verified private cleanup:
All KPI workloads passed and stay within their approved limits. Everything is awesome!
The heart is a Unicode character; a console whose encoding cannot show it prints <3 instead.
An interactive terminal shows the line in green. Any warning, insufficient evidence, unverified
cleanup or failure prints no sentence, and neither does the CI CPU-contention warning on
Windows, whose CI exit 0 keeps benchmark verdict 3. With --summary-mode deferred, the sentence
ends the after-script summary. A collection that exits 0 prints its own sentence; see
collection progress log.
Public record#
Every launcher check run publishes public/measurements.json. A collection publishes one
per campaign, in public/campaigns/<NNNN>/public/. The format:
Schema
ovclash-kpi-public-measurements-v4with thenumeric-logical-references-v1privacy contract.One line of compact ASCII JSON with sorted keys and a trailing newline, at most 2 MiB. Row caps bound its
inventory,attemptsandcomparisonsrows.Only fixed workload and metric names, numbers, UTC timestamps and logical references. A CPU label appears only when it comes from a complete, normalized hardware identity. Host and user names, unknown strings, paths, error text and raw console bytes are never copied.
The driver writes a context-only record, marked incomplete, as soon as the run starts. It
replaces the file atomically after each controller inventory, attempt and summary event, and
writes the final record at the end. A timeout or cancellation therefore leaves the latest
partial record for the after-script.
The record has no calibration, runtime or approval authority. budget create cannot use it.
The schema is closed: a reader rejects any field that these tables do not list.
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
string |
Yes |
|
Format |
|
string |
Yes |
|
Privacy contract |
|
string |
Yes |
|
Recording time |
|
string |
Yes |
|
Run identity |
|
string |
Yes |
|
Run identity |
|
string |
Yes |
|
Run identity |
|
object |
Yes |
|
Where the record was made |
|
boolean |
Yes |
Always |
The record grants no authority |
|
boolean |
Yes |
|
|
|
array of objects |
Yes |
Exactly |
The record names itself |
|
array of objects |
Yes |
At most 16,384 rows |
Requested cells; see public record rows |
|
array of objects |
Yes |
At most 16,384 rows |
One row per attempt; see public record rows. Rows carry no attempt directory name |
|
array of objects |
Yes |
At most 16,384 rows |
One row per workload and metric; see comparison rows |
|
integer |
Yes |
0 or more |
Rows that could not be projected and were left out |
|
object |
Yes |
|
The saved verdict |
|
number |
No |
0 or more |
Campaign time, when known |
|
number |
No |
0 or more |
Total controller time, when known |
|
object |
No |
Present when the policy is current |
The adaptive Release decisions per workload; see sampling records |
|
object |
No |
|
|
|
array of strings |
No |
1 to 64 sorted, distinct labels |
Normalized CPU model labels |
|
object |
No |
|
A SHA-256 reference to the model string |
|
string |
No |
|
The architecture |
|
boolean |
No |
|
Whether the private execution tree was removed after a verified drain |
Public record rows#
The inventory and attempts rows share one field set. An inventory row holds only the
identity fields workload_id, series, sample and replacement, and the driver writes the
fields marked “Attempt rows” in every attempts row:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
string |
Yes |
One of the nine workload IDs |
The workload |
|
integer |
No |
1 to the restart limit |
The restarted series. The original series 0 is never written |
|
integer |
No |
0 or more |
The inventory cell |
|
integer |
No |
0 or more |
The CPU retry of the cell |
|
integer or null |
Attempt rows |
0, 1, 2, 3, 4, 130 or |
The attempt verdict; |
|
string |
Attempt rows |
The status name of |
The attempt status |
|
boolean |
Attempt rows |
|
Exit 0 with a passing work audit and metrics |
|
boolean |
Attempt rows |
|
The attempt passed its workload and environment checks |
|
number or null |
No |
0 or more |
The attempt’s wall time and its CPU-admission time |
|
object |
No |
Keys among the twelve public metrics; values are numbers of 0 or more, or |
|
|
object |
No |
Never on an |
The CPU diagnostics and the recorded contention; see what is recorded |
|
string |
Adaptive Release attempts |
|
The attempt’s sampling role |
|
integer |
Adaptive Release attempts |
1 or more |
The attempt count and the run slot of the workload |
Comparison rows#
Each comparisons row:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
string |
Yes |
One of the nine workload IDs |
The workload |
|
string |
Yes |
One of the twelve public metrics |
The metric |
|
string |
Yes |
|
The metric’s unit |
|
string |
Yes |
|
The saved comparison result |
|
object |
No |
|
The candidate’s statistics |
|
object |
No |
All of |
The applied budget |
Verdict object#
The verdict object:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer or null |
Yes |
0, 1, 2, 3, 4, 130 or |
The benchmark verdict |
|
integer or null |
Yes |
The benchmark codes, 75, 76 or |
The process exit code |
|
string |
Yes |
The status name of |
The verdict status |
Example record#
The record of the empty-catalog example in the final summary,
pretty-printed and shortened, with <seconds> in place of the measured time (the file itself is
one line):
{
"approval_authority": false,
"attempts": [],
"backend": "ovstage",
"comparisons": [
{"metric_id": "operation_seconds", "status": "insufficient-evidence", "unit": "seconds", "workload_id": "benchmark-body-representative-duplicates-only"}
],
"cpu_models": ["Example Core 42"],
"created_utc": "2026-01-01T12:00:00.000000Z",
"driver_seconds": <seconds>,
"eligible_for_calibration": false,
"eligible_runtime": false,
"incomplete": false,
"inventory": [],
"omitted_records": 0,
"platform": "linux",
"privacy_contract": "numeric-logical-references-v1",
"private_cleanup_verified": true,
"profile": "release",
"publication_context": {"kind": "local"},
"raw_evidence_retained": false,
"references": [{"member": "measurements.json", "role": "measurements"}],
"schema": "ovclash-kpi-public-measurements-v4",
"verdict": {"benchmark_exit_code": 3, "ci_exit_code": 3, "status": "insufficient-evidence"}
}
A comparison with an approved budget carries the saved statistics and limits:
{"limits": {"baseline": 98.0, "comparison_mode": "direct", "failure": 110.0, "unit": "seconds", "warning": 105.0}, "metric_id": "operation_seconds", "statistics": {"count": 3, "mad": 1.0, "maximum": 101.0, "median": 100.0, "minimum": 99.0}, "status": "pass", "unit": "seconds", "workload_id": "benchmark-body-representative-static"}
To read a record in a script, validate it first. Run this from ovclash/ with $PY, the KPI
input Python of the quick start:
import json
from pathlib import Path
from benchmarks.kpi import publication
path = Path("_build/kpi-local-example/public/measurements.json")
record = publication.validate_public(json.loads(path.read_text(encoding="ascii")))
verdict = record["verdict"]
print(verdict["status"], "benchmark exit", verdict["benchmark_exit_code"], "CI exit", verdict["ci_exit_code"])
for row in record["comparisons"]:
if row["status"] != "pass":
print(" ", row["workload_id"], row["metric_id"], row["status"])
For the measured Release campaign example of the final summary, it prints:
product-failure benchmark exit 1 CI exit 1
benchmark-body-representative-static load_seconds warning
benchmark-cockpit-representative-static operation_seconds product-failure
validate_public raises PublicationError, a ValueError, for any field outside the closed
schema.
Calibration evidence#
Calibration evidence is the replayable record of one complete Release campaign. It is the only
input that budget create accepts; see
offline budget recording.
A --profile release check run writes calibration/calibration.json (--calibration-output
selects another directory) only when all of these hold:
The campaign measured: compatible coverage let it pass the budget phase.
The campaign verdict is 0 or 3. CI exit 75 counts as 3. A regression, a product or harness failure and an interruption export nothing.
Every writer drained, and private cleanup is not held.
calibration.exportaccepts the campaign.
calibration.export requires:
the Release profile and the current nine-workload adaptive sampling policy,
adaptive-release-warmup-robust-load25-noise15-retry10-runs10-restarts10-v10;a clean, verified Release build of the selected backend and a passing validation receipt of the same build;
every workload of the frozen manifest stable: each passed the noise gate, so every required metric has at least three measured values. A campaign that stopped before every workload became stable exports nothing;
a verified child runtime, expected work and staged input closure;
the measurement code, the build closure and the stage inputs unchanged from the start of the campaign until the file is published.
Smoke, incomplete, failed and interrupted campaigns therefore export no calibration. Once the
first three conditions hold, check mode prints one of two lines, depending on whether
calibration.export accepts the campaign:
KPI complete calibration evidence exported; producer content receipts and offline numeric replay retained.
KPI campaign is ineligible for portable calibration; diagnostic verdict unchanged.
A collection exports every campaign that exits 0 with a verified drain to
public/campaigns/<NNNN>/calibration/, before the independent replay checks the campaign. The
file stays even when the replay rejects the campaign; see
collection outputs. The collection’s progress log records
the export instead of printing either KPI ... calibration line.
The output of a check run therefore holds the public record and, only for a complete qualifying
Release campaign with compatible coverage, one calibration.json. The output of a collection
holds one calibration.json per exported campaign. Pass those directories to
budget create --artifacts, extracted first when they come from a CI artifact.
The format:
Format
ovclash-kpi-calibration-evidence-v11(schema_version11), privacy contractnumeric-logical-references-v1, validation boundaryproducer-validated-content-receipts-offline-numeric-work-replay-v1.Canonical JSON, at most 64 MiB. Row caps bound its attempt rows and CPU placement receipts.
It holds only each workload’s final series; see what counts after a restart. It keeps every attempt and rejection of that series, the original child identities as hashes, the full frozen inventory, the numerical CPU histories and the expected-work proof.
It holds no runtime binary, host or user identity or local path.
Every field is required, and readers reject an unknown one:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
|
Schema version |
|
string |
Yes |
|
Format |
|
string |
Yes |
|
Privacy contract |
|
string |
Yes |
|
What readers can recheck offline |
|
string |
Yes |
An explicit UTC timestamp |
Export time |
|
string |
Yes |
64 lowercase hexadecimal digits |
The SHA-256 of the session ID |
|
integer |
Yes |
|
The campaign verdict |
|
object |
Yes |
|
The build, source and measurement identity, the native and binding closure digests, the receipts of the SDK archive, wheel and interpreter, and the validation receipt with its signing policy and applicability |
|
object |
Yes |
The campaign cohort, with runner and storage classes from the calibration vocabulary |
The cohort of every observation |
|
object |
Yes |
The package |
The CPU-model compatibility fingerprints |
|
array of objects |
Yes |
At most 8,192 rows of |
The placement receipts |
|
string |
Yes |
SHA-256 |
The frozen contract digest |
|
array of objects |
Yes |
Rows of |
The requested cells |
|
array of objects |
Yes |
One row per workload: |
The workload definitions with their digests |
|
array of objects |
Yes |
One row per attempt, in order; see calibration attempt rows |
The attempts of each workload’s final series |
|
object |
Yes |
Its |
The sampling decisions; see sampling records |
|
string |
Yes |
64 lowercase hexadecimal digits |
SHA-256 of the canonical JSON of every other field. Readers reject a mismatch |
Calibration attempt rows#
Each attempts row holds every one of these fields:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
0, 1, … in file order |
The row’s position |
|
string |
Yes |
One of the nine workload IDs |
The workload |
|
integer |
Yes |
|
The inventory cell and its CPU retry |
|
string |
Yes |
|
What happened to the attempt |
|
integer |
Yes |
|
The attempt verdict |
|
string |
Yes |
|
The sampling role |
|
integer |
Yes |
1 or more |
The attempt count and the run slot of the workload |
|
string |
Yes |
64 lowercase hexadecimal digits |
A hash of the attempt ID |
|
object |
Yes |
|
The producer’s content receipt of the raw attempt record |
|
object or null |
Yes |
|
The child identity, as hashes |
|
object |
Yes |
The CPU records |
The placement, admission and CPU observations |
|
object |
Yes |
Empty for a |
The measured metric values |
|
object or null |
Yes |
|
The expected-work proof |
|
string |
Yes |
Always |
Retired fields kept as constants |
|
null |
Yes |
Always |
Retired fields kept as constants |
Offline checks#
Offline readers (calibration.validate, which budget create runs) recheck everything they
can without the original machine:
They require the complete closed schema, the v11 format and the current sampling policy. They recompute
content_sha256and accept onlycampaign_exit_code0 or 3.They verify the workload and metric inventory, child uniqueness, the runtime and backend receipts and the expected work.
They replay the numerical CPU admission and load checks and the adaptive sampling decisions. They never trust a stored qualification flag or projected budget.
They treat hash receipts as producer attestations: content hashes and sizes record what the producer validated, because binaries absent from the artifact cannot be hashed again.
They recheck the supported-workflow signing rules, with pass counts and permitted skips kept separate.
A portable calibration artifact holds exactly one calibration.json and at most one
measurements.json, with no other file and no link. To check one before budget create, run
this from ovclash/ with $PY, the KPI input Python of the quick start:
from pathlib import Path
from benchmarks.kpi import calibration, evidence
path = Path("_build/kpi-local-example/calibration/calibration.json")
document = evidence.load_json(path)
calibration.validate(document) # raises ValueError("calibration ...") on any mismatch
print(document["format"], document["campaign_exit_code"], len(document["attempts"]))
For a campaign of the nine workloads with four runs each and verdict 3 (the synthetic campaign
of tests/python_tests/kpi_calibration_fixture.py), it prints:
ovclash-kpi-calibration-evidence-v11 3 36
Private execution tree#
One controller owns one fresh private execution tree. Each attempt runs in its own child process with explicit bindings and native libraries. The shared process supervisor launches it, enforces its timeout and cleans up its descendants. Cleanup tries every remaining handle and keeps the original failure. If the supervisor cannot confirm that every owned child exited, the campaign stops: no later workload runs, and the report marks the output unverified.
The background observer, the in-process sampler of the child, reads OS counters only, and its
memory and CPU cost are part of the measured process. A failure of the observer alone is a
harness error. Its thread counts (Linux procfs tasks and Python thread counts) do not identify
native ovclash workers, and the requested nb_tasks is not an observed thread count.
The launchers place the private execution tree of each campaign:
Linux: below the
--outputcontainer.Windows: in the system temporary directory, which keeps native paths short. Python takes it from
TMPDIR, thenTEMP, thenTMP. Before the campaign starts, the driver checks the generation root and every frozen bundle member against the nativeMAX_PATHlimit (260 UTF-16 units including the terminating NUL). Without long path support, Windows refuses such a path earlier, and a directory of 248 characters or more as well: when the driver creates the private execution tree, extracts the wheel into it or generates the bundles, or when a check writes the report of a failed phase. In each case the run stops with exit 4 and names the remedyWindows private KPI paths exceed MAX_PATH; set TMPDIR, TEMP and TMP to a shorter folder:A check prints the remedy as the reason of the failed phase. When not even the private execution tree can be created, no phase has started, and the check prints
KPI harness failure; <remedy>.instead.A collection logs the remedy as the kind of its
Failed phase:line and stops withcollection_harness_failure; see collection status and exit codes.
Both locations get the same ownership, link, reparse-point, protected-input and cleanup checks. The driver removes the tree only after it verified the drain. Removal stops if the directory, its owner marker or its top-level entries changed, or if it holds more than 100,000 files. An unverified cleanup keeps the tree and exports nothing from it.
.kpi-execution-<random>/
.execution-owner.json owner marker; cleanup checks it
campaign/
prepared/ inputs prepared for this campaign
results/ the controller's results; see "Files in results/"
A collection prepares once. Its first private execution tree holds the shared
campaign/prepared/ tree, and each campaign runs in a private execution tree of its own that
holds only campaign/results/. A campaign whose tree is held also keeps the shared prepared
tree.
Path below |
Format |
Purpose |
|---|---|---|
|
JSON |
The selected runtime and build, and a copy of the producer’s one passing validation receipt |
|
Directory |
The extracted Release wheel, used as the Python binding root |
|
JSON |
Check mode: the CPU pool that coverage requires. Written only when another observed CPU model has no coverage |
|
JSON |
Collection: the pool that binds campaign |
|
JSON |
The schema-3 |
|
JSON |
Copies of the build manifest and the frozen contracts. On Linux AArch64 the expectations copy carries the reviewed Cockpit static qualification |
|
Directory of |
|
|
JSON |
Generation time and pins of each bundle, and the total generation time |
The controller hashes every selected bundle file when the campaign starts and again after all
writers drained. It records the result in results/input-admission.json. If the final check
fails, the campaign cannot pass; an earlier failure keeps its own classification.
A direct python -m benchmarks.kpi run --output <dir> keeps its whole output directory, which
has the layout of results/. The launchers keep only the public record and eligible calibration
evidence.
Files in results/#
File |
Format |
Present |
Purpose |
|---|---|---|---|
|
Markdown |
Completed run |
The human-readable report: verdict, attempt table, sampling evidence, work consistency, measured values, budget comparisons and supported workflows |
|
One line of compact UTF-8 JSON |
Completed run |
The final classification, inventory, attempts, observations, comparisons, sampling, cohort, build, workflow and scorecard. Use it for outcomes. It uses the private summary encoding; summary fields lists its fields |
|
CSV with a header row |
Completed run |
One row per recorded metric of each retained attempt; see |
|
JSON array |
From before execution |
The requested cells with |
|
JSON Lines, one event per line |
From the first attempt |
Append-only journal with |
|
JSON |
Four-core domain only |
The |
|
JSON |
Four-core domain only |
Placement receipts: capabilities and topology, sampled load windows, the required pool, and the selected allocation or the failure reason. Status is |
|
JSON |
Completed run |
The bundle-content checks at campaign start and after the drain |
|
JSON |
Early in the run |
The selected build and its same-build validation receipt, retained before later steps can fail. It is not a Sentinel result |
|
JSON |
Early in the run |
Each workload’s verification kind ( |
|
JSON |
Only with a selected package or catalog |
For a catalog directory: its package list and total size. For one package: its SHA-256, size, approvals or generation attestation, comparison contract and creation time |
|
One line of canonical JSON |
Only for the CI CPU-contention warning |
The CI disposition; see CI disposition record |
|
Directory |
One per executed attempt |
metrics.csv columns#
metrics.csv has these columns, in this order:
Column |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
string |
Yes |
An attempt directory name |
The attempt |
|
string |
Yes |
One of the nine workload IDs |
The workload |
|
string |
Yes |
An attempt status, such as |
The attempt’s status |
|
string |
Yes |
|
Whether the attempt qualified |
|
string |
Yes |
A recorded metric name |
The metric |
|
number |
Yes |
The recorded value |
The metric’s value |
|
string |
Yes |
|
The unit |
cpu-selection.json fields#
cpu-selection.json is the campaign’s selection ledger. admission_guard.py rewrites it after
each placement:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
|
Schema version |
|
string |
Yes |
|
Record kind |
|
array of objects |
Yes |
One row per placement, in order: |
The placement receipts |
Each placement receipt, cpu-selections/<NNN>.json, holds these fields. After a placement
failure, read status and reason first:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer, string |
Yes |
|
Record identity |
|
string |
Yes |
|
The placement result |
|
boolean |
Yes |
Always |
The pinned child must still pass its own admission |
|
string |
When not |
Fixed text, such as |
Why no placement was selected |
|
string, integer, boolean |
Too few physical cores only |
|
The core shortage and whether the placement’s own cleanup completed |
|
string |
Yes |
|
The CPU domain |
|
object |
Yes |
The load policy settings |
The admission thresholds and windows |
|
object or null |
Yes |
|
The required pool |
|
number |
Yes |
0 or more |
The authorized wait and the time the placement took |
|
number |
Once sampling started |
0 or more |
When load sampling began, after topology discovery |
|
object |
Once discovered |
The CPU topology and the counter capabilities |
What placement observed |
|
array of objects |
Yes |
Possibly empty |
The raw load samples |
|
array of objects |
Yes |
|
Each complete 1-second window and its decision |
|
object |
|
The selected four CPUs and the identity of their pool |
The placement that the attempts use |
|
array of strings |
No |
Notes of a failed adapter cleanup |
Cleanup diagnostics |
These files describe a completed controller run. An earlier failure can leave fewer files. The
writers are in benchmarks/kpi/:
runner.py:report.md,summary.json,metrics.csv,inventory.json,attempts.jsonland eachattempt.json;execution.py:input-admission.json,workflow-receipt.json,workload-verification.jsonandbudget-package.json;admission_guard.py:cpu-selection.jsonand thecpu-selections/receipts;attempt.py: each attempt’stask.json,admission.json,stdout.logandstderr.log;benchmark_execution.pyandbenchmark_depth.py: the capture files of a completed canonical capture, the report capture of a workload other than a Suite save; see attempt directories.
scripts/kpi_ci.py writes ci-disposition.json.
report.md starts like this:
# ovclash KPI report
Status: **product-failure** (exit 1).
Profile: `release`. Backend: ovstage Release.
Results qualify only the requested workload/profile. Missing budgets or evidence are not passes.
| Attempt | Workload | Result | Environment qualified | Reason |
| --- | --- | --- | --- | --- |
| benchmark-body-representative-static-000-0 | benchmark-body-representative-static | insufficient-evidence | False | |
| benchmark-body-representative-static-000-1 | benchmark-body-representative-static | pass | True | |
...
metrics.csv of the same campaign starts like this:
attempt_id,workload_id,status,qualified,metric,value,unit
benchmark-body-representative-static-000-1,benchmark-body-representative-static,pass,True,operation_seconds,900.0,seconds
benchmark-body-representative-static-000-1,benchmark-body-representative-static,pass,True,load_seconds,30.0,seconds
The rejected attempt ...-000-0 has no metric rows. Its retry ...-000-1 is the warm-up; its
values stay in the file but are excluded from medians and noise.
Private summary encoding#
results/summary.json grows with every retained attempt. calibration.export refuses a
private results tree with any JSON file larger than 128 MiB (budget_package.MAX_JSON_BYTES).
The controller therefore writes summary.json as one line of compact UTF-8 JSON, without NaN
or infinity, with a trailing newline. When the cohort of an observation serializes exactly
like the top-level cohort, the observation stores the string "summary.cohort" instead of a
copy. This applies to observations and to the observations inside each comparison.
Read the file with benchmarks.kpi.runner.load_summary, or pass a parsed document to
runner.restore_summary. Every KPI reader does, and the result equals the summary the
controller held in memory. Only a direct run keeps summary.json; this example reads the
_build/kpi-local/results directory of a direct campaign. Run
it from ovclash/ with $PY:
from pathlib import Path
from benchmarks.kpi import runner
summary = runner.load_summary(Path("_build/kpi-local/results/summary.json"))
print(summary["status"], summary["exit_code"])
Any other string cohort, or a shared cohort without a top-level cohort object, is rejected
with private KPI summary has an invalid shared observation cohort. The private summary is not
signed: because shared observations are restored from the top-level cohort, a replay cannot
detect an edit of only that cohort. Calibration, public records, packages and reports do not
use this encoding.
Summary fields#
A completed campaign writes these top-level fields: execution.py builds them, and runner.py
adds the scorecard. When owned cleanup fails, the summary holds only the fields known by then,
with output_unverified: true and qualified: false.
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
integer |
Yes |
|
Schema version |
|
string |
Yes |
|
|
|
string |
Yes |
32 lowercase hexadecimal digits, or the |
The campaign’s session ID |
|
string |
Yes |
|
The profile |
|
string |
Yes |
|
The measured build |
|
string |
Yes |
|
The status name of |
|
integer |
Yes |
0, 1, 2, 3, 4 or 130 |
The benchmark verdict; see reports and verdicts |
|
array of strings |
Yes |
Possibly empty |
Campaign-level reasons, such as a missing validation receipt |
|
number |
Yes |
0 or more |
The controller’s campaign time |
|
boolean |
Yes |
Always |
KPI never completes a release gate |
|
object, string |
Yes |
The selected build manifest; its SHA-256 content identity |
The producer |
|
object or null |
Yes |
Its |
The checked validation receipt |
|
object |
Yes |
The campaign cohort |
Shared by the observations |
|
object |
Yes |
Its |
The content checks that |
|
string, object |
Yes |
|
The declared verification |
|
array of objects |
Yes |
The rows of |
The requested cells |
|
array of objects |
Yes |
One row per attempt |
The controller’s attempt records |
|
array of objects |
Yes |
Qualified metric values, each with its |
The values that the comparisons use |
|
array of objects |
Yes |
One row per workload and metric, with its observations |
The budget comparisons |
|
object |
Yes |
Its |
The sampling decisions; see sampling records |
|
object |
Yes |
|
The per-workload result of the required cells |
|
boolean |
Yes |
Always |
Eligibility for the CI CPU-contention warning |
|
object |
Four-core domain only |
|
|
|
boolean, string or null, boolean |
|
A retry reason such as |
Whether the collector may retry the campaign, and why |
Attempt directories#
Each attempt has its own directory below results/, named
<workload_id>[-r<series>]-<sample>-<replacement>:
benchmark-body-representative-static-000-0 sample 0, first attempt
benchmark-body-representative-dynamic-002-3 sample 2, third CPU retry
benchmark-body-representative-dynamic-r1-000-0 restart series 1, sample 0, first attempt
sampleis the zero-based inventory cell, in three digits.replacementcounts the CPU retries of one cell, from 0. Recovery gives how many each profile and CPU domain permits.-r<k>appears only for a series thatcollect-baselinerestarted; the original series has none.An unexecuted cell may have no directory.
The numbers do not identify dynamic frames. One dynamic attempt runs all 65 samples of its workload, and one depth attempt all 10.
File |
Format |
Present |
Purpose |
|---|---|---|---|
|
JSON |
When the controller launched a child; written before the launch |
The controller’s request: workload and build, scratch and stage paths, admission settings and task token. A four-core task also binds the full |
|
JSON |
When CPU admission ran for the attempt |
The CPU-admission decision and its evidence. Read its rejection reasons before you interpret missing timings; see |
|
JSON |
When the child wrote its result |
The raw child result: operation metrics, telemetry, runtime provenance, work counts, capture descriptors or the failure reason. An allocated run carries |
|
JSON |
Every executed attempt |
The controller’s attempt record after child cleanup and verification, with the elapsed wall time and the final classification |
|
Text |
When the controller launched a child |
Child output. Either may be empty, even when a structured receipt explains a failure |
The controller checks the task’s allocation against the child result and the raw telemetry
before it interprets a measurement; benchmarks/kpi/attempt.py holds these checks. A four-core
placement failure happens before a child launches and can leave only attempt.json; read the
campaign’s cpu-selection.json then. A child that exhausts CPU admission can keep every file
of its attempt directory without running a query.
A completed canonical capture adds these files. Their presence alone does not mean that the work or performance checks passed.
File |
Format |
Purpose |
|---|---|---|
|
JSON |
Compact pair, sample, element and duplicate identity and the report-volume receipt, bound by the child’s capture descriptor. No geometry |
|
Packed binary, one 33-byte row per record |
Packed per-record report-buffer counts. They locate volume differences without fetching native reports again. Canonical cold operations describes the row |
|
JSON |
The pair-path mapping and the summary and sample-grid binding of the packed records |
|
Packed binary, one 20-byte little-endian row per record |
Body Dynamic depth only: pair index, sample index, element count and float32 depth. Captured after result-ready, the timing boundary at which the results are usable, and replayed before qualification. Depth rows gives the field layout |
A successful Suite save keeps results.ovclashdb and its live benchmark-summary.json instead
of the cardinality files. After the database is closed and the native writers drained, the
controller adds benchmark-stored-summary.json: the validated stored metadata, bound to the
database hash and the child receipt. Offline import uses it without scanning the metadata again.
A failed save or inspection can leave partial files. Follow the final attempt verdict and the
capture hashes, not the file names.
admission.json fields#
admission.json is the admission receipt of one attempt: the controller’s receipt under
strict, or the child’s receipt under recorded contention. Its reasons explain a rejected
attempt:
Field |
Type |
Required |
Default or values |
Description |
|---|---|---|---|---|
|
boolean |
Yes |
|
The admission result |
|
string |
Yes |
|
|
|
array of strings |
Yes |
Empty when admitted; otherwise reason codes such as |
Why the attempt was not admitted |
|
boolean |
Yes |
|
Whether any complete window was busy |
|
number |
Yes |
0 or more |
The time the admission took |
|
object |
Yes |
The counter capabilities; under recorded contention also the |
What the admission could observe |
|
object |
Yes |
The load policy settings |
The thresholds and windows applied |
|
array of objects |
Yes |
At least one raw counter sample |
The load samples |
|
array of objects |
Yes |
Each with its |
Every complete load window |
|
string |
Recorded contention only |
|
The admission policy |
|
boolean |
Recorded contention only |
Always |
Admission never proves isolation |
|
array of strings |
Recorded contention only |
Four fixed statements, such as |
What the receipt cannot rule out |
|
string or null |
Recorded contention only |
|
The fingerprint of the observed CPU scope |
|
number |
No |
Present when the controller shortened the wait |
The authorized wait |
|
boolean |
No |
|
A recovery check that stops at its first complete busy window |