Failure-Diagnosis-Based Unit Test Repair Dataset

#unit test code repair #failure diagnosis #code generation #code SFT #unit test repair #CI quality gates #code agent training
Records
4250
Size
0.4GB
Format
JSON
Provider
MOBIUSI INCMOBIUSI INC
Updated
v1.02026-11-04
AI Analysis & Value Prop

Each example includes the implementation under test, its original unit test, failure diagnostics such as compiler errors or runtime exceptions, and the repaired test with a concise repair summary. The data covers common issues including compilation failures, runtime errors, and assertion failures, teaching models to repair tests while leaving the implementation unchanged. It supports code supervised fine-tuning, software testing tool development, and evaluation of test repair in quality engineering workflows.

Overview

Dataset Insights

Preview

Sample Examples

sample.json
{}

Schema

Technical Specifications

file_namestringFile name
target_codestringSource code for the implementation under test, provided as a code snippet.
repair_summarystringA concise explanation of the test changes and how they address the reported diagnostics.
failure_categorystringThe primary category of the reported failure.
existing_test_codestringThe original unit test code that must be repaired to address the reported failure.
repaired_test_codestringThe corrected unit test code. The implementation under test must remain unchanged.
failure_diagnosticsstringCompiler errors, runtime exceptions, assertion failures, or other diagnostic output associated with the existing test.

Trust

Compliance Statement

Authorization Type

Proprietary - Commercial AI Training License (No Redistribution)

Commercial Use

Requires exclusive subscription or authorization contract (monthly or per-invocation charging)

Privacy and Anonymization

No PII, no real company names, simulated scenarios follow industry standards

Compliance System

Compliant with China's Data Security Law / EU GDPR / supports enterprise data access logs

FAQ

Frequently Asked Questions

What does the dataset contain?
Each example includes the target implementation, existing test code, failure diagnostics, repaired test code, a repair summary, and a failure category. These fields support learning the mapping from test failures to corrected tests.
Which failure types are covered?
The data focuses on compiler errors, runtime exceptions, assertion failures, and other test diagnostics. Check the product details or preview for specific languages, sample counts, and quality metrics.
How can I access the dataset?
Check the product page for available previews, download or delivery options, supported file formats, and usage instructions.
What is it suitable for, and what should I check before use?
It is suitable for unit test repair, supervised fine-tuning of code models, test tooling development, and quality engineering evaluation. Before use, review the product page for licensing scope and any restrictions on commercial use or redistribution.

Can't find the data you need?

Post a request and let data providers reach out to you.

Get this Dataset

High-quality data, ready for your next AI breakthrough.

Cite this Work

@dataset{Mobiusi2026,
  title={Failure-Diagnosis-Based Unit Test Repair Dataset},
  author={MOBIUSI INC},
  year={2026},
  url={https://www.mobiusi.com/datasets/82339bc4e21624a235e6ef559c49becf?dataset_task_cate_id=8},
  urldate={2026-10-26},
  keywords={unit test repair dataset,code repair training data,failure diagnosis data,unit test code generation,test code SFT,compiler error repair,assertion failure repair,software testing dataset},
  version={1.0}
}

Using this in research? Please cite us.

placeholder
placeholder
placeholder
placeholder
placeholder
placeholder
placeholder

Popular Dataset Searches