1 data_handling.vin_store.scientific_contract

data_handling.vin_store.scientific_contract

Portable scientific identity for newly generated VIN root stores.

The immutable manifest keeps the complete execution configuration. This projection identifies the protocol and the bytes of the model assets consumed by the writer, so a relocated root does not change scientific identity merely because its checkout, checkpoint path, or device name changed. It is an admission contract, not a claim that two hardware backends produce equal values.

1.1 Functions

Name Description
admitted_root_scientific_contract Validate a new contract against its manifest before QH composition.
build_root_scientific_contract Bind a new root’s scientific protocol and exact learned asset bytes.
capture_evl_model_assets Hash the exact effective model assets resolved by the EVL loader.

1.1.1 admitted_root_scientific_contract

data_handling.vin_store.scientific_contract.admitted_root_scientific_contract(
    manifest,
)

Validate a new contract against its manifest before QH composition.

Legacy manifests return None and retain the historical strict full-config comparison. Asset content hashes are producer evidence; an independent transfer inventory authenticates the physical manifest bytes.

1.1.2 build_root_scientific_contract

data_handling.vin_store.scientific_contract.build_root_scientific_contract(
    source_config,
    labeler_config,
    backbone_config,
    vin,
    preparation_mode,
    captured_model_assets=None,
)

Bind a new root’s scientific protocol and exact learned asset bytes.

Scene and snippet membership are physical source lineage in the full manifest. Device, paths, batching and logging are execution provenance. Generator seeds are realizations of the retained sampling law. Any changed learned asset or represented field changes this contract.

1.1.3 capture_evl_model_assets

data_handling.vin_store.scientific_contract.capture_evl_model_assets(backbone)

Hash the exact effective model assets resolved by the EVL loader.

Back to top