# Comparative Response Ranking

> Use this skill when a user wants evaluator data for ranking two or more open-ended answers by overall quality, especially when people say things like 'rank these outputs', 'choose the better answer', 'sort multiple responses from best to worst', or 'compare several candidates, not just one'. Trigger it for pairwise or listwise judging where the evaluator must order responses by helpfulness, relevance, completeness, or usability. Plain-language examples include: 'make answer-ranking data', 'test which of three responses is best', 'evaluate multiple candidates at once', and 'create hard pairwise judge examples where both answers look okay'.

- Skill: `dingxingdi/comparative-response-ranking-2` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add dingxingdi/comparative-response-ranking-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dingxingdi/comparative-response-ranking-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dingxingdi (https://skillmd.com/u/dingxingdi)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dingxingdi/comparative-response-ranking-2

---


# Skill: comparative-response-ranking
## 1. Capability Definition & Real Case
* **Professional Definition**: This capability is the ability to generate, inspect, and judge evaluation instances where the target output is an evaluative artifact rather than a task solution, and where the evaluator must ground its verdict in explicit evidence, criteria, or safety policy. In this capability, the Agent is not solving the original user problem; it is assessing the quality, correctness, safety, or robustness of another response, trajectory, or artifact and producing a score, preference, label, ranking, or critique.
* **Dimension Hierarchy**: Open-ended Response Evaluation->Contextual Text Response Evaluation->comparative-response-ranking
### Real Case
**[Case 1]**
* **Initial Environment**: An evaluation environment contains a user question asking for an explanation of an economic concept in plain language. Three candidate answers are available. One answer is accurate and concrete, one is accurate but unnecessarily abstract and verbose, and one is partially correct but omits the user’s simplicity constraint. The evaluator must produce an ordering rather than a binary label.
* **Real Question**: What is the correct ranking of these responses from best to worst?
* **Real Trajectory**: Read the instruction and all candidate answers. Compare adherence to the plain-language requirement, factual adequacy, and practical helpfulness. Produce a ranked list and record the evidence supporting adjacent ordering decisions.
* **Real Answer**: The most concrete, plain-language answer should rank first, the accurate but verbose answer second, and the partially constraint-violating answer third.
* **Why this demonstrates the capability**: This case targets comparative ranking rather than isolated scoring. The evaluator must determine not only which response is acceptable, but how several acceptable responses differ in overall utility under the user’s stated constraint. It therefore exercises pairwise decomposition, listwise consistency, and ranking stability.

## Pipeline Execution Instructions
To synthesize data for this capability, you must strictly follow a 3-phase pipeline. **Do not hallucinate steps.** Read the corresponding reference file for each phase sequentially:

1. **Phase 1: Environment Exploration**
   Read the exploration guidelines to discover raw knowledge seeds:
   `references/EXPLORATION.md`

2. **Phase 2: Trajectory Selection**
   Once Phase 1 is complete, read the selection criteria to evaluate the trajectory:
   `references/SELECTION.md`

3. **Phase 3: Data Synthesis**
   Once a trajectory passes Phase 2, read the synthesis instructions to generate the final data:
   `references/SYNTHESIS.md`

