torchcell.knowledge_graphs.kg_manifest.experiment_node_id

experiment_node_id(experiment: Any) → str[source]

The content-addressed id CellAdapter._experiment_node gives an experiment.

Mirrors the adapter byte for byte (sha256 of the json-dumped model_dump, dict order as the model emits it) so a dev record can be matched against a served node without running the adapter. The adapter-drift check guards the mirror: a change to _experiment_node blocks every served dataset, and the test file pins the two.