SkillVaultskills Browse all 1,000+ skills

Testing · Version 1.0.0 · Reviewed 2026-08-02

Code Review Replay Evaluator

Design confidence for historical review replay and review coverage measurement with evidence, explicit trade-offs, and a verification plan.

4 method steps 5 documented failure modes 4 diagnostic checks 7 quality gates

Replays historical pull requests through a review system and measures which human findings it would catch without hindsight leakage. It grounds the decision in historical revisions, review comments, timestamps, reviewer decisions, and the review system configuration under test and explicitly prevents evaluating against the final fixed code or feeding human comments into the reviewer before measuring detection.

₹299 one-time

Get this skill archive

Install in your AI coding tool

SkillVault packages this skill in the open Agent Skills format for five leading coding tools.

What this skill helps you do

  • Historical review replay
  • Review coverage measurement
  • Miss taxonomy analysis

How Code Review Replay Evaluator works

You provide

Suite structure, failure history, and the behavior to protect

It inspects

Nondeterminism and coverage gaps affecting historical review replay

It decides

A review coverage measurement plan at the cheapest useful test level

You verify

The test fails when behavior breaks, not only passes when correct

What it checks first

Code Review Replay Evaluator replays historical pull requests through a review system and measures which human findings it would catch without hindsight leakage. It grounds the decision in historical revisions, review comments, timestamps, reviewer decisions, and the review system configuration under test and explicitly prevents evaluating against the final fixed code or feeding human comments into the reviewer before measuring detection. Use it when the work involves Historical review replay, Review coverage measurement, Miss taxonomy analysis.

  1. Whether the test asserts observable behavior or couples to implementation detail.
  2. Sources of nondeterminism: time, ordering, concurrency, shared state, and network.
  3. Whether a failing test fails for the intended reason, verified by breaking the behavior deliberately.
  4. The balance of the suite, since end-to-end-heavy suites are slow and flaky by construction.

Failure modes it recognizes

  • A fixed sleep standing in for a condition wait, producing failures that track machine load.
  • Tests passing alone and failing in suite because of leaked global or database state.
  • Over-mocking that verifies the mock rather than the integration, so production still breaks.
  • Assertions on unordered collections that pass until the implementation changes iteration order.
  • Coverage measured while assertions are absent, so lines execute without being verified.

Answers it will reject

  • Retrying a flaky test to make CI green, which hides a real intermittent defect.
  • Chasing a coverage percentage, which produces tests that execute code without checking behavior.
  • Writing an end-to-end test for logic a unit test could cover deterministically.

Decision rules it applies

  • Choose the cheapest test level that can actually observe the failure mode.
  • Treat a flaky test as a defect with an owner and a deadline, never as noise.
  • Every bug fix gets a test that fails before the fix and passes after it.

Evidence it asks for

  • Run the suite in randomized order to expose inter-test dependencies.
  • Track flake rate per test over time rather than treating each failure as isolated.
  • Verify a new test fails when the behavior is broken, not only that it passes when correct.

The method inside

  1. Map the artifact, actors, boundaries, and invariants relevant to historical review replay.
  2. Trace concrete failure or abuse paths for review coverage measurement; do not report checklist items without a mechanism.
  3. Prioritize miss taxonomy analysis findings by impact, likelihood, confidence, and cost of correction.
  4. Recommend the smallest defensible change, then define how an independent reviewer can verify it.

Deliverables

  • Historical review replay assessment
  • Review coverage measurement decision and action plan
  • Miss taxonomy analysis verification checklist

Evidence requirements

  • System risks and architecture boundaries
  • Existing tests, failures, and coverage evidence
  • Release cadence and supported environments

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

Apply the code review replay evaluator to our current historical review replay work. We need a concrete decision, bounded changes, and evidence that the result is correct.

Expected output

Start with historical revisions, review comments, timestamps, reviewer decisions, and the review system configuration under test. The highest-risk failure is evaluating against the final fixed code or feeding human comments into the reviewer before measuring detection. Freeze the code and context at each review iteration, then score caught, partial, missed, and out-of-scope findings. Verify the result by repeating a blinded sample and reconciling automated labels with independent human adjudication.

Boundaries and compatibility

Ideal for

  • Historical review replay: produce a decision or artifact grounded in supplied evidence.
  • Review coverage measurement: produce a decision or artifact grounded in supplied evidence.
  • Miss taxonomy analysis: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Chasing line coverage without risk coverage
  • Replacing integration evidence with mocks

Agent compatibility

  • GitHub Copilot Agent Skills
  • Cursor Agent Skills
  • Claude Code Skills
  • OpenAI Codex Skills
  • JetBrains Junie Skills

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.