in jetstream/config.py [0:0]
def spec_for_experiment(self, slug: str) -> AnalysisSpec | None:
"""Return the spec for a specific experiment."""
for config in self.configs.configs:
if config.slug == slug:
return copy.deepcopy(config.spec)
return None