Skip to content
Back to skills

Swe Bench Java Eval

ASecurity

This benchmark evaluates an AI agent's ability to autonomously resolve real-world GitHub issues in Java projects. It probes capabilities in code patch generation, repository navigation, test case reasoning, and handling runtime environment dependencies. Use when the user wants to benchmark on SWE-bench-java-verified, or asks about evaluating this task. Reports Resolved Rate (%).

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill swe-bench-java-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swe Bench Java Eval?

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

Security grade badge for Swe Bench Java Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-swe-bench-java-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-swe-bench-java-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: swe-bench-java-eval
description: This benchmark evaluates an AI agent's ability to autonomously resolve real-world GitHub issues in Java projects. It probes capabilities in code patch generation, repository navigation, test case reasoning, and handling runtime environment dependencies. Use when the user wants to benchmark on SWE-bench-java-verified, or asks about evaluating this task. Reports Resolved Rate (%).
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2408.14354
  bibtex_key: [REDACTED]
  confidence: high
---

# swe-bench-java-eval

> SWE-bench-java: A GitHub Issue Resolving Benchmark for Java — Zan et al. (2024) (arXiv:2408.14354, 2024)

## What this evaluates

This benchmark evaluates an AI agent's ability to autonomously resolve real-world GitHub issues in Java projects. It probes capabilities in code patch generation, repository navigation, test case reasoning, and handling runtime environment dependencies.

## Datasets

- **SWE-bench-java-verified** — total 137; splits: test (137)

## Metrics

- `Resolved Rate (%)` **(primary)** — range: percent
  - The proportion of issues successfully resolved out of the total dataset. An issue is marked resolved only if all provided test cases pass after applying the model's generated patch.

## Input / output format

**Input**: GitHub issue description, full repository codebase, and a set of failing test cases associated with the issue.

**Output**: A code patch (modified source files) intended to fix the issue and make all associated test cases pass.

## Scoring recipe

```python
resolved_count = 0
for instance in dataset:
    patch = model.generate_patch(instance.issue, instance.repo, instance.tests)
    if run_tests(instance.repo, patch, instance.tests).all_pass:
        resolved_count += 1
return (resolved_count / len(dataset)) * 100
```

## Common pitfalls

- Runtime environment must be correctly configured for each Java issue; missing setup prevents accurate issue reproduction and artificially lowers scores.
- Resolution requires ALL given test cases to pass, not just a subset or the main failing test.
- The benchmark evaluates agentic workflows (SWE-agent) rather than direct code completion, so evaluation depends on the agent's ability to navigate, edit, and execute tests autonomously.

## Evidence (verbatim from paper)

> Following SWE-bench [1], we adopt the Resolved Rate (%) as our evaluation metric. This metric indicates the proportion of issues in SWE-bench-java-verified that are successfully resolved. An issue is considered resolved only if all given test cases pass. This metric provides a precise measure of effectiveness in resolving real-world Java GitHub issues.

## Citation

```bibtex
@misc{zan2024swebenchjava,
  title={SWE-bench-java: A GitHub Issue Resolving Benchmark for Java},
  author={Zan et al. (2024)},
  year={2024},
  note={arXiv:2408.14354}
}
```

- arXiv: 2408.14354

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.