---
name: measure-paired-skill-evaluations
description: "Compare an agent's results on the same tasks with and without a skill, pairing runs one to one, and report wins, regressions, ties and excluded pairs behind the pass-rate difference. Use when someone has eval results for a skill and wants to know whether it actually helped."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/measure-paired-skill-evaluations
---

# Measure a skill against the same tasks without it

Compare matched baseline and skill-enabled runs, preserving regressions, ties and missing pairs behind the headline success rate.

## When to use this skill

- Someone has run test prompts with and without a skill, or with old and new versions, and wants to know whether the skill helped.
- A pass-rate headline looks good and someone wants to see the regressions behind it.
- Some runs are missing, failed for infrastructure reasons or used changed fixtures, and a fair comparison is needed.

## When not to use it

- Designing test cases or assertions from scratch. The Agent Skills guide to evaluating skills covers that.
- Testing whether the skill triggers. Use the trigger collision skill.
- Claims about general model improvement, or statistical significance from a handful of tasks.

## What you need

- Prelabelled case and repeat IDs, baseline and skill-enabled verdicts and the configuration used in each run.
- The grading contract, hold-out status and any changes in fixtures, model, tools or grader between the two conditions.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Which tasks are held out and which were used while writing the skill? Only held-out pairs support a claim about new tasks.
- Did both conditions use the same inputs, model, tools, permissions and grader? Any difference must be stated, or the pair excluded.
- How are failed runs recorded? A task the agent got wrong is a failure; a run that never completed because of an infrastructure error is missing.

## Method

1. Pair rows by task, repeat number and configuration. Both conditions need the same input files, model, tool permissions and grading criteria, and each run should start from a clean, isolated context.
2. Apply the requested split before counting, and keep development or training examples out of a held-out claim.
3. Turn each run into pass or fail only from a completed grade against the same criteria. An absent run or infrastructure error leaves the pair incomplete: exclude it rather than counting it as a failure.
4. Exclude any pair whose two runs used different inputs, model, tools or grader, and list it with the reason.
5. Classify each complete pair: baseline fail and skill pass is a win, baseline pass and skill fail is a regression, and both pass or both fail are ties. Keep every regression visible.
6. Divide each condition's passes by the same number of complete pairs, and report both rates and the difference in percentage points to one decimal place. With no valid pairs, report the rates as unknown, not zero.
7. State the number of pairs and the observation window, and flag small or selected samples. If tasks were repeated, report how consistent each was. Report time and token cost beside the pass rates if they were recorded.

## Checks before you deliver

- Comparing 10 baseline trials with 12 skill trials can create a spurious improvement from different tasks.
- One big speed gain cannot hide a failed correctness assertion unless the predeclared rubric explicitly permits that trade-off.
- Counting an infrastructure error as a failure in one condition, which flatters whichever condition ran cleanly.
- Assertions that pass in both conditions. They raise both rates and say nothing about the skill.
- Runs that share state, such as leftover files or history from earlier trials, which can make results look better than they are.

## How to present the result

Lead with one sentence: passes with and without the skill out of the same number of matched pairs, and the difference in points. Then list wins, regressions and ties by task ID, and the excluded pairs with the reason for each. Finish with the limits: number of pairs, split, and anything that changed between conditions.

## Worked example

**Request:** Compare held-out pairs only. Same configuration unless marked. Columns: ID, split, baseline, skill.

**Supplied material:**

```text
A holdout fail pass
B holdout pass fail
C holdout fail pass
D holdout pass pass
E holdout fail fail
F train fail pass
G holdout pass unavailable
```

**Answer:** The skill passed 3 of 5 matched holdout runs, against 2 of 5 without it. It fixed A and C but regressed on B. D passed both ways and E failed both. The 20-point difference excludes training case F and incomplete run G.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return pairs, wins, regressions, both_pass and both_fail as counts; baseline_pct, skill_pct and delta_pp as percentages to one decimal (null with zero valid pairs); excluded as pair IDs in input order. Include only pairs satisfying the requested split and matching configuration.

## Sources

- [Agent Skills: evaluating skill output quality](https://agentskills.io/skill-creation/evaluating-skills): Recommends running each test case with and without the skill, or against the previous version, from a clean context, grading explicit assertions with evidence, comparing pass rates, time and tokens, and removing assertions that pass in both configurations.
- [Anthropic: demystifying evals for AI agents](https://www.anthropic.com/research/demystifying-evals-for-ai-agents): Defines tasks, trials, graders, transcripts and outcomes, recommends several trials because outputs vary, and says each trial should start from a clean environment because shared state can cause correlated failures or inflate scores.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/measure-paired-skill-evaluations
