Benchgen

SWE Atlas – Test Writing — Results

RankModelScore
1hy4-preview57.8
S

SWE Atlas – Test Writing

1 phaseActive

Scale AI's SWE Atlas sub-benchmark testing agentic test-writing quality on real repositories. 90 tasks.

Overview

SWE Atlas – Test Writing

Category Metric Tasks Saturation Created

Paper GitHub

Quick answer: SWE Atlas – Test Writing is one of three sub-benchmarks in Scale AI's SWE Atlas suite. It tests whether a coding agent can write correct, meaningful tests for existing code — 90 tasks scored with programmatic checks plus rubric-based assessment.

At a Glance

What it tests: Whether an AI coding agent can write tests that meaningfully exercise existing code — not just tests that pass trivially, but ones that actually catch regressions.

Why it matters: Writing good tests is a distinct skill from writing correct code; agents that can extend test coverage on an existing codebase are far more useful in real engineering workflows.

Known limitations: Small task count (90); rubric grading of "test quality" is inherently more subjective than binary pass/fail checks.

What SWE Atlas – Test Writing Measures

This slice of Scale AI's SWE Atlas suite drops an agent into a real repository and asks it to write tests for specified existing functionality. Grading combines programmatic checks (does the test suite run, does it pass against the correct implementation, does it fail against seeded bugs) with expert rubric review of test quality — coverage of edge cases, clarity, and whether the tests would catch a realistic regression.

A high score indicates an agent can produce tests that genuinely strengthen a codebase's safety net, not just tests that trivially pass. This complements the Codebase Q&A and Refactoring slices of the same suite.

Benchmark Specifications

FieldValue
Task categoryCoding
MetricAccuracy / rubric score
Number of tasks90
SaturationLow
Created byRaghavendra et al. (Scale AI)
Source paperRaghavendra et al. 2026
GitHubscaleapi/SWE-Atlas

How SWE Atlas – Test Writing Is Scored

Scores combine automated test-execution checks (pass against correct code, fail against seeded bugs) with expert rubric assessment of test quality, reported as a percentage.

State-of-the-Art Results

RankModelScoreSourceDate
1Hy4 Preview57.8%Tencent Hunyuan model card2026-08

Scores sourced from published technical reports and model cards. Results depend on harness, prompt format, and effort settings — see each source for methodology.

SWE Atlas – Test Writing on Benchgen

No Benchgen results yet — be the first to run SWE Atlas – Test Writing.

SWE Atlas – Test Writing vs Other Benchmarks

BenchmarkWhat it testsTasksSaturation
SWE Atlas – Test WritingAgentic test-writing quality90Low
SWE Atlas – Codebase Q&ARepository comprehension124Low
SWE Atlas – RefactoringCode refactoring quality70Low

Use SWE Atlas – Test Writing to evaluate an agent's ability to strengthen an existing codebase's test coverage, distinct from its ability to resolve issues end-to-end.

Run SWE Atlas – Test Writing on Your Model

Benchgen lets teams run SWE Atlas – Test Writing against their own model versions, compare results across runs and harnesses, and catch regressions in test-generation quality over time.

Frequently Asked Questions

What is SWE Atlas – Test Writing? It's a sub-benchmark of Scale AI's SWE Atlas suite that tests whether a coding agent can write correct, meaningful tests for existing code, across 90 tasks.
What does a good SWE Atlas – Test Writing score look like? As of August 2026, frontier models score in the 45–58% range; scores above 55% represent strong test-writing capability.
Who created SWE Atlas? SWE Atlas was created by Scale AI (Raghavendra et al.), published in 2026.