teehr.metrics.bootstrap_funcs.bootstrap_group_key#

bootstrap_group_key(metric: MetricsBasemodel) tuple | None[source]#

Return a hashable key that identifies identical bootstrap configs.

Two metrics with the same key can share a single set of bootstrap samples. Returns None for metrics without a bootstrap configuration.