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; the same tree is available through Study::lineage, which syncs first.