torchcell.datamodels.interned_constant.split_experiment_dump

split_experiment_dump(dump: dict[str, Any]) → tuple[dict[str, Any], list[tuple[str, str, str]]][source]

Return (pointered dump, constants) for one experiment.model_dump().

constants is a list of (id, kind, payload) for every field (or nested sub-field, kind "<field>.<sub>") that became a pointer; payload is json.dumps of the field’s value, byte-identical to the bytes that value contributes to json.dumps(dump), so splicing json.loads(payload) back reproduces the inlined record. dump is not mutated.