Skip to content
Back to skills

Codereviewqa Eval

ASecurity

This benchmark probes large language models' ability to comprehend implicit code review intent by decomposing the task into change type recognition, change localization, and solution identification. It uses multiple-choice questions to evaluate whether models can accurately interpret pre-change code and reviewer comments without relying on surface-level code generation. Use when the user wants to benchmark on CodeReviewQA, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
researchpythongitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill codereviewqa-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codereviewqa Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codereviewqa Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-codereviewqa-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-codereviewqa-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codereviewqa-eval
description: This benchmark probes large language models' ability to comprehend implicit code review intent by decomposing the task into change type recognition, change localization, and solution identification. It uses multiple-choice questions to evaluate whether models can accurately interpret pre-change code and reviewer comments without relying on surface-level code generation. Use when the user wants to benchmark on CodeReviewQA, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2503.16167
  bibtex_key: [REDACTED]
  confidence: high
---

# codereviewqa-eval

> CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models — Lin et al. (2025) (arXiv:2503.16167, 2025)

## What this evaluates

This benchmark probes large language models' ability to comprehend implicit code review intent by decomposing the task into change type recognition, change localization, and solution identification. It uses multiple-choice questions to evaluate whether models can accurately interpret pre-change code and reviewer comments without relying on surface-level code generation.

## Datasets

- **CodeReviewQA** — total 900; splits: test (900)

## Metrics

- `accuracy` **(primary)** — range: [0, 1]
  - Models are evaluated across all permutations of answer options (N! runs). A question is counted as correct only if the model selects the correct option in all N! runs. The final score is the fraction of questions answered correctly across all permutations.

## Input / output format

**Input**: Multiple-choice prompt containing a task definition, a question presenting a code review scenario (with programming language markers, pre-change code H_pre, and natural language review R_nl), and a list of alphabetically labeled options (A, B, C, D).

**Output**: A single letter symbol (A, B, C, or D) corresponding to the selected option.

## Scoring recipe

```python
correct = 0
for q in dataset:
    perms = all_permutations(q.options)
    all_match = True
    for p in perms:
        prompt = build_prompt(q, p)
        pred = extract_top_logit_symbol(prompt)
        if pred != q.correct_symbol:
            all_match = False
            break
    if all_match:
        correct += 1
return correct / len(dataset)
```

## Common pitfalls

- Models may guess correctly on a single option ordering but fail on others; the protocol requires correctness across ALL N! permutations.
- Answer extraction uses max log-probability of the symbol token rather than normalized sequence likelihood, making results sensitive to prompt formatting and decoding settings.
- The benchmark measures comprehension via MCQA, so standard code generation metrics (e.g., pass@k) are inappropriate and will not reflect model performance.

## Evidence (verbatim from paper)

> To be counted as correctly answering that question, the models must select the correct answer for all N! runs, which is a more reliable indicator of the models' understanding (Wang et al., 2025).

## Citation

```bibtex
@misc{lin2025codereviewqa,
  title={CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models},
  author={Lin et al. (2025)},
  year={2025},
  note={arXiv:2503.16167}
}
```

- arXiv: 2503.16167

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.