Documentation contents
Public technical disclosure
Reporting a native execution observation
A developer opens a report for a function that can run through MLIR. An execution report should answer three separate questions. Did the compiler emit a plan for this input? Did a native invocation actually return a value? Did that value match the comparison result? This public presentation profile lets a test report, notebook or debugger answer each question independently.
On this page
A portable observation row
For each case, identify the operation and input, the expected value and any independently observed managed result. Record nativePlan as emitted, unavailable or unknown. Record nativeInvocation as observed, unobserved or fallback. Use nativeResult only for a value returned by the native route. In JSON an absent observation value is null. Zero is a valid result and has a different meaning.
Here, unobserved means the recorder has no evidence of a completed native call for that input. Fallback means the requested route gave way to another execution path. A harness can report the result obtained on that other path in its own field. A page reading the report must preserve the distinction even when all recorded values agree.
Derive the display
Read a single row. Show its plan state. If nativeInvocation is observed and a native value is present, display that value and compare it with expected using the operation's declared equality rule. For this signed-integer example use exact equality. If the two values differ, label the discrepancy. If the invocation is unobserved or fallback, show that state and omit a native value comparison.
For strict readers, an observed invocation with a missing result or an unobserved invocation with a non-null native result is an inconsistent row. Keep the original data available for inspection and surface the inconsistency. A reader cannot infer an invocation from the plan, from matching output produced elsewhere, or from a neighboring row.
A checkable example
The example computes the sum of each array element times its one-based position. An empty array has sum 0. Eighty copies of 1 give (80 × 81) ÷ 2 = 3,240. The fixture records a managed comparison for both inputs. The native invocation is observed for the 80-element input. The empty input has an emitted plan and a managed zero, with no recorded native invocation.
A compact table can give one column to inputs, one to plan state, one to the native observation and one to the expected value. A screen reader or text log can present the same fields in that order. A chart of observed native invocations counts only the populated case in this fixture.
Conformance cases
Load example.json. Its two comparison values are 0 and 3240, and its count of observed native invocations is one. Change the populated row's nativeResult to 3239 and the output comparison must fail. Change nativeInvocation to fallback and nativeResult to null and the native comparison becomes unavailable even if the managed value still agrees. Give the empty row nativeResult = 0 while leaving its invocation unobserved and the reader must flag inconsistency.
Scope and citation
This note specifies public reporting behavior. Its rows describe individual observations. They do not establish a speedup, qualify other inputs or authorize a computation. Producers may obtain observations in different ways. A reader relying on an external report needs its own basis for trusting the producer.
Cite Myceta Labs, Reporting a native execution observation, MYCETA-NOTE-EXEC-01, edition 1.0, 29 November 2026 UTC. The edition and its fixture are available at https://myceta.dev/specs/execution-observations/1.0/