mvtsa.mlops.DataContract# class mvtsa.mlops.DataContract(n_variables=None, names=None, min_length=2, allow_nan=False, ranges=<factory>, max_constant_fraction=0.0)[source]# Bases: object Expected properties of input data. Parameters: n_variablesint, optional nameslist of str, optional min_lengthint allow_nanbool rangesdict name/index -> (low, high), optional max_constant_fractionfloatMaximal fraction of constant (frozen sensor) channels. check(X, names=None)[source]# Validate X; returns {"valid": bool, "violations": [...]}. classmethod infer(X, names=None, margin=0.25)[source]# Contract inferred from reference data (ranges widened by margin of the observed span).