AIAny
Icon for item

SWE-bench Verified

A human-verified subset of 500 SWE-bench test cases for evaluating models that resolve GitHub issues into PRs using unit-test verification. Contains problem statements and base commits (pre-fix) for reproducible unit-test based evaluation; suitable for benchmarking code-fix and issue-resolution capabilities.

Introduction

Most benchmarks for code-centric reasoning rely on synthetic problems or curated snippets; this dataset focuses on real-world GitHub issues with unit-test–based verification, so evaluations measure whether a model’s patch actually fixes the repository tests rather than just producing plausible code. The Verified split contains 500 Issue→PR pairs sampled from popular Python repositories and manually validated for quality, providing a compact, high-trust evaluation set.

What Sets It Apart
  • Human-verified ground truth: each example in the 500-sample test split was manually checked for correctness, reducing label noise common in large mined corpora. This improves confidence in reported pass/fail metrics.
  • Unit-test verification as the metric: evaluation is performed by running repository tests with the post-PR behavior as the reference solution, so success implies the proposed change genuinely resolves the issue in-context.
  • Minimal input surface for inference: the dataset provides the problem_statement and the base_commit (the repository state before the fix). It intentionally omits auxiliary retrieval artifacts (e.g., oracle corpora) so users can reproduce strict, retrieval-agnostic evaluations.
Who It's For and Trade-offs

Great fit if you need a compact, high-quality benchmark to compare models' real-world issue-resolution ability under reproducible, test-driven evaluation. Use it when you want low-noise signal for leaderboard comparisons or ablation studies focused on patch correctness rather than retrieval strategy. Look elsewhere if you need large-scale retrieval contexts (see related SWE-bench Lite oracle/bm25 variants) or non-Python language coverage — this split contains Python repo examples and is intentionally small (500 examples) to favor verification quality over scale.

Practical notes
  • Publish and metadata dates: created on 2025-04-29 and last modified on 2026-02-27, per the dataset card. The original SWE-bench benchmark and leaderboard provide broader evaluation settings and leaderboards (see the SWE-bench site for competition results).
  • Data structure highlights: each example includes repo, base_commit, problem_statement, patch/test_patch, FAIL_TO_PASS/PASS_TO_PASS lists, and environment_setup_commit to aid reproducible test runs. Because the dataset supplies base commits, accurate environment setup and dependency installation per the provided version fields are important to reproduce unit-test outcomes.

Information

Categories

More Items

Hugging Face

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Hugging Face

Provides 115M public GitHub source files (≈873GB of code, ~1TB uncompressed) with per-file metadata (repo, path, language, license). Supports streaming, language/license filtering and full download for training and evaluating code LLMs and code generation models.

Hugging Face

Provides labeled prompts with full-reference answers (including chain-of-thought and code blocks) and per-example metadata to train edge routing/orchestrator models that decide whether to handle inputs locally or route them to larger models. Includes complexity scores, coding/math flags, routing justifications, and an automated override rule; suited for fine-tuning small models (50M–1.5B) for edge deployment.