easyiec.evaluators.MockJudgeClient#

class easyiec.evaluators.MockJudgeClient(scorer=None, *, score_on='image', noise=0.05, position_bias=0.0, tie_threshold=0.0, fail_rate=0.0, seed=0, model='mock-judge', tokens_per_image=1000, **kw)[source]#

Bases: LLMClient

Scorer-driven fake LLM.

Parameters:
scorercallable(), optional

Score of a candidate; receives what score_on selects. Default: a generic “visual appeal” score (colourfulness + contrast + entropy).

score_on{“image”, “genome”, “text”}
noisefloat

Gaussian noise on the scores (judgment inconsistency).

position_biasfloat

Score bonus of the first displayed candidate (and of A in duels), decreasing to zero for the last.

tie_thresholdfloat

Duels closer than this are reported as ties.

fail_ratefloat

Probability of an unparseable answer.

seedint

Examples using easyiec.evaluators.MockJudgeClient#

An AI judge in the loop: prompts, images and debiasing

An AI judge in the loop: prompts, images and debiasing

Hybrid evaluation: the AI answers, people decide the hard cases

Hybrid evaluation: the AI answers, people decide the hard cases

Auditing a judge before trusting it

Auditing a judge before trusting it

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

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

May the AI replace the annotators? The alt-test and prediction-powered inference

May the AI replace the annotators? The alt-test and prediction-powered inference

A judge-substitution study

A judge-substitution study