MOBIUSI INCThis dataset pairs API implementation or interface changes with unit tests that fail after those changes and repaired test code aligned with the updated API behavior. Examples cover common repairs such as assertion updates, mock or stub adjustments, and interface adaptation, with a repair category and explanation for each case. The data supports training code models to generate repaired tests and can also be used for regression validation and test maintenance during API evolution.
| Field | Type | Description |
|---|---|---|
| file_name | string | File name |
| repair_category | string | A concise classification of the repair, such as an assertion update, mock or stub adjustment, or interface adaptation. |
| api_change_context | string | A description or diff of API implementation or interface changes relevant to the test failure. |
| repair_explanation | string | A brief explanation of why the original test failed and how the repaired test resolves the issue. |
| repaired_test_code | string | Corrected unit test code updated to match the changed API behavior or interface. |
| failing_unit_test_code | string | The original unit test code that fails after or in the context of the API change. |
| 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 |

Post a request and let data providers reach out to you.
@dataset{Mobiusi2026,
title={API Unit Test Repair Dataset},
author={MOBIUSI INC},
year={2026},
url={https://www.mobiusi.com/datasets/76fbb60b10e1cc08a49ef6f4e1b49d3d},
urldate={2026-10-26},
keywords={API unit test repair,unit test code generation,failing test repair,API interface changes,test case maintenance,code SFT dataset,mock adjustment,regression testing},
version={1.0}
}Using this in research? Please cite us.