pub fn replacement_scope(study: StudyId, trial: TrialId) -> Scope
Returns the typed state scope for a replacement’s attempt metadata.