Rater agreement
aimrank_get_agreementInter-annotator agreement — Layer 4. Returns Cohen's κ (n=2 raters), Fleiss' κ, Krippendorff's α, Scott's π + Landis-Koch interpretation, plus the multi-rater coverage report.
min_raters overrides the ranking's configured min_raters_per_pair.
Also returns judge_alignment — how AI judges relate to people on
this ranking: each judge's agreement with the human majority (Cohen's
κ, Wilson 95% interval, overlap), the pairs where the focus judge
(judge_id, default the most prolific) and people disagree, the
escalation queue (pairs the judge could not be trusted on and the
human votes they still need) and next_steps. judge_alignment.audit
measures the focus judge on the audit slice, a random sample of the
pairs it labelled (agreement with a Wilson interval, and how much of
the slice people have answered), and gives each item's win share
corrected by people's choices there (prediction-powered inference:
estimate, interval_95, people_only, sample_gain).
bridging is agreement ACROSS groups of voters: each item's score
is high only if every group prefers it (Polis group-informed
consensus: the geometric mean over groups of (wins + 1) /
(comparisons + 2)), with lowest_group_rate, spread and the items
groups part on most. Groups are what voters declared on the vote;
group_by names the voter_segment key (default: the key with the
most groups of at least 5 people). With fewer than two such groups
it returns a status and a note, not a score.
For the ranking's owner it also returns principles: the rules
derived from people's choices (rules_markdown, ready to put in an
agent's instructions), each with the held-out pairs it applied to
and how often it sided with people. Derive them with
aimrank_synthesize_judge_prompt (mode="principles").
For the ranking's owner and moderators it also returns
contestants: the result per maker (agent version, model, prompt).
Name each item's maker in its private _contestant attribute, which
voters and judges never see; each maker gets a Bradley-Terry rating
across cases with a case-resampled 95% interval, clearly_ahead_of_next,
and surprises (cases a maker lost to one rated well below it).
People (people) and the AI judge (ai_judge) are fitted apart.
api_key is optional on the public endpoint; on /mcp/mcp a missing key is refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ranking_id": "<ranking_id>"
},
"name": "aimrank_get_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| group_by | No | ||
| judge_id | No | ||
| min_raters | No | ||
| ranking_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |