Skip to content

WIP: (2/7) Score sampled battles with accuracy and Cohen's kappa - #102

Draft
ErlisLushtaku wants to merge 2 commits into
meta-eval/01-task-declarationfrom
meta-eval/02-agreement
Draft

WIP: (2/7) Score sampled battles with accuracy and Cohen's kappa#102
ErlisLushtaku wants to merge 2 commits into
meta-eval/01-task-declarationfrom
meta-eval/02-agreement

Conversation

@ErlisLushtaku

Copy link
Copy Markdown
Collaborator

Description

Note

WIP: packaged meta-eval split from closed PR #76. Caching is not in this stack; it stays with the unified do_inference cache PRs.

Judges the sampled battles in stored A/B order and reports accuracy and Cohen's kappa with bootstrap SE. Agreement is written for all battles and for the no-human-tie subset.

PairScore temperature is 0.5 here (paper / Figure 4); generate+judge stays 0.3.

This is stacked on #101.

The meta-eval runner now judges the stored A/B order with the task's
default PairScore prompt (temperature 0.5) and writes annotations.parquet
alongside the sample. Agreement is reported on all battles and on the
subset that drops human ties, with bootstrap standard errors.

Judge inputs are serialized to strings before they are stored, so later
cache backends do not have to bind a LangChain prompt object.
Two runs of the same task and judge under different prompt presets or swap
modes wrote to the same result directory, so the second silently overwrote
the first. Both now appear in the folder name, and the report records the
preset the verdicts were parsed under.

The tie boundary also moves back to the original one: a preference exactly
eps above 0.5 is a tie, not a model_a win.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant