Datasets › Defects4J
Defects4J
Defects4J is a collection of reproducible bugs and a supporting infrastructure with the goal of advancing software engineering research.
Defects4J contains 835 bugs (plus 29 deprecated bugs) from the following open-source projects:
| Identifier | Project name | Number of active bugs | Active bug ids | Deprecated bug ids (*) |
|---|---|---|---|---|
| Chart | jfreechart | 26 | 1-26 | None |
| Cli | commons-cli | 39 | 1-5,7-40 | 6 |
| Closure | closure-compiler | 174 | 1-62,64-92,94-176 | 63,93 |
| Codec | commons-codec | 18 | 1-18 | None |
| Collections | commons-collections | 4 | 25-28 | 1-24 |
| Compress | commons-compress | 47 | 1-47 | None |
| Csv | commons-csv | 16 | 1-16 | None |
| Gson | gson | 18 | 1-18 | None |
| JacksonCore | jackson-core | 26 | 1-26 | None |
| JacksonDatabind | jackson-databind | 112 | 1-112 | None |
| JacksonXml | jackson-dataformat-xml | 6 | 1-6 | None |
| Jsoup | jsoup | 93 | 1-93 | None |
| JxPath | commons-jxpath | 22 | 1-22 | None |
| Lang | commons-lang | 64 | 1,3-65 | 2 |
| Math | commons-math | 106 | 1-106 | None |
| Mockito | mockito | 38 | 1-38 | None |
| Time | joda-time | 26 | 1-20,22-27 | 21 |
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Code Completion | Defects4J | Rambo Compilation Rate 76.47 | RAMBO: Enhancing RAG-based Repository-Level Method Body... | ise-uet-vnu/rambo | 2 | Compare |
Papers archive 2025-07-28
papers with a benchmark row: 2 · with a code link: 2 · where Syntology ran a sample: 1 (1 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument) Syntology
Show: all papers with a benchmark rowonly where code ran (1 of 2 with a benchmark row: 1 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument)
Page 1 of 1: papers 1 to 2 of 2 with a leaderboard row on this dataset's benchmarks, newest first by the archive's date (ties by slug; undated papers last).
The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset, not that list; the archive's count for this dataset is 9. The Syntology column is from Syntology's graph, stated per sample; it is not part of any archive number. A line reads “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified” (C is a part of N, never taken away from it); the figure “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. When the archive marks a repository official for the paper, the cell starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.
| Paper | Code | Results | Date | Samples run Syntology |
|---|---|---|---|---|
| RAMBO: Enhancing RAG-based Repository-Level Method Body Completion | 1 | 1 | 23 Sep 2024 | not harvested |
| RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation | 1 | 1 | 22 Mar 2023 | official (archive's flag): 1 ran · 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified |
Dataset loaders archive 2025-07-28
No loader listed in the archive.
Tasks archive 2025-07-28
License archive 2025-07-28
Modalities archive 2025-07-28
No modality tagged.
Languages archive 2025-07-28
Variants archive 2025-07-28
- Defects4J
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections