task_id stringlengths 56 111 | project_name stringclasses 59
values | git_clone_url stringclasses 59
values | rev1 stringlengths 40 40 | rev2 stringlengths 40 40 | rev1_date timestamp[s]date 2009-12-30 10:28:22 2025-12-19 02:22:17 | rev2_date timestamp[s]date 2009-12-30 12:53:04 2025-12-19 04:13:51 | git_diff_url stringlengths 119 154 | test_file stringlengths 41 137 | test_changes listlengths 1 31 | version stringclasses 57
values | java_version int64 8 17 |
|---|---|---|---|---|---|---|---|---|---|---|---|
CodePlato3721_shiro-redis-3.3.0__056ecf1_fb87fbd__RedisManagerTest_498d4c17 | CodePlato3721_shiro-redis-3.3.0 | https://github.com/CodePlato3721/shiro-redis.git | 056ecf1dff7084af80617c6fe856497ec477fc22 | fb87fbd16b1f3a33697088071d5074054b75cb9c | 2018-03-04T02:00:24 | 2018-03-04T02:14:43 | https://github.com/CodePlato3721/shiro-redis/compare/056ecf1dff7084af80617c6fe856497ec477fc22...fb87fbd16b1f3a33697088071d5074054b75cb9c | src/test/java/org/crazycake/shiro/RedisManagerTest.java | [
{
"change_id": "11_CodePlato3721_shiro-redis-3.3.0_056ecf1_fb87fbd_RedisManagerTest",
"test_sign": "org/crazycake/shiro/RedisManagerTest.testSet:()V",
"class": "RedisManagerTest",
"method": "testSet",
"module": "",
"junit_selector": "org.crazycake.shiro.RedisManagerTest#testSet",
"old_te... | 3.3.0 | 11 |
CodePlato3721_shiro-redis-3.3.0__234a7ec_34d1af0__RedisCacheManagerTest_7f7deeaf | CodePlato3721_shiro-redis-3.3.0 | https://github.com/CodePlato3721/shiro-redis.git | 234a7ec09972609aaf89da8c78aa677add3c55ff | 34d1af0961cbe89b28480c8c6550898621ad01cb | 2018-03-04T01:58:27 | 2018-03-04T02:00:11 | https://github.com/CodePlato3721/shiro-redis/compare/234a7ec09972609aaf89da8c78aa677add3c55ff...34d1af0961cbe89b28480c8c6550898621ad01cb | src/test/java/org/crazycake/shiro/RedisCacheManagerTest.java | [
{
"change_id": "18_CodePlato3721_shiro-redis-3.3.0_234a7ec_34d1af0_RedisCacheManagerTest",
"test_sign": "org/crazycake/shiro/RedisCacheManagerTest.testGetCache:()V",
"class": "RedisCacheManagerTest",
"method": "testGetCache",
"module": "",
"junit_selector": "org.crazycake.shiro.RedisCacheMan... | 3.3.0 | 11 |
CodePlato3721_shiro-redis-3.3.0__34d1af0_056ecf1__RedisCacheManagerTest_7f7deeaf | CodePlato3721_shiro-redis-3.3.0 | https://github.com/CodePlato3721/shiro-redis.git | 34d1af0961cbe89b28480c8c6550898621ad01cb | 056ecf1dff7084af80617c6fe856497ec477fc22 | 2018-03-04T02:00:11 | 2018-03-04T02:00:24 | https://github.com/CodePlato3721/shiro-redis/compare/34d1af0961cbe89b28480c8c6550898621ad01cb...056ecf1dff7084af80617c6fe856497ec477fc22 | src/test/java/org/crazycake/shiro/RedisCacheManagerTest.java | [
{
"change_id": "20_CodePlato3721_shiro-redis-3.3.0_34d1af0_056ecf1_RedisCacheManagerTest",
"test_sign": "org/crazycake/shiro/RedisCacheManagerTest.testGetCache:()V",
"class": "RedisCacheManagerTest",
"method": "testGetCache",
"module": "",
"junit_selector": "org.crazycake.shiro.RedisCacheMan... | 3.3.0 | 11 |
DerekYRC_mini-spring-main__b004b39_626cc53__DynamicProxyTest_08d64df3 | DerekYRC_mini-spring-main | https://github.com/DerekYRC/mini-spring.git | b004b39a741342b86aca8b50f6d1e41e5e22fd89 | 626cc53ec71324eb9c7bf01f12470092b42b3dd4 | 2025-12-19T02:22:17 | 2025-12-19T04:13:51 | https://github.com/DerekYRC/mini-spring/compare/b004b39a741342b86aca8b50f6d1e41e5e22fd89...626cc53ec71324eb9c7bf01f12470092b42b3dd4 | src/test/java/org/springframework/test/aop/DynamicProxyTest.java | [
{
"change_id": "1_DerekYRC_mini-spring-main_b004b39_626cc53_DynamicProxyTest",
"test_sign": "org/springframework/test/aop/DynamicProxyTest.testAdvisor:()V",
"class": "DynamicProxyTest",
"method": "testAdvisor",
"module": "",
"junit_selector": "org.springframework.test.aop.DynamicProxyTest#te... | main | 8 |
Hakky54_ayza-v10.0.3__751f736_cbee6eb__SSLFactoryShould_de63ab55 | Hakky54_ayza-v10.0.3 | https://github.com/Hakky54/ayza.git | 751f736fca4cdef271db20f0537b2af67efb9b29 | cbee6ebd17d58a494f3eb36cf12e9b28cf374643 | 2024-05-29T09:20:53 | 2024-05-29T09:23:49 | https://github.com/Hakky54/ayza/compare/751f736fca4cdef271db20f0537b2af67efb9b29...cbee6ebd17d58a494f3eb36cf12e9b28cf374643 | sslcontext-kickstart/src/test/java/nl/altindag/ssl/SSLFactoryShould.java | [
{
"change_id": "34_Hakky54_ayza-v10.0.3_751f736_cbee6eb_SSLFactoryShould",
"test_sign": "nl/altindag/ssl/SSLFactoryShould.throwExceptionWhenTrustStorePathIsAbsentFromSystemProperty:()V",
"class": "SSLFactoryShould",
"method": "throwExceptionWhenTrustStorePathIsAbsentFromSystemProperty",
"module"... | v10.0.3 | 11 |
Hakky54_ayza-v10.0.3__cf1f163_28c6589__SSLFactoryShould_de63ab55 | Hakky54_ayza-v10.0.3 | https://github.com/Hakky54/ayza.git | cf1f1635858ad2e14cf49cc04b5d778fb8d2bbaf | 28c6589b7ad1c507647e69660283781386ff69b2 | 2024-05-30T07:19:35 | 2024-05-30T11:43:38 | https://github.com/Hakky54/ayza/compare/cf1f1635858ad2e14cf49cc04b5d778fb8d2bbaf...28c6589b7ad1c507647e69660283781386ff69b2 | sslcontext-kickstart/src/test/java/nl/altindag/ssl/SSLFactoryShould.java | [
{
"change_id": "37_Hakky54_ayza-v10.0.3_cf1f163_28c6589_SSLFactoryShould",
"test_sign": "nl/altindag/ssl/SSLFactoryShould.throwExceptionWhenTrustStorePathIsAbsentFromSystemProperty:()V",
"class": "SSLFactoryShould",
"method": "throwExceptionWhenTrustStorePathIsAbsentFromSystemProperty",
"module"... | v10.0.3 | 11 |
Project-Books_book-project-v0.1.0__2d7897f_eef6154__CustomShelfUtilsTest_7a1e0054 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 2d7897f6edf7963d868b9303f6d12252f468cff0 | eef61540f68aac1d78c3be9c968510cd472f69f7 | 2020-11-24T20:31:18 | 2020-11-24T20:41:04 | https://github.com/Project-Books/book-project/compare/2d7897f6edf7963d868b9303f6d12252f468cff0...eef61540f68aac1d78c3be9c968510cd472f69f7 | src/test/java/com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.java | [
{
"change_id": "121_Project-Books_book-project-v0.1.0_2d7897f_eef6154_CustomShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.returnNoBooksIfNoBooksInCustomShelf:()V",
"class": "CustomShelfUtilsTest",
"method": "returnNoBooksIfNoBooksInCustomShelf",
"mod... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__2d7897f_eef6154__PredefinedShelfUtilsTest_4230c8ea | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 2d7897f6edf7963d868b9303f6d12252f468cff0 | eef61540f68aac1d78c3be9c968510cd472f69f7 | 2020-11-24T20:31:18 | 2020-11-24T20:41:04 | https://github.com/Project-Books/book-project/compare/2d7897f6edf7963d868b9303f6d12252f468cff0...eef61540f68aac1d78c3be9c968510cd472f69f7 | src/test/java/com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.java | [
{
"change_id": "129_Project-Books_book-project-v0.1.0_2d7897f_eef6154_PredefinedShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.getAllPredefinedShelfNamesFromDatabase:()V",
"class": "PredefinedShelfUtilsTest",
"method": "getAllPredefinedShelfNamesFromD... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__36e3a0a_149681d__BookFormTest_fb4b1a3c | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 36e3a0a88c265c3a31bd9dade53d5f4c240e5223 | 149681d59ff97d71a353da1985628be58d98ac1c | 2020-10-31T11:37:05 | 2020-10-31T12:45:42 | https://github.com/Project-Books/book-project/compare/36e3a0a88c265c3a31bd9dade53d5f4c240e5223...149681d59ff97d71a353da1985628be58d98ac1c | src/test/java/com/karankumar/bookproject/ui/book/BookFormTest.java | [
{
"change_id": "138_Project-Books_book-project-v0.1.0_36e3a0a_149681d_BookFormTest",
"test_sign": "com/karankumar/bookproject/ui/book/BookFormTest.updateValuesInDatabaseForExistingBookWhenSaveEventIsCalled:()V",
"class": "BookFormTest",
"method": "updateValuesInDatabaseForExistingBookWhenSaveEventIs... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__36e3a0a_308de9f__BookFormTest_d8a9683b | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 36e3a0a88c265c3a31bd9dade53d5f4c240e5223 | 308de9f34dc95b77772e746cbe8b390053319a56 | 2020-10-31T11:37:05 | 2020-10-31T17:31:11 | https://github.com/Project-Books/book-project/compare/36e3a0a88c265c3a31bd9dade53d5f4c240e5223...308de9f34dc95b77772e746cbe8b390053319a56 | src/test/java/com/karankumar/bookproject/ui/book/BookFormTest.java | [
{
"change_id": "4_Project-Books_book-project-v0.1.0_36e3a0a_308de9f_BookFormTest",
"test_sign": "com/karankumar/bookproject/ui/book/BookFormTest.updateValuesInDatabaseForExistingBookWhenSaveEventIsCalled:()V",
"class": "BookFormTest",
"method": "updateValuesInDatabaseForExistingBookWhenSaveEventIsCa... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__36e3a0a_75ca874__BookFormTest_c250b9e6 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 36e3a0a88c265c3a31bd9dade53d5f4c240e5223 | 75ca874a5210f964da88b4b4a87296209fbffe33 | 2020-10-31T11:37:05 | 2020-10-31T17:42:24 | https://github.com/Project-Books/book-project/compare/36e3a0a88c265c3a31bd9dade53d5f4c240e5223...75ca874a5210f964da88b4b4a87296209fbffe33 | src/test/java/com/karankumar/bookproject/ui/book/BookFormTest.java | [
{
"change_id": "77_Project-Books_book-project-v0.1.0_36e3a0a_75ca874_BookFormTest",
"test_sign": "com/karankumar/bookproject/ui/book/BookFormTest.updateValuesInDatabaseForExistingBookWhenSaveEventIsCalled:()V",
"class": "BookFormTest",
"method": "updateValuesInDatabaseForExistingBookWhenSaveEventIsC... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__36e3a0a_76a1ee6__BookFormTest_1169e383 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 36e3a0a88c265c3a31bd9dade53d5f4c240e5223 | 76a1ee65c8a25efd4ef99f81c7ed4c2414ab3e99 | 2020-10-31T11:37:05 | 2020-10-31T17:23:04 | https://github.com/Project-Books/book-project/compare/36e3a0a88c265c3a31bd9dade53d5f4c240e5223...76a1ee65c8a25efd4ef99f81c7ed4c2414ab3e99 | src/test/java/com/karankumar/bookproject/ui/book/BookFormTest.java | [
{
"change_id": "1_Project-Books_book-project-v0.1.0_36e3a0a_76a1ee6_BookFormTest",
"test_sign": "com/karankumar/bookproject/ui/book/BookFormTest.updateValuesInDatabaseForExistingBookWhenSaveEventIsCalled:()V",
"class": "BookFormTest",
"method": "updateValuesInDatabaseForExistingBookWhenSaveEventIsCa... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__38dea5c_2d7897f__ReadingGoalServiceTest_344c5022 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd | 2d7897f6edf7963d868b9303f6d12252f468cff0 | 2020-11-24T19:31:07 | 2020-11-24T20:31:18 | https://github.com/Project-Books/book-project/compare/38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd...2d7897f6edf7963d868b9303f6d12252f468cff0 | src/test/java/com/karankumar/bookproject/backend/service/ReadingGoalServiceTest.java | [
{
"change_id": "176_Project-Books_book-project-v0.1.0_38dea5c_2d7897f_ReadingGoalServiceTest",
"test_sign": "com/karankumar/bookproject/backend/service/ReadingGoalServiceTest.overwriteExistingGoalOnSave:()V",
"class": "ReadingGoalServiceTest",
"method": "overwriteExistingGoalOnSave",
"module": "... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__38dea5c_2d7897f__CustomShelfUtilsTest_7a1e0054 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd | 2d7897f6edf7963d868b9303f6d12252f468cff0 | 2020-11-24T19:31:07 | 2020-11-24T20:31:18 | https://github.com/Project-Books/book-project/compare/38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd...2d7897f6edf7963d868b9303f6d12252f468cff0 | src/test/java/com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.java | [
{
"change_id": "174_Project-Books_book-project-v0.1.0_38dea5c_2d7897f_CustomShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.returnNoBooksIfNoBooksInCustomShelf:()V",
"class": "CustomShelfUtilsTest",
"method": "returnNoBooksIfNoBooksInCustomShelf",
"mod... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__38dea5c_2d7897f__PredefinedShelfUtilsTest_731dbbd9 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd | 2d7897f6edf7963d868b9303f6d12252f468cff0 | 2020-11-24T19:31:07 | 2020-11-24T20:31:18 | https://github.com/Project-Books/book-project/compare/38dea5c9b7113f1c6c0761f9d9755b8ec06e88bd...2d7897f6edf7963d868b9303f6d12252f468cff0 | src/test/java/com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.java | [
{
"change_id": "182_Project-Books_book-project-v0.1.0_38dea5c_2d7897f_PredefinedShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.getAllPredefinedShelfNamesFromDatabase:()V",
"class": "PredefinedShelfUtilsTest",
"method": "getAllPredefinedShelfNamesFromD... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__44cdecd_ae5cf05__AuthorTest_b4930d46 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 44cdecdaaf583e5d1894a57858a5e690ce1f8a6e | ae5cf0546272da64385340fdfe54e313a0010be9 | 2020-11-13T17:10:15 | 2020-11-14T01:51:54 | https://github.com/Project-Books/book-project/compare/44cdecdaaf583e5d1894a57858a5e690ce1f8a6e...ae5cf0546272da64385340fdfe54e313a0010be9 | src/test/java/com/karankumar/bookproject/backend/entity/AuthorTest.java | [
{
"change_id": "27_Project-Books_book-project-v0.1.0_44cdecd_ae5cf05_AuthorTest",
"test_sign": "com/karankumar/bookproject/backend/entity/AuthorTest.beRemovedWhenOrphan:()V",
"class": "AuthorTest",
"method": "beRemovedWhenOrphan",
"module": "",
"junit_selector": "com.karankumar.bookproject.b... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__44cdecd_ae5cf05__AuthorServiceTest_c503a54b | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 44cdecdaaf583e5d1894a57858a5e690ce1f8a6e | ae5cf0546272da64385340fdfe54e313a0010be9 | 2020-11-13T17:10:15 | 2020-11-14T01:51:54 | https://github.com/Project-Books/book-project/compare/44cdecdaaf583e5d1894a57858a5e690ce1f8a6e...ae5cf0546272da64385340fdfe54e313a0010be9 | src/test/java/com/karankumar/bookproject/backend/service/AuthorServiceTest.java | [
{
"change_id": "9_Project-Books_book-project-v0.1.0_44cdecd_ae5cf05_AuthorServiceTest",
"test_sign": "com/karankumar/bookproject/backend/service/AuthorServiceTest.saveAndConfirmDuplicateNameWithDifferentId:()V",
"class": "AuthorServiceTest",
"method": "saveAndConfirmDuplicateNameWithDifferentId",
... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__44cdecd_ae5cf05__CustomShelfUtilsTest_7a1e0054 | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 44cdecdaaf583e5d1894a57858a5e690ce1f8a6e | ae5cf0546272da64385340fdfe54e313a0010be9 | 2020-11-13T17:10:15 | 2020-11-14T01:51:54 | https://github.com/Project-Books/book-project/compare/44cdecdaaf583e5d1894a57858a5e690ce1f8a6e...ae5cf0546272da64385340fdfe54e313a0010be9 | src/test/java/com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.java | [
{
"change_id": "7_Project-Books_book-project-v0.1.0_44cdecd_ae5cf05_CustomShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/CustomShelfUtilsTest.returnNoBooksIfNoBooksInCustomShelf:()V",
"class": "CustomShelfUtilsTest",
"method": "returnNoBooksIfNoBooksInCustomShelf",
"modul... | v0.1.0 | 11 |
Project-Books_book-project-v0.1.0__44cdecd_ae5cf05__PredefinedShelfUtilsTest_4230c8ea | Project-Books_book-project-v0.1.0 | https://github.com/Project-Books/book-project.git | 44cdecdaaf583e5d1894a57858a5e690ce1f8a6e | ae5cf0546272da64385340fdfe54e313a0010be9 | 2020-11-13T17:10:15 | 2020-11-14T01:51:54 | https://github.com/Project-Books/book-project/compare/44cdecdaaf583e5d1894a57858a5e690ce1f8a6e...ae5cf0546272da64385340fdfe54e313a0010be9 | src/test/java/com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.java | [
{
"change_id": "17_Project-Books_book-project-v0.1.0_44cdecd_ae5cf05_PredefinedShelfUtilsTest",
"test_sign": "com/karankumar/bookproject/backend/util/PredefinedShelfUtilsTest.getAllPredefinedShelfNamesFromDatabase:()V",
"class": "PredefinedShelfUtilsTest",
"method": "getAllPredefinedShelfNamesFromDa... | v0.1.0 | 11 |
TestEvo-Bench / teb-update
A benchmark for test-update in evolving Java codebases. Each row captures a single (project, revision-pair) where one or more existing tests were modified to track a change in production code, and surfaces both the old and new test versions plus the relevant production-side context.
Links
- π Project website: https://www.testevo-bench.com/
- π¦ Code repository: https://anonymous.4open.science/r/testevo-bench-1150
- π€ Sibling dataset:
TestEvo-Bench/teb-generationβ for test-generation (writing new tests instead of updating existing ones)
Dataset summary
teb-update is a benchmark for updating existing test methods to track changes in the production code they exercise. Every example was mined from a real commit (rev1 β rev2) on a public Java project, and the test edit reflects an adaptation to a behavior- or signature-level change in the focal production method rather than purely cosmetic refactoring.
Each row corresponds to a single (project, rev1 β rev2) pair. Inside the row, test_changes is a list of one or more individual test methods that were modified in that commit, each paired with its focal production method, the production-side before/after, candidate dependency methods, and the dependencies that changed in the same commit.
| Tasks (rows) | 509 |
| Test methods | 1,138 |
| Source projects | 59 distinct Java repositories on GitHub |
| Java versions | 8, 11, 17, 21 |
| Build system | Maven |
| Total size | ~9 MB |
A task is one (project, rev1 β rev2) pair β the unit a model is asked to operate on. A test method is one entry inside that task's test_changes list β a single @Test method that was modified between rev1 and rev2. One task may contain several related test edits committed together; benchmarks can be reported at either granularity.
Schema
Each row has the following top-level fields:
| Field | Type | Description |
|---|---|---|
task_id |
string | Stable identifier: <project>__<rev1_short>_<rev2_short>__<test_class>_<hash> |
project_name |
string | e.g. DerekYRC_mini-spring-main |
git_clone_url |
string | Upstream GitHub clone URL |
rev1 |
string | Git SHA before the change (full 40-char) |
rev2 |
string | Git SHA after the change |
rev1_date |
string | ISO 8601 (e.g. 2020-12-06T08:42:43Z) |
rev2_date |
string | ISO 8601 |
git_diff_url |
string | GitHub compare URL between rev1 and rev2 |
test_file |
string | Path of the test file within the repo |
test_changes |
list<struct> | One element per individual test method that was modified; see below |
version |
string | Upstream tag or branch (e.g. v0.1.0, master) |
java_version |
int | Java major version (8, 11, 17, or 21) |
Each test_changes[] element contains:
| Field | Type | Description |
|---|---|---|
change_id |
string | Unique id within the dataset |
test_sign |
string | JVM-style test method signature |
class, method, module |
string | Test class, method name, Maven module |
junit_selector |
string | JUnit selector usable by mvn test -Dtest=β¦ |
old_test_code |
string | The test method's source at rev1 (always present for teb-update since rows are modifications) |
new_test_code |
string | The test method's source at rev2 |
old_test_lnum, new_test_lnum |
list<string> | Line ranges of the test method at each rev |
old_test_file_path |
list<string> | Where the test file lived at rev1 |
old_production_code, new_production_code |
string | Source of the focal production method at each rev |
focal_file_path |
string | Path of the focal production file |
focal_method_sign |
string | JVM-style signature of the focal production method |
focal_all_deps_scored |
list<struct> | All candidate dependency methods, each with a relevance score (nc, lcs_u, ed, class, tfidf signal sub-scores combined into score) |
deps_changes |
list<struct> | Production-code dependencies that changed between rev1 and rev2 |
How to load
from datasets import load_dataset
ds = load_dataset("TestEvo-Bench/teb-update", split="train")
print(len(ds), ds.column_names)
# Iterate over individual test edits (the unit of evaluation)
for row in ds:
for tc in row["test_changes"]:
before = tc["old_test_code"]
after = tc["new_test_code"]
focal = tc["focal_method_sign"]
...
Source projects + attribution
The code snippets in old_test_code, new_test_code, old_production_code, and new_production_code are derived from public Java repositories on GitHub. Each row's git_clone_url and git_diff_url link back to the upstream project; the upstream repository's own license governs reuse of those code snippets. The dataset structure and metadata are released under CC-BY-4.0 β please cite the project (see below) when using this benchmark.
Intended uses
Evaluating LLMs and program-synthesis systems on the task of editing an existing test method to track a production-code change, given (a) the original test, (b) the production-code diff, and (c) candidate focal-method dependencies. The included focal_all_deps_scored signals support both retrieval-augmented and end-to-end setups.
License
- Dataset structure and metadata: CC-BY-4.0
- Embedded code snippets: governed by each upstream repository's own license. See
git_clone_urlper row.
- Downloads last month
- 22