The contract comes first
The checker runs outside proposal generation, so whatever proposes a change cannot also decide that it is correct. CPU and NVIDIA execution carry separate evidence: a pass on one is not a pass on the other.
Before any candidate exists, a job declares the trusted reference, the output schema, tolerances, physical invariants and independent cases. It also declares which files may change and how much budget the experiment may use.
Missing checkpoints, non-finite values, invalid structure and scientific failures all prevent a candidate from being accepted for performance.
"comparator": {
"kind": "json_numeric",
"absolute": 1e-10,
"relative": 1e-9
},
"invariants": [
{ "id": "solution_bounded",
"kind": "leaf_bounds",
"path": "$.max",
"minimum": 0.0,
"maximum": 1.0000001 }
]Excerpt from the Jacobi 2D CPU job. Per-field tolerances are omitted.
Numerical correctness
Bitwise reproducibility compares the entire serialized output. Numerical equivalence compares values and invariants under the declared contract. When a test calls for exact output, an approximate match does not satisfy it.
Exactness is sensitive to compilation. In a controlled Heat 2D diagnostic, vectorization and floating-point contraction settings changed whether outputs matched bit for bit, so exact regression profiles fix those flags while benchmark builds keep their own and are judged by the independent acceptance policy.
Experiments are controlled
Each candidate is a separate version of the source. It is built, run on declared inputs and checked by a verifier that operates outside proposal generation. A patch that touches a protected file is rejected before anything is built.
Today the recorded experiments use scripted proposals on CPU. A model adapter is integrated, and a live model experiment has not yet been run as a demonstrated workflow.
Candidates are hypotheses
Each one states a mechanism, preconditions and correctness risks, and starts as not measured. A planner can reorder deterministic candidates using earlier evidence such as transfer or kernel launch costs; this behaviour is verified within tests.
Verdicts
Correct on tuning
The candidate met the contract on the tuning inputs. It is not yet accepted on held-out data and carries no performance claim.
Rejected
The reason is recorded, for example a patch outside the editable scope or a scientific failure.
Not evaluated
The stage did not run. Parakern reports this instead of filling in a value.
GPU optimization methodology
The first target is OpenACC on NVIDIA GPUs. For recognized sets of elementwise loops, a data residency rule can generate a shared data region, with the mapping derived from how each array is read and written. A transfer-inclusive candidate is always emitted first, so measurement rather than a heuristic decides whether residency helps.
The supported class is intentionally narrow. Pointers, aliasing features, unresolved calls and partial annotations cause the candidate to be declined. CPU and OpenACC host equivalence is a sanity check only; offload and speedup remain unverified until GPU evidence exists.
Fair CPU benchmarking
The draft qualification protocol compares the complete GPU process, including start-up and output, with the strongest stable CPU variant on the same host, multicore included. A legacy serial program is context, never the baseline.
If the GPU version uses an optimization such as temporal blocking, a corresponding CPU version must be implemented and verified before the comparison counts. Noisy or failed series withhold the ratio. This protocol is preregistered as a draft and has not been executed.
Selection and delivery
The selection rule is declared in advance. The chosen candidate is frozen on tuning evidence and only then checked against held-out inputs, which are never used for tuning or selection.
You receive a reviewable patch and the record behind it: provenance, configuration, proposals, verdicts, rejection reasons and any measurements. A hash-chained event log and an evidence manifest show that artifacts and event order are consistent. They do not by themselves make a verdict true.
Code and data handling
Repository content and outputs are treated as untrusted during experiments, and commands run under explicit limits. No security certification is claimed, and a formal data handling policy has not been published.