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:
LLMClientScorer-driven fake LLM.
- Parameters:
- scorer
callable(),optional Score of a candidate; receives what
score_onselects. Default: a generic “visual appeal” score (colourfulness + contrast + entropy).- score_on{“image”, “genome”, “text”}
- noise
float Gaussian noise on the scores (judgment inconsistency).
- position_bias
float Score bonus of the first displayed candidate (and of A in duels), decreasing to zero for the last.
- tie_threshold
float Duels closer than this are reported as ties.
- fail_rate
float Probability of an unparseable answer.
- seed
int
- scorer
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
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