easyiec.validation.psychometric_audit#

easyiec.validation.psychometric_audit(evaluator, problem, attribute, *, goal, n_levels=6, per_level=10, pool=300, seed=0, batch=5, name=None)[source]#

Measure how well an evaluator discriminates a controlled attribute.

Parameters:
evaluatorEvaluator

Asked pairs queries with the given goal.

problemProblem
attributecallable() or str

genome -> value (larger = more of the attribute) or the name of a phenotype feature (problem.feature_names).

goalstr

Instruction naming the attribute (“Choose the brighter image”).

n_levels, per_levelint

Difference levels (quantile bins of |Δattribute|) and duels per level.

poolint

Random genomes from which the duels are drawn.

Returns:
PsychometricResult

Examples using easyiec.validation.psychometric_audit#

Psychometric audit: how small a difference can the judge see?

Psychometric audit: how small a difference can the judge see?

Validating Claude as a judge

Validating Claude as a judge