Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
14
29
project
stringclasses
10 values
repo
stringclasses
10 values
v_minus_1_commit
stringlengths
40
40
v0_commit
stringlengths
40
40
v0_date
stringdate
2016-01-06 00:00:00
2025-12-31 00:00:00
v0_message
stringlengths
15
1.77k
labels
listlengths
1
3
changed_test_methods
listlengths
1
74
new_test_files
listlengths
0
2
new_test_methods
stringlengths
2
685
num_changed_files
int64
2
20
src_changed_lines
int64
0
732
test_changed_lines
int64
5
200
source_patch
stringlengths
616
74.4k
test_patch
stringlengths
762
3.32M
commons-cli__0b115d5f
commons-cli
apache/commons-cli
65cb6cd9130c5dc5313975a5581e3e199521961e
0b115d5fb44901ab86d86a3210f55eed1156172f
2024-05-19 00:00:00
Cleanup help formatting (#277) * Changed deprecatedFormatFunc BiFunction to Function, updated docs, added HelpFromatter.getDescription(Option) * fixed checkstyle issue * Changes as per review * Fix Javadoc since tag --------- Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
[ "breaking", "stale" ]
[ "HelpFormatterTest.testHeaderStartingWithLineSeparator0", "HelpFormatterTest.testHeaderStartingWithLineSeparator1" ]
[]
{}
3
26
24
diff --git a/src/main/java/org/apache/commons/cli/HelpFormatter.java b/src/main/java/org/apache/commons/cli/HelpFormatter.java index 0da529f48322d5683933e0470381db6fbcff146d..1884437fac515791e78aa6ea45eefb1313f30322 100644 --- a/src/main/java/org/apache/commons/cli/HelpFormatter.java +++ b/src/main/java/org/apache/comm...
diff --git a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java b/src/test/java/org/apache/commons/cli/HelpFormatterTest.java index 4d702c41b80f76a6b015dcb8288d289e00dedf76..1ca74002e17f35723133809859193c903a8e0b88 100644 --- a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java +++ b/src/test/java/org...
commons-cli__1f7aa872
commons-cli
apache/commons-cli
ea48fc26b7cb88779fc4f57c5f5178a7f885c8af
1f7aa872bb9556aa31e85a844b4098af15426d24
2024-04-07 00:00:00
Better API name
[ "breaking", "missing" ]
[ "NotInstantiable.testClear", "NotInstantiable.testCreateValueExistingFile" ]
[]
{"TypeHandlerTest": ["testClear"]}
2
16
20
diff --git a/src/main/java/org/apache/commons/cli/TypeHandler.java b/src/main/java/org/apache/commons/cli/TypeHandler.java index deb7dbfb0e1956c452dd36fb2b4decfd690bdd98..a08c6ac9214211be1f5ba2eee67d0b7143d5f935 100644 --- a/src/main/java/org/apache/commons/cli/TypeHandler.java +++ b/src/main/java/org/apache/commons/cl...
diff --git a/src/test/java/org/apache/commons/cli/TypeHandlerTest.java b/src/test/java/org/apache/commons/cli/TypeHandlerTest.java index 69ffabb53ac5399f251fac870a6b2c3f9b67e30a..b82a5ca87d0b5724717f7c4367a4f1a57023a20a 100644 --- a/src/test/java/org/apache/commons/cli/TypeHandlerTest.java +++ b/src/test/java/org/apach...
commons-cli__34278395
commons-cli
apache/commons-cli
3f3a2e52074e44385e513735c28a5f6787ec58c5
34278395b6115752774c3d16a00292591da2dde3
2023-08-19 00:00:00
[CLI-317] NullPointerException thrown by CommandLineParser.parse()
[ "breaking", "missing", "stale" ]
[ "AbstractParserTestCase.testAmbiguousLongWithoutEqualSingleDash2", "TestOption.testBuilderMethods" ]
[]
{"AbstractParserTestCase": ["testAmbiguousLongWithoutEqualSingleDash2"]}
3
1
7
diff --git a/src/main/java/org/apache/commons/cli/Option.java b/src/main/java/org/apache/commons/cli/Option.java index e8853e251c1fe04320ccf062364231e266e943f4..fef6f0343c246a92d930098be2ec0187845022eb 100644 --- a/src/main/java/org/apache/commons/cli/Option.java +++ b/src/main/java/org/apache/commons/cli/Option.java @...
diff --git a/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java b/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java index 907e1f0037edbf2f8acf902feebd596417207e9a..534939a9e86e5350343d98e729856bbb2f55ebc5 100644 --- a/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java +++ b/sr...
commons-cli__52cb4deb
commons-cli
apache/commons-cli
9830ec0af8b5558ac524f044b54537f3b22bd721
52cb4debef1ef27b4261688b5bb800c87cd81b6c
2024-10-15 00:00:00
Rename to match String style of naming
[ "breaking" ]
[ "UtilTest.testFindNonWhitespacePos" ]
[]
{}
3
8
8
diff --git a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java index b7d4a9268a5fbfa2868012c3dc9cbfb47b292443..008927450cb0fba40e88e47406e5e3d7110a8121 100644 --- a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java +++ b...
diff --git a/src/test/java/org/apache/commons/cli/help/UtilTest.java b/src/test/java/org/apache/commons/cli/help/UtilTest.java index f736c3b3a835b39e57001d7182be4cda33f652c1..5e61967a2f3f46a8ed24dd168bb5984303789f38 100644 --- a/src/test/java/org/apache/commons/cli/help/UtilTest.java +++ b/src/test/java/org/apache/comm...
commons-cli__78b86ce7
commons-cli
apache/commons-cli
f172b7cbc4d409f49bc884dd22fff48c84e1bf58
78b86ce7f0a34b21b64c1858dae4a4e41967b740
2024-04-07 00:00:00
Better generics - The compiler will no longer let you register a converter mismatch - TODO No global map!
[ "breaking" ]
[ "TestOption.testSerialization", "NotInstantiable.testRegister", "NotInstantiable.testResetConverters" ]
[]
{}
4
24
59
diff --git a/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java b/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java index 19abbd39ed8796180053c2398a70933c13af2dc0..1c48dfc3192e14ce81bdedc1a2b10000a8401439 100644 --- a/src/main/java/org/apache/commons/cli/PatternOptionBuilder.java +++ b/src/main...
diff --git a/src/test/java/org/apache/commons/cli/OptionTest.java b/src/test/java/org/apache/commons/cli/OptionTest.java index 68ec90570c30a3fa5ec00989bd180b9f02860cbe..eaaf3c6b4e9cf1aeb1720ac950343f98a8bb395b 100644 --- a/src/test/java/org/apache/commons/cli/OptionTest.java +++ b/src/test/java/org/apache/commons/cli/O...
commons-cli__91f3acf5
commons-cli
apache/commons-cli
cd3f2c49866f73f27a494de5155a5c9a99f33a32
91f3acf591848ee4803526d820834dc2988f4c2a
2025-07-30 00:00:00
org.apache.commons.cli.Option.Builder.get() should throw IllegalStateException instead of IllegalArgumentException Is the state that's wrong, there are no arguments to validate anyway.
[ "breaking" ]
[ "TestOption.testBuilderDeprecatedBuildEmpty", "TestOption.testBuilderEmpty", "TestOption.testBuilderInsufficientParams1", "TestOption.testBuilderInsufficientParams2", "TestOption.testBuilderInvalidOptionName0" ]
[]
{}
3
7
10
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index a5b5d8f78633b587f5514b5e9f25ee5098c9d803..3d4a80349e5c760b4569ac14380ddb83789c5f01 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -38,6 +38,7 @@ <action type="fix" issue="CLI-349" dev="ggregory" due-to="Leo Fernandes, Gar...
diff --git a/src/test/java/org/apache/commons/cli/OptionTest.java b/src/test/java/org/apache/commons/cli/OptionTest.java index d902a881909ac89190b1c8c8dd05d97fd70edcf1..fbdb898f4b6c7ec69c1a69f784a0c858b8a7d2cb 100644 --- a/src/test/java/org/apache/commons/cli/OptionTest.java +++ b/src/test/java/org/apache/commons/cli/O...
commons-cli__95e3a60b
commons-cli
apache/commons-cli
68844bf1e09a8df7790d16f01ffa11ece007de6f
95e3a60b3aedddcbb5d3935fb8b880dcb6d4d5c9
2024-04-10 00:00:00
Better data type Add missing tests
[ "breaking", "missing" ]
[ "HelpFormatterTest.testHeaderStartingWithLineSeparator0", "HelpFormatterTest.testHeaderStartingWithLineSeparator1", "BugsTest.test13666_Builder" ]
[]
{"HelpFormatterTest": ["testHeaderStartingWithLineSeparator0", "testHeaderStartingWithLineSeparator1"]}
4
30
77
diff --git a/src/main/java/org/apache/commons/cli/Char.java b/src/main/java/org/apache/commons/cli/Char.java index 5fafa0a51e1a3ab79e76da7338debad763a88daa..e9a9f85e1787814999d7493cc9c9600112df2798 100644 --- a/src/main/java/org/apache/commons/cli/Char.java +++ b/src/main/java/org/apache/commons/cli/Char.java @@ -37,6 ...
diff --git a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java b/src/test/java/org/apache/commons/cli/HelpFormatterTest.java index 76ce561893a71ccfa483d39ff9697596feb948da..70314edc5c1edcd9c8853de125383ce232f5fee4 100644 --- a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java +++ b/src/test/java/org...
commons-cli__e44db7a1
commons-cli
apache/commons-cli
59cad49a10a78c4377f503ea959aace8d9523012
e44db7a18ffc31400eeedaea749ac89f9ee654f6
2024-10-17 00:00:00
Normalize builder pattern - Add Javadoc - Don't static import String in tests - Move factory methods to their home class
[ "breaking" ]
[ "AptHelpAppendableTest.testAppendHeaderTest", "AptHelpAppendableTest.testAppendListTest", "AptHelpAppendableTest.testAppendParagraphTest", "AptHelpAppendableTest.testAppendTitleTest", "XhtmlHelpAppendableTest.testAppendHeaderTest", "XhtmlHelpAppendableTest.testAppendListTest", "XhtmlHelpAppendableTest.t...
[]
{}
12
52
153
diff --git a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java b/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java index b930944ff112c64ac27269cf005c89fba4d85097..93fab7550e18e353dc132be900384b3f503ee8d2 100644 --- a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.j...
diff --git a/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java b/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java index 9aff41d9887c70475d06193f828cf7810bd6c010..ae79417d38d955529f8ad114ababea6ec95ca815 100644 --- a/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java...
commons-cli__08f8c503
commons-cli
apache/commons-cli
834d696d8943aaa80eb213e1f8e67e1d14ac811f
08f8c5034a8492be6db65b2086341c292489ee53
2023-08-15 00:00:00
CommandLine.addArgs(String) should not allow a null String
[ "missing", "stale" ]
[ "CommandLineTest.testBuilderNullArgs", "CommandLineTest.testBuilderNullOption" ]
[]
{"CommandLineTest": ["testBuilderNullArgs", "testBuilderNullOption"]}
3
4
13
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 703e4ec3a0af9e52d9fffb78d2f81da6073b66ee..9127e5dbdd45d68e8d21ec7158dda918e31b9746 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -55,6 +55,9 @@ <action dev="ggregory" type="fix" due-to="Dilraj Singh, Gary Gregory" issue=...
diff --git a/src/test/java/org/apache/commons/cli/CommandLineTest.java b/src/test/java/org/apache/commons/cli/CommandLineTest.java index 812c65e8c69717dbdfb86112b8a98903a9ec7c57..4522fb0300b5f437f6d3786b7fc511dc6890c102 100644 --- a/src/test/java/org/apache/commons/cli/CommandLineTest.java +++ b/src/test/java/org/apach...
commons-cli__267bdf77
commons-cli
apache/commons-cli
4a9c00649c7ff5e4ca8dc54f7e27501c3a706abf
267bdf7777a0380d1280da0f83f2e5000440c0c5
2024-06-08 00:00:00
Add OptionGroup.isSelected() Next version will be 1.9.0
[ "stale" ]
[ "AbstractParserTestCase.testOptionGroup", "AbstractParserTestCase.testOptionGroupLong", "OptionGroupTest.testGetNames", "OptionGroupTest.testTwoLongOptionsFromGroup", "OptionGroupTest.testTwoOptionsFromGroup" ]
[]
{}
7
13
6
diff --git a/pom.xml b/pom.xml index ef6832e870c280e1195dc5d1c330b1ecffb7f684..f8a934796c3d1ea36cb7186c3de37e9a05d2684b 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> - <version>1.8.1-SNAPSHOT</version...
diff --git a/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java b/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java index 01140983aab013034d622f51ab7f3428a390205d..f61b15fe22455a5427aa3307574d2d4c32416bf1 100644 --- a/src/test/java/org/apache/commons/cli/AbstractParserTestCase.java +++ b/sr...
commons-cli__35cf8df9
commons-cli
apache/commons-cli
8d9604d76f510642aaeb8156a43c99c8d70a504a
35cf8df921caf3a71b05e6e7e450ee81e514bead
2024-08-08 00:00:00
Replace internal StringBuffer with StringBuilder
[ "stale" ]
[ "HelpFormatterTest.testRenderSince", "HelpFormatterTest.testRenderWrappedTextSingleLine" ]
[]
{}
3
248
16
diff --git a/pom.xml b/pom.xml index 0abb6f248f5a5e42f2927d4caf9603e0184ecf7b..1e0551932d4c194714220f6d9520bcf5785b480e 100644 --- a/pom.xml +++ b/pom.xml @@ -63,6 +63,12 @@ <version>2.16.1</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.mockito</groupId> + <art...
diff --git a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java b/src/test/java/org/apache/commons/cli/HelpFormatterTest.java index 09b449f2c58c430fc3474d1cb6270ab0001ea160..fc9904ebf5fc6d69f96f1ce39fed4ed37bbb9bce 100644 --- a/src/test/java/org/apache/commons/cli/HelpFormatterTest.java +++ b/src/test/java/org...
commons-cli__5d2c0dc0
commons-cli
apache/commons-cli
e44db7a18ffc31400eeedaea749ac89f9ee654f6
5d2c0dc04554729de2d59a088d39319400dba2aa
2024-10-17 00:00:00
Refactor duplicate code patterns - Add org.apache.commons.cli.help.HelpAppendable.appendFormat(String, Object...) - Add org.apache.commons.cli.help.HelpAppendable.appendParagraphFormat(String, Object...)
[ "missing", "stale" ]
[ "AptHelpAppendableTest.testAppendFormatTest", "AptHelpAppendableTest.testAppendParagraphFormatTest", "XhtmlHelpAppendableTest.testAppendParagraphFormatTest", "TextHelpAppendableTest.testAppendParagraphFormat", "TextHelpAppendableTest.testGetStyleBuilder" ]
[]
{"AptHelpAppendableTest": ["testAppendFormatTest", "testAppendParagraphFormatTest"], "XhtmlHelpAppendableTest": ["testAppendParagraphFormatTest"], "TextHelpAppendableTest": ["testAppendParagraphFormat"]}
8
79
89
diff --git a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java b/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java index 93fab7550e18e353dc132be900384b3f503ee8d2..ce354ff155b8f8d66109ed309393d6f281dc435d 100644 --- a/src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.j...
diff --git a/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java b/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java index ae79417d38d955529f8ad114ababea6ec95ca815..1114e2ab7c0b9949f509e0c624d2d36127a13f95 100644 --- a/src/test/java/org/apache/commons/cli/example/AptHelpAppendable.java...
commons-cli__6279d467
commons-cli
apache/commons-cli
b6ce51b8951c54b11af504f24fe7b855718f2419
6279d4672664a673dcbedc3e94c9c7be31cbd6d8
2024-04-11 00:00:00
Add test branches
[ "stale" ]
[ "OptionsTest.testDeprecated", "OptionsTest.testDuplicateLong", "OptionsTest.testDuplicateSimple", "OptionsTest.testGetMatchingOpts", "OptionsTest.testLong", "OptionsTest.testSimple" ]
[]
{}
2
12
72
diff --git a/src/main/java/org/apache/commons/cli/Option.java b/src/main/java/org/apache/commons/cli/Option.java index 7cf9fbd5ecca431aad002fbdd640ca7159a80aa4..4ec97e7a128a02336693eb289e67eaf809093858 100644 --- a/src/main/java/org/apache/commons/cli/Option.java +++ b/src/main/java/org/apache/commons/cli/Option.java @...
diff --git a/src/test/java/org/apache/commons/cli/OptionsTest.java b/src/test/java/org/apache/commons/cli/OptionsTest.java index e9e6e8916c00150f66b0c4f23debedaf3ea0abb0..dd3377b29adc6aa45109b8e9a958980243b6b31a 100644 --- a/src/test/java/org/apache/commons/cli/OptionsTest.java +++ b/src/test/java/org/apache/commons/cl...
End of preview. Expand in Data Studio

TEBench: Project-Level Test Evolution Benchmark

πŸ“„ Paper: https://arxiv.org/abs/2605.06125  |  πŸ’» Code: https://github.com/iSEngLab/TEBench

TEBench is the first project-level benchmark for test evolution: given a project repository and a commit that changes production code, a system must autonomously (1) identify which existing tests need to be modified and where new tests are needed, and (2) produce the corresponding test patch. Unlike prior method-level benchmarks that pre-pair a changed method with its test (⟨m, m', t⟩), TEBench requires reasoning across the whole project.

The benchmark contains 314 task instances from 10 real-world Java/Maven projects in the Defects4J ecosystem, each annotated with one or more of three evolution types and accompanied by developer-written ground-truth test patches.

Evolution Types

Type Definition
Breaking An existing test fails to compile/run after the code change; the developer modifies it to restore correctness.
Stale An existing test still passes after the change but no longer meaningfully validates the new behavior; the developer updates it anyway.
Missing The developer adds a new test to cover behavior introduced/exposed by the change.

A task may carry multiple types simultaneously.

The Three-Version Structure

Each instance is built around three versions of the project:

  • Vβˆ’1 (v_minus_1_commit) β€” parent commit, before any change.
  • Vβˆ’0.5 β€” Vβˆ’1 plus all non-test changes from the commit (production code, build config, resources), with the original tests untouched. Vβˆ’0.5 is not a commit; it is reconstructed by applying source_patch to Vβˆ’1. This is the state given to the system: the source has moved on, the tests have not.
  • V0 (v0_commit) β€” the full commit including the developer's actual test changes. This is the ground truth.

In this dataset:

  • source_patch applies to Vβˆ’1 and reconstructs Vβˆ’0.5 (the system input).
  • test_patch is the gold answer: the developer's test changes (Vβˆ’0.5 β†’ V0).

Both patches were generated with git diff --binary --full-index and are verified to apply cleanly to v_minus_1_commit with git apply (see validate_patches.py): 314/314 source patches and 314/314 test patches apply.

Data Fields

Field Type Description
instance_id string Stable id, <project>__<short_hash>.
project string Project name.
repo string Upstream GitHub slug (e.g. apache/commons-lang).
v_minus_1_commit string Vβˆ’1 commit hash (parent state, before the change).
v0_commit string V0 commit hash (full ground-truth commit).
v0_date string V0 commit date.
v0_message string V0 commit message.
labels list[string] Evolution types: breaking / stale / missing (β‰₯1 per task).
changed_test_methods list[string] GT modified/added test methods (Class.method).
new_test_files list[string] Test files where GT adds new methods.
new_test_methods string JSON map {TestClass: [methods]} of GT-added methods.
num_changed_files int Files changed in the commit.
src_changed_lines int Production lines changed.
test_changed_lines int Test lines changed.
source_patch string Vβˆ’1 β†’ Vβˆ’0.5 diff (non-test; given to the system).
test_patch string Vβˆ’0.5 β†’ V0 diff (gold test changes).

There is a single test split with 314 instances.

Usage

from datasets import load_dataset

ds = load_dataset("iSEngLab/TEBench", split="test")
ex = ds[0]
print(ex["instance_id"], ex["labels"])

Reconstruct the agent input (Vβˆ’0.5) for an instance:

git clone https://github.com/<repo>.git && cd <repo>
git checkout <v_minus_1_commit>
git apply source.patch       # now at V-0.5: new source, old tests
# ... system produces test changes ...
git apply test.patch         # gold V0 test changes, for reference/eval

Evaluation

TEBench evaluates two dimensions (full harness and Docker image referenced below):

  • Identification β€” Precision / Recall / F1 of the test methods the system modifies/adds vs. the ground truth. Modified/deleted tests are matched at method granularity; newly added tests at file granularity.
  • Update β€” a composite of executability (compiles & passes), coverage overlap with GT on the changed production methods (line + branch), and modification similarity (token Jaccard vs. GT). Executability gates the score: non-compiling updates score 0.

Dataset Statistics

Project Tasks Breaking Stale Missing
commons-cli 18 8 12 9
commons-codec 19 12 11 12
commons-collections 23 10 14 15
commons-compress 86 34 58 53
commons-csv 31 22 18 16
commons-lang 69 28 46 40
commons-math 8 8 3 2
gson 1 1 0 1
jfreechart 3 1 3 1
jsoup 56 48 42 50
Total 314 172 207 199

Label distribution (a task may carry several types, so shares do not sum to 100%):

Type Tasks Share of 314
Breaking 172 54.8%
Stale 207 65.9%
Missing 199 63.4%
  • Multi-label: 219 tasks (69.7%) carry β‰₯2 types; 45 (14.3%) carry all three; 95 (30.3%) are single-type.
  • Complexity (median): 4 changed files, 34 source lines, ~32 test lines changed.

Construction

Built via a four-stage filtering pipeline over the Defects4J ecosystem: 67,670 commits (14 Maven projects) β†’ static filtering (post-2019, co-modification of src/main and src/test, real method-body changes) β†’ 6,169 β†’ execution-based validation (isolated worktrees, Maven Surefire + JaCoCo) β†’ 561 β†’ quality filtering (no merges, 5–200 test lines changed, method-level dedup) β†’ 314 instances / 10 projects.

Companion Artifacts

  • Evaluation harness & code: https://github.com/iSEngLab/TEBench β€” identification & update scoring, baselines, dataset build scripts.
  • Reproducible environment: a prebuilt Docker image, shipped as docker/tebench-env.tar in this repository (see below).

Docker Environment

The Docker image bundles everything needed to run and evaluate TEBench β€” all 10 project repositories, Maven 3.6.3, OpenJDK 8 / 11 / 17 (default JDK 8), and the evaluated coding agents (Claude Code, Codex CLI, OpenCode CLI) β€” so you do not have to configure per-project toolchains.

The image archive (docker/tebench-env.tar) is stored in this dataset repo as an LFS file. HuggingFace is not a container registry, so you download the tar and load it locally:

# 1. Download the image archive from this dataset repo
hf download iSEngLab/TEBench docker/tebench-env.tar --repo-type=dataset --local-dir .

# 2. Load it into your local Docker
docker load -i docker/tebench-env.tar

# 3. Start a container
docker run --rm -it tebench-env

# 4. Inside the container
cd /root/TestUpdate
java -version && mvn -version          # JDK 8 + Maven 3.6.3
claude --version && codex --version && opencode --version

Switch JDK inside the container via JAVA_HOME (JAVA11_HOME, JAVA17_HOME are also available). Agent worktrees are large derived artifacts and are not bundled; regenerate them inside the container with the harness when needed.

Licensing

  • Annotations / patch metadata in this dataset: CC-BY-4.0.
  • Embedded source code inside source_patch / test_patch remains under the original license of each upstream project and must be used accordingly:
Project(s) License
commons-* (cli, codec, collections, compress, csv, lang, math), gson Apache-2.0
jsoup MIT
jfreechart LGPL-2.1

Attribution to the original authors is preserved through commit hashes and the repo field. Redistribution of the Docker image (which contains full source trees) must likewise honor these licenses.

Citation

@article{tebench,
  title   = {TEBench: Benchmarking LLM Agents on Project-Level Test Evolution},
  journal = {arXiv preprint arXiv:2605.06125},
  year    = {2026},
  url     = {https://arxiv.org/abs/2605.06125}
}
Downloads last month
14

Paper for iSEngLab/TEBench