RCP-nDCG is nDCG (normalized discounted cumulative gain) with calibrated gains. A large language model (LLM) judge supplies those gains through its judgements, not through sparse human relevance labels. The judge orders the candidate pool of each query in a listwise tournament. Listwise means that the judge compares all documents of the pool as one list. The judge also answers five binary rubric criteria (yes/no quality checks) for each document. A two-parameter item-response model (2PL) then places the tournament scores of all queries on one scale. The gain of a document is its discrimination-weighted probability of passing the criteria. The paper, Rubric-Calibrated Preferences: Cross-Query Calibration of LLM Judgments via Item Response Theory, gives the method and its validation.
| Distribution | What it is | README |
|---|---|---|
cohere-rcp |
The pipeline and the command line: storage, data, retrieval, judging, calibration, evaluation, runs | packages/rcp/README.md |
cohere-rcp-core |
The metric: nDCG, the gains, the scoring protocols, the public records, the IRT (item response theory) estimators (numpy + pydantic) | packages/rcp-core/README.md |
cohere-configkit |
The configuration and command-line library the pipeline is built on: one value rule, one canonical form, one document model, one command tree (pydantic only) | packages/configkit/README.md |
cohere-rcp-vllm |
The lean serving package: the GPU-validated serving recipes and rcp-vllm serve <recipe-id> |
packages/rcp-vllm/README.md |
rcp-test |
The validation tooling (unpublished, installed from a git subdirectory): reference cases, the conformance suite, the equivalence harness, the recorder, the verified emulators, the wave runner | packages/rcp-test/README.md |
pip install cohere-rcp # the pipeline and the CLI
pip install "cohere-rcp[calibrate]" # + torch, for the IRT fits
pip install cohere-rcp-vllm # serving recipes; resolves recipe:<id> beside rcpThe rendered pages are at the documentation site. The site shows
the concepts, the how-to guides and the command line. It also holds the recipe catalog and the compatibility and
versioning policy. The pages are in docs/. mkdocs build --strict renders them.
The quickstart is a 30-minute introduction from the install to a scored run.
CHANGELOG.md states the public surface and the changes in 0.0.1. experiments/run_all.py
reproduces the tables of the paper from the public data. REPRODUCIBILITY.md is the record.
Contributors and coding agents change this repository under AGENTS.md. CITATION.cff
holds the paper reference.
Apache-2.0. Every distribution ships LICENSE and NOTICE. Send security reports through SECURITY.md (GitHub private vulnerability reporting).