Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
56
113
project_name
stringclasses
105 values
git_clone_url
stringclasses
105 values
rev1
stringlengths
40
40
rev2
stringlengths
40
40
test_file
stringlengths
31
137
test_changes
listlengths
1
18
java_version
int64
8
21
date
stringdate
2019-01-04 21:46:59
2026-06-28 15:24:11
Adyen_adyen-java-api-library-v43.0.0__19eda45_e21ec4e__MarketPayTest_cfd39cb0
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
19eda45b73d2c267f5b47e8746b6f184675c2267
e21ec4e9c6e78941851ffc9f1ccafb4dd5ad3334
src/test/java/com/adyen/MarketPayTest.java
[ { "change_id": "43_Adyen_adyen-java-api-library-v43.0.0_19eda45_e21ec4e_MarketPayTest", "test_sign": "com/adyen/MarketPayTest.TestGetIndividualAccountHolderSuccess:()V", "class": "MarketPayTest", "method": "TestGetIndividualAccountHolderSuccess", "module": "", "junit_selector": "com.adyen.Ma...
11
2021-08-06T08:01:11Z
Adyen_adyen-java-api-library-v43.0.0__1f268ba_838e526__LegalEntityManagementTest_6a7e8588
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
1f268bab975fd47d4a465cdb6b8dec9ce4845237
838e526909146460d0ef3a06c234b4dbbb661efe
src/test/java/com/adyen/LegalEntityManagementTest.java
[ { "change_id": "69_Adyen_adyen-java-api-library-v43.0.0_1f268ba_838e526_LegalEntityManagementTest", "test_sign": "com/adyen/LegalEntityManagementTest.HostedOnboardingPageCreateTest:()V", "class": "LegalEntityManagementTest", "method": "HostedOnboardingPageCreateTest", "module": "", "junit_se...
11
2022-10-19T12:39:08Z
Adyen_adyen-java-api-library-v43.0.0__317eb09_78129f9__MarketPayTest_cfd39cb0
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
317eb0958a3b55bedaa53a28dc2b4bc9f3585407
78129f976fa26fc9c7c9d8e65ee3cfb7abf8e007
src/test/java/com/adyen/MarketPayTest.java
[ { "change_id": "35_Adyen_adyen-java-api-library-v43.0.0_317eb09_78129f9_MarketPayTest", "test_sign": "com/adyen/MarketPayTest.TestGetIndividualAccountHolderSuccess:()V", "class": "MarketPayTest", "method": "TestGetIndividualAccountHolderSuccess", "module": "", "junit_selector": "com.adyen.Ma...
11
2021-05-03T08:26:46Z
Adyen_adyen-java-api-library-v43.0.0__34ceb10_ab0d183__CheckoutTest_b58d3e64
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
34ceb106e08fd46e4229a218ceb5588e21a83ed5
ab0d1831b028903dc32eeece1084bac07698d600
src/test/java/com/adyen/CheckoutTest.java
[ { "change_id": "74_Adyen_adyen-java-api-library-v43.0.0_34ceb10_ab0d183_CheckoutTest", "test_sign": "com/adyen/CheckoutTest.TestPaymentMethodsOneClickSuccessMocked:()V", "class": "CheckoutTest", "method": "TestPaymentMethodsOneClickSuccessMocked", "module": "", "junit_selector": "com.adyen.C...
11
2022-10-06T14:57:29Z
Adyen_adyen-java-api-library-v43.0.0__3a91f8d_f1dd232__PayoutTest_19937938
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
3a91f8dddab66f866d25e60345d6aa3246a5fbfc
f1dd2328c4af2046f5552e093b1332764e186e71
src/test/java/com/adyen/PayoutTest.java
[ { "change_id": "124_Adyen_adyen-java-api-library-v43.0.0_3a91f8d_f1dd232_PayoutTest", "test_sign": "com/adyen/PayoutTest.testSubmitThirdPartySuccess:()V", "class": "PayoutTest", "method": "testSubmitThirdPartySuccess", "module": "", "junit_selector": "com.adyen.PayoutTest#testSubmitThirdPart...
11
2023-05-01T10:42:55Z
Adyen_adyen-java-api-library-v43.0.0__3d7a575_4e7926d__CheckoutTest_67d9b158
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
3d7a575f9ceb2c53bd872c2eece74cc42c571f4d
4e7926d890961f14ebba96bdfb77b46f3613c73a
src/test/java/com/adyen/CheckoutTest.java
[ { "change_id": "73_Adyen_adyen-java-api-library-v43.0.0_3d7a575_4e7926d_CheckoutTest", "test_sign": "com/adyen/CheckoutTest.TestPaymentRequestSerialization:()V", "class": "CheckoutTest", "method": "TestPaymentRequestSerialization", "module": "", "junit_selector": "com.adyen.CheckoutTest#Test...
11
2023-04-21T15:07:04Z
Adyen_adyen-java-api-library-v43.0.0__4895eaf_da8e5f6__CheckoutTest_4f0e10f1
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
4895eafe3a58fc1dfe162b7ec49678512c66f580
da8e5f6683e463620ec9bdc882cd4eae67ef4e4e
src/test/java/com/adyen/CheckoutTest.java
[ { "change_id": "20_Adyen_adyen-java-api-library-v43.0.0_4895eaf_da8e5f6_CheckoutTest", "test_sign": "com/adyen/CheckoutTest.TestDateSerializers:()V", "class": "CheckoutTest", "method": "TestDateSerializers", "module": "", "junit_selector": "com.adyen.CheckoutTest#TestDateSerializers", "o...
11
2019-04-09T14:37:55Z
Adyen_adyen-java-api-library-v43.0.0__4d966d2_5d8848e__ManagementTest_9d9b1f74
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
4d966d217c3fd58c5c8062af47428ab3b750e29b
5d8848e4c77f60b7c4d6debfcae70d659df7f1ab
src/test/java/com/adyen/ManagementTest.java
[ { "change_id": "158_Adyen_adyen-java-api-library-v43.0.0_4d966d2_5d8848e_ManagementTest", "test_sign": "com/adyen/ManagementTest.createStore:()V", "class": "ManagementTest", "method": "createStore", "module": "", "junit_selector": "com.adyen.ManagementTest#createStore", "old_test_code": ...
11
2023-05-08T09:44:17Z
Adyen_adyen-java-api-library-v43.0.0__59b69ca_cbc2e3a__PaymentLinksTest_f871bd75
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
59b69ca942392920f9094cef34b4bcc61d539661
cbc2e3a53a3aedd733a1b16f27ae737df496a110
src/test/java/com/adyen/service/PaymentLinksTest.java
[ { "change_id": "10_Adyen_adyen-java-api-library-v43.0.0_59b69ca_cbc2e3a_PaymentLinksTest", "test_sign": "com/adyen/service/PaymentLinksTest.TestGetPaymentLink:()V", "class": "PaymentLinksTest", "method": "TestGetPaymentLink", "module": "", "junit_selector": "com.adyen.service.PaymentLinksTes...
11
2021-04-29T14:47:53Z
Adyen_adyen-java-api-library-v43.0.0__5bd17fc_bd335f2__CheckoutTest_a005ca80
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
5bd17fcc0cc2093cd1c2dbe1e46afaa7c425dd74
bd335f2822efa34cdef533b3b9ce9d5131aab27b
src/test/java/com/adyen/CheckoutTest.java
[ { "change_id": "31_Adyen_adyen-java-api-library-v43.0.0_5bd17fc_bd335f2_CheckoutTest", "test_sign": "com/adyen/CheckoutTest.TestPaymentMethodsSuccessMocked:()V", "class": "CheckoutTest", "method": "TestPaymentMethodsSuccessMocked", "module": "", "junit_selector": "com.adyen.CheckoutTest#Test...
8
2020-11-26T11:13:22Z
Adyen_adyen-java-api-library-v43.0.0__5d8848e_e5a11d5__BinLookupTest_650c8c43
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
5d8848e4c77f60b7c4d6debfcae70d659df7f1ab
e5a11d5e74e18e5814b1687a647a7f439e109cb7
src/test/java/com/adyen/BinLookupTest.java
[ { "change_id": "47_Adyen_adyen-java-api-library-v43.0.0_5d8848e_e5a11d5_BinLookupTest", "test_sign": "com/adyen/BinLookupTest.TestGetCostEstimateInvalidMerchantMocked:()V", "class": "BinLookupTest", "method": "TestGetCostEstimateInvalidMerchantMocked", "module": "", "junit_selector": "com.ad...
11
2023-05-08T13:47:56Z
Adyen_adyen-java-api-library-v43.0.0__5d8848e_e5a11d5__MarketPayTest_59330760
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
5d8848e4c77f60b7c4d6debfcae70d659df7f1ab
e5a11d5e74e18e5814b1687a647a7f439e109cb7
src/test/java/com/adyen/MarketPayTest.java
[ { "change_id": "38_Adyen_adyen-java-api-library-v43.0.0_5d8848e_e5a11d5_MarketPayTest", "test_sign": "com/adyen/MarketPayTest.TestCreateSplitPayment:()V", "class": "MarketPayTest", "method": "TestCreateSplitPayment", "module": "", "junit_selector": "com.adyen.MarketPayTest#TestCreateSplitPay...
11
2023-05-08T13:47:56Z
Adyen_adyen-java-api-library-v43.0.0__5d8848e_e5a11d5__PaymentTest_99f486e4
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
5d8848e4c77f60b7c4d6debfcae70d659df7f1ab
e5a11d5e74e18e5814b1687a647a7f439e109cb7
src/test/java/com/adyen/PaymentTest.java
[ { "change_id": "29_Adyen_adyen-java-api-library-v43.0.0_5d8848e_e5a11d5_PaymentTest", "test_sign": "com/adyen/PaymentTest.TestGetAuthenticationResultErrorInvalidPsp:()V", "class": "PaymentTest", "method": "TestGetAuthenticationResultErrorInvalidPsp", "module": "", "junit_selector": "com.adye...
11
2023-05-08T13:47:56Z
Adyen_adyen-java-api-library-v43.0.0__5e2ac0a_67a8ded__MarketPayNotificationTest_700708fe
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
5e2ac0a0ae3fe86077785711e6f9721b660e5404
67a8ded4251cf195ad150a970026e513c1b85ec6
src/test/java/com/adyen/MarketPayNotificationTest.java
[ { "change_id": "18_Adyen_adyen-java-api-library-v43.0.0_5e2ac0a_67a8ded_MarketPayNotificationTest", "test_sign": "com/adyen/MarketPayNotificationTest.testMarketPayAccountHolderPayoutFailNotification:()V", "class": "MarketPayNotificationTest", "method": "testMarketPayAccountHolderPayoutFailNotificati...
8
2020-11-03T14:19:02Z
Adyen_adyen-java-api-library-v43.0.0__6b3f2f1_b0612e9__BinLookupTest_4656a635
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
6b3f2f118f65aebf93ddfb2dd199186881203d1e
b0612e962d9fa46bf131fca7897e430c24b246d4
src/test/java/com/adyen/BinLookupTest.java
[ { "change_id": "1_Adyen_adyen-java-api-library-v43.0.0_6b3f2f1_b0612e9_BinLookupTest", "test_sign": "com/adyen/BinLookupTest.TestGet3dsAvailabilitySuccessMocked:()V", "class": "BinLookupTest", "method": "TestGet3dsAvailabilitySuccessMocked", "module": "", "junit_selector": "com.adyen.BinLook...
11
2022-11-18T12:21:12Z
Adyen_adyen-java-api-library-v43.0.0__85e96d9_fbb2773__CheckoutTest_d572c753
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
85e96d90bb9dd4a8fb09d00264d9dda8fb6cff6d
fbb27734770bcf342c4c884f1f3ca6557dce5acd
src/test/java/com/adyen/CheckoutTest.java
[ { "change_id": "48_Adyen_adyen-java-api-library-v43.0.0_85e96d9_fbb2773_CheckoutTest", "test_sign": "com/adyen/CheckoutTest.TestPaymentSuccess:()V", "class": "CheckoutTest", "method": "TestPaymentSuccess", "module": "", "junit_selector": "com.adyen.CheckoutTest#TestPaymentSuccess", "old_...
11
2023-07-11T11:01:49Z
Adyen_adyen-java-api-library-v43.0.0__85e96d9_fbb2773__DateSerializationTest_f577e17d
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
85e96d90bb9dd4a8fb09d00264d9dda8fb6cff6d
fbb27734770bcf342c4c884f1f3ca6557dce5acd
src/test/java/com/adyen/DateSerializationTest.java
[ { "change_id": "47_Adyen_adyen-java-api-library-v43.0.0_85e96d9_fbb2773_DateSerializationTest", "test_sign": "com/adyen/DateSerializationTest.TestCheckoutPaymentsDate:()V", "class": "DateSerializationTest", "method": "TestCheckoutPaymentsDate", "module": "", "junit_selector": "com.adyen.Date...
11
2023-07-11T11:01:49Z
Adyen_adyen-java-api-library-v43.0.0__887beae_8e02391__PaymentTest_f3bdd282
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
887beae534910ede53a3e208ab0da558a6d4b300
8e0239138de6f1aca59320bd23a0d022feebb8e0
src/test/java/com/adyen/PaymentTest.java
[ { "change_id": "77_Adyen_adyen-java-api-library-v43.0.0_887beae_8e02391_PaymentTest", "test_sign": "com/adyen/PaymentTest.TestByteArrayDeserialization:()V", "class": "PaymentTest", "method": "TestByteArrayDeserialization", "module": "", "junit_selector": "com.adyen.PaymentTest#TestByteArrayD...
11
2023-07-03T12:21:14Z
Adyen_adyen-java-api-library-v43.0.0__8dc83e7_f77942d__MarketPayTest_b2f69c87
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
8dc83e78d57076bc5cb206489177e7fc63c019b9
f77942dbd60638314a906cc5ce0055fe06062cf4
src/test/java/com/adyen/MarketPayTest.java
[ { "change_id": "7_Adyen_adyen-java-api-library-v43.0.0_8dc83e7_f77942d_MarketPayTest", "test_sign": "com/adyen/MarketPayTest.TestUpdateAccountHolderSuccess:()V", "class": "MarketPayTest", "method": "TestUpdateAccountHolderSuccess", "module": "", "junit_selector": "com.adyen.MarketPayTest#Tes...
8
2020-02-28T12:56:37Z
Adyen_adyen-java-api-library-v43.0.0__a35445a_039fe6c__SaleDataHelperTest_5c0ec5b8
Adyen_adyen-java-api-library-v43.0.0
https://github.com/Adyen/adyen-java-api-library.git
a35445ab2db333b0b093765fb111c206af308bf5
039fe6c5dfc76f775fbda396c7ac54498aa73770
src/test/java/com/adyen/util/tapi/SaleDataHelperTest.java
[ { "change_id": "1_Adyen_adyen-java-api-library-v43.0.0_a35445a_039fe6c_SaleDataHelperTest", "test_sign": "com/adyen/util/tapi/SaleDataHelperTest.testShouldDecodeRecurringProcessingModel:()V", "class": "SaleDataHelperTest", "method": "testShouldDecodeRecurringProcessingModel", "module": "", "...
11
2026-04-22T09:25:23Z
End of preview. Expand in Data Studio

TestEvo-Bench / teb-update

A benchmark for test update in evolving Java codebases: the developer's existing test passes on the old code but not on the new code, and the developer edits it so that it passes on the new code and does not pass on the old code. The task restores the whole target test file to its old revision while the production code stays at the new revision; the agent-edited test must again pass on the new code and not pass on the old code.

This repository holds the test update track of TestEvo-Bench in two configurations: full (the complete track) and lite (the TestEvo-Bench Lite subset). Every Lite row is byte-identical to its Full row; Lite only selects tasks.

Links

Dataset summary

Every task was mined from a real pair of revisions (rev1 → rev2) of a public Java project built with Maven, and validated by executing the developer's old and new tests on both revisions. A task is one (repository, revision pair, test file) group and is the unit an agent works on: it receives the two-revision repository, the test file, class, module and method names, and the build and test commands, and may edit only the target test file. A task succeeds when every target test method meets the track criterion. A test method is one entry of the task's test_changes list.

full lite
Tasks (rows) 641 200
Test methods 1,426 269
Source repositories 105 69
Java versions 8, 9, 11, 17, 21 8, 9, 11, 17, 21
Revision dates (date) 2019-01-04 – 2026-06-28 2019-01-12 – 2026-06-28
Build system Maven Maven

Across the three tracks, Full has 3,020 tasks (641 update, 2,163 generation, 216 refinement; 7,807 test methods) from 196 repositories, and Lite has 584 tasks (200 update, 300 generation, 84 refinement; 805 test methods) from 138 repositories.

The Lite subset

TestEvo-Bench Lite lowers the cost of evaluating an agent. It is built by five deterministic rules that remove (1) toy or tutorial repositories; (2) records whose developer test covers none of the changed code; (3) records not collected from adjacent commits; (4) potentially flaky tests (time, randomness, network or environment dependent, or disabled); and (5) tasks with more than three target methods. Update and generation tasks are then sampled by year with per-repository caps (budgets of 200 and 300 tasks); all remaining refinement tasks are kept. Lite therefore favors tractable, measurable tasks rather than being a random sample of Full.

Schema

Top-level fields (one row per task):

Field Type Description
task_id string Stable identifier: <project>__<rev1_short>_<rev2_short>__<test_class>_<hash>
project_name string <owner>_<repo>-<tag>, the upstream repository and the release it was mined from, e.g. DerekYRC_mini-spring-main
git_clone_url string Upstream GitHub clone URL
rev1, rev2 string Full git SHAs of the old and new revision
date string Commit date of rev2, the new revision, ISO 8601 UTC
test_file string Path of the target test file within the repository
test_changes list<struct> The target test methods, each a @Test method that the developer modified between rev1 and rev2; see below
java_version int Java major version (8, 9, 11, 17, 18 or 21) verified to build and run the developer tests on both revisions

Each test_changes[] element:

Field Type Description
change_id string Unique id within the track
test_sign string JVM-style signature of the test method
class, method, module string Test class, method name, Maven module
junit_selector string JUnit selector usable with mvn test -Dtest=…
old_test_code string | null The test method's source at rev1 (always present: every record is a modification)
new_test_code string The developer's test method at rev2 (the reference solution)
old_test_lnum, new_test_lnum list<string> Line ranges of the test method at each revision
old_test_file_path list<string> Where the test file lived at rev1
all_deps_new list<string> The production methods the developer's new test executes on the new revision (its dependency methods). Their executable lines are the scope of the coverage and mutation metrics
variant_result struct Developer-test outcome matrix: old_on_old, old_on_new, new_on_old, new_on_new. The track criterion is defined on this matrix
coverage_gold float Line coverage of the developer's new test over its dependency methods on the new revision

How to load

from datasets import load_dataset

full = load_dataset("TestEvo-Bench/teb-update", "full", split="test")   # default config
lite = load_dataset("TestEvo-Bench/teb-update", "lite", split="test")
print(len(full), len(lite), full.column_names)

for task in lite:
    for tc in task["test_changes"]:
        print(task["task_id"], tc["junit_selector"], len(tc["all_deps_new"]))

The files are Parquet (data/full.parquet, data/lite.parquet) and can also be read directly with pandas or pyarrow.

Running agents

The dataset carries the task definitions and the developer's reference tests. Agent evaluation (building the two revisions, running the tests on old and new code, coverage and mutation scoring) is done by the evaluation framework linked above, which consumes the same task records inside Docker images with JDK 8/11/17/21 and Maven and offline dependency stores. new_test_code is the developer's solution: leaderboard submissions must not expose it to the agent.

Source projects and attribution

The code snippets in old_test_code and new_test_code come from public Java repositories on GitHub. Each row's git_clone_url, rev1 and rev2 identify the upstream project and revisions, whose own license governs reuse of those snippets. The dataset structure and metadata are released under CC BY 4.0; please cite TestEvo-Bench (see the website) when using it.

Version history

  • 2026-10 — Full and Lite configurations; three tracks (update, generation, refinement); task set of the TestEvo-Bench paper (Full 3,020 / Lite 584 tasks). Rows are grouped by (repository, revision pair, test file); rev2_date is renamed date and rev1_date is dropped; java_version now holds the JDK verified to build the task's own revisions rather than the project's declared version; version and git_diff_url are dropped (derivable from project_name, git_clone_url, rev1, rev2); the focal-method and retrieval fields of the first release (focal_*, old_production_code, new_production_code, deps_changes, all_deps_old) are dropped because the agent benchmark does not use them.
  • 2026-05 — Initial release: update (509 tasks) and generation (746 tasks) tracks only, data/train.jsonl.

License

  • Dataset structure and metadata: CC BY 4.0
  • Embedded code snippets: governed by each upstream repository's own license (see git_clone_url per row).
Downloads last month
87