easyiec.validation.position_consistency#
- easyiec.validation.position_consistency(evaluator, problem, n_pairs=20, seed=0, goal=None, genomes=None)[source]#
Swap test on random pairs.
Each pair is asked twice, as (A, B) and as (B, A), in separate
pairsqueries (use a judge withdebias="none"to measure its raw behaviour).- Returns:
dictconsistency(share of pairs with the same winner in both orders, ties counted as consistent only if both are ties),first_win_rate(share of decisive answers won by the first-shown candidate; 0.5 = unbiased),tie_rateand a per-pair table.