Skip to main content

fork_lineage

Function fork_lineage 

pub fn fork_lineage(view: &StudyView) -> Vec<LineageEntry>
Expand description

Reconstructs the fork genealogy of a study from a StudyView.

Returns one LineageEntry per trial, in trial-number order (the stable order StudyView iterates), so the result is deterministic and does not depend on completion order. Each entry’s mutation is the parameter difference from its parent — the recovered explore perturbation. This is a pure read of the view: it sees parent links only, so it misses fresh-restart edges and leaves every origin empty. Study::lineage and StudySnapshot::lineage read the atune.lineage records too.