Repository navigation
Provenance
Jasper Quillweld edited this page Oct 20, 2026
·
1 revision
Every install of sysml2py records exactly which inputs produced the wheel. This is what makes the generated library reproducible: you can always answer "which grammar, spec, relationship model, and corpus built this?"
from sysml2py import provenance
print(provenance.PROVENANCE){'grammar_sha256': '...', 'spec_sha256': '...',
'children_sha256': '...', 'modifiers_sha256': '...',
'corpus_manifest_sha256': '...', 'generator_version': '1.0.0'}| Field | What it pins |
|---|---|
grammar_sha256 |
The SysML v2 grammar the AST classes were generated from |
spec_sha256 |
The machine-readable language spec / relationship model |
children_sha256 |
The relationship model's child-element rules |
modifiers_sha256 |
The modifier rules per element kind |
corpus_manifest_sha256 |
The corpus manifest of validated example models |
generator_version |
The sysml2py-lab version that did the generation |
Because the library is generated rather than hand-written, its behavior is fully a function of these inputs. Two wheels with the same provenance values were produced from the same inputs — nothing hidden, nothing hand-patched. If you ever need to reproduce a model's rendering, the provenance tells you exactly which generation inputs to check out.