Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
23
9.99k
text_id
stringlengths
19
45
repo_owner
stringlengths
4
19
repo_name
stringlengths
2
20
issue_url
stringlengths
40
67
pull_url
stringlengths
38
65
comment_url
stringlengths
38
81
links_count
int64
1
2
link_keyword
stringclasses
7 values
issue_title
stringlengths
25
133
issue_body
stringlengths
145
15.8k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
diff_url
stringlengths
120
148
diff
stringlengths
617
62.9k
changed_files
stringlengths
60
1.93k
changed_files_exts
stringlengths
12
13
changed_files_count
int64
1
17
java_changed_files_count
int64
1
17
kt_changed_files_count
int64
0
0
py_changed_files_count
int64
0
0
code_changed_files_count
int64
1
17
repo_symbols_count
int64
111k
38.1M
repo_tokens_count
int64
23.7k
7.63M
repo_lines_count
int64
3.55k
995k
repo_files_without_tests_count
int64
41
6.47k
changed_symbols_count
int64
36
33.2k
changed_tokens_count
int64
5
6.04k
changed_lines_count
int64
1
506
changed_files_without_tests_count
int64
1
14
issue_symbols_count
int64
145
15.8k
issue_words_count
int64
14
698
issue_tokens_count
int64
32
3.21k
issue_lines_count
int64
2
152
issue_links_count
int64
0
3
issue_code_blocks_count
int64
0
5
pull_create_at
timestamp[s]
repo_stars
int64
399
44.3k
repo_language
stringclasses
4 values
repo_languages
stringlengths
17
344
repo_license
stringclasses
2 values
157
square/okhttp/1254/1158
square
okhttp
https://github.com/square/okhttp/issues/1158
https://github.com/square/okhttp/pull/1254
https://github.com/square/okhttp/pull/1254
1
closes
Should okhttp be caching HTTP 307 (or 302) responses according to the w3 document?
I am using retrofit and okhttp in my Android app to download documents, images and music files. The files are hosted on Amazon through a CDN so the URLs change often. My backend server will try to use redirects to decrease the need to have to constantly update my content on my mobile app every time the CDN url changes....
64f2af812bef505b6cbc1693aa8b504d9dbbb42e
1d6f0e75d599e2cb02f0fe182f7dbf966cd5cb2b
https://github.com/square/okhttp/compare/64f2af812bef505b6cbc1693aa8b504d9dbbb42e...1d6f0e75d599e2cb02f0fe182f7dbf966cd5cb2b
diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/CacheTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/CacheTest.java index 9fba4601c..0fd174648 100644 --- a/okhttp-tests/src/test/java/com/squareup/okhttp/CacheTest.java +++ b/okhttp-tests/src/test/java/com/squareup/okhttp/CacheTest.java @@ -121,9 +...
['okhttp/src/main/java/com/squareup/okhttp/internal/http/CacheStrategy.java', 'okhttp-urlconnection/src/test/java/com/squareup/okhttp/UrlConnectionCacheTest.java', 'okhttp-tests/src/test/java/com/squareup/okhttp/CacheTest.java']
{'.java': 3}
3
3
0
0
3
875,001
202,735
24,643
132
1,919
416
44
1
3,541
539
802
69
2
0
1970-01-01T00:23:39
44,252
Kotlin
{'Kotlin': 3059143, 'Java': 744989, 'Shell': 2995}
Apache License 2.0
688
dbeaver/dbeaver/12766/12765
dbeaver
dbeaver
https://github.com/dbeaver/dbeaver/issues/12765
https://github.com/dbeaver/dbeaver/pull/12766
https://github.com/dbeaver/dbeaver/pull/12766
1
fix
SqlServer FK between two schemas doesn't show on UI
<!-- Thank you for reporting an issue. *IMPORTANT* - *before* creating a new issue please look around: - DBeaver documentation: https://github.com/dbeaver/dbeaver/wiki and - open issues in Github tracker: https://github.com/dbeaver/dbeaver/issues If you cannot find a similar problem, then create a new i...
63aee4269a199deb69359f4913055615619a7666
0e820df3b91ff92f3c37db90335d30703afde0fd
https://github.com/dbeaver/dbeaver/compare/63aee4269a199deb69359f4913055615619a7666...0e820df3b91ff92f3c37db90335d30703afde0fd
diff --git a/plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerSchema.java b/plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerSchema.java index dac1924bb9..e41e19e4ef 100644 --- a/plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model...
['plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerSchema.java']
{'.java': 1}
1
1
0
0
1
21,252,088
4,358,670
579,957
4,152
1,158
240
25
1
2,113
299
550
39
3
0
1970-01-01T00:27:03
33,177
Java
{'Java': 26145871, 'JavaScript': 139972, 'C++': 63113, 'ANTLR': 29768, 'CSS': 20674, 'HTML': 12246, 'XSLT': 8047, 'Batchfile': 2891, 'Shell': 202}
Apache License 2.0
673
dbeaver/dbeaver/20881/20529
dbeaver
dbeaver
https://github.com/dbeaver/dbeaver/issues/20529
https://github.com/dbeaver/dbeaver/pull/20881
https://github.com/dbeaver/dbeaver/pull/20881
1
closes
SSH connection defaults to OS login, if server login not saved in settings
### Description It's related to credential popup changes from #18017 - now if SSH is set to use encrypted certificates there will be a popup asking for certificate password, but there's no way to enter server login. If the login is stored in settings - it will work - but in case the login is left empty, the connection...
1ad21c12ab285733bdf877024ebb4d6d071617b1
41addd796eaf82905bfb7d587214542b8990c50d
https://github.com/dbeaver/dbeaver/compare/1ad21c12ab285733bdf877024ebb4d6d071617b1...41addd796eaf82905bfb7d587214542b8990c50d
diff --git a/plugins/org.jkiss.dbeaver.net.ssh.ui/src/org/jkiss/dbeaver/ui/net/ssh/SSHTunnelConfiguratorUI.java b/plugins/org.jkiss.dbeaver.net.ssh.ui/src/org/jkiss/dbeaver/ui/net/ssh/SSHTunnelConfiguratorUI.java index ffd49fbb4f..7f59eee123 100644 --- a/plugins/org.jkiss.dbeaver.net.ssh.ui/src/org/jkiss/dbeaver/ui/net...
['plugins/org.jkiss.dbeaver.registry/src/org/jkiss/dbeaver/registry/DataSourceDescriptor.java', 'plugins/org.jkiss.dbeaver.net.ssh.ui/src/org/jkiss/dbeaver/ui/net/ssh/SSHTunnelConfiguratorUI.java']
{'.java': 2}
2
2
0
0
2
25,916,171
5,294,862
697,820
4,986
2,351
325
33
2
858
148
190
27
0
0
1970-01-01T00:28:12
33,177
Java
{'Java': 26145871, 'JavaScript': 139972, 'C++': 63113, 'ANTLR': 29768, 'CSS': 20674, 'HTML': 12246, 'XSLT': 8047, 'Batchfile': 2891, 'Shell': 202}
Apache License 2.0
1,658
square/leakcanary/458/449
square
leakcanary
https://github.com/square/leakcanary/issues/449
https://github.com/square/leakcanary/pull/458
https://github.com/square/leakcanary/pull/458
1
fixes
NullPointerException in LeakCanaryInternals.isInServiceProcess()
It looks like ActivityManager.getRunningAppProcesses can return null: http://developer.android.com/reference/android/app/ActivityManager.html#getRunningAppProcesses() LeakCanaryInternals.isInServiceProcess() doesn't seem to check for this case. Stack trace excerpt: java.lang.RuntimeException: Unable to create applic...
462561d249bddf5a28439bc588a7cb026a8425bf
efa41ac38b4fa4d48df06d011730a7ffdc8eb0d0
https://github.com/square/leakcanary/compare/462561d249bddf5a28439bc588a7cb026a8425bf...efa41ac38b4fa4d48df06d011730a7ffdc8eb0d0
diff --git a/leakcanary-android/src/main/java/com/squareup/leakcanary/internal/LeakCanaryInternals.java b/leakcanary-android/src/main/java/com/squareup/leakcanary/internal/LeakCanaryInternals.java index b334079f4..973b1b84d 100644 --- a/leakcanary-android/src/main/java/com/squareup/leakcanary/internal/LeakCanaryInterna...
['leakcanary-android/src/main/java/com/squareup/leakcanary/internal/LeakCanaryInternals.java']
{'.java': 1}
1
1
0
0
1
170,559
37,251
4,662
43
540
112
13
1
1,565
81
361
23
1
0
1970-01-01T00:24:18
28,557
Kotlin
{'Kotlin': 1363625, 'Java': 4762, 'Shell': 481, 'AIDL': 203}
Apache License 2.0
985
alibaba/spring-cloud-alibaba/46/42
alibaba
spring-cloud-alibaba
https://github.com/alibaba/spring-cloud-alibaba/issues/42
https://github.com/alibaba/spring-cloud-alibaba/pull/46
https://github.com/alibaba/spring-cloud-alibaba/pull/46
1
fixes
Setting false on autoRegister of @EnableDiscoveryClient will throw exception and application failed to start
Description: Field nacosRegistration in org.springframework.cloud.alibaba.nacos.NacosDiscoveryClient required a bean of type 'org.springframework.cloud.alibaba.nacos.registry.NacosRegistration' that could not be found. - Bean method 'nacosRegistration' not loaded because @ConditionalOnProperty (spring.cloud.servic...
0f444a40abbe830b108478e9e18f9a74d845f862
27ddaa68a81214832a0351db439eabbef9aed7ec
https://github.com/alibaba/spring-cloud-alibaba/compare/0f444a40abbe830b108478e9e18f9a74d845f862...27ddaa68a81214832a0351db439eabbef9aed7ec
diff --git a/spring-cloud-alibaba-nacos-discovery/src/main/java/org/springframework/cloud/alibaba/nacos/NacosDiscoveryAutoConfiguration.java b/spring-cloud-alibaba-nacos-discovery/src/main/java/org/springframework/cloud/alibaba/nacos/NacosDiscoveryAutoConfiguration.java index 78c7ddcc..6e087422 100644 --- a/spring-clou...
['spring-cloud-alibaba-nacos-discovery/src/test/java/org/springframework/cloud/alibaba/nacos/ribbon/NacosRibbonClientConfigurationTests.java', 'spring-cloud-alibaba-nacos-discovery/src/test/java/org/springframework/cloud/alibaba/nacos/NacosDiscoveryAutoConfigurationTests.java', 'spring-cloud-alibaba-nacos-discovery/src...
{'.java': 10}
10
10
0
0
10
178,400
36,270
5,846
73
5,326
1,079
144
8
449
31
81
4
0
0
1970-01-01T00:25:39
26,133
Java
{'Java': 1218311, 'HTML': 9491, 'Shell': 2729, 'Dockerfile': 1686, 'JavaScript': 860}
Apache License 2.0
564
google/gson/2364/904
google
gson
https://github.com/google/gson/issues/904
https://github.com/google/gson/pull/2364
https://github.com/google/gson/pull/2364
1
fixes
BigDecimal equals problem
Dear developers, it looks like the primitive's equals to did not handle BigDecimal's comparison. The following test will fail: ``` public void testUnequalDecimals() { JsonPrimitive small = new JsonPrimitive(1.0); JsonPrimitive large = new JsonPrimitive(2.0); assertFalse("small = large", small.equal...
051cb43fd9040a432626ef53523f1e7db7ab52c1
3c364b9c945c0e337b51b59fa60fc32355519ed7
https://github.com/google/gson/compare/051cb43fd9040a432626ef53523f1e7db7ab52c1...3c364b9c945c0e337b51b59fa60fc32355519ed7
diff --git a/gson/src/main/java/com/google/gson/JsonPrimitive.java b/gson/src/main/java/com/google/gson/JsonPrimitive.java index 827de959..f143da97 100644 --- a/gson/src/main/java/com/google/gson/JsonPrimitive.java +++ b/gson/src/main/java/com/google/gson/JsonPrimitive.java @@ -290,11 +290,10 @@ public final class Json...
['gson/src/test/java/com/google/gson/JsonPrimitiveTest.java', 'gson/src/main/java/com/google/gson/JsonPrimitive.java']
{'.java': 2}
2
2
0
0
2
703,753
158,568
19,868
100
588
119
9
1
790
84
183
21
0
1
1970-01-01T00:28:00
22,315
Java
{'Java': 1674830}
Apache License 2.0
227
libgdx/libgdx/856/798
libgdx
libgdx
https://github.com/libgdx/libgdx/issues/798
https://github.com/libgdx/libgdx/pull/856
https://github.com/libgdx/libgdx/pull/856
1
fixes
Image are flipped in Particle Editor preview window
To Reproduce: - open particle editor - open any image - image is shown flipped upside down However, when particle is saved then loaded from file image is shown normal. It's also mentioned in this thread: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=3370&p=16574&hilit=particle+flipped#p16574
956c5671356974cab234cc1f8368f1ef583456a5
cf01bc29946f1b3bd9ab3e4f1c6f99078944da02
https://github.com/libgdx/libgdx/compare/956c5671356974cab234cc1f8368f1ef583456a5...cf01bc29946f1b3bd9ab3e4f1c6f99078944da02
diff --git a/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/EffectPanel.java b/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/EffectPanel.java index 04fa9b42d..9cb496f2f 100644 --- a/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/EffectPanel.java +++ b/extensions/gdx-tool...
['extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/EffectPanel.java']
{'.java': 1}
1
1
0
0
1
10,173,648
2,601,633
291,201
1,754
67
19
2
1
305
37
79
10
1
0
1970-01-01T00:23:02
21,772
Java
{'Java': 15083440, 'C++': 10753718, 'C': 1692234, 'SWIG': 162005, 'GLSL': 124461, 'CSS': 58715, 'Assembly': 53505, 'CMake': 31706, 'Ragel': 30666, 'OpenEdge ABL': 17727, 'Lua': 1682, 'HTML': 1193, 'Shell': 1102}
Apache License 2.0
3,484
apache/shardingsphere/2352/2343
apache
shardingsphere
https://github.com/apache/shardingsphere/issues/2343
https://github.com/apache/shardingsphere/pull/2352
https://github.com/apache/shardingsphere/pull/2352
1
fixes
Sharding-proxy Query result :extraneous data in "D" message ,reason: have chinese
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/sharding-sphere/sharding-sphere/issues). - Read documentation: [ShardingSphere Doc](http://shardingsphere.io/document/current/en/overview/...
6c49107d434c31e5f95365bb1bfcbcd52f7f4585
a4adf6df82926c267a74fb287249106a9582715d
https://github.com/apache/shardingsphere/compare/6c49107d434c31e5f95365bb1bfcbcd52f7f4585...a4adf6df82926c267a74fb287249106a9582715d
diff --git a/sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/text/PostgreSQLDataRowPacket.java b/sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-postgresql/src/main/java/org/apach...
['sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/text/PostgreSQLDataRowPacket.java']
{'.java': 1}
1
1
0
0
1
3,278,405
662,802
82,927
1,137
130
18
2
1
1,243
169
277
28
2
0
1970-01-01T00:25:57
18,658
Java
{'Java': 22772685, 'ANTLR': 1011078, 'FreeMarker': 120878, 'Shell': 14522, 'Dockerfile': 13922, 'Batchfile': 3214}
Apache License 2.0
3,494
apache/shardingsphere/1987/1985
apache
shardingsphere
https://github.com/apache/shardingsphere/issues/1985
https://github.com/apache/shardingsphere/pull/1987
https://github.com/apache/shardingsphere/pull/1987
1
fixes
Exception fired during concurrently query
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/sharding-sphere/sharding-sphere/issues). - Read documentation: [ShardingSphere Doc](http://shardingsphere.io/document/current/en/overview/...
9494940d8f0460c782331abb6117eba90ba3fd11
18f80bbbe4d12cd8a47267647fd68cf9d5f2b15e
https://github.com/apache/shardingsphere/compare/9494940d8f0460c782331abb6117eba90ba3fd11...18f80bbbe4d12cd8a47267647fd68cf9d5f2b15e
diff --git a/sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/connection/BackendConnection.java b/sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/connection/BackendConnection.java...
['sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/connection/ConnectionStateHandler.java', 'sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-core/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/command/CommandExecutorTas...
{'.java': 4}
4
4
0
0
4
3,235,152
653,522
81,725
1,093
387
77
6
3
6,095
257
1,317
100
2
0
1970-01-01T00:25:51
18,658
Java
{'Java': 22772685, 'ANTLR': 1011078, 'FreeMarker': 120878, 'Shell': 14522, 'Dockerfile': 13922, 'Batchfile': 3214}
Apache License 2.0
120
ibotpeaches/apktool/1570/1564
ibotpeaches
apktool
https://github.com/iBotPeaches/Apktool/issues/1564
https://github.com/iBotPeaches/Apktool/pull/1570
https://github.com/iBotPeaches/Apktool/pull/1570
1
fixes
Could not decode res(arsc)
### Information 1. **Apktool Version (`2.2.3`)** - 2. **Operating System (Windows)** - 3. **APK From? I don't know.** - ### Stacktrace/Logcat ``` I: Using Apktool 2.2.3 on test.zip I: Loading resource table... W: null Exception in thread "main" java.lang.NullPointerException at brut.androlib.res.dat...
ad59fdd378fe56fb108a53be2a89c9c05b1018d1
15bc16c6bd40eec1ce5de6177fa178675ac5b9fa
https://github.com/ibotpeaches/apktool/compare/ad59fdd378fe56fb108a53be2a89c9c05b1018d1...15bc16c6bd40eec1ce5de6177fa178675ac5b9fa
diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java index c8d30b85..e3db655f 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java ...
['brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java']
{'.java': 1}
1
1
0
0
1
474,222
106,474
13,907
97
92
20
3
1
1,706
85
465
37
1
1
1970-01-01T00:25:01
16,931
Java
{'Java': 703364, 'Kotlin': 10370, 'Shell': 4847, 'Smali': 3679, 'Batchfile': 1154}
Apache License 2.0
8,685
appium/appium/1145/1140
appium
appium
https://github.com/appium/appium/issues/1140
https://github.com/appium/appium/pull/1145
https://github.com/appium/appium/pull/1145
1
fix
catch NullPointerExceptions instead of crashing
As reported on the mailing list: ``` info: [ADB STDOUT] java.lang.NullPointerException info: [ADB STDOUT] at io.appium.android.bootstrap.handler.Click.execute(Click.java:42) ``` The server methods should never crash on a NullPointerException. The fix is to add NullPointerException to the existing try/catch blocks on ...
868a3202bfe7c99966c9760dde4c0b12780cd95b
935e12bf6fae07eccdf3ed4970eca771376950c0
https://github.com/appium/appium/compare/868a3202bfe7c99966c9760dde4c0b12780cd95b...935e12bf6fae07eccdf3ed4970eca771376950c0
diff --git a/android/bootstrap/src/io/appium/android/bootstrap/handler/Clear.java b/android/bootstrap/src/io/appium/android/bootstrap/handler/Clear.java index 095b19255..a8871bdf1 100644 --- a/android/bootstrap/src/io/appium/android/bootstrap/handler/Clear.java +++ b/android/bootstrap/src/io/appium/android/bootstrap/ha...
['android/bootstrap/src/io/appium/android/bootstrap/handler/SetAttribute.java', 'android/bootstrap/src/io/appium/android/bootstrap/handler/Drag.java', 'android/bootstrap/src/io/appium/android/bootstrap/handler/GetName.java', 'android/bootstrap/src/io/appium/android/bootstrap/handler/GetSize.java', 'android/bootstrap/sr...
{'.java': 11}
11
11
0
0
11
121,861
26,622
3,916
52
1,678
333
32
11
335
40
70
9
0
1
1970-01-01T00:22:58
16,649
JavaScript
{'JavaScript': 1508008, 'TypeScript': 514934, 'Java': 28622, 'C#': 18579, 'HTML': 15974, 'Shell': 13107, 'RobotFramework': 7582, 'Handlebars': 2875, 'Python': 783, 'Ruby': 680, 'CSS': 122}
Apache License 2.0
8,687
appium/appium/1104/1100
appium
appium
https://github.com/appium/appium/issues/1100
https://github.com/appium/appium/pull/1104
https://github.com/appium/appium/pull/1104
2
fix
Android button click returns false on success
When clicking a button on Android, uiautomator always returns false even though it was a successful click. Other buttons return the expected `true` value when clicked.
88f8bb47d82cacde31a2344808d31a0ce51a52f5
6844140adfe04167bee66dd27b196e8b2fc8e909
https://github.com/appium/appium/compare/88f8bb47d82cacde31a2344808d31a0ce51a52f5...6844140adfe04167bee66dd27b196e8b2fc8e909
diff --git a/android/bootstrap/src/io/appium/android/bootstrap/handler/Click.java b/android/bootstrap/src/io/appium/android/bootstrap/handler/Click.java index ee0e21e6d..599184020 100644 --- a/android/bootstrap/src/io/appium/android/bootstrap/handler/Click.java +++ b/android/bootstrap/src/io/appium/android/bootstrap/ha...
['android/bootstrap/src/io/appium/android/bootstrap/handler/Click.java']
{'.java': 1}
1
1
0
0
1
121,880
26,626
3,916
52
140
26
4
1
168
26
34
2
0
0
1970-01-01T00:22:58
16,649
JavaScript
{'JavaScript': 1508008, 'TypeScript': 514934, 'Java': 28622, 'C#': 18579, 'HTML': 15974, 'Shell': 13107, 'RobotFramework': 7582, 'Handlebars': 2875, 'Python': 783, 'Ruby': 680, 'CSS': 122}
Apache License 2.0
988
williamfiset/algorithms/98/59
williamfiset
algorithms
https://github.com/williamfiset/Algorithms/issues/59
https://github.com/williamfiset/Algorithms/pull/98
https://github.com/williamfiset/Algorithms/pull/98
1
solved
Cut polygon additional points
The [cut polygon](https://github.com/williamfiset/Algorithms/blob/master/Geometry/ConvexPolygonCutWithLineSegment.java) snippet seems to provide additional points when a cut operation is performed which probably shouldn't be there. For example, when the following runs the additional point (2,2) appears out of nowhe...
dcf94d6cef0100a83acab2349a4ca9194d7056ba
2e4f2521663be0fd068ebdae4c313b35a5cc178e
https://github.com/williamfiset/algorithms/compare/dcf94d6cef0100a83acab2349a4ca9194d7056ba...2e4f2521663be0fd068ebdae4c313b35a5cc178e
diff --git a/com/williamfiset/algorithms/geometry/ConvexPolygonCutWithLineSegment.java b/com/williamfiset/algorithms/geometry/ConvexPolygonCutWithLineSegment.java index cc75a61..df72ad7 100644 --- a/com/williamfiset/algorithms/geometry/ConvexPolygonCutWithLineSegment.java +++ b/com/williamfiset/algorithms/geometry/Conv...
['com/williamfiset/algorithms/geometry/ConvexPolygonCutWithLineSegment.java']
{'.java': 1}
1
1
0
0
1
763,745
213,584
26,065
197
2,093
644
66
1
1,140
141
357
31
1
1
1970-01-01T00:26:11
15,090
Java
{'Java': 1436763, 'JavaScript': 9310, 'Kotlin': 2635, 'Python': 755}
MIT License
187
prestodb/presto/6427/6379
prestodb
presto
https://github.com/prestodb/presto/issues/6379
https://github.com/prestodb/presto/pull/6427
https://github.com/prestodb/presto/pull/6427
1
fixes
Incorrect results when GROUPING SETS refer to columns derived from same column
This query: ``` sql WITH t (v) AS (VALUES 1, 2), u (v1, v2) AS (SELECT v v1, v v2 FROM t) SELECT v1, v2 FROM u GROUP BY GROUPING SETS ((v1), (v2)) ``` incorrectly produces: ``` v1 | v2 ----+---- 1 | 1 2 | 2 1 | 1 2 | 2 (4 rows) ``` The expected result is: ``` v1 | v2 ------+------ 1 | NU...
fa726a95f9f279df415275ae66b90ad8252dae07
8548ba813f2d426911062e59efa079ed296d44a6
https://github.com/prestodb/presto/compare/fa726a95f9f279df415275ae66b90ad8252dae07...8548ba813f2d426911062e59efa079ed296d44a6
diff --git a/presto-main/src/main/java/com/facebook/presto/operator/GroupIdOperator.java b/presto-main/src/main/java/com/facebook/presto/operator/GroupIdOperator.java index 18653de108..30588fe289 100644 --- a/presto-main/src/main/java/com/facebook/presto/operator/GroupIdOperator.java +++ b/presto-main/src/main/java/com...
['presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/StreamPropertyDerivations.java', 'presto-main/src/main/java/com/facebook/presto/sql/planner/plan/ChildReplacer.java', 'presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java', 'presto-main/src/main/java/com/facebook/presto/...
{'.java': 16}
16
16
0
0
16
13,206,161
2,625,166
367,003
2,655
33,178
6,037
506
14
375
80
171
35
0
3
1970-01-01T00:24:37
14,935
Java
{'Java': 53409077, 'C++': 959227, 'JavaScript': 286856, 'Shell': 61154, 'Roff': 52281, 'Python': 39357, 'ANTLR': 33548, 'CMake': 33259, 'HTML': 29601, 'CSS': 28319, 'Mustache': 17803, 'Makefile': 17213, 'Thrift': 14675, 'NASL': 13553, 'Dockerfile': 8372, 'Batchfile': 795, 'PLSQL': 85}
Apache License 2.0
191
prestodb/presto/6208/6196
prestodb
presto
https://github.com/prestodb/presto/issues/6196
https://github.com/prestodb/presto/pull/6208
https://github.com/prestodb/presto/pull/6208
1
fixes
Deadlock in task info fetching
Hit this one in production. Suddenly all queries get queued and all clients start timing out. [Here](https://gist.githubusercontent.com/nezihyigitbasi/108b844625d69de66bd8d74e427ea876/raw/c22dc663517fa991b87c162de2b387c0e8af0d69/presto-stack) is the full stack trace. ``` Found one Java-level deadlock: ================...
e5dbe7ca1cb519f50a7b13fc1a775e5ba966ab89
72d65cdc4485c788e13647cf2fbca9ff867fd731
https://github.com/prestodb/presto/compare/e5dbe7ca1cb519f50a7b13fc1a775e5ba966ab89...72d65cdc4485c788e13647cf2fbca9ff867fd731
diff --git a/presto-main/src/main/java/com/facebook/presto/server/remotetask/ContinuousTaskStatusFetcher.java b/presto-main/src/main/java/com/facebook/presto/server/remotetask/ContinuousTaskStatusFetcher.java index 77d8dacfeb..12bedf066c 100644 --- a/presto-main/src/main/java/com/facebook/presto/server/remotetask/Conti...
['presto-main/src/main/java/com/facebook/presto/server/remotetask/ContinuousTaskStatusFetcher.java']
{'.java': 1}
1
1
0
0
1
12,693,049
2,519,379
352,796
2,569
108
19
2
1
13,128
403
3,208
152
1
1
1970-01-01T00:24:35
14,935
Java
{'Java': 53409077, 'C++': 959227, 'JavaScript': 286856, 'Shell': 61154, 'Roff': 52281, 'Python': 39357, 'ANTLR': 33548, 'CMake': 33259, 'HTML': 29601, 'CSS': 28319, 'Mustache': 17803, 'Makefile': 17213, 'Thrift': 14675, 'NASL': 13553, 'Dockerfile': 8372, 'Batchfile': 795, 'PLSQL': 85}
Apache License 2.0
End of preview. Expand in Data Studio

BenchName (Bug localization)

This is the benchmark for the Bug localization task as part of the BenchName benchmark.

The bug localization problem can be formulated as follows: given an issue with a bug description and a repository snapshot in a state where the bug is reproducible, identify the files within the repository that need to be modified to address the reported bug.

The dataset provides all the required components for evaluation of bug localization approaches in real project-level large-scale data collected from GitHub, including:

  • Bug issue description;
  • Repositories, from which the content can be extracted at the state of the commit SHA where the bug is reproducible;
  • List of files that should be changed in order to solve the bug;
  • Other additional data and metrics that can be useful in developing new approaches.

All the repositories are published under permissive licenses (MIT, Apache-2.0, BSD-3-Clause, and BSD-2-Clause). The datapoints can be removed upon request.

The collected dataset was carefully filtered, enhanced with useful metrics and, what's more, manually labeled, which assures the data quality and provides a golden subset of good examples for evaluation.
Moreover, the dataset was split into several categories, namely:

Category Description Number of data points
py Only .py files in changes 4,339
java Only .java files in changes 2,522
kt Only .kt files in changes 618

...and splits, namely:

Split Description
dev All collected datapoints
test Manually verified datapoints
train Rest of the datapoint from dev without test

The results of evaluation of various bug localization approaches can be found in the BenchName leaderboard.

The following sections describe the utilities around the dataset, as well as dataset content.

How-to

  • Load the data via load_dataset:

    from datasets import load_dataset
    
    # Select a configuration from ["py", "java", "kt"]
    configuration = "py"
    # Select a split from ["dev", "train", "test"]
    split = "dev"
    # Load data
    dataset = load_dataset("icmlbenchname/bug-localization", configuration, split=split)  
    
  • Load repos via hf_hub_download:

    from huggingface_hub import hf_hub_download
    from datasets import load_dataset
    import zipfile
    import os
    
    # Load json with list of repos' .tar.gz file paths
    paths_json = load_dataset("icmlbenchname/bug-localization", data_files="repos.json")
    
    # Load each repo in .tar.gz format, unzip, delete archive
    repos = paths_json[configuration][0]
    repos_path = "path/to/repos"
    
    for i, repo_zip_path in enumerate(repos):
        repo_name = os.path.basename(repo_zip_path).split('.')[0]
        repo_path = os.path.join(repos_path, repo_name)
    
        # Load repo zip
        local_repo_zip_path = hf_hub_download(
            "icmlbenchname/bug-localization",
            filename=repo_zip_path,
            repo_type="dataset",
            local_dir="path/to/zips"
        )
    
        # Unzip repo
        with zipfile.ZipFile(local_repo_zip_path, 'r') as zip_ref:
            zip_ref.extractall(repo_path)
        os.remove(local_repo_zip_path)
    
  • Data streaming via HFDataSource. Besides data loading, HFDataSource returns a datapoint for running the baseline along with the content of the repository at the state where the bug is reproducible (aka base_sha commit of the pull request that resloves the bug issue).
    All source code for working with the Git history of repositories (commits, diffs, etc.) is available in git_utils.py, as is an example of baselines, utilizing this dataset.

Bug localization data

Each datapoint contains the main fields, as well as additional metrics calculated on them.
The main fields are:

Field Description
repo_owner Owner of the repository with the bug issue.
repo_name Name of the repository with the bug issue.
issue_url GitHub link to the issue
https://github.com/{repo_owner}/{repo_name}/issues/{issue_id}.
pull_url GitHub link to the pull request
https://github.com/{repo_owner}/{repo_name}/pull/{pull_id}.
comment_url GitHub link to the comment with a reference from pull request to issue
https://github.com/{repo_owner}/{repo_name}/pull/{pull_id}#issuecomment-{comment_id}.
issue_title Issue title.
issue_body Issue body.
base_sha Base SHA of the pull request.
head_sha Head SHA of the pull request.
diff_url Link to the diff between the base and the head SHA
https://github.com/{repo_owner}/{repo_name}/compare/{base_sha}...{head_sha}.
diff Content of the diff.
pull_create_at Date of pull request creation in the yyyy-mm-ddThh:mm:ssZ format.
repo_stars Number of stars of the repo.
changed_files* List of the changed files parsed from diff.
repo_language Main programming language used in the repository.
repo_languages All programming languages used in the repository.
repo_license License assigned to the repository.

* Excluding test files that do not contain bug causes, rather changed in order to add tests for proving that the bug is gone.

The metrics-related fields are:

Field Description
changed_files_exts Dictionary from the extension of changed files to their count.
changed_files_count Number of changed files.
java_changed_files_count Number of changed .java files.
kt_changed_files_count Number of changed .kt files.
py_changed_files_count Number of changed .py files.
code_changed_files_count Number of changed .java, .kt, or .py files.
repo_symbols_count* Number of symbols in the repository.
repo_tokens_count* Number of tokens** in the files of the repository.
repo_lines_count* Number of lines in the files of the repository.
repo_files_without_tests_count* Number of files in the repository.
changed_symbols_count* Number of symbols in the changed lines in diff.
changed_tokens_count* Number of tokens** in the changed lines in diff.
changed_lines_count* Number of changed lines in diff (including added and deleted).
changed_files_without_tests_count* Number of files in diff.
issue_symbols_count* Number of symbols in the issue body.
issue_words_count* Number of words in the issue body (separated by space symbols).
issue_tokens_count* Number of tokens** in the issue body.
issue_lines_count* Number of text lines in the issue body (separated by \\n).
issue_links_count Number of links ([...](...)) present in the issue body.
issue_code_blocks_count Number of code blocks (```...```) present in the issue body.

* Excluding test files that do not contain bug causes, rather changed in order to add tests for proving that the bug is gone.
** Using GPT-4 tokenizer via ticktoken.

Downloads last month
10

Space using icmlbenchname/bug-localization 1

Collection including icmlbenchname/bug-localization