properties_for

cards.properties_for(metric_ids, registry=None, versions=None)

Look up a MetricProperties record for each metric id, in order.

Wider counterpart to polarities_for. Pulls polarity, scale_type, declared range bounds, allowed transformations, and the recommended cross-dataset aggregation from each card. Downstream code uses this view to drive bounded normalization, scale-compatibility validation, and across-dataset reduction without re-walking the YAML.

versions optionally pins the card version per metric, aligned with metric_ids; None in a slot (or versions=None entirely) takes the latest version. A pinned version the registry does not carry raises KeyError.