StringMismatchComparison.add_condition_ratio_new_variants_less_or_equal#

StringMismatchComparison.add_condition_ratio_new_variants_less_or_equal(ratio: float)[source]#

Add condition - require new variants’ percentage in test data to be less or equal to the threshold.

Parameters
ratiofloat

Max percentage of new variants in test data allowed.