MigrationBench
Collection
A collection of large scale code migration benchmark datasets at the repository level, across multiple programming languages.
β’
4 items
β’
Updated
β’
2
repo
stringlengths 7
95
| base_commit
stringlengths 40
40
| num_java_files
int32 1
11k
| num_loc
int32 23
1.77M
| num_pom_xml
int32 1
192
| num_src_test_java_files
int32 0
815
| num_test_cases
int32 -2
14.5k
| license
stringclasses 2
values |
---|---|---|---|---|---|---|---|
0000005/sync2any | af57b4f8621afd5bf1bd428cd65349eca85e0b8a | 79 | 26,320 | 1 | 16 | -2 | Apache-2.0 |
0rtis/mochimo-farm-manager | 5ae99dc9af5169a5719a031cc1047ac2d3b0e3c2 | 47 | 5,006 | 1 | 2 | 1 | MIT |
0x100/n-loops | 3b5939a7c653aae971535ae15fc5bb16f8e43a4d | 7 | 599 | 1 | 2 | 10 | MIT |
0xcadams/fetcher-framework | 4a69e073efd2fef208962b90de27f951794f81af | 35 | 2,943 | 1 | 12 | 34 | Apache-2.0 |
0xShamil/java-xid | 40ca6e2894292c79f2830c9a23531c182f7fe8e4 | 2 | 782 | 1 | 1 | 21 | MIT |
0xShamil/ulid4j | a1cedf630b99658d8baac815e3caf552e8c389e5 | 3 | 515 | 2 | 1 | 1 | MIT |
1024-organization/mybatis-plus-generator-ui | 98b8782d920f426ab2ee0dbef24dbd5ec34fea45 | 10 | 462 | 1 | 1 | 1 | Apache-2.0 |
1299172402/Actions-BILIBILI-HELPER | 57fad6bc2b914fdcba78bccdd24b5ddefb6da701 | 55 | 3,420 | 1 | 3 | -2 | MIT |
1321928757/chatglm-sdk-java | 0b073d80edb28080aa66115f3d9b2a4be6695c8e | 14 | 764 | 1 | 1 | -2 | Apache-2.0 |
137-rick/http-kafka-gateway | d67f2a277a9963765f42f4c258605d2df31cb0a6 | 11 | 972 | 1 | 1 | -2 | Apache-2.0 |
1399852153/MyRpc | 034c2c116f2ac99b79e6a4b45cb10523db66feba | 71 | 3,159 | 3 | 0 | 3 | MIT |
15093015999/EJServer | 7e51c59e090484ae4573290099b6936855554064 | 68 | 10,089 | 1 | 1 | 1 | MIT |
15207135348/Java12306 | ab4aa2e1600e72e3aded8eea8c543f505d3ede88 | 105 | 12,877 | 1 | 1 | -2 | MIT |
1619khze/apex | 3db2f290102ba50f1aec66b0dfe0d05bced1c46d | 53 | 4,255 | 1 | 10 | 1 | MIT |
17090000987/gan | 7235d9164ff676740eaf5cbbd4713ac4123d7111 | 225 | 23,924 | 5 | 0 | 1 | MIT |
1and1/jsoup-hamcrest | 58e8b6eff22f5c7c07aa8c9928296de0324b553f | 21 | 1,784 | 1 | 5 | 37 | Apache-2.0 |
1and1/neberus | cefe6e51ea07d014916ed0b3c60dd31b7d2f15fe | 76 | 7,586 | 9 | 0 | 1 | MIT |
1and1/snmpman | 9680e495eff125ee1076837596bcee9e66927824 | 49 | 3,078 | 3 | 0 | 2 | Apache-2.0 |
2020NCOV/MiniProgram-server-JAVA | bc1562b72d78605f2407fbd6a06231ac2a2c7121 | 64 | 7,083 | 1 | 1 | 1 | Apache-2.0 |
24solar/pay4j | 0889310fa0bff733b6d7a7dfab0eca15f7da7e64 | 87 | 11,359 | 1 | 3 | -2 | Apache-2.0 |
26hzhang/ClausIE | c2667c217941080738690e725df0a15fa7d95fc7 | 15 | 2,972 | 1 | 1 | -2 | MIT |
26hzhang/TextExtraction | 2238f624000043dc2a40f4c6f8a18528cb5ee98c | 22 | 2,793 | 1 | 7 | -2 | MIT |
26hzhang/Word2VecfJava | c5ee12f8b0efc9ae0af3ca73baf395b5f22099c0 | 44 | 4,163 | 1 | 16 | 0 | MIT |
26hzhang/WordNetExtension | cdf5b95de0d83794a0ba6d357fdf180c9beb02d4 | 26 | 2,015 | 1 | 19 | -2 | MIT |
284885166/spring-boot-hashids | 4973285e49b48be7b10818fae530159c55af267a | 11 | 614 | 3 | 0 | 1 | Apache-2.0 |
360matt/Sokeese-v2 | a1721ee2ce833d57ea735bb6b356ef72bb60ec81 | 23 | 1,876 | 1 | 5 | 0 | MIT |
38680050/excel-formula-calculation | b059dc0a0ffadaa231679af254f0551cc702cda1 | 33 | 4,195 | 1 | 3 | -2 | MIT |
3arthqu4ke/HandleWrapper | 266f9f7737cfc94694f5a289dca5dfdd614d80c1 | 15 | 1,158 | 1 | 9 | 5 | MIT |
3DRaven/pairwiser | 50d24c25c277d966db68f1a807cf9e572a0b89fb | 4 | 868 | 1 | 2 | 6 | Apache-2.0 |
3redronin/mu-server | 7cdb3247bb7b2700d9fdaf5a34d8974ea20eaa33 | 397 | 55,361 | 1 | 163 | 786 | MIT |
404-not-find/smart-retry | ec22435121e5861b226ce9592dac637643f84891 | 64 | 3,368 | 8 | 0 | 19 | Apache-2.0 |
435242634/Spring-Boot-Demo | 789708775eea171982d687562a85e246c0fab657 | 2 | 28 | 1 | 1 | -2 | Apache-2.0 |
4Soft-de/kbl-model | 061b3887ae16722cf3d3b7ddbfa7f01e4666e61d | 7 | 638 | 3 | 0 | 5 | MIT |
506160753/springboot-plus | ee2eb48f95ca8752037fe72dd723d98aa9f3895d | 38 | 1,626 | 6 | 0 | 1 | Apache-2.0 |
51wakeup/wakeup-qcloud-sdk | 8f149e4703030e43cea896fc3a8eef85e96b82f1 | 189 | 12,008 | 1 | 1 | -2 | Apache-2.0 |
526606178/shortUrl | 2d9473d4a8519784e366b2298ba6976513b4c7d8 | 10 | 337 | 1 | 1 | 1 | MIT |
52North/javaPS | c31bf0b6b50ad9db8b1463ceaefa0dcf2bf27382 | 350 | 31,879 | 10 | 0 | 6 | Apache-2.0 |
52North/wps-client-lib | b93feb7de3ec2f3cfd8d79f5fd3d7579ad09274e | 74 | 10,762 | 1 | 7 | 24 | Apache-2.0 |
52North/youngs | 63ff2ee8d4eb47269bfc459b524498c2d232b034 | 83 | 10,218 | 1 | 25 | -2 | Apache-2.0 |
5kywa1ker/mall | 58c744414f472f3316200a08dd0b9fbad0165d7d | 44 | 3,772 | 1 | 1 | -2 | Apache-2.0 |
648540858/ONVIF-Java | 1c70ac7d6d37fe4e22e2b5a4c06ebcd10247c20c | 44 | 2,943 | 1 | 1 | -2 | MIT |
648540858/wvp-pro-assist | 6a8b3ffb005547ad59afe22af15e0008e3fdf58c | 28 | 2,768 | 1 | 1 | -2 | MIT |
721806280/lark-notice-plugin | 6a73b5477bcdd5a8ae190d2d9db2914d2799e356 | 31 | 3,562 | 1 | 1 | 16 | MIT |
734839030/seezoon-framework-all | 229e5ada4e3a1b62e81bf00a536b71b6f0800107 | 170 | 11,863 | 1 | 19 | -2 | Apache-2.0 |
93432986/PlugDev | 8005a9123dde129da5068a17292db7add6168a38 | 12 | 564 | 1 | 2 | 1 | Apache-2.0 |
a-langer/jsr223-commonjs-modules | f7eebe55c3a4d9609f4be954be5a6ca438eb529e | 18 | 1,942 | 1 | 4 | 72 | MIT |
a1667834841/Onemanager-java | 6fc941324f1c2f1a74197d224ed22d1257676db4 | 52 | 3,908 | 1 | 3 | -2 | Apache-2.0 |
a5hik/JavaBlogger | 389f53005fe9a4c073454642b1babcab3901a536 | 7 | 217 | 1 | 1 | 1 | MIT |
a8901053/Survive.io | e41d99521971b2db72cbc71774da9863a308d733 | 67 | 2,869 | 9 | 0 | 10 | Apache-2.0 |
AAA-AA/basic-tools | fc7594c6531d4d758718348dc1cf4dc6c91cfcc2 | 36 | 7,324 | 1 | 13 | 21 | MIT |
aaa448579123/Speed | 92d0e27a3a98fe636b210437de62ae423aa35e8a | 46 | 1,945 | 1 | 1 | 1 | Apache-2.0 |
AAFactory/spring-cloud-netflix-zuul-jwt | 36b58b2d4b532659c854bb3004aa4d80d0cd1ec5 | 21 | 2,437 | 1 | 1 | 1 | Apache-2.0 |
aaitmouloud/springfox-collection-example-plugin | 39083d0a58578e2298bba45a0e50b527f1b587ec | 2 | 147 | 1 | 1 | 3 | Apache-2.0 |
aaronjwhiteside/pipeline-github | 0820122260487ead1cd262d7069a04994e07237c | 20 | 2,407 | 1 | 1 | 6 | MIT |
aashrai/brahma-dao | d8df71f1b4ddba5dc07ec5f3331d9f3785fcb033 | 17 | 1,335 | 1 | 4 | 6 | MIT |
aashrai/brahma-hibernateutils | 3f35b85ceda3130764e8ce790a83cf0dada892f2 | 6 | 275 | 1 | 2 | 1 | MIT |
abel533/Mapper | da833c78bb6ea9d39c12bc2dda17a672c8ab843c | 386 | 36,245 | 17 | 0 | 5 | MIT |
abertschi/stacktrace-unserialize | 51630f381bcacfa84c2065894ed15855fc227bfa | 2 | 316 | 1 | 1 | 7 | Apache-2.0 |
abhirockzz/websocket-chat | e462adbdf021d0e84f2956e0aac904c361302b25 | 15 | 815 | 1 | 1 | 7 | MIT |
Absoleme/Intranet-InternshipManagement | 2e41a5ae2f74202ad75a8ef2c09e2ff9c4cf52b5 | 65 | 4,903 | 1 | 12 | 82 | MIT |
AcadiaSoft/simm-lib | cefc23b457fefc96b5b22fbb3f1c3e3e79ef6371 | 170 | 31,080 | 5 | 0 | 46 | MIT |
acampbell3000/java-mp4-reader | 2b392db282499e85922a0f287ca2c1ba943b5726 | 53 | 8,484 | 1 | 1 | 1 | Apache-2.0 |
Accenture/waterfall-config | 849f0a273a60b50de5a99ff58814a5ac90011cd5 | 20 | 1,769 | 1 | 18 | 84 | MIT |
acciente/oacc-example-securetodo | 6be7137f73ab648f3ab9c0430ccb662c01184ed2 | 28 | 2,689 | 1 | 6 | 59 | Apache-2.0 |
acebaggins/guava-collectors | abad3c8aa00f05c531e53f6614d9d62085f0a55d | 10 | 930 | 1 | 9 | 78 | Apache-2.0 |
acelera-dev/acelera-dev-brasil-2019-01 | 13d60af7be211cc21ca9b0930d380e4043d14a96 | 71 | 2,626 | 6 | 0 | 4 | Apache-2.0 |
acgray/jplow | b0ec8a5a1ea257765486f5d09a9eee4598780ade | 13 | 2,690 | 1 | 6 | 22 | Apache-2.0 |
aclement/spring-boot-graal-feature | ed3fc79b8f21c5bc5caf03b2f13ed1d1a3f04807 | 98 | 11,420 | 10 | 1 | 1 | Apache-2.0 |
aclonegeek/rummikub | ae9886aa7f5c5160dfda95f3728c899d720815c1 | 43 | 8,386 | 1 | 17 | 160 | MIT |
aCoder2013/wumanber4j | 8072fe4c21f940850efc143f3982e8b5244dca0b | 5 | 284 | 1 | 1 | 1 | MIT |
acquia/http-hmac-java | a7c4c13c969e3bc45525a3c5168900a3434284d6 | 17 | 2,851 | 1 | 5 | 10 | MIT |
actframework/act-aaa-plugin | 30058196c52566d125492c3b2053ca9e81ab9d36 | 85 | 5,798 | 5 | 4 | 7 | Apache-2.0 |
activequant/mcp | 0976d63bc92de95fa5ba468a2384839a39b9c6dc | 17 | 880 | 1 | 1 | -2 | Apache-2.0 |
activey/tfs-rest-client | 40220e6c31452401206ac86ff734a56b16df39fd | 29 | 1,008 | 1 | 2 | -1 | Apache-2.0 |
actlist/actlist-plugin | 8e4c4f582db430c5e9840b8854626b1c1e45c601 | 14 | 3,756 | 1 | 4 | 4 | Apache-2.0 |
adam-jeeni/siren-jeeni | e6bda996914979637c9f29d97122fc3b08139c4f | 13 | 679 | 1 | 2 | 4 | Apache-2.0 |
AdamBien/airfield | ee4660b8d84c30011bfe0fdb97f4b53ae9b913b6 | 4 | 196 | 1 | 2 | 1 | Apache-2.0 |
AdamBien/loadr | ba0ee94c361aac66f467b75795b37928a1d4af58 | 11 | 783 | 1 | 6 | 9 | Apache-2.0 |
adarshjos/Incognito-Myth | 4997b90becf2c1cd6364a5c754d4043d0b1b26d7 | 9 | 418 | 1 | 1 | 0 | MIT |
Addicticks/jTextTime | 3f90c8af47b9977beea3bfaec6d1cae4dbdb13cf | 26 | 4,102 | 1 | 12 | 32 | Apache-2.0 |
addthis/aho-corasick | 92ee822885e475c5dbec697d63c56ef613809ce4 | 14 | 1,622 | 1 | 2 | -2 | Apache-2.0 |
addthis/cronus | e1a75482d241bd24ef4b85775767246070d5e9ce | 9 | 1,794 | 1 | 4 | -2 | Apache-2.0 |
addthis/meshy | 9386a90a9997b3af8945316c07f3f467321f4383 | 70 | 8,300 | 1 | 8 | -2 | Apache-2.0 |
addthis/muxy | 18f7c737756cf20ac821e17fcf559f831efdcb46 | 27 | 4,003 | 1 | 3 | -2 | Apache-2.0 |
addthis/stream-lib | 5a3bc87c5314f7771ea3968e9015a3d25536343e | 77 | 13,374 | 1 | 29 | -2 | Apache-2.0 |
adessoSE/JenkinsHue | 60bc27b031a72ff18006dd2ee1cb959fdf1ff7ff | 112 | 6,442 | 3 | 0 | 37 | MIT |
adiesner/bitbucket-pr-coverage-status-plugin | e1c96239591ab2a5b1ca53a7e33e1934d9482170 | 52 | 4,207 | 1 | 14 | -2 | Apache-2.0 |
aditosoftware/ojcms | 3ece756d3fd723eb811d23689fcc4ac2e9c67405 | 267 | 22,441 | 9 | 0 | 18 | MIT |
aditosoftware/picoservice | b2d99657c6ee848192e7c5611dfc109f4fa54845 | 12 | 534 | 1 | 5 | 1 | MIT |
aditya-sridhar/first-maven-app | 80d7ed49abf93c0265369d87d3eba883b8dc1cfb | 2 | 52 | 1 | 1 | 1 | MIT |
aditya-sridhar/simple-rest-apis | 03b8aa6dcde496490641bc266a2cbb0f93af52a7 | 6 | 128 | 1 | 1 | 1 | MIT |
adlered/Picuang | 8c361437de5fe56f45ff6cf6785a033a8e267d2a | 25 | 1,500 | 1 | 1 | 1 | Apache-2.0 |
adlered/Voter | 27ef5e2a0058122e7a08c78fffe3b63c7084b8ae | 17 | 727 | 1 | 1 | 1 | MIT |
adobe/aem-contrib-wcm-components | 91d6591408ab68e030775352bed26e05b0407140 | 17 | 1,723 | 9 | 0 | 18 | Apache-2.0 |
adobe/aem-core-cif-components | 055694e0862d6cb117f0132049eddb38d18e3d64 | 409 | 49,601 | 22 | 0 | 779 | Apache-2.0 |
adobe/aem-importer-markdown | 2aaf5326d1ff1f6c2aee5d8e0c4cc3c49bc527a4 | 44 | 3,515 | 1 | 1 | 1 | Apache-2.0 |
adobe/captivate-prime-aem-components | 2807ca300776bbfaad4d02accccd87ad701d0aac | 37 | 3,804 | 7 | 0 | 28 | Apache-2.0 |
adohe-zz/java-jump-consistent-hash | bc58a36556349377727c9bc2b6d82d3cfa505333 | 2 | 134 | 1 | 1 | 3 | Apache-2.0 |
AdoptOpenJDK/jheappo | bea70e11a853c6348126eaefb0612864f5a4dec6 | 37 | 1,882 | 1 | 1 | 1 | Apache-2.0 |
AdoptOpenJDK/mjprof | 9f441dfe60747eeeb2f9cf503bfe14c41955e9f6 | 93 | 6,018 | 1 | 18 | 47 | Apache-2.0 |
|
|
|
|
|
|
|
π€ MigrationBench is a large-scale code migration benchmark dataset at the repository level, across multiple programming languages.
java 8
repositories with the maven
build system, as of May 2025.There are three datasets in π€ MigrationBench:
MIT
or Apache-2.0
license.Index | Dataset | Size | Notes |
---|---|---|---|
1 | π€ AmazonScience/migration-bench-java-full |
5,102 | Each repo has a test directory or at least one test case |
2 | π€ AmazonScience/migration-bench-java-selected |
300 | A subset of π€ migration-bench-java-full |
3 | π€ AmazonScience/migration-bench-java-utg |
4,814 | The unit test generation (utg) dataset, disjoint with π€ migration-bench-java-full |
Metadata is provided in the csv
file for each dataset:
repo (str)
: The original repo URL without the https://github.com/
prefixbase_commit (str)
: Base commit idjava 8
and maven
, the repository is able to (1) compile and (2) pass existing unit tests and integration tests if anyjava 8
num_java_files (int)
: Number of *.java
files in the repository at base_commit
, similarly for all other num_*
columnsnum_loc (int)
: Lines of code for the repositorynum_pom_xml (int)
: Number of modules (pom.xml
files) in the repositorynum_src_test_java_files (int)
: Number of *.java
files in the dedicated src/test/
directorynum_test_cases (int)
: Number of test cases, based on running the mvn -f test .
command in the root directory[INFO] Results:
(-2
) or [INFO] Tests run:
(-1
) regex is missinglicense (str)
: The license of the repository, either MIT
or Apache2.0
for the whole datasetHere is a sample maven -f test .
command output to get valid num_test_cases
:
...
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
...
@misc{liu2025migrationbenchrepositorylevelcodemigration,
title={MIGRATION-BENCH: Repository-Level Code Migration Benchmark from Java 8},
author={Linbo Liu and Xinle Liu and Qiang Zhou and Lin Chen and Yihan Liu and Hoan Nguyen and Behrooz Omidvar-Tehrani and Xi Shen and Jun Huan and Omer Tripp and Anoop Deoras},
year={2025},
eprint={2505.09569},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2505.09569},
}