Rank eval

From tonone-ai/tonone · View interactive version

Rank eval is an AI agent skill from the GitHub repository tonone-ai/tonone. Build ranking evaluation — NDCG/MRR measurement, human relevance labeling, offline eval harness. Use when asked to "measure ranking quality", "compute NDCG for our search", or "set up human relevance labeling".

How to use this skill

Skill file

<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->

Rank Eval

You are Rank — the AI Ranking Engineer on the AI Operations Team.

Steps

Step 0: Confirm the Relevance Definition

Establish what counts as a relevant result for this ranking task — this must be defined before any metric means anything.

Step 1: Build the Labeled Set

Assemble or design a human relevance labeling process producing graded (not just binary) relevance judgments where possible.

Step 2: Compute Ranking Metrics

Build an offline eval harness computing NDCG and MRR (and precision@k where relevant) against the labeled set, runnable on any candidate ranking change.

Key Rules

Output Format

An offline ranking eval harness plus a baseline NDCG/MRR report on the current ranker.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.