Datasets:
pair_id stringlengths 32 32 | repo_name stringlengths 8 76 | source_path stringlengths 12 160 | test_path stringlengths 18 164 | target_type stringlengths 1 61 | source_content_md5 stringlengths 32 32 | test_content_md5 stringlengths 32 32 | source_bytes int64 46 212k | test_bytes int64 334 518k | n_assertions int64 3 1.2k | n_test_methods int64 1 1.2k | license stringclasses 8
values | source_uses_coroutines bool 2
classes | test_uses_coroutines bool 2
classes | test_uses_kotest bool 2
classes | test_uses_mocking bool 2
classes | split stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aefe5b35b4cc71b27761dc8e67fd7ed1 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/formatters/DateTimeFormatter.kt | acornui-core/src/test/kotlin/com/acornui/formatters/DateTimeFormatterTest.kt | DateTimeFormatter | 8c5ec19af93d45c89813863e4fc5e0a9 | b8aa82286a312a5ea88c41a75873de6e | 8,566 | 1,810 | 5 | 2 | Apache-2.0 | false | false | false | false | test |
d5f8ab90cb79452b00e8ba75bec34b67 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/browser/UrlParams.kt | acornui-core/src/test/kotlin/com/acornui/browser/UrlParamsTest.kt | UrlParams | bdaa174238bde0e2261e724b903a0715 | 7951a431b3604d56f5d0413428e0cb41 | 2,266 | 1,484 | 8 | 3 | Apache-2.0 | false | false | false | false | test |
abcb0023260fdc28c76146e09011f6bd | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/io/file/Path.kt | acornui-core/src/test/kotlin/com/acornui/io/file/PathTest.kt | Path | 251419efde9f819f167076836b88aaf8 | 613ba8133deb81e8ae7bbfbb7a5fd1a1 | 2,353 | 1,757 | 14 | 5 | Apache-2.0 | false | false | false | false | test |
bbae0201f93cfd1642a64b6d0553bb0b | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/time/Date.kt | acornui-core/src/test/kotlin/com/acornui/time/DateTest.kt | Date | f51eb596d907e8e4975e72d065ec339b | dec9546d2d2ab452afeca81762df5e06 | 9,478 | 1,512 | 10 | 3 | Apache-2.0 | false | false | false | false | test |
30d0833e7af46031acf45ee2993476c4 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/time/Timer.kt | acornui-core/src/test/kotlin/com/acornui/time/TimerTest.kt | Timer | df06410934c6a09e3a81e3278d3fe632 | c11a57ecd3b297aba7ee4e6c80e5702e | 2,825 | 1,627 | 3 | 4 | Apache-2.0 | false | true | false | false | test |
7829b31b26a45ceee056c95c353d50df | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/signal/OnceSignal.kt | acornui-core/src/test/kotlin/com/acornui/signal/OnceSignalTest.kt | OnceSignal | 4114b75e9bb43b01501152a6cadfd1a1 | 2f59d72a2e4e3d8726763139db99d95f | 2,713 | 1,729 | 5 | 3 | Apache-2.0 | false | false | false | false | test |
bd253d86fcba052ccbad9a17c73c8b98 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/graphic/Hsl.kt | acornui-core/src/test/kotlin/com/acornui/graphic/HslTest.kt | Hsl | d00128e4111b0df1ac5209c8be9f9a11 | d5b983b0e22d7489971ffc5dced5802c | 1,965 | 1,447 | 18 | 3 | Apache-2.0 | false | false | false | false | test |
d176a585988609b7c760544466b0fd99 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/string/StringReader.kt | acornui-core/src/test/kotlin/com/acornui/string/StringReaderTest.kt | StringReader | f1abe5dcada0438d2894e50872d0ace9 | f92a64cc37fd4c008abd9a4b342189dd | 7,245 | 2,814 | 21 | 7 | Apache-2.0 | false | false | false | false | test |
8d2ecbdcf4e1951082f177d6c11c47f8 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/time/LimitedCallback.kt | acornui-core/src/test/kotlin/com/acornui/time/LimitedCallbackTest.kt | LimitedCallback | 0d5bede136d8ec52726ac0c4ee8a4136 | bf5f22cb46b3d8284f4422cc496438e4 | 3,201 | 1,325 | 8 | 2 | Apache-2.0 | false | true | false | false | test |
93fb535a9895a7b4ede7e645c1298f59 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/collection/SnapshotList.kt | acornui-core/src/test/kotlin/com/acornui/collection/SnapshotListTest.kt | SnapshotList | 731c7e43b75a43dcf022b57053a5dc0b | 911754f371b55eaee9725a11c9923129 | 3,802 | 2,047 | 8 | 3 | Apache-2.0 | false | false | false | false | test |
6788112c0319986ec49586b0b94bfee6 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/math/GeomUtils.kt | acornui-core/src/test/kotlin/com/acornui/math/GeomUtilsTest.kt | GeomUtils | bc3b0f41860a227177299b2a69e5a8fa | cc0c3c8b02af235dd8ca8e6717ac9711 | 1,975 | 631 | 3 | 3 | Apache-2.0 | false | false | false | false | test |
734be9eb20ec98558f3d86ca323bbd0c | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/math/MathUtils.kt | acornui-core/src/test/kotlin/com/acornui/math/MathUtilsTest.kt | MathUtils | 48ca485f689de6d093608631642d4399 | cd895a38a1590d24fc5f04219da1db3a | 8,347 | 2,640 | 42 | 4 | Apache-2.0 | false | false | false | false | test |
1906d46374fd6060e689265476494c56 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/math/Vector3.kt | acornui-core/src/test/kotlin/com/acornui/math/Vector3Test.kt | Vector3 | cb7949a53487353290ca26c5e714e95b | bfe4151f2db9c61aac886504196a6618 | 11,395 | 2,228 | 17 | 8 | Apache-2.0 | false | false | false | false | test |
a09407f63025438c22ffab55f5e647af | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/Version.kt | acornui-core/src/test/kotlin/com/acornui/VersionTest.kt | Version | 4c4c177abfb27757c935b58e9e00dc1a | 23886c8d75b26138dc44a7a48092dcfc | 2,003 | 507 | 5 | 1 | Apache-2.0 | false | false | false | false | test |
ba0738a7b0441a1bb6cdaa6def545c43 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/graphic/Color.kt | acornui-core/src/test/kotlin/com/acornui/graphic/ColorTest.kt | Color | b92fc4576cc3bb626db7ba0293dfc0d3 | 0adea278325ce1915eb4f90316a8e1be | 13,456 | 4,886 | 67 | 11 | Apache-2.0 | false | false | false | false | test |
17f8981af37cd2ab313b256bde83f2bb | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/factory/LazyInstance.kt | acornui-core/src/test/kotlin/com/acornui/factory/LazyInstanceTest.kt | LazyInstance | 10334519e9623092c3f0a1e2b6b44959 | 376d1a3aa1aa8728c8bb8d94808551f3 | 1,748 | 334 | 3 | 1 | Apache-2.0 | false | false | false | false | test |
ffd514539c5fa6ba710a6d62db2fe58f | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/graphic/Hsv.kt | acornui-core/src/test/kotlin/com/acornui/graphic/HsvTest.kt | Hsv | 3bbc74c6967d82a41775a39efa614e3e | 49cfa31a9e778f8b944c81a2946684b7 | 1,539 | 1,445 | 18 | 3 | Apache-2.0 | false | false | false | false | test |
7097af4c2ad54aef6f75de913f2a5796 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/recycle/UsedTracker.kt | acornui-core/src/test/kotlin/com/acornui/recycle/UsedTrackerTest.kt | UsedTracker | 87441f841cc0c1a9ce511efca50239b7 | c0f093510b1d1ca858753d9c824d449c | 2,079 | 1,556 | 7 | 2 | Apache-2.0 | false | false | false | false | test |
afea3471f16d07bb8c9c6ad890817669 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/di/Context.kt | acornui-core/src/test/kotlin/com/acornui/di/ContextTest.kt | Context | 98401decff2a635872704aac7ae02048 | 144891a7d36b6daaa73408a5cfa20181 | 13,969 | 4,608 | 31 | 4 | Apache-2.0 | true | false | false | false | test |
a33c23efe584209efb90946436f82c1a | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/Hierarchy.kt | acornui-core/src/test/kotlin/com/acornui/HierarchyTest.kt | Hierarchy | be24e1a739964bddb0fedb871446c997 | 62159c24371023e5a5b4f6201ed92bea | 9,942 | 4,407 | 9 | 5 | Apache-2.0 | false | false | false | false | test |
c5e5665ace27644c9066c415f188ebc1 | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/math/Rectangle.kt | acornui-core/src/test/kotlin/com/acornui/math/RectangleTest.kt | Rectangle | d3c2293d2c0692bd6036070c53e6a123 | f8a8fb4642462a45f0adbe35da4dbccc | 6,947 | 3,586 | 27 | 6 | Apache-2.0 | false | false | false | false | test |
86af4c61c292abf54a7a8a102eb6f01e | AcornUI/Acorn | acornui-core/src/main/kotlin/com/acornui/math/Vector2.kt | acornui-core/src/test/kotlin/com/acornui/math/Vector2Test.kt | Vector2 | 33b43f2d6a729ba824b0a4e7d58453a4 | 6e67ed9feee1190ab0463e24d99b47d7 | 12,375 | 3,558 | 36 | 21 | Apache-2.0 | false | false | false | false | test |
38237be9d7da6a600fb443ddc42313a2 | AkshayChordiya/gofun-android | app/src/main/java/com/adityakamble49/ttl/utils/DateUtils.kt | app/src/test/java/com/adityakamble49/ttl/utils/DateUtilsTest.kt | DateUtils | 54d9d5decca936d29adc4ee2e2b6744c | 344fb2b80039c155ac004e312c6563bc | 1,430 | 1,437 | 5 | 5 | MIT | false | false | false | false | test |
1bba5cf3a74aa0f1e8f8b864a8de47f1 | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/data/local/ReminderDao.kt | app/src/androidTest/java/com/alexzh/medicationreminder/data/ReminderDaoTest.kt | ReminderDao | 04d64400849e3683f76b631dd8574b6d | b7a9262c1f4d3b30dcf6deda3cc05c57 | 2,349 | 6,169 | 24 | 16 | MIT | false | false | false | false | test |
d4b29e86627b4ef127c2603fa88c7ea5 | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/data/local/PillDao.kt | app/src/androidTest/java/com/alexzh/medicationreminder/data/PillDaoTest.kt | PillDao | 5e3f661c2e2c0de055fb14228b32ea90 | e8d6c0a1e49e86eca07fb8117988111f | 1,773 | 4,896 | 21 | 14 | MIT | false | false | false | false | test |
ea2713d546a395d4c7609865887a5bbb | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/settings/SettingsPresenter.kt | app/src/test/java/com/alexzh/medicationreminder/settings/SettingsPresenterTest.kt | SettingsPresenter | 11e5c2c39bb8a1c140da297d0619d637 | 98cc0c7b163a644af8765688682281cb | 1,233 | 1,746 | 5 | 4 | MIT | false | false | false | false | test |
bfa96f15265918d01e4176323f3c72e4 | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/data/local/LocalPillsRepository.kt | app/src/androidTest/java/com/alexzh/medicationreminder/data/LocalPillsRepositoryTest.kt | LocalPillsRepository | 2c9d8f8c68602b770f46da0b927c5385 | cfbb045e27870754112776023afbc2aa | 3,675 | 4,740 | 12 | 12 | MIT | false | false | false | false | test |
12b613edbba375ff770a5b854052a51b | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/pilldetail/PillDetailPresenter.kt | app/src/test/java/com/alexzh/medicationreminder/pilldetail/PillDetailPresenterTest.kt | PillDetailPresenter | 51b39dc2868684a0c38ba5e67148ebbe | 2ea5ee2031740f36405938031d9634e8 | 2,343 | 6,220 | 11 | 13 | MIT | false | false | false | false | test |
07e325a3810143a1778f4c21cfb24568 | AlexZhukovich/MedicationReminder | app/src/main/java/com/alexzh/medicationreminder/home/HomePresenter.kt | app/src/test/java/com/alexzh/medicationreminder/home/HomePresenterTest.kt | HomePresenter | 8d8edf964161cf43108e811262c6c4be | a900b5b379d00db547471df53d56bfbb | 1,338 | 2,453 | 8 | 8 | MIT | false | false | false | false | test |
598cd604b5c9c0a0427246b8182a0349 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/serializers/OrganizationSerializer.kt | src/test/java/tech/aroma/data/sql/serializers/OrganizationSerializerTest.kt | OrganizationSerializer | 0e857ec5e73dae46d612380023fd00fd | 9410486ca6b34934094ad9879abfbe13 | 4,325 | 6,162 | 14 | 5 | Apache-2.0 | false | false | false | true | test |
91bc1b73900ea590ed14ca23e5771cd0 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLTokenRepository.kt | src/test/java/tech/aroma/data/sql/SQLTokenRepositoryTest.kt | SQLTokenRepository | 7b5ace08686a3cb4c0f4fc9a147b07a8 | 5c098073fb2fbc428c706973fadaea44 | 4,651 | 8,155 | 6 | 17 | Apache-2.0 | false | false | false | true | test |
fb8aa48ccea2684177d69b7e4608c815 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLAssertions.kt | src/test/java/tech/aroma/data/sql/SQLAssertionsTest.kt | SQLAssertions | aa0b7304660c2c7f94128341605b7ee2 | d1f52ca36bf3eec3e10f822234867d84 | 1,096 | 1,624 | 3 | 3 | Apache-2.0 | false | false | false | true | test |
bf81dc797dfc7ff42522fa3fcf5c1db3 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLOrganizationRepository.kt | src/test/java/tech/aroma/data/sql/SQLOrganizationRepositoryTest.kt | SQLOrganizationRepository | 96d27ea4ea80fb8a8f9fe5df2d403b67 | f195790b939ca2efa2074e6c5e627607 | 8,358 | 14,182 | 16 | 30 | Apache-2.0 | false | false | false | true | test |
c64e04104549d02614e477594b6448a8 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLPlus.kt | src/test/java/tech/aroma/data/sql/SQLPlusTest.kt | SQLPlus | 543d95201341eb7a62a8b253098efcc7 | 34d44341d05a7c215c4f16b2f4b97f4d | 1,166 | 1,915 | 3 | 4 | Apache-2.0 | false | false | false | true | test |
396b6f79fc9f392efe886f1a2fa28723 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/serializers/MessageSerializer.kt | src/test/java/tech/aroma/data/sql/serializers/MessageSerializerTest.kt | MessageSerializer | c6ca482fbe8ba2bd08f76d8dc75c8058 | ee75e559d3b84f76846accffe353b778 | 3,428 | 6,503 | 3 | 6 | Apache-2.0 | false | false | false | true | test |
59fa9a5d8ea8f644191fbcbc057adea0 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLFollowerRepository.kt | src/test/java/tech/aroma/data/sql/SQLFollowerRepositoryTest.kt | SQLFollowerRepository | a7c8e3ea81a041b7272b8b52d8e249d1 | 9bc1b78235df9234fc23f936a2771197 | 3,681 | 7,573 | 5 | 15 | Apache-2.0 | false | false | false | true | test |
cbd0609e3e217eac3df7691c79519b49 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLApplicationRepository.kt | src/test/java/tech/aroma/data/sql/SQLApplicationRepositoryTest.kt | SQLApplicationRepository | af6ee2dcc927f79cc12a520c306572d1 | ae19567cb0ae89f5fec1c10b3d30e847 | 7,418 | 10,948 | 13 | 25 | Apache-2.0 | false | false | false | true | test |
500a5dbd323b3186c4320fbae81ae299 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLUserPreferencesRepository.kt | src/test/java/tech/aroma/data/sql/SQLUserPreferencesRepositoryTest.kt | SQLUserPreferencesRepository | 552d9688aa6131dad58eb434e310caa6 | 9f4bdc15dbf8f98ad8f28e4fb3441a30 | 4,916 | 8,070 | 9 | 16 | Apache-2.0 | false | false | false | true | test |
5eee84e00c1c7aea1c872914fe18c2ab | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLCredentialRepository.kt | src/test/java/tech/aroma/data/sql/SQLCredentialRepositoryTest.kt | SQLCredentialRepository | d6bbb9becc364f9287b65f98d9351b82 | 1823511bb0e435cfa5233240090e50d8 | 3,084 | 6,073 | 4 | 13 | Apache-2.0 | false | false | false | true | test |
3ea3be2cb79e33a5e2c5a80b5c44d06c | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLReactionRepository.kt | src/test/java/tech/aroma/data/sql/SQLReactionRepositoryTest.kt | SQLReactionRepository | c4d6355c55d20fd05fa82d9b43ef623b | 69e10cb167c981877ad5d6f98645c996 | 4,200 | 6,709 | 5 | 12 | Apache-2.0 | false | false | false | true | test |
b9ddbe22248d7ccad62c5a25f998743f | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLInboxRepository.kt | src/test/java/tech/aroma/data/sql/SQLInboxRepositoryTest.kt | SQLInboxRepository | 0a202b611ea7a118444f1e49341beac6 | 4698ad48013c08cd9f3804975c802b8d | 5,572 | 9,162 | 6 | 18 | Apache-2.0 | false | false | false | true | test |
0d210f8f83e2d05e934070a5fd542008 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLUserRepository.kt | src/test/java/tech/aroma/data/sql/SQLUserRepositoryTest.kt | SQLUserRepository | af03f2c529f3b693e1cf1d3848243bb2 | 858224c059aad63ba1e7b2b5335370af | 5,426 | 9,452 | 9 | 24 | Apache-2.0 | false | false | false | true | test |
d6be8c7e8f7f38c025e671c08a196e9e | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLActivityRepository.kt | src/test/java/tech/aroma/data/sql/SQLActivityRepositoryTest.kt | SQLActivityRepository | ef024c034aece5a2fe86c5767f51ec6b | c6b0c823b14769506e840704caace28f | 6,180 | 9,774 | 6 | 19 | Apache-2.0 | false | false | false | true | test |
a5c256d76290cfb0ce2c3a2f50d6cfc7 | AromaTech/banana-data-operations | src/main/java/tech/aroma/data/sql/SQLMessageRepository.kt | src/test/java/tech/aroma/data/sql/SQLMessageRepositoryTest.kt | SQLMessageRepository | 16d8e31ed748f66e50ac2849c636f34b | 4794945d496781e6a04e166feaead078 | 7,401 | 12,036 | 13 | 28 | Apache-2.0 | false | false | false | true | test |
caaac1b80ec2f0e373fb3097672c6346 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/QuitHandler.kt | src/test/kotlin/chat/willow/warren/handler/QuitHandlerTests.kt | QuitHandler | 1a418d8eba2b2485d05c790b32c53d1e | 0f39bd4a2ba6a9fcadaa31ed17b5aeae | 1,478 | 4,741 | 6 | 5 | ISC | false | false | false | false | test |
180b26a163f9ec4d3f5b040bbc8c15a4 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/PrivMsgHandler.kt | src/test/kotlin/chat/willow/warren/handler/PrivMsgHandlerTests.kt | PrivMsgHandler | bdcfb72f7f412915ba9f6bc5a1fc4578 | 863b20e56a416bc55e1d5a788a296332 | 3,463 | 5,740 | 9 | 9 | ISC | false | false | false | false | test |
927de96f53b48cb593fca47850d72c98 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/monitor/handler/MonitorOnlineHandler.kt | src/test/kotlin/chat/willow/warren/extension/monitor/handler/MonitorOnlineHandlerTests.kt | MonitorOnlineHandler | e09da29f9266f99ee0c0c4996a7914c5 | cb6425f118397264ef63e3dcb8e8a7fe | 736 | 1,697 | 3 | 2 | ISC | false | false | false | true | test |
e6484c7ca0a6e97dfddb5b95d46bf04e | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/sasl/AuthenticateHandler.kt | src/test/kotlin/chat/willow/warren/extension/sasl/handler/AuthenticateHandlerTests.kt | AuthenticateHandler | fc102dde7a5b0181eae6163c777cc29d | 17dbfd495bb4ee2fbc02d5eb98e536f9 | 1,416 | 2,014 | 3 | 3 | ISC | false | false | false | false | test |
51ad054c7c5120554be30385f5fb8327 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/registration/RegistrationManager.kt | src/test/kotlin/chat/willow/warren/registration/RegistrationManagerTests.kt | RegistrationManager | 4d8521af26ddf49d47e3941839ebc096 | 6fbddb55193836d8f74d3f88fa3362c2 | 2,940 | 3,437 | 9 | 7 | ISC | false | false | false | true | test |
0508540fd4383b46492ee6aa3a79d1c8 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/chghost/ChgHostHandler.kt | src/test/kotlin/chat/willow/warren/extension/chghost/ChgHostHandlerTests.kt | ChgHostHandler | ebb8f8d165ce01cb0139c34afce4fba7 | 60698ea0d39873f53464db5c02dd1dc5 | 1,162 | 2,083 | 3 | 2 | ISC | false | false | false | false | test |
b2a498a650879c29da9c66dedafc675a | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/monitor/MonitorExtension.kt | src/test/kotlin/chat/willow/warren/extension/monitor/MonitorExtensionTests.kt | MonitorExtension | a4f1141312fa22863af0906e4263131f | 6c0e0b35bb6c784e9248365ed528a2a7 | 2,694 | 2,513 | 12 | 4 | ISC | false | false | false | false | test |
3a4a0eb11f5cc786086cc6bc59dfbebb | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005Handler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005HandlerTests.kt | Rpl005Handler | 526bef4309c0fe62ef8a025b4423e7c8 | 3edfe4818ecf370cb75ce1a03d58255f | 1,619 | 3,250 | 4 | 4 | ISC | false | false | false | false | test |
11767898f113adb91767ea610fb77a3f | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/cap/handler/CapAckHandler.kt | src/test/kotlin/chat/willow/warren/extension/cap/handler/CapAckHandlerTests.kt | CapAckHandler | 99603de5b929d8340fce35d7c0ec6033 | 23134e38a4ba1a3414ae64d63d0dcd7f | 1,611 | 2,621 | 5 | 4 | ISC | false | false | false | false | test |
9efb602b803d9f14c3c8519393c1a9fa | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/ModeHandler.kt | src/test/kotlin/chat/willow/warren/handler/ModeHandlerTests.kt | ModeHandler | 79cad260a82ce8df69dfab08ee7c551d | 63e36ba2a03914031dfa6d15a2386d52 | 3,207 | 6,788 | 11 | 8 | ISC | false | false | false | false | test |
d3a4c963fac2d380fb761691df1844ac | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005ChanTypesHandler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005ChanTypesHandlerTests.kt | Rpl005ChanTypesHandler | 6c38c331c7bd7e6ee6e4a8f501b3c050 | 41725c72615cdd9155fd431fe5817f51 | 843 | 1,239 | 3 | 3 | ISC | false | false | false | false | test |
f2559554f61381251418d48c4dc7b49e | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005PrefixHandler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005PrefixHandlerTests.kt | Rpl005PrefixHandler | 3bc393dc0cb0370de5f1bdde2a625de1 | 90d9be3e674ebefdd862cfb631714cd5 | 1,787 | 1,972 | 7 | 7 | ISC | false | false | false | false | test |
af5e444ae72baa11f6b5ec4a990cf265 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/cap/handler/CapLsHandler.kt | src/test/kotlin/chat/willow/warren/extension/cap/handler/CapLsHandlerTests.kt | CapLsHandler | 7a77d5bf01bf396b6a1e4e71a10e0226 | 4937f89f5fc6a39762c05d49d8475476 | 2,020 | 3,653 | 8 | 7 | ISC | false | false | false | false | test |
dec268912eb4c48db84b4cb85c67811e | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/IrcSocket.kt | src/test/kotlin/chat/willow/warren/IrcSocketTests.kt | IrcSocket | 803e6fff966b522f4811304e330291d3 | 04d0d3e2eedc2fd447a44a31bb4b4629 | 3,772 | 4,963 | 16 | 12 | ISC | false | false | false | true | test |
f484128d3ac20dc3aa1a0a5c35fbf855 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/cap/handler/CapDelHandler.kt | src/test/kotlin/chat/willow/warren/extension/cap/handler/CapDelHandlerTests.kt | CapDelHandler | 1b1466a7ea9dbe7b5cc5862bd290daa4 | 3e93542da58dd3e944a4b40957e7f480 | 1,269 | 2,231 | 6 | 3 | ISC | false | false | false | false | test |
b060caca66de8c80357e7b48c8577971 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/CtcpHelper.kt | src/test/kotlin/chat/willow/warren/handler/CtcpHelperTests.kt | CtcpHelper | 490d455ecccd7458ca9220f7f943e77c | 77cef236704940a730ebcbc232576a0b | 1,305 | 2,057 | 11 | 11 | ISC | false | false | false | false | test |
ece4aa21994e85e0154c5a9e28d30b18 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/event/WarrenEventDispatcher.kt | src/test/kotlin/chat/willow/warren/event/WarrenEventDispatcherTests.kt | WarrenEventDispatcher | 9bcf67f5afa200188d520f48ef226740 | 3d9b38b7c6ef859faa853d7576df8a1e | 2,104 | 1,567 | 5 | 3 | ISC | false | false | false | false | test |
16b4aa4f3ef1db6c6473120593d33239 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/WarrenClient.kt | src/test/kotlin/chat/willow/warren/WarrenClientTests.kt | WarrenClient | afcfd9a7aeaf8cdc536ef1ba7c202883 | 21e500e960709bb781592614ded236c7 | 9,393 | 4,397 | 12 | 12 | ISC | false | false | false | false | test |
07864eaeb3bb46d3a68b89fdccb5c834 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/extended_join/ExtendedJoinHandler.kt | src/test/kotlin/chat/willow/warren/extension/extended_join/ExtendedJoinHandlerTests.kt | ExtendedJoinHandler | d4a8d1de2b05620b4cf59bf4b6d47816 | 1ee122c8ee38956fe71ac27887997eac | 1,713 | 4,003 | 6 | 4 | ISC | false | false | false | false | test |
6558ef563b8904e210f3c731b13f888f | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/KickHandler.kt | src/test/kotlin/chat/willow/warren/handler/KickHandlerTests.kt | KickHandler | e6e39b1e3cb0288afe39f45f82992cc9 | 83c11e3ed5e5d05b1b82e82c57a30417 | 1,580 | 4,452 | 5 | 5 | ISC | false | false | false | false | test |
58759dfec69438fd7c689b58e1ef99fd | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/NickHandler.kt | src/test/kotlin/chat/willow/warren/handler/NickHandlerTests.kt | NickHandler | 7bbf6e4eaf4347d05c5037c99913082f | 866bfdbc4caa7b6411d83a5a9976863c | 1,398 | 4,862 | 4 | 4 | ISC | false | false | false | false | test |
6b4192023d73697d3ca840e5726c7e05 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/event/internal/InternalWarrenEvents.kt | src/test/kotlin/chat/willow/warren/event/internal/InternalWarrenEventsTests.kt | InternalWarrenEvents | a1a084270bb3185acb73c5ca659b224c | a633aaea80bb2af1c97b66bff8c00832 | 2,652 | 1,604 | 6 | 5 | ISC | false | false | false | false | test |
4646f9dab04873f01a20c330b4d67449 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005ChanModesHandler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005ChanModesHandlerTests.kt | Rpl005ChanModesHandler | 9f119c84851b54765cfd5efee0c24e74 | 95e3c1dd8a542fc0ee33a92361ecee0a | 1,509 | 2,402 | 5 | 5 | ISC | false | false | false | false | test |
5ecd1ea4c0361954f3bc342204fe0d04 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/PartHandler.kt | src/test/kotlin/chat/willow/warren/handler/PartHandlerTests.kt | PartHandler | fcb22b1d9f743ab86754964f5bcc0690 | be25b7d81d9fcc75b073e9e9245ba4cf | 2,050 | 2,903 | 5 | 5 | ISC | false | false | false | false | test |
3b502252744ebb4e529c94cf80a85376 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/Rpl376Handler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/Rpl376HandlerTests.kt | Rpl376Handler | 4c6666e86d9885c61072c2dcfb763161 | 35d9a0ceafd0af9ec60ca3282c9ba0de | 1,211 | 2,772 | 3 | 3 | ISC | false | false | false | false | test |
a4b9916d00d7e5dbe835052584ae7a71 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/IrcConnection.kt | src/test/kotlin/chat/willow/warren/IrcConnectionTests.kt | IrcConnection | 86e15a019f824b2bb7b41a40e99ac8bf | 1aa005251873adff2828979f067eadfc | 13,110 | 15,172 | 58 | 26 | ISC | false | false | false | true | test |
9c8c39c01507a574715709990630bdf1 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/sasl/SaslExtension.kt | src/test/kotlin/chat/willow/warren/extension/sasl/SaslExtensionTests.kt | SaslExtension | bd7ed3c59fae469b11b303b4d5666f9e | 7bac8a15908ca24ed0986c99b73d35bb | 3,511 | 4,299 | 17 | 11 | ISC | false | false | false | false | test |
8b85787c0e10f57871bf9cb97803e454 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005CaseMappingHandler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005CaseMappingHandlerTests.kt | Rpl005CaseMappingHandler | aafc70a5c1b6623358ecd44e22919374 | 1124b0d9e982d569deef22ff69fe8df1 | 969 | 2,210 | 7 | 5 | ISC | false | false | false | false | test |
edff4f758ba94592cb44083704565fc3 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/cap/handler/CapNewHandler.kt | src/test/kotlin/chat/willow/warren/extension/cap/handler/CapNewHandlerTests.kt | CapNewHandler | ee4024d0f078e84ec8738a936024d1e0 | 42731b19b0f8bc7481e6392086e78834 | 1,141 | 2,474 | 5 | 4 | ISC | false | false | false | false | test |
d54c3cfb0297ff61d9b1ea4518b5072d | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/JoinHandler.kt | src/test/kotlin/chat/willow/warren/handler/JoinHandlerTests.kt | JoinHandler | 85f9bbb0f87b38e46ce58419b7df7903 | 9692f54fa952d3513f3d70aa3886f1ee | 2,139 | 4,210 | 7 | 7 | ISC | false | false | false | false | test |
71af66d986212aed8f1d5e60bc18b2b1 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/monitor/handler/MonitorOfflineHandler.kt | src/test/kotlin/chat/willow/warren/extension/monitor/handler/MonitorOfflineHandlerTests.kt | MonitorOfflineHandler | 2f4decd3ee4e5f66d49bc668876522b1 | 22db34acd0c6952fa7398492ae10f46f | 743 | 1,734 | 3 | 2 | ISC | false | false | false | true | test |
18ef48be1dd25ccdf889d91a9d475cff | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/account_notify/AccountHandler.kt | src/test/kotlin/chat/willow/warren/extension/account_notify/AccountHandlerTests.kt | AccountHandler | 0642746c3e75eb6bc529312df2acac45 | 151b5dc5e5aeae0b4ab6b395275a51f6 | 1,158 | 3,094 | 6 | 4 | ISC | false | false | false | false | test |
b6f1d84eb26fd707024e6095ba843ce8 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/extended_join/ExtendedJoinExtension.kt | src/test/kotlin/chat/willow/warren/extension/extended_join/ExtendedJoinExtensionTests.kt | ExtendedJoinExtension | 038c70bcbe188d3cb9c29fac3e11ff94 | 8ac272238de6a4729ab1b3e8ca7db1bc | 1,406 | 2,042 | 3 | 2 | ISC | false | false | false | false | test |
f1de945b7dc1bbe75ed3b2cc7cbfc4ec | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/cap/CapManager.kt | src/test/kotlin/chat/willow/warren/extension/cap/CapManagerTests.kt | CapManager | 9edda79f04705ceb1c16de4babcc2150 | 2488761f162c34ab930bee44d6b4eacd | 6,819 | 4,374 | 6 | 6 | ISC | false | false | false | true | test |
2eea0af7ce3f25e5655b84f6bcaf398a | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005MonitorHandler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/isupport/Rpl005MonitorHandlerTests.kt | Rpl005MonitorHandler | 0940d3d7649ae157faf4ee4f3bdce360 | 2b48f0ede2bdb6d38cd393dd5e8ff11a | 957 | 1,131 | 3 | 3 | ISC | false | false | false | false | test |
5211ff432d6a0fe3b40a08fbccb308f3 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/helper/ExecutionContext.kt | src/test/kotlin/chat/willow/warren/helper/ExecutionContextTests.kt | ExecutionContext | 73ed8fde442bd1dedcdfee12eaadbb1c | 54ea7858bed032402135fa0ae15a91a3 | 1,367 | 2,522 | 7 | 8 | ISC | false | false | false | true | test |
d4b4134862a20aabadfb2bc2625362d2 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/registration/RFC1459RegistrationExtension.kt | src/test/kotlin/chat/willow/warren/registration/RFC1459RegistrationExtensionTests.kt | RFC1459RegistrationExtension | 1c6a55917936fe27754c433246cef462 | 45bdc6399b12b8501ef9a248582bae5c | 1,014 | 2,472 | 7 | 5 | ISC | false | false | false | true | test |
62308678baf0c8b44e247726f18970e8 | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/PongHandler.kt | src/test/kotlin/chat/willow/warren/handler/PongHandlerTests.kt | PongHandler | 1cc43efe34eb4ae173975643451e9b59 | f91bb901a9a8971a3569636c4de23c75 | 716 | 1,317 | 3 | 1 | ISC | false | false | false | false | test |
1b9c8d114703019e2c8451ebfff56b5b | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/PingHandler.kt | src/test/kotlin/chat/willow/warren/handler/PingHandlerTests.kt | PingHandler | dda9d6b1eecc65e2b00863fffe377239 | dd369bbc7c369c32665569c81d0034f1 | 841 | 1,629 | 4 | 2 | ISC | false | false | false | false | test |
9d0e0eadf01245469670637309f34e4e | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/handler/rpl/Rpl353Handler.kt | src/test/kotlin/chat/willow/warren/handler/rpl/Rpl353HandlerTests.kt | Rpl353Handler | 31320a61151beb39a39f33469ccfbe51 | c0dd1331c180380c1b47566c7ed5fa31 | 2,265 | 2,550 | 3 | 3 | ISC | false | false | false | false | test |
8be05516e78584e6a4c207386f0e219d | CarrotCodes/Warren | src/main/kotlin/chat/willow/warren/extension/away_notify/AwayHandler.kt | src/test/kotlin/chat/willow/warren/extension/away_notify/AwayHandlerTests.kt | AwayHandler | ad9d0f1379d3c99a1aa1333b202e17dd | 2eac7307770c59546f18fedd98b51015 | 1,106 | 3,047 | 6 | 4 | ISC | false | false | false | false | test |
e062141042c4f193ecfddcb5bd51ee1f | Commit451/GitLabAndroid | app/src/main/java/com/commit451/gitlab/navigation/DeepLinker.kt | app/src/test/java/com/commit451/gitlab/DeepLinkerTests.kt | DeepLinker | cdcec276f33cfbb889d143fe4233f79c | 786dfe7ac44569f1a9059349dda1ed33 | 7,525 | 1,662 | 6 | 6 | Apache-2.0 | false | false | false | false | test |
2b3bca89a833ec555f9449ddd32cc3da | DavidHamm/wizard-pager | lib/src/main/kotlin/com/hammwerk/wizardpager/core/WizardTree.kt | lib/src/test/kotlin/com/hammwerk/wizardpager/core/WizardTreeTest.kt | WizardTree | 9bb7b7d6c8a1760db45e98e68084072e | de59a53ee3d8af87ba01241885cde6ae | 2,721 | 12,788 | 45 | 47 | MIT | false | false | false | true | test |
6dbadf255489f7b411378f1d02cf331a | DavidHamm/wizard-pager | lib/src/main/kotlin/com/hammwerk/wizardpager/core/WizardPagerAdapter.kt | lib/src/test/kotlin/com/hammwerk/wizardpager/core/WizardPagerAdapterTest.kt | WizardPagerAdapter | 3bb32a5fa8d0b314a2e71b76c6a790cd | df2b84f55f6f6e666e59cb34aa9b5dc5 | 1,662 | 2,503 | 6 | 6 | MIT | false | false | false | false | test |
35f38084cf2f6c6a3643a8be0d5f62ba | DavidHamm/wizard-pager | lib/src/main/kotlin/com/hammwerk/wizardpager/core/BranchPage.kt | lib/src/test/kotlin/com/hammwerk/wizardpager/core/BranchPageTest.kt | BranchPage | d4cde9a376d76e44425a2ac57bf4c6bf | 15889d0fb5530cefb1c839824321ab0b | 1,202 | 4,324 | 10 | 20 | MIT | false | false | false | true | test |
3fe73dc326d302ca824a72227e920def | DavidHamm/wizard-pager | lib/src/main/kotlin/com/hammwerk/wizardpager/core/Branch.kt | lib/src/test/kotlin/com/hammwerk/wizardpager/core/BranchTest.kt | Branch | 819d02c6113cf3bef24b52ce18f893a9 | f9e2c82b79be03fe03bb9bea8bb53427 | 1,466 | 4,788 | 15 | 18 | MIT | false | false | false | false | test |
f8580d690f071ff1b7aa3fedc0ed7909 | DavidHamm/wizard-pager | lib/src/main/kotlin/com/hammwerk/wizardpager/core/Page.kt | lib/src/test/kotlin/com/hammwerk/wizardpager/core/PageTest.kt | Page | 33c1639d1e175df1d5942a1f6dde4aef | a39426b3b20cdbb74b2d49979ccab02c | 1,308 | 2,431 | 10 | 10 | MIT | false | false | false | true | test |
69a0d374084780b5132057b2aa632dd3 | DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/feature/office/mvp/OfficePresenter.kt | app/src/test/java/pl/droidsonroids/droidsmap/presentation_logic/OfficePresenterTest.kt | OfficePresenter | a5cef81b1cc88fb041fc08c3e14c4820 | a594c605685eee59b3a016bad6517261 | 1,748 | 3,973 | 13 | 6 | MIT | false | false | false | false | test |
4e6495d8ce260ed8f34793d2e665becb | DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/FlowManager.kt | app/src/test/java/pl/droidsonroids/droidsmap/FlowManagerTest.kt | FlowManager | a442856ebe4f95d5a0733f0a87335348 | cd7ad7a998ba06e9c35543048d3588e5 | 1,770 | 2,023 | 7 | 4 | MIT | false | false | false | false | test |
f849518ff18984d253d887f119b39a00 | DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/base/DisposableHandler.kt | app/src/test/java/pl/droidsonroids/droidsmap/presentation_logic/DisposableHandlerTest.kt | DisposableHandler | 6afaacd8219990207dfe9e4bf48bb9f4 | 5caedd5062ee9924389607e700bcb894 | 320 | 1,458 | 6 | 3 | MIT | false | false | false | false | test |
15c9a01179326a8e586878a855a7c9ad | DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/feature/employee/repository/EmployeeRepository.kt | app/src/test/java/pl/droidsonroids/droidsmap/data/EmployeeRepositoryTest.kt | EmployeeRepository | b982d5af3ea9aee5f818b6c5abbdca13 | 9417cab9116c8387a4df28641051e8a0 | 1,367 | 3,296 | 3 | 2 | MIT | false | false | false | false | test |
b67cf836e106e5629554f82de131e1e2 | DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/feature/office/repository/OfficeRepository.kt | app/src/test/java/pl/droidsonroids/droidsmap/data/OfficeRepositoryTest.kt | OfficeRepository | 4029c46bc5d6509160c2857078985c6e | 547193e2f3886a9a21041961050cf527 | 1,824 | 3,683 | 6 | 2 | MIT | false | false | false | false | test |
e197ade61b6db96540c7bfafd5f08fb3 | Edholm/swosh | src/main/kotlin/pub/edholm/web/handlers/SwoshHandler.kt | src/test/kotlin/pub/edholm/web/handlers/SwoshHandlerTest.kt | SwoshHandler | 09f09787457ec44d8e3035cc7379a701 | dd295e6738cec386e0bc4d46eb5b2edb | 5,277 | 9,341 | 16 | 16 | MIT | false | false | false | true | test |
8864aba57cb74ef1b76d56400c529956 | Etik-Tak/backend | src/main/kotlin/dk/etiktak/backend/model/recommendation/Recommendation.kt | src/test/kotlin/dk/etiktak/backend/controllers/rest/RecommendationTest.kt | Recommendation | c0f29932b674360b22eea7f968a2bf25 | bdfb340eef6ee40bb45f1fdbadf7bab5 | 3,701 | 23,067 | 15 | 10 | BSD-3-Clause | false | false | false | false | test |
d386c2f74b46f917f586ab4b83c47ddb | Etik-Tak/backend | src/main/kotlin/dk/etiktak/backend/model/infochannel/InfoChannel.kt | src/test/kotlin/dk/etiktak/backend/controllers/rest/InfoChannelTest.kt | InfoChannel | a1079abbc8ed6d4e5304de7cbbf00f02 | 90f19a6696ea03b2fe890d151818925c | 3,079 | 5,273 | 4 | 2 | BSD-3-Clause | false | false | false | false | test |
6eaffe6d8c2e87fbd890e9dc61216ae4 | Flank/fladle | buildSrc/src/main/java/com/osacky/flank/gradle/validation/ValidateOptions.kt | buildSrc/src/test/java/com/osacky/flank/gradle/validation/ValidateOptionsTest.kt | ValidateOptions | 6ed099e92fd629d160ad39eb001d9837 | 9de4bf80a979205338a5ebc2a9ac7b00 | 1,314 | 4,991 | 12 | 4 | Apache-2.0 | false | false | false | false | test |
KotlinTestPairs
9,856 Kotlin source↔unit-test pairs ("focal method" pairs) mined from permissively licensed public GitHub code.
Applies the methods2test (MSR 2022) methodology to Kotlin, and is the sibling of SwiftTestPairs.
⚠️ This dataset contains NO source code
Rows are references + derived metadata: repository, file paths, content MD5s, and measured properties. The code stays where it has always been, in the upstream corpus. This avoids redistributing anyone's source, and it honours upstream opt-outs automatically — a file withdrawn from the corpus simply fails to resolve.
The contribution here is the pairing and the measurements, not the source.
Every row is permissively licensed. There is no copyleft and no unlicensed code in it:
| licence | pairs | share |
|---|---|---|
| Apache-2.0 | 6,347 | 64.4% |
| MIT | 2,744 | 27.8% |
| BSD-3-Clause | 493 | 5.0% |
| ISC | 134 | 1.4% |
| Unlicense | 104 | 1.1% |
| CC0-1.0 | 27 | 0.3% |
| BSD-2-Clause, Artistic-2.0 | 7 | 0.1% |
Schema
| column | description |
|---|---|
pair_id |
md5 of repo:source_path:test_path |
repo_name, source_path, test_path |
location of the focal file and its test |
target_type |
the type under test, derived from the test filename |
source_content_md5, test_content_md5 |
verify resolution fidelity |
source_bytes, test_bytes |
file sizes |
n_assertions, n_test_methods |
measured from the test file |
license |
SPDX identifier, carried per row so you can filter |
source_uses_coroutines, test_uses_coroutines |
suspend / runTest / runBlocking present |
test_uses_kotest |
imports io.kotest rather than JUnit or kotlin.test |
test_uses_mocking |
imports MockK or Mockito |
split |
train / valid / test, assigned by repository |
The data
| pairs | repos | |
|---|---|---|
| train | 7,523 | 1,071 |
| valid | 1,196 | 151 |
| test | 1,137 | 158 |
| total | 9,856 | 1,380 |
Splits are assigned by repository, not by pair, so no repository appears in more than one split. A pair-level split would let a model see one test from a repository in training and be scored on its sibling.
Median pair: 9 assertions across 5 test methods, a 2.7 KB source file and a 3.5 KB test.
Measured ecosystem facts, which the Swift sibling has no equivalent of:
| share of pairs | |
|---|---|
| tests using MockK or Mockito | 17.9% |
| tests using coroutines | 10.2% |
| sources using coroutines | 12.6% |
| tests using Kotest | 0.3% |
Kotest's 0.3% is worth knowing before you assume a project uses it: JUnit and
kotlin.test are what almost everyone writes.
⚠️ There is no verified-to-compile tier, and there cannot be one
SwiftTestPairs has a tier of 569 pairs verified to build. This dataset has no equivalent, and no Kotlin dataset built from public corpora can have one.
Every public Kotlin corpus is .kt-only. Not one carries a build manifest:
| corpus | build files |
|---|---|
mvasiliniuc/iva-kotlin-codeint |
0 |
softh/alt-kotlin-source |
0 build.gradle, 0 .kts, 0 pom.xml |
HuggingFaceTB/stack-edu |
no Kotlin configuration at all |
giggiovpg/...compiler-verified |
synthetic, model-generated, empty test bodies |
GD-ML/AndroidCode |
UI traces, not source |
Without build.gradle or settings.gradle.kts, a Gradle project cannot be built. So
no pair here can be compiled, and no benchmark that needs a building project can run on
this data.
Swift only worked by accident. Package.swift survived its corpus's extension
filter because it happens to end in .swift. Kotlin's manifests are .gradle and
.kts, so every one was dropped before the corpus was ever published.
That is the finding worth taking from this section: a corpus's extension filter silently destroys buildability, and whether a language survives it is luck about file naming. Anyone building a code corpus should keep the manifests.
Construction
- Classify every
.ktfile in the corpus as source or test. 7.7% are tests — against 2.3% in the Swift corpus, so Kotlin is considerably denser in tests. - Join on the JUnit naming convention:
Foo.kt↔FooTest.ktin the same repository. Join rate 55.5%, giving 11,349 raw pairs. - Deduplicate. Exact content match removed 2. Near-duplicate detection (MinHash/LSH, Jaccard 0.8) removed a further 1,491 — 13.1%.
- Split by repository, then check for leakage across splits.
From 464,215 files to 9,856 pairs.
Known limitations
- No verified tier, for the reason above. If you need pairs that compile, you need a corpus that kept its build files, and none exists.
- Filename join only.
Foo.kt↔FooTest.ktcatches the common convention and misses tests named otherwise. It favours projects that follow it. target_typeis derived from the test filename, not from parsing. A test namedFooTest.ktis assumed to testFoo.- Assertion counts are lexical.
n_assertionscounts assertion-shaped calls; a helper that asserts internally is counted once. - A long tail of outliers. One pair reports 1,198 assertions. Filter on
n_assertionsif you need a sane range. - Not a quality signal. A pair being present says a test exists, not that it is good.
Provenance
Built from mvasiliniuc/iva-kotlin-codeint
— 464,215 .kt files, of which 82.2% carry a permissive licence. Only the permissively
licensed ones are represented here.
Removal requests
If your repository appears in this dataset and you would like it removed, please open a Discussion on this dataset and name the repository. I will drop those rows and re-publish. No justification needed.
Note that this dataset contains no source code — only repository names, file paths, content fingerprints and measurements. The code itself remains where it has always been, in the upstream corpus listed above.
Citation
@misc{kotlintestpairs2026,
title = {KotlinTestPairs: Kotlin source-to-test pairs from permissively licensed public code},
author = {Swamy Manju},
year = {2026},
url = {https://huggingface.co/datasets/Manju46/kotlin-test-pairs}
}
- Downloads last month
- 75