hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
88b85c9761b0334208606fecdb2ceff507c375ed | diff --git a/src/Executor/ExecutionResult.php b/src/Executor/ExecutionResult.php
index <HASH>..<HASH> 100644
--- a/src/Executor/ExecutionResult.php
+++ b/src/Executor/ExecutionResult.php
@@ -54,13 +54,13 @@ class ExecutionResult implements \JsonSerializable
{
$result = [];
- if (null !== $this->d... | Make 'errors' top property in response array | webonyx_graphql-php | train | php |
29281b5104e58468ab35bb95ee3626a8741cb8cb | diff --git a/lib/gn_crossmap/resolver.rb b/lib/gn_crossmap/resolver.rb
index <HASH>..<HASH> 100644
--- a/lib/gn_crossmap/resolver.rb
+++ b/lib/gn_crossmap/resolver.rb
@@ -52,7 +52,7 @@ module GnCrossmap
names.split("\n").each do |name|
begin
res = RestClient.post(URL, data: name, data_source_... | fix #<I> bug, breaking in single name mode | GlobalNamesArchitecture_gn_crossmap | train | rb |
ae5a9c1f167435f8718803d4b0cc167003e036a5 | diff --git a/test/assets/values/rulesFile.js b/test/assets/values/rulesFile.js
index <HASH>..<HASH> 100644
--- a/test/assets/values/rulesFile.js
+++ b/test/assets/values/rulesFile.js
@@ -1 +1,3 @@
-rules.push('rf1.w2.org file://{test.json}');
\ No newline at end of file
+if (isLocalAddress()) {
+ rules.push('rf1.w2.or... | test: isLocalAddress | avwo_whistle | train | js |
39041ad08de58149a0974b25c4d29728aa050baf | diff --git a/test/position/bk-test.js b/test/position/bk-test.js
index <HASH>..<HASH> 100644
--- a/test/position/bk-test.js
+++ b/test/position/bk-test.js
@@ -159,6 +159,28 @@ describe("position/bk", function() {
});
});
+ it("aligns correctly even regardless of node name / insertion order", function()... | Add test for insertion-independence in verticalAlignment | dagrejs_dagre | train | js |
803b58c1d8e543a528d181b26c24a584be6056c7 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -35,7 +35,7 @@ betterThanBefore.setups([
'BREAKING CHANGE: The Change is huge.',
])
gitDummyCommit([':hammer:(ngOptions) make it faster', ' closes #1, #2'])
- gitDummyCommi... | :rotating_light: Use new commit emoji in tests | stormwarning_zazen-conventional-changelog | train | js |
247eb32d971ac85868cf926cbe8bb27c7b0b0f54 | diff --git a/gtkmvco/tests/autoconnect.py b/gtkmvco/tests/autoconnect.py
index <HASH>..<HASH> 100644
--- a/gtkmvco/tests/autoconnect.py
+++ b/gtkmvco/tests/autoconnect.py
@@ -4,7 +4,7 @@ the program.
This tests recognizing handlers by name instead of defining them in Glade.
-TODO unittest, class attribute
+TODO au... | TESTS work around overly simple all.py | roboogle_gtkmvc3 | train | py |
8e7798a07a924ad3b6bf2ea48d88856a834ea187 | diff --git a/ediblepickle.py b/ediblepickle.py
index <HASH>..<HASH> 100644
--- a/ediblepickle.py
+++ b/ediblepickle.py
@@ -23,21 +23,19 @@ import time
__author__ = 'pavan.mnssk@gmail.com'
+# Unfinished feature.
+# def _modification_time(cache_file):
+#
+# creation_time = os.path.getctime(cache_file)
+# mod... | commented some partially finished feature for the next version | mpavan_ediblepickle | train | py |
4b836f1fd523344b25a40b30701b3c695c8dffdd | diff --git a/bcbio/variation/population.py b/bcbio/variation/population.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/population.py
+++ b/bcbio/variation/population.py
@@ -72,7 +72,9 @@ def create_gemini_db(gemini_vcf, data, gemini_db=None, ped_file=None):
# Apply custom resource specifications, all... | Ensure parallel GEMINI uses bcbio installed tools #<I> | bcbio_bcbio-nextgen | train | py |
005d0da87c5a3cdff70054998a5f27ec0026116c | diff --git a/salt/states/group.py b/salt/states/group.py
index <HASH>..<HASH> 100644
--- a/salt/states/group.py
+++ b/salt/states/group.py
@@ -1,10 +1,28 @@
'''
-State enforcement for groups
+Group Management
+================
+
+The group module is used to create and manage unix group settings, groups
+can be either ... | Add doctrings to group state | saltstack_salt | train | py |
3cacaf5c4f3680dc70390ff11fd050816103651e | diff --git a/lib/fluent/plugin/out_forward.rb b/lib/fluent/plugin/out_forward.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/out_forward.rb
+++ b/lib/fluent/plugin/out_forward.rb
@@ -1081,8 +1081,9 @@ module Fluent::Plugin
end
if block_given?
+ ret = nil
begin
- ... | Respect the response from block
If keepalive, #connect always returns integer returned by L<I> | fluent_fluentd | train | rb |
56c9183f4ec9d46c955684ed06865764344756c8 | diff --git a/tests/test-rest-taxonomies-controller.php b/tests/test-rest-taxonomies-controller.php
index <HASH>..<HASH> 100644
--- a/tests/test-rest-taxonomies-controller.php
+++ b/tests/test-rest-taxonomies-controller.php
@@ -59,7 +59,7 @@ class WP_Test_REST_Taxonomies_Controller extends WP_Test_REST_Controller_Testca... | Reverse order of arguments in assertEquals call for consistency | WP-API_WP-API | train | php |
8915c410cb8d6b177bfc772256741af75e87c783 | diff --git a/src/wavesurfer.js b/src/wavesurfer.js
index <HASH>..<HASH> 100644
--- a/src/wavesurfer.js
+++ b/src/wavesurfer.js
@@ -129,17 +129,16 @@ var WaveSurfer = {
mark.remove();
}
});
-
- // Clear selection on canvas dble click
- this.drawer.on('drag-cle... | double click on marker handler to delete it | katspaugh_wavesurfer.js | train | js |
41d175564bec26e4c3377a2fff75222be8ed3565 | diff --git a/IndexedRedis/__init__.py b/IndexedRedis/__init__.py
index <HASH>..<HASH> 100644
--- a/IndexedRedis/__init__.py
+++ b/IndexedRedis/__init__.py
@@ -21,6 +21,7 @@ from QueryableList import QueryableListObjs
__all__ = ('INDEXED_REDIS_PREFIX', 'INDEXED_REDIS_VERSION', 'INDEXED_REDIS_VERSION_STR',
'IndexedRe... | Add IRField to __all__ | kata198_indexedredis | train | py |
ae5c3ab86a7468ef0f1ea94d23cfaa1a843f6253 | diff --git a/lib/auth.strategies/google2.js b/lib/auth.strategies/google2.js
index <HASH>..<HASH> 100644
--- a/lib/auth.strategies/google2.js
+++ b/lib/auth.strategies/google2.js
@@ -16,6 +16,7 @@ module.exports= function(options, server) {
my._redirectUri= options.callback;
my.scope= options.scope || "https://ww... | allow forcing the display of the OAuth approval screen
as per <URL>, is to force the user to re-approve the app. This commit adds the optional "forceApproval" option. If present and is true, it will trigger the display of the approval prompt to the user. | ciaranj_connect-auth | train | js |
72be0a72f40ce0cec6b40bff16fe69a5a4fa44ef | diff --git a/src/Engines/DatabaseEngine.php b/src/Engines/DatabaseEngine.php
index <HASH>..<HASH> 100644
--- a/src/Engines/DatabaseEngine.php
+++ b/src/Engines/DatabaseEngine.php
@@ -107,7 +107,7 @@ class DatabaseEngine extends Engine implements PaginatesEloquentModels
{
return $this->buildSearchQuery($bu... | Remove redundant 'return' key like for all 'when' methods for database engine (#<I>) | laravel_scout | train | php |
27c17c45fb673d642f7e6f30a91ba115579ad37a | diff --git a/tests/Keboola/StorageApi/EventsTest.php b/tests/Keboola/StorageApi/EventsTest.php
index <HASH>..<HASH> 100644
--- a/tests/Keboola/StorageApi/EventsTest.php
+++ b/tests/Keboola/StorageApi/EventsTest.php
@@ -124,12 +124,15 @@ class Keboola_StorageApi_EventsTest extends StorageApiTestCase
{
$id = $this->... | tests: events test more stable, wait for elasticsearch refresh | keboola_storage-api-php-client | train | php |
83dc2a6437887182490912d58872e74edd6ba055 | diff --git a/ocLazyLoad.js b/ocLazyLoad.js
index <HASH>..<HASH> 100644
--- a/ocLazyLoad.js
+++ b/ocLazyLoad.js
@@ -155,7 +155,7 @@
return {
link: function(scope, element, attr) {
var childScope;
- var onloadExp = attr.onload || '';
+ var onloadExp = scope.$eval(attr.ocLazyLoad).onload || '';
... | Fix the bug on the onload expression | ocombe_ocLazyLoad | train | js |
9b7a6ac3ba79a03954d7ad8e731409c86258a932 | diff --git a/lib/rake_compiler_dock/docker_check.rb b/lib/rake_compiler_dock/docker_check.rb
index <HASH>..<HASH> 100644
--- a/lib/rake_compiler_dock/docker_check.rb
+++ b/lib/rake_compiler_dock/docker_check.rb
@@ -70,12 +70,17 @@ module RakeCompilerDock
@doma_version_status == 0 && @doma_version_text =~ /versio... | Only pass proxy vars through to docker, if they are set. | rake-compiler_rake-compiler-dock | train | rb |
37e8cb73da9ab856eaf9dd640352ae1f22b2c41c | diff --git a/codegen/src/main/java/io/sundr/codegen/functions/ClassTo.java b/codegen/src/main/java/io/sundr/codegen/functions/ClassTo.java
index <HASH>..<HASH> 100644
--- a/codegen/src/main/java/io/sundr/codegen/functions/ClassTo.java
+++ b/codegen/src/main/java/io/sundr/codegen/functions/ClassTo.java
@@ -266,7 +266,10... | chore: hide output related to processing internal jdk types | sundrio_sundrio | train | java |
43cd4491e03e83319d67c92bc6abd4ab8fd4dbc5 | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -23,7 +23,7 @@ import (
)
// Version is the FDK version
-const Version = "0.0.10"
+const Version = "0.0.11"
var versionHeader = fmt.Sprintf("fdk-go/%s", Version)
var runtimeHeader = fmt.Sprintf("go/%s", strings... | Releasing version <I> | fnproject_fdk-go | train | go |
af6aebf976615a64b624f556a3d31ac1c2bcb710 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -21,10 +21,7 @@ module.exports = function () {
list.players = []
list.update = browser.update.bind(browser)
- list.destroy = function () {
- browser.stop()
- bonjour.destroy()
- }
+ list.destroy = bonjour.dest... | No need to stop the Bonjour browser when it's destroyed | watson_airplayer | train | js |
72ed1ae0c3d526a9fc5c765b2bf5f4737aab163c | diff --git a/view/frontend/web/js/view/payment/utilities.js b/view/frontend/web/js/view/payment/utilities.js
index <HASH>..<HASH> 100755
--- a/view/frontend/web/js/view/payment/utilities.js
+++ b/view/frontend/web/js/view/payment/utilities.js
@@ -68,17 +68,21 @@ define(
* @return {mixed} The billing addr... | Fixed a js error with card payments when shipping is disabled | checkout_checkout-magento2-plugin | train | js |
89dc3b88d1f8e878a08e485ee8f1eaf0e918abae | diff --git a/public/app/features/dashboard/timeSrv.js b/public/app/features/dashboard/timeSrv.js
index <HASH>..<HASH> 100644
--- a/public/app/features/dashboard/timeSrv.js
+++ b/public/app/features/dashboard/timeSrv.js
@@ -13,7 +13,7 @@ define([
module.service('timeSrv', function($rootScope, $timeout, $routeParams, ... | fix(test): fixed failing test caused by recent change | grafana_grafana | train | js |
2c15de01cb1d4482fce18e1278b6ff7e4bd094ff | diff --git a/api/src/main/java/org/jfrog/artifactory/client/RepositoryHandle.java b/api/src/main/java/org/jfrog/artifactory/client/RepositoryHandle.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/org/jfrog/artifactory/client/RepositoryHandle.java
+++ b/api/src/main/java/org/jfrog/artifactory/client/RepositoryH... | Fix #<I>: add throws clause for checked exception
RepositoryHandle#isFolder throws checked IOException without declaring,
resulting in a compile error when the client code tries to handle it. | jfrog_artifactory-client-java | train | java |
d51c29b5346ee8174f428a1f5af852ceb82b4006 | diff --git a/lib/post_data.js b/lib/post_data.js
index <HASH>..<HASH> 100644
--- a/lib/post_data.js
+++ b/lib/post_data.js
@@ -139,7 +139,7 @@ MattermostDataPostHandler.prototype.postData = function(data) {
attachment = {
room: recipient,
- content.attachments ? content.attachments : content,
+... | Updated code for button attachment
Modified the code for button attachments | StackStorm_hubot-stackstorm | train | js |
068bb667bd0e1e46ef9af771039a60dbfa52f9fa | diff --git a/geomdl/visualization/VisPlotly.py b/geomdl/visualization/VisPlotly.py
index <HASH>..<HASH> 100644
--- a/geomdl/visualization/VisPlotly.py
+++ b/geomdl/visualization/VisPlotly.py
@@ -320,21 +320,22 @@ class VisSurface(Abstract.VisAbstractSurf):
# Plot evaluated points
if plot['ty... | Plotly surface vis module now uses triangulated mesh plots | orbingol_NURBS-Python | train | py |
d687cfc6eaece3580bcffb8da26e2127c3aab33b | diff --git a/pac4j-core/src/main/java/org/pac4j/core/profile/ProfileHelper.java b/pac4j-core/src/main/java/org/pac4j/core/profile/ProfileHelper.java
index <HASH>..<HASH> 100644
--- a/pac4j-core/src/main/java/org/pac4j/core/profile/ProfileHelper.java
+++ b/pac4j-core/src/main/java/org/pac4j/core/profile/ProfileHelper.ja... | Merge branch 'master' into generic-jwts
# Conflicts:
# pac4j-jwt/src/main/java/org/pac4j/jwt/credentials/authenticator/JwtAuthenticator.java | pac4j_pac4j | train | java |
4de79ed7143330400dc07992931ea101f72af9db | diff --git a/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/BigtableSession.java b/bigtable-client-core-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/BigtableSession.java
index <HASH>..<HASH> 100644
--- a/bigtable-client-core-parent/bigtable-clie... | Changed Throwable logs to debug level to reduce unwanted logs in build (#<I>) | googleapis_cloud-bigtable-client | train | java |
3862c3799c8d135c9bca3f8d373cb764ba0b13e4 | diff --git a/rundeckapp/src/java/com/dtolabs/rundeck/RunServer.java b/rundeckapp/src/java/com/dtolabs/rundeck/RunServer.java
index <HASH>..<HASH> 100644
--- a/rundeckapp/src/java/com/dtolabs/rundeck/RunServer.java
+++ b/rundeckapp/src/java/com/dtolabs/rundeck/RunServer.java
@@ -114,6 +114,7 @@ public class RunServer {
... | set callbackHandlerClass for JAASUserRealm to quell warning
[#<I> state:resolved] | rundeck_rundeck | train | java |
6560427bdec23e26b67f74c2574ccdbf5833beba | diff --git a/src/Visitor/ElasticsearchVisitor.php b/src/Visitor/ElasticsearchVisitor.php
index <HASH>..<HASH> 100644
--- a/src/Visitor/ElasticsearchVisitor.php
+++ b/src/Visitor/ElasticsearchVisitor.php
@@ -220,8 +220,20 @@ class ElasticsearchVisitor implements Visitor
]);
});
+ $this->se... | Add = and match_all operators for elasticsearch | K-Phoen_rulerz | train | php |
efd000f94d5d5f0e2fac97e232b47b5d5906eaa5 | diff --git a/swampyer/__init__.py b/swampyer/__init__.py
index <HASH>..<HASH> 100644
--- a/swampyer/__init__.py
+++ b/swampyer/__init__.py
@@ -167,7 +167,7 @@ class WAMPClient(threading.Thread):
# so we ensure we use http or https appropriately depending on the
# ws or wss protocol
if m and m... | fix origin url in ssl options when port is specified | zabertech_python-swampyer | train | py |
89102ca80ca6ab20919a55bfd10d9c389112dcb3 | diff --git a/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java b/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java
index <HASH>..<HASH> 100644
--- a/parquet-column/src/main/java/org/apache/parquet/internal/column/columni... | PARQUET-<I>: Fix typo in ColumnIndexBase toString (#<I>) | apache_parquet-mr | train | java |
e00e5351154da4db1f03562bbac690fad87826a3 | diff --git a/examples/server.py b/examples/server.py
index <HASH>..<HASH> 100644
--- a/examples/server.py
+++ b/examples/server.py
@@ -139,7 +139,9 @@ class ServerHandler(BaseHTTPRequestHandler):
identity, trust_root = \
self.server.openid.getAuthenticationData(self.query)
- identit... | [project @ shorten a long line] | openid_python-openid | train | py |
bcf7279f17fe23c1841099a5878d733aeb3afcf7 | diff --git a/test/unit/mirror_data_test.rb b/test/unit/mirror_data_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/mirror_data_test.rb
+++ b/test/unit/mirror_data_test.rb
@@ -197,6 +197,18 @@ class MirrorDataTest < Test::Unit::TestCase
OfflineMirror::MirrorData.new(@offline_group, "FOO BAR BLAH").load_upward... | Testing that MirrorData::load_* methods only usable in correct app mode | DavidMikeSimon_offroad | train | rb |
99ce455c35b37dab22a5b22da2dfeb72cfb771e5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,11 +2,11 @@
var isInteger = require('is-integer')
-module.exports = function parseIntStrict (int) {
- if (typeof int === 'number') {
- return isInteger(int) ? int : undefined
+module.exports = function parseIntStri... | Replace "int" variable name with "integer"
Some compilers break because int is a reserved (unused) word in JS
Closes #1, Closes #2 | bendrucker_parse-int | train | js |
ea76ee82eba1700e1143022050b368460fc9cd7f | diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py
index <HASH>..<HASH> 100644
--- a/tests/test_bcrypt.py
+++ b/tests/test_bcrypt.py
@@ -400,7 +400,9 @@ def test_checkpw_extra_data():
b"\x43\x66\x6c\x9b\x09\xef\x33\xed\x8c\x27\xe8\xe8\xf3\xe2\xd8\xe6"
]])
def test_kdf(rounds, password, salt, expect... | Don't emit warnings here, there's no point (#<I>)
* Don't emit warnings here, there's no point
* whoops here | pyca_bcrypt | train | py |
55560347ecee181fdba9a486f58658ea0606a173 | diff --git a/bignumber.js b/bignumber.js
index <HASH>..<HASH> 100644
--- a/bignumber.js
+++ b/bignumber.js
@@ -12,7 +12,7 @@
*/
- var BigNumber, parseNumeric,
+ var BigNumber,
isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
mathceil = Math.ceil,
mathfloor = Math.floor,
@@ -... | Bugfix: parseNumeric declared in outer scope | MikeMcl_bignumber.js | train | js |
8b70e4c783fd3c858cee075906ca714af594eabf | diff --git a/src/main/java/com/googlecode/lanterna/gui2/SeparateTextGUIThread.java b/src/main/java/com/googlecode/lanterna/gui2/SeparateTextGUIThread.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/gui2/SeparateTextGUIThread.java
+++ b/src/main/java/com/googlecode/lanterna/gui2/SeparateText... | When you get EOF, always close all windows | mabe02_lanterna | train | java |
8254290907a59b6c2526da46378a8319b19c51c9 | diff --git a/src/DatePicker.php b/src/DatePicker.php
index <HASH>..<HASH> 100644
--- a/src/DatePicker.php
+++ b/src/DatePicker.php
@@ -131,6 +131,6 @@ class DatePicker extends InputWidget
}
}
- return $value;
+ return Html::encode($value);
}
} | Prevent XSS in DatePicker | webtoolsnz_yii2-widgets | train | php |
c0b628d081281d7b0c95052c1da4dadfbeaf5955 | diff --git a/astrobase/varbase/signals.py b/astrobase/varbase/signals.py
index <HASH>..<HASH> 100644
--- a/astrobase/varbase/signals.py
+++ b/astrobase/varbase/signals.py
@@ -166,7 +166,7 @@ def prewhiten_magseries(times, mags, errs,
wmags = wmags + median_mag
# prepare the returndict
- returndict = ... | varbase.signals: fixes for GH PR #<I> and #<I> | waqasbhatti_astrobase | train | py |
e0ed549006a25523b4fdbb3df3e289544114527b | diff --git a/python/ray/tests/test_k8s_operator_examples.py b/python/ray/tests/test_k8s_operator_examples.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_k8s_operator_examples.py
+++ b/python/ray/tests/test_k8s_operator_examples.py
@@ -72,7 +72,7 @@ def wait_for_job(job_pod):
except subprocess.CalledPro... | return False, don't raise (#<I>) | ray-project_ray | train | py |
c6e041c7dfc4b97645e97f8ffeee8fe636563774 | diff --git a/tests/Test/StorageApiTestCase.php b/tests/Test/StorageApiTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/Test/StorageApiTestCase.php
+++ b/tests/Test/StorageApiTestCase.php
@@ -107,7 +107,7 @@ class StorageApiTestCase extends \PHPUnit_Framework_TestCase
public function backends()
{
return array... | fix: mysql backend returned to tests | keboola_storage-api-php-client | train | php |
5a8cd1c259e0c48d5d8304eafa760b138c5c9735 | diff --git a/buildSrc/src/main/groovy/org/mockito/release/comparison/ZipComparator.java b/buildSrc/src/main/groovy/org/mockito/release/comparison/ZipComparator.java
index <HASH>..<HASH> 100644
--- a/buildSrc/src/main/groovy/org/mockito/release/comparison/ZipComparator.java
+++ b/buildSrc/src/main/groovy/org/mockito/rel... | Updated error message in zip comparator | mockito_mockito | train | java |
6b5c30ce6bf33e323a2721a70f41d924b3ed58b0 | diff --git a/lib/template-generator.js b/lib/template-generator.js
index <HASH>..<HASH> 100644
--- a/lib/template-generator.js
+++ b/lib/template-generator.js
@@ -363,7 +363,7 @@ module.exports.generateTemplate = function generateTemplate(results, isMultiOn)
if (isMultiOn && isOutputDirKnown()) {
const outputPath... | fix(assets): wrong var | mportuga_eslint-detailed-reporter | train | js |
6b358ea6afa6797923bd932365a71e4f7eb3909d | diff --git a/spec/unit/mongoid/fields_spec.rb b/spec/unit/mongoid/fields_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/mongoid/fields_spec.rb
+++ b/spec/unit/mongoid/fields_spec.rb
@@ -4,7 +4,7 @@ describe Mongoid::Fields do
describe ".defaults" do
- it "returns a hash of all the default values" do
+ ... | Test should reflect defaults is an array. Closes #<I>. | mongodb_mongoid | train | rb |
6195a75f4bcefcab8be6d3d398957c2dd7e62862 | diff --git a/tests/integration/components/sl-modal-test.js b/tests/integration/components/sl-modal-test.js
index <HASH>..<HASH> 100755
--- a/tests/integration/components/sl-modal-test.js
+++ b/tests/integration/components/sl-modal-test.js
@@ -246,8 +246,6 @@ test( 'Backdrop is shown by default', function( assert ) {
}... | Closes softlayer/sl-ember-components#<I> | softlayer_sl-ember-components | train | js |
0654dbb366f5e3fca82e84ccee18add9898c31b0 | diff --git a/src/php/randomhost/Image/Image.php b/src/php/randomhost/Image/Image.php
index <HASH>..<HASH> 100644
--- a/src/php/randomhost/Image/Image.php
+++ b/src/php/randomhost/Image/Image.php
@@ -53,6 +53,13 @@ class Image
const MERGE_SCALE_DST = 2;
/**
+ * Merge images using the destination image si... | add option for merging without upscaling | randomhost_image | train | php |
ff44fb2e4ba15b9e39a05fd1976584b1b6bcfbef | diff --git a/www/src/py_dom.js b/www/src/py_dom.js
index <HASH>..<HASH> 100644
--- a/www/src/py_dom.js
+++ b/www/src/py_dom.js
@@ -995,7 +995,6 @@ DOMNode.__str__ = DOMNode.__repr__ = function(self){
items.push(attrs[i].name + '="' +
self.getAttributeNS(null, attrs[i].name) + '"')
... | Minor improvement in __str__ of DOMNode (cf. issue #<I>) | brython-dev_brython | train | js |
5309374a2ff66057dcd8c8405ea760025f604828 | diff --git a/openquake/export/__init__.py b/openquake/export/__init__.py
index <HASH>..<HASH> 100644
--- a/openquake/export/__init__.py
+++ b/openquake/export/__init__.py
@@ -15,3 +15,8 @@
"""This package contains functionality for querying and exporting calculation
results"""
+
+
+from openquake.export import risk... | added risk to export
Former-commit-id: dd<I>d<I>a5fa<I>ee<I>ee8e<I>be0a5dc<I>bdc6c9 | gem_oq-engine | train | py |
8b5863227b56421d338ac1c1cbf46564fe60dbe5 | diff --git a/pusherclient/connection.py b/pusherclient/connection.py
index <HASH>..<HASH> 100755
--- a/pusherclient/connection.py
+++ b/pusherclient/connection.py
@@ -221,15 +221,10 @@ class Connection(Thread):
self.reconnect()
def _connect_handler(self, data):
- parsed = json.loads(data)
-
-... | Don't try to double json dump connection handled events | ekulyk_PythonPusherClient | train | py |
68e7ab257a99eaf8976ec5c70e526aae71903f43 | diff --git a/addok/shell.py b/addok/shell.py
index <HASH>..<HASH> 100644
--- a/addok/shell.py
+++ b/addok/shell.py
@@ -390,9 +390,9 @@ class Cmd(cmd.Cmd):
if not doc:
return self.error('id "{}" not found'.format(_id))
for field in config.FIELDS:
- key = field['key'].encode()
+ ... | Do not encode/decode anymore in INDEX shell command | addok_addok | train | py |
94f32f57c037b194c78417b0fc5a7f248a2c07cb | diff --git a/src/main/java/net/kuujo/vertigo/DefaultVertigo.java b/src/main/java/net/kuujo/vertigo/DefaultVertigo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/kuujo/vertigo/DefaultVertigo.java
+++ b/src/main/java/net/kuujo/vertigo/DefaultVertigo.java
@@ -54,6 +54,11 @@ public class DefaultVertigo implements... | Add createNetwork() method to Vertigo interface. | kuujo_vertigo | train | java,java |
8f7468ff3a8bb8f28cf35ad935146449d1c57d98 | diff --git a/lib/gir_ffi/arg_helper.rb b/lib/gir_ffi/arg_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/arg_helper.rb
+++ b/lib/gir_ffi/arg_helper.rb
@@ -153,12 +153,15 @@ module GirFFI
end
setup_type_outptr_handler_for SIMPLE_G_TYPES
- setup_type_outptr_handler_for :pointer
def self.gboo... | Special-case pointer_outptr, since JRuby doesn't accept 0 as a pointer. | mvz_gir_ffi | train | rb |
52d953814b8ab60b084605400e7f0a7b1d9ac147 | diff --git a/tweepy/parsers.py b/tweepy/parsers.py
index <HASH>..<HASH> 100644
--- a/tweepy/parsers.py
+++ b/tweepy/parsers.py
@@ -30,7 +30,7 @@ class JSONParser(Parser):
except Exception, e:
raise TweepError('Failed to parse JSON payload: %s' % e)
- if payload_list and isinstance(json, d... | Fix API.search() by patching a bug in parsers. | tweepy_tweepy | train | py |
e55c82cab5acca1293ecd24e91a4ed25a812c9cd | diff --git a/webpack/config.js b/webpack/config.js
index <HASH>..<HASH> 100644
--- a/webpack/config.js
+++ b/webpack/config.js
@@ -18,6 +18,7 @@ module.exports = env => {
}),
new HtmlWebpackPlugin({
template: 'src/index.html',
+ excludeChunks: ['polyfills'],
minify: {
... | exclude polyfills chunk so its not loaded twice | kambi-sportsbook-widgets_widget-build-tools | train | js |
69269cab371cd4ad3b5ad3fe89a5853081e65529 | diff --git a/src/Validator.php b/src/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Validator.php
+++ b/src/Validator.php
@@ -43,6 +43,11 @@ class Validator
return $this->validateEmptyValue($widget);
}
+ // Validate multiple files if input is an array (could be the case e.g. when ter... | Fix a potential problem with extensions such as terminal<I>/contao-mp_forms which may pass an array instead of string to widget validator | terminal42_contao-fineuploader | train | php |
093330906957b17a0cf93ec25d31c63f44fb2fb3 | diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
+++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php
@@ -682,7 +68... | use getTouchedRelations when touching owners (#<I>)
This allows overriding getTouchedRelations | laravel_framework | train | php |
aa17277adfea69390350f6e94ed64dde91b813e5 | diff --git a/modules/openidProvider/lib/Server.php b/modules/openidProvider/lib/Server.php
index <HASH>..<HASH> 100644
--- a/modules/openidProvider/lib/Server.php
+++ b/modules/openidProvider/lib/Server.php
@@ -73,7 +73,6 @@ class sspmod_openidProvider_Server {
$this->authSource = new SimpleSAML_Auth_Simple($confi... | openidProvider: Remove delegation_prefix option which is unused. | simplesamlphp_saml2 | train | php |
0eeea36deeff63ece83dbcc2ee37a28b96645542 | diff --git a/raven/contrib/celery/__init__.py b/raven/contrib/celery/__init__.py
index <HASH>..<HASH> 100644
--- a/raven/contrib/celery/__init__.py
+++ b/raven/contrib/celery/__init__.py
@@ -33,10 +33,7 @@ class CeleryClient(CeleryMixin, Client):
class CeleryFilter(logging.Filter):
def filter(self, record):
... | Just make it return in CeleryFilter | getsentry_raven-python | train | py |
a19023b3127d9753cc7eb57eead155fd4d2bc5a9 | diff --git a/classes/Kohana/Jam/Meta.php b/classes/Kohana/Jam/Meta.php
index <HASH>..<HASH> 100755
--- a/classes/Kohana/Jam/Meta.php
+++ b/classes/Kohana/Jam/Meta.php
@@ -350,7 +350,7 @@ abstract class Kohana_Jam_Meta {
if (is_array($value))
{
// Set key's value
- $this->{'_'.$key} += $value;
+ $this->{'_... | Correctly merge behaviors when overriding in STI models | OpenBuildings_jam | train | php |
0c329cbe2281b47dd35349c8a360dfdcfc85f31d | diff --git a/tryp/list.py b/tryp/list.py
index <HASH>..<HASH> 100644
--- a/tryp/list.py
+++ b/tryp/list.py
@@ -33,6 +33,12 @@ class List(typing.List[A], Generic[A], Implicits, implicits=True):
def __init__(self, *elements):
typing.List.__init__(self, elements)
+ def __getitem__(self, arg):
+ i... | List.__getitem__ that rewraps slices | tek_amino | train | py |
b3ea8a3bd1805e6336e7311c5f4c22fd8d486ca2 | diff --git a/resolwe/flow/executors/docker/run.py b/resolwe/flow/executors/docker/run.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/executors/docker/run.py
+++ b/resolwe/flow/executors/docker/run.py
@@ -201,6 +201,7 @@ class FlowExecutor(LocalFlowExecutor):
# (https://github.com/PyCQA/pylint/issues/1469).
... | Increase stdout buffer size in the Docker executor | genialis_resolwe | train | py |
d60d4a347b96f3771e8cdfb4ab7a3c2d579dbc74 | diff --git a/conn_test.go b/conn_test.go
index <HASH>..<HASH> 100644
--- a/conn_test.go
+++ b/conn_test.go
@@ -570,6 +570,7 @@ func TestQueryTimeoutClose(t *testing.T) {
}
func TestExecPanic(t *testing.T) {
+ t.Skip("test can cause unrelated failures, skipping until it can be fixed.")
srv := NewTestServer(t, defa... | skip the exec test as it is flaky once the issue is fixed | gocql_gocql | train | go |
52531ce2126e04c58c9b2047606215d1df89e291 | diff --git a/spyder_kernels/customize/spydercustomize.py b/spyder_kernels/customize/spydercustomize.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/customize/spydercustomize.py
+++ b/spyder_kernels/customize/spydercustomize.py
@@ -715,10 +715,12 @@ builtins.cell_count = cell_count
# ===========================... | Extend sys.path with paths that come from Spyder
Note: See how SPY_PYTHONPATH is declared in Spyder's kernelspec | spyder-ide_spyder-kernels | train | py |
956acd42ad3b363154be6638a29a6c38723c4cfe | diff --git a/wallace/models.py b/wallace/models.py
index <HASH>..<HASH> 100644
--- a/wallace/models.py
+++ b/wallace/models.py
@@ -812,10 +812,17 @@ class Network(Base):
return all_transformations
else:
return [t for t in all_transformations if t.node.status == node_status]
+
+ def... | Network: bulk up latest_transmission_recipient | berkeley-cocosci_Wallace | train | py |
668894f14fee92e7490755488a088f45b490139c | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -312,6 +312,7 @@ $access = accessType( $uri,
eZSys::indexFile() );
$access = changeAccess( $access );
eZDebugSetting::writeDebug( 'kernel-siteaccess', $access, 'current siteaccess' );
+$GLOBALS['eZ... | - Current siteaccess is set as global variable.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
758038d6e39d9585d11085510a3b2a79013b7532 | diff --git a/lib/Widget/Db.php b/lib/Widget/Db.php
index <HASH>..<HASH> 100644
--- a/lib/Widget/Db.php
+++ b/lib/Widget/Db.php
@@ -195,11 +195,11 @@ class Db extends Base
protected $global = false;
/**
- * The last executed SQL query
+ * All executed SQL queries
*
- * @var string
+ * @... | added getQueries for db widget | twinh_wei | train | php |
0f10b325230d3ec9e556d56b21e21b6cb939afb4 | diff --git a/spec/unit/validations_spec.rb b/spec/unit/validations_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/validations_spec.rb
+++ b/spec/unit/validations_spec.rb
@@ -27,7 +27,7 @@ describe "Validations" do
doc = @document.new
doc.password = 'foobar'
doc.password_confirmatio... | Fixing failing tests for rails 4 | mongomapper_mongomapper | train | rb |
26be19769aaf89041eab7008fcb948678f3baf33 | diff --git a/tasks/jasmine.js b/tasks/jasmine.js
index <HASH>..<HASH> 100644
--- a/tasks/jasmine.js
+++ b/tasks/jasmine.js
@@ -199,6 +199,13 @@ module.exports = function(grunt) {
grunt.log.warn(error.stack);
});
+ page.on('console', (msg) => {
+ thisRun.cleanConsole = false;
+ if (options.dis... | Pass through console output from puppeteer | gruntjs_grunt-contrib-jasmine | train | js |
01d183fc30fe169245ee1614ccf21ab0cd3ecb54 | diff --git a/statsd/connection.py b/statsd/connection.py
index <HASH>..<HASH> 100644
--- a/statsd/connection.py
+++ b/statsd/connection.py
@@ -54,8 +54,10 @@ class Connection(object):
for stat, value in sampled_data.iteritems():
send_data = '%s:%s' % (stat, value)
self.udp... | Although we are not failing hard with all graphite calls, we should at least be able to know if the call was successful or not | WoLpH_python-statsd | train | py |
93f6fe91adca53f3dcfa324a6a2a716dd53457af | diff --git a/Document.php b/Document.php
index <HASH>..<HASH> 100644
--- a/Document.php
+++ b/Document.php
@@ -23,12 +23,12 @@ class Document implements DocumentInterface
/**
* @var IRI The document's IRI
*/
- private $iri = null;
+ protected $iri = null;
/**
* @var GraphInterface Th... | Set visibility of Document::$iri and Document::$defaultGraph to protected | lanthaler_JsonLD | train | php |
cda35d763ac96496bdd34de350aaf611aa5fb075 | diff --git a/lib/jade-pug/system-compiler.rb b/lib/jade-pug/system-compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/jade-pug/system-compiler.rb
+++ b/lib/jade-pug/system-compiler.rb
@@ -34,7 +34,7 @@ module JadePug
# Checks if executable exists in $PATH.
#
# The method of check is described in this Stac... | Use "which" to test presence of executable | yivo_pug-ruby | train | rb |
3cafaac9b2a4993d0a7173047dc3c12e17de235f | diff --git a/packages/mendel-config/config.js b/packages/mendel-config/config.js
index <HASH>..<HASH> 100644
--- a/packages/mendel-config/config.js
+++ b/packages/mendel-config/config.js
@@ -49,7 +49,7 @@ module.exports = function(config) {
bundle.outfile = bundle.outfile || bundleName + '.js';
retu... | Allow disabling of bundles per environment
Bundles that evaluate to "falsy" values will not be included in the config.
This toghether with environment support allows disabling bundle per environment:
```.mendelrc
bundles:
main:
entries: [ 'main.js' ]
main_with_instrumentation:
entries: [ 'instrument.js', ... | yahoo_mendel | train | js |
34826ca90e2e85b61e37a798cac1703d25d2c587 | diff --git a/spec/punit/on_spec.rb b/spec/punit/on_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/punit/on_spec.rb
+++ b/spec/punit/on_spec.rb
@@ -84,7 +84,24 @@ describe 'Flor punit' do
expect(r['vars']['l']).to eq(%w[ in red-zero out red-one ])
end
- it 'traps multiple signals'
+ it 'traps multipl... | Add spec for "on" and array of signal names | floraison_flor | train | rb |
ecd633f6135aef8cb9fd3c45dfdb5cd04f8acc81 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(
'matplotlib',
],
extras_require={
- ':python_version<="3.4"': ['typing'],
+ ':python_version<="3.4"': ['typing', 'pandas<0.21.0'],
'dev': [
'coverage... | Restrict pandas version in Python <I> | satellogic_telluric | train | py |
d5372698e112ecc156c7763a9108ea2a975af898 | diff --git a/src/components/fieldComponents/ArrayContainer.js b/src/components/fieldComponents/ArrayContainer.js
index <HASH>..<HASH> 100644
--- a/src/components/fieldComponents/ArrayContainer.js
+++ b/src/components/fieldComponents/ArrayContainer.js
@@ -81,7 +81,7 @@ class ArrayContainer extends Component {
... | Start es6-refactor:
- Minimal diffs. | redux-autoform_redux-autoform | train | js |
8d5fc90f10366375c91f12a4b03f1f3abbbd43d9 | diff --git a/shared/common-adapters/safe-area-view.native.js b/shared/common-adapters/safe-area-view.native.js
index <HASH>..<HASH> 100644
--- a/shared/common-adapters/safe-area-view.native.js
+++ b/shared/common-adapters/safe-area-view.native.js
@@ -1,6 +1,6 @@
// @flow
import * as React from 'react'
-import {SafeAr... | cherry pick notch fix into master (#<I>) | keybase_client | train | js |
51bd5a5c4c55bf6227af386cb097e5d771ffc34a | diff --git a/spec/unit/persistence/active_record_persistence_spec.rb b/spec/unit/persistence/active_record_persistence_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/persistence/active_record_persistence_spec.rb
+++ b/spec/unit/persistence/active_record_persistence_spec.rb
@@ -257,6 +257,7 @@ describe "instance me... | this won't work with Rails >= <I> | aasm_aasm | train | rb |
71b81f4adbffd539a4737379b3c6407a0bb31c4a | diff --git a/environs/maas/environ.go b/environs/maas/environ.go
index <HASH>..<HASH> 100644
--- a/environs/maas/environ.go
+++ b/environs/maas/environ.go
@@ -384,7 +384,8 @@ func (environ *maasEnviron) obtainNode(machineId string, stateInfo *state.Info,
// StartInstance is specified in the Environ interface.
func... | Review suggestion: note that we don't support constraints yet either. | juju_juju | train | go |
2db12fe9fb735454a807121b19169b3894073c7d | diff --git a/Drop-In/src/main/java/com/braintreepayments/api/BraintreePaymentActivity.java b/Drop-In/src/main/java/com/braintreepayments/api/BraintreePaymentActivity.java
index <HASH>..<HASH> 100644
--- a/Drop-In/src/main/java/com/braintreepayments/api/BraintreePaymentActivity.java
+++ b/Drop-In/src/main/java/com/brain... | Enable back button after a failure is returned | braintree_braintree_android | train | java |
b93e7e8773c585ce6b5fb761591b6c12ba039ac9 | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -1367,7 +1367,7 @@ const devices = [
meta: {configureKey: 1, multiEndpoint: true},
configure: async (device, coordinatorEndpoint) => {
await bind(device.getEndpoint(1), coordinatorEndpoin... | Fix configure failing for TS<I>_switch_2_gang. #<I> | Koenkk_zigbee-shepherd-converters | train | js |
d03043b9c01a8c62790966079b5e6055e29fd6b8 | diff --git a/lib/cacheable_flash.rb b/lib/cacheable_flash.rb
index <HASH>..<HASH> 100644
--- a/lib/cacheable_flash.rb
+++ b/lib/cacheable_flash.rb
@@ -2,7 +2,7 @@ require 'json'
require 'stackable_flash'
module CacheableFlash
- if defined?(Rails) && ::Rails::VERSION::MAJOR >= 3
+ if defined?(Rails) && (::Rails::V... | Fix to sharply greater than version three | pboling_cacheable-flash | train | rb |
5e5cb5780d98eccdac4ac562cdd86e55c2d06886 | diff --git a/lib/graphql/models/definition_helpers/associations.rb b/lib/graphql/models/definition_helpers/associations.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/models/definition_helpers/associations.rb
+++ b/lib/graphql/models/definition_helpers/associations.rb
@@ -41,7 +41,7 @@ module GraphQL
graph... | Use `name.demodulize` for model_type (#<I>)
As name can consist `::` and it fails with GraphQL introspection
query. | goco-inc_graphql-activerecord | train | rb |
c6bc5566273b105921beb3bff3d93c64450cbaee | diff --git a/src/Controller/DblistItemsController.php b/src/Controller/DblistItemsController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/DblistItemsController.php
+++ b/src/Controller/DblistItemsController.php
@@ -118,6 +118,7 @@ class DblistItemsController extends AppController
$moveActions = ['up', ... | Fixed CS (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
d1e27594eac45e0517ec258368e0f56d5d102773 | diff --git a/lib/russian_roulette/core.rb b/lib/russian_roulette/core.rb
index <HASH>..<HASH> 100644
--- a/lib/russian_roulette/core.rb
+++ b/lib/russian_roulette/core.rb
@@ -1,7 +1,7 @@
module RussianRoulette
class Core
def initialize(talkers)
- @talkers = talkers
+ @talkers = talkers.dup
@... | affect an argument object is bad design :bomb: | koic_azuma | train | rb,rb |
fa7b5d86e6346d3bdafd5afc250de8e40ea0520c | diff --git a/pkg/registry/core/service/storage/rest.go b/pkg/registry/core/service/storage/rest.go
index <HASH>..<HASH> 100644
--- a/pkg/registry/core/service/storage/rest.go
+++ b/pkg/registry/core/service/storage/rest.go
@@ -882,12 +882,6 @@ func isMatchingPreferDualStackClusterIPFields(oldService, service *api.Servi... | remove duplicate validation on services
The rest api for services was validating that, on updates, both
the old and new service have the same type. That guarantees that
the type is going to be the same after that, thus we don't need
to validate the service type on the old and the new service. | kubernetes_kubernetes | train | go |
cf09b3b9a08e8db291414eb9bd2c31137b20d455 | diff --git a/master/buildbot/status/mail.py b/master/buildbot/status/mail.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/status/mail.py
+++ b/master/buildbot/status/mail.py
@@ -258,7 +258,8 @@ class MailNotifier(base.StatusReceiverMultiService):
assert isinstance(extraRecipients, (list, tuple))
... | mail status: display invalid emails on logs
Helps debug why assertion on them fails. | buildbot_buildbot | train | py |
56f730906c1a7d43b5061e881cec7b6ddd90bb5e | diff --git a/lib/poise_languages/utils/which.rb b/lib/poise_languages/utils/which.rb
index <HASH>..<HASH> 100644
--- a/lib/poise_languages/utils/which.rb
+++ b/lib/poise_languages/utils/which.rb
@@ -33,7 +33,7 @@ module PoiseLanguages
# @return [String, false]
def which(cmd, extra_path: %w{/bin /usr/bin /... | Be slightly less lazy because @rmg made me feel bad :) | poise_poise-languages | train | rb |
d3ba23e582293235b81ef552249b228744716abc | diff --git a/core/src/main/java/io/undertow/UndertowMessages.java b/core/src/main/java/io/undertow/UndertowMessages.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/UndertowMessages.java
+++ b/core/src/main/java/io/undertow/UndertowMessages.java
@@ -605,6 +605,6 @@ public interface UndertowMessages... | Change message ID due to conflict with <I> branch | undertow-io_undertow | train | java |
4ef9a617ef51846410bf6a62c62f8da7a1f5e366 | diff --git a/mot/optimize/__init__.py b/mot/optimize/__init__.py
index <HASH>..<HASH> 100644
--- a/mot/optimize/__init__.py
+++ b/mot/optimize/__init__.py
@@ -118,7 +118,7 @@ def get_minimizer_options(method):
elif method == 'Subplex':
return {'patience': 10,
'patience_nmsimplex': 100,
- ... | Improved the default settings of the Subplex optimizer | cbclab_MOT | train | py |
d87459756e368b4c61a35808078373a58fcadc5a | diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index <HASH>..<HASH> 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3659,7 +3659,7 @@ class Cmd(cmd.Cmd):
# Check if all commands ran
if commands_run < len(history):
warning = "Command {} triggered a stop and ended transcript generation early".fo... | Print warning if a user tries to run a *.py file with run_script and ask them if they want to continue | python-cmd2_cmd2 | train | py |
7c7be1d45a658a9ab3e01601356671faed030e31 | diff --git a/public/js/bumble.js b/public/js/bumble.js
index <HASH>..<HASH> 100644
--- a/public/js/bumble.js
+++ b/public/js/bumble.js
@@ -114,10 +114,10 @@ $(document).on('click', function(e) {
BooleanField Toggles
*/
-elem = document.querySelector('._switch');
+var elems = Array.prototype.slice.call(document.q... | Update Switchery to show multiple on a page | monarkee_bumble | train | js |
946811bfd8e8cf3c4f490413035d474720e93f4f | diff --git a/pyes/highlight.py b/pyes/highlight.py
index <HASH>..<HASH> 100644
--- a/pyes/highlight.py
+++ b/pyes/highlight.py
@@ -19,7 +19,7 @@ class HighLighter:
data = {}
if fragment_size:
data['fragment_size'] = fragment_size
- if number_of_fragments:
+ if number_of_frag... | Added possibility to not specify the number_of_fragments in highlight. thx to Univ | aparo_pyes | train | py |
b1ab05c84fe76266c4cd82c9f75570f391f6787b | diff --git a/server/rpc_string_parser.php b/server/rpc_string_parser.php
index <HASH>..<HASH> 100644
--- a/server/rpc_string_parser.php
+++ b/server/rpc_string_parser.php
@@ -117,9 +117,7 @@ class rpc_string_parser
$pos++;
$argstring = substr($token, $pos, $length - $pos - 1);
- $unescaped = str_replace(... | Using single urlencode to masking special symbols | phoxy_phoxy | train | php,js |
c5cc29fcf8366b9447d78a13e3b9d57cb53ae4e8 | diff --git a/src/python/pants/core/goals/binary.py b/src/python/pants/core/goals/binary.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/core/goals/binary.py
+++ b/src/python/pants/core/goals/binary.py
@@ -24,7 +24,6 @@ class BinaryFieldSet(FieldSet, metaclass=ABCMeta):
"""The fields necessary to create a bin... | Remove unused union marker. (#<I>)
# Delete this line to force CI to run Clippy and the Rust tests.
[ci skip-rust-tests]
# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests] | pantsbuild_pants | train | py |
fc05ae76e50c566b61b5ac6f4838dff2eba044a8 | diff --git a/lib/commands/start.js b/lib/commands/start.js
index <HASH>..<HASH> 100644
--- a/lib/commands/start.js
+++ b/lib/commands/start.js
@@ -17,7 +17,7 @@ module.exports = function(containers, options, logger) {
var container = containers[name]
container.daemon = true
- ... | Propagate start options when “containers.startAll” is set | mnylen_pig | train | js |
3ababcfa09ea1ad82a37c6814900e3506a13bf18 | diff --git a/bot/api/domain.py b/bot/api/domain.py
index <HASH>..<HASH> 100644
--- a/bot/api/domain.py
+++ b/bot/api/domain.py
@@ -119,19 +119,19 @@ class VideoNote(Message):
class Audio(CaptionableMessage):
@staticmethod
def create_audio(file_id):
- return Voice(_type=Audio, audio=file_id)
+ r... | Fix typos in object instantiation | alvarogzp_telegram-bot-framework | train | py |
6c189afb85b92f2f7c761da65ad7297862d8e607 | diff --git a/spec/header/ike_spec.rb b/spec/header/ike_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/header/ike_spec.rb
+++ b/spec/header/ike_spec.rb
@@ -107,8 +107,7 @@ module PacketGen
end
it 'is parsed when first 32-bit word in UDP (port 4500) body is null' do
- udp.add('IKE', non_esp_m... | Fix 'Header::IKE (parsing) is parsed when first <I>-bit word in UDP (port
<I>) body is null' spec | sdaubert_packetgen | train | rb |
8b02f9429b385314b6bce3153d373dff4acb5668 | diff --git a/lib/accumulate-variable-arguments.js b/lib/accumulate-variable-arguments.js
index <HASH>..<HASH> 100644
--- a/lib/accumulate-variable-arguments.js
+++ b/lib/accumulate-variable-arguments.js
@@ -2,6 +2,18 @@ var clone_array = require('./clone-array');
+/*
+
+Purry implementation for variable-parameter... | Add introduction to accumulate-variable-arguments | jasonkuhrt_purry | train | js |
91479407e1e0dd85ab80af8a022a7fbace58df96 | diff --git a/asks/request_object.py b/asks/request_object.py
index <HASH>..<HASH> 100644
--- a/asks/request_object.py
+++ b/asks/request_object.py
@@ -670,7 +670,7 @@ class RequestProcessor:
if response_obj.status_code == 401:
if not self.auth.auth_attempted:
self.hist... | Fix improper unwrapping of make_request results | theelous3_asks | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.