pub fn parse_candidate_scope( candidate: &DurableExtractionCandidate, project_key: Option<&str>, ) -> MemoryScope