Skip to main content

Module qnf_eval

Module qnf_eval 

Source
Expand description

E06.5 QNF evaluation: Q42 + existing artifact envelopes vs a QNF extension.

Workloads are real in-tree sizes (route edges, contract bundles, ML-DSA-65 proofs, evidence originals). Large graph size does not select the format. QnfExtensionAdopted is the recorded decision and is never implied by the presence of this library or by QNF draft magic.

Structs§

FormatDecision
FormatRecord
Evaluation artifact: decision plus the four measured costs.
WorkloadCost

Enums§

MigrationPath
SelectedRepresentation
WorkloadKind

Constants§

ARTIFACT_ENVELOPE_VERSION
Existing artifact envelope version: SHA-384 identity + exact length.
EVALUATION
Evaluation artifact produced from the measured workloads.
Q42_ABI_BYTES
Q42 48-byte projection ABI. Unchanged by this evaluation.
QNF_AUTH_BYTES
Dual COSE generation proofs: two ML-DSA-65 signatures (draft AUTH).
QNF_BIND_BYTES
Bounded BIND CBOR budget used for the comparison (not a parser).
QNF_CHUNK_DATA_BYTES
QNF_CHUNK_DESC_BYTES
QNF_DIR_ENTRY_BYTES
Directory entry width (draft §4.2).
QNF_DRAFT_MAJOR
QNF draft major/minor while unselected. Not frozen (CORE-04.05).
QNF_DRAFT_MINOR
QNF_HEADER_BYTES
Candidate QNF header (draft §4.1). Not a frozen on-disk layout.
QNF_MAGIC
ASCII QNFNET01 from the candidate header. Not an adopted reader magic.
QNF_OBJECT_DESC_BYTES
QNF_REQUIRED_SECTIONS
AUTH + BIND + CHNK + DATA + OBJS. VIEW is optional and not counted.
QnfExtensionAdopted
Recorded E06.5 decision. False: QNF is unselected.

Functions§

decision_matches_flag
?::decision_matches_flag.
evaluate_qnf
Measure representative workloads and return the evaluation artifact.
open_qnf_magic
QNF magic is Unsupported while unselected. Never parsed as a Q42 volume.