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 |
|---|---|---|---|---|---|
7b608892edafb3a1567c8f02f5c465bbc85ddc5d | diff --git a/views/js/testRunner/actionBar/button.js b/views/js/testRunner/actionBar/button.js
index <HASH>..<HASH> 100644
--- a/views/js/testRunner/actionBar/button.js
+++ b/views/js/testRunner/actionBar/button.js
@@ -80,7 +80,7 @@ define([
this.assumeType();
- if (!this.config.title && thi... | actionBar button: only remove title when type is group, keep label and icon values | oat-sa_extension-tao-testqti | train | js |
9ed8db6b24b9bd632ed29d1514b7253a8fea26ce | diff --git a/src/PopupDialog.js b/src/PopupDialog.js
index <HASH>..<HASH> 100644
--- a/src/PopupDialog.js
+++ b/src/PopupDialog.js
@@ -34,9 +34,7 @@ class PopupDialog extends Component {
return (
<Dialog
- ref={(dialog) => {
- this.dialog = dialog;
- }}
+ ref={dialog => this.dialog = dialog}
... | :rocket: fixed lambda assignment | jacklam718_react-native-popup-dialog | train | js |
0dedc5d4a41be5ce78348219fde2541f883e7b16 | diff --git a/lib/parse_resource/relation_array.rb b/lib/parse_resource/relation_array.rb
index <HASH>..<HASH> 100644
--- a/lib/parse_resource/relation_array.rb
+++ b/lib/parse_resource/relation_array.rb
@@ -48,26 +48,6 @@ class RelationArray < Array
self.each { |item| super(item) if item.id == object_id }
end
... | removed not so super methods #<I> | adelevie_parse_resource | train | rb |
7332b06dd850e709132809ea213c15aac255c69b | diff --git a/lib/epp-client/server.rb b/lib/epp-client/server.rb
index <HASH>..<HASH> 100644
--- a/lib/epp-client/server.rb
+++ b/lib/epp-client/server.rb
@@ -187,7 +187,9 @@ module EPP
rescue Errno::EINVAL => e
if retried
message = e.message.split(" - ")[1]
- raise Errno::EI... | Store retried Errno::EINVAL in connection errors and try next addr.
This should resolve issues where the first address, possibly IPv6 presents an EINVAL but later addresses may be successful. | m247_epp-client | train | rb |
5d50ab1325971e9c4c7629b3a13371e3dc7f845e | diff --git a/test_isort.py b/test_isort.py
index <HASH>..<HASH> 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -667,3 +667,8 @@ def test_custom_lines_after_import_section():
"\n"
... | Add test to ensure desired behaviour described in issue <I> works as expected | timothycrosley_isort | train | py |
f88eb01325f9a17009315b3f73194b2108b17e75 | diff --git a/examples/complete/simple/src/Home.js b/examples/complete/simple/src/Home.js
index <HASH>..<HASH> 100644
--- a/examples/complete/simple/src/Home.js
+++ b/examples/complete/simple/src/Home.js
@@ -1,4 +1,4 @@
-import react, { Component, PropTypes } from 'react'
+import React, { Component, PropTypes } from 're... | fix(simple example): react declaration in Home component (#<I>) | prescottprue_react-redux-firebase | train | js |
63ac519fec95ac81e517091e4183a0b6b0a40233 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -149,6 +149,6 @@ test('context cleanup removes event handlers', function(t){
var button = _h('button', 'Click me!', {onclick: onClick})
_h.cleanup()
simu.click(button)
- t.assert(!onClick.called)
... | improve messages in tests, while debugging | hyperhype_hyperscript | train | js |
1bb16d9e13ebc5b1e0673cb7b048bd3894e1ccef | diff --git a/Observer/Customer/CreateUpdateContact.php b/Observer/Customer/CreateUpdateContact.php
index <HASH>..<HASH> 100755
--- a/Observer/Customer/CreateUpdateContact.php
+++ b/Observer/Customer/CreateUpdateContact.php
@@ -76,6 +76,7 @@ class CreateUpdateContact implements \Magento\Framework\Event\ObserverInterface... | set store id on contact save | dotmailer_dotmailer-magento2-extension | train | php |
3bd4ba85aeeebd85715664eaae22a70487619706 | diff --git a/src/server.js b/src/server.js
index <HASH>..<HASH> 100644
--- a/src/server.js
+++ b/src/server.js
@@ -87,6 +87,7 @@ app.use('/graphql', cors(), instrumentationMiddleware(Schema, timingCallback, {
schema: Schema,
rootValue: req.rootValue,
formatError: formatError,
+ pretty: req.query.pret... | support pretty-printing via ?pretty=true | clayallsopp_graphqlhub | train | js |
000cfe0817b1c00e51380943f77458034d8a153d | diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/_version.py
+++ b/grimoire_elk/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.45.0"
+__version__ = "0.46.0" | Update version number to <I> | chaoss_grimoirelab-elk | train | py |
4771a134c4620ef1ef3693edf5f369802c8f3ac4 | diff --git a/resources/views/dashboard/schedule/add.blade.php b/resources/views/dashboard/schedule/add.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/dashboard/schedule/add.blade.php
+++ b/resources/views/dashboard/schedule/add.blade.php
@@ -43,10 +43,11 @@
<label>{{ trans('for... | Notify subscribers checkbox is now a single line, removed optional indicator | CachetHQ_Cachet | train | php |
03f551a925e30b312ebb057f0cd858a71525826d | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -6,7 +6,7 @@ var makeInterfaceValidator = require('./index.js');
QUnit.module('can-validate-interface/makeInterfaceValidator');
-QUnit.test('basics', function() {
+QUnit.test('basics', function(assert) {
var dataMethods =... | Fix tests for QUnit 2 | canjs_can-validate-interface | train | js |
738e06b7a8d4c50643b95afdf62b450275ec56f0 | diff --git a/includes/raw_start.php b/includes/raw_start.php
index <HASH>..<HASH> 100644
--- a/includes/raw_start.php
+++ b/includes/raw_start.php
@@ -11,6 +11,6 @@ if(PHP_SAPI == 'cli'){
}
require_once dirname(__FILE__).'/../../tao/includes/class.Bootstrap.php';
-$bootStrap = new BootStrap('taoGroups');
+$boot... | changed session ids of deliveries and tests(raw_start.php)
git-svn-id: <URL> | oat-sa_extension-tao-group | train | php |
2d144767333ebee969926ba89920149e38ff15e7 | diff --git a/app/controllers/devise_token_auth/concerns/set_user_by_token.rb b/app/controllers/devise_token_auth/concerns/set_user_by_token.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/devise_token_auth/concerns/set_user_by_token.rb
+++ b/app/controllers/devise_token_auth/concerns/set_user_by_token.rb
@@ -69,7 ... | Fix exception when change_headers_on_each_request is used alongside devise | lynndylanhurley_devise_token_auth | train | rb |
bbd9410ee234cee6ff646340a5432b54629fd8ae | diff --git a/src/main/java/org/thymeleaf/engine/ProcessorTemplateHandler.java b/src/main/java/org/thymeleaf/engine/ProcessorTemplateHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/thymeleaf/engine/ProcessorTemplateHandler.java
+++ b/src/main/java/org/thymeleaf/engine/ProcessorTemplateHandler.java
@@ -2... | Fixed the way white spaces are prettified in text-mode iterations when only one iteration occurs | thymeleaf_thymeleaf | train | java |
742c9b692ca0d6c46a07d0a6c57c577a9aeab3b2 | diff --git a/bin/run.js b/bin/run.js
index <HASH>..<HASH> 100755
--- a/bin/run.js
+++ b/bin/run.js
@@ -476,7 +476,7 @@ function printAndCheckResultsDiff(results) {
for (let i = 0; i < TEST_TYPES.length; i++) {
const type = TEST_TYPES[i];
- if (numRegressions[type] || numFixes[type]) {
+ if (numRegressio... | Only exit with a failure for regressions | code-dot-org_js-interpreter-tyrant | train | js |
d761110ee44b2a8d969c6cc567e88d537ee92389 | diff --git a/raiden/network/transport/matrix/client.py b/raiden/network/transport/matrix/client.py
index <HASH>..<HASH> 100644
--- a/raiden/network/transport/matrix/client.py
+++ b/raiden/network/transport/matrix/client.py
@@ -402,6 +402,8 @@ class GMatrixClient(MatrixClient):
def _sync(self, timeout_ms=30000):
... | Added log for sync being called [skip tests] | raiden-network_raiden | train | py |
a2f609b755f680d0e665cd5b2659e09848666399 | diff --git a/chimp_lists.go b/chimp_lists.go
index <HASH>..<HASH> 100644
--- a/chimp_lists.go
+++ b/chimp_lists.go
@@ -175,7 +175,7 @@ type BatchSubscribeResponse struct {
UpdateCount int `json:"update_count"`
Updates []Email `json:"updates"`
ErrorCount int ... | Fix BatchSubscribeResponse.Errors field name
Changed "error" to "errors". | mattbaird_gochimp | train | go |
26a5bcfaae6555cfa8b1d7f17250ecb279f05e09 | diff --git a/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java b/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java
index <HASH>..<HASH> 100755
--- a/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastP... | Minor: reduced logging level of updating distributed cfg | orientechnologies_orientdb | train | java |
fc4cb62df5e01ce31a142a94b0a1b36857a17b80 | diff --git a/modules_v3/ckeditor/ckeditor-4.2.2-custom/build-config.js b/modules_v3/ckeditor/ckeditor-4.2.2-custom/build-config.js
index <HASH>..<HASH> 100644
--- a/modules_v3/ckeditor/ckeditor-4.2.2-custom/build-config.js
+++ b/modules_v3/ckeditor/ckeditor-4.2.2-custom/build-config.js
@@ -168,6 +168,6 @@ var CKBUILDER... | IE8/javascript compatibility | fisharebest_webtrees | train | js |
3b0e64fb65e7d612fb20869c1aa89157218b5ee5 | diff --git a/src/Plugins/DeployOxid/Dispatcher/OxidTaskDispatcher.php b/src/Plugins/DeployOxid/Dispatcher/OxidTaskDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Plugins/DeployOxid/Dispatcher/OxidTaskDispatcher.php
+++ b/src/Plugins/DeployOxid/Dispatcher/OxidTaskDispatcher.php
@@ -84,6 +84,8 @@ class OxidTaskDispa... | Added type casting to OXID configs | phizzl_deployee | train | php |
39e532fd78346c16004a69b03e656002d7b845f6 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -10,5 +10,5 @@ describe('colorspace', function () {
it('tones the color when namespaced by a : char', function () {
assume(colorspace('bigpipe:pagelet')).equals('#00FF2C');
- })
+ });
}); | [test] Added missing ; | 3rd-Eden_colorspace | train | js |
28b58d834cce810cd5068394fe92af33beb84669 | diff --git a/acceptance/tests/face/loadable_from_modules.rb b/acceptance/tests/face/loadable_from_modules.rb
index <HASH>..<HASH> 100644
--- a/acceptance/tests/face/loadable_from_modules.rb
+++ b/acceptance/tests/face/loadable_from_modules.rb
@@ -68,7 +68,7 @@ end
EOM
on agent, puppet('module', 'build', 'puppetla... | (maint) Update puppet module version in test
Commit <I>e7d2 updates the puppet module tool to follow semver.org and
use '<I>' as the first revision of the module. Acceptance tests were
relying on the default version being '<I>' which meant that the
version change broke those tests. This commit updates the version used... | puppetlabs_puppet | train | rb |
bc4989cd704607bf006317a33b401e44dc9ff09f | diff --git a/lib/disk/modules/MSCommon.rb b/lib/disk/modules/MSCommon.rb
index <HASH>..<HASH> 100644
--- a/lib/disk/modules/MSCommon.rb
+++ b/lib/disk/modules/MSCommon.rb
@@ -140,7 +140,7 @@ module MSCommon
if parent.nil?
buf << MemoryBuffer.create(thisLen)
else
- buf << pa... | Remove extraneous 3rd argument to d_read
A call to d_read for the parent disk was obviously left over from an
earlier incarnation of this code. It is using an undefined and unnecessary
3rd argument which resulted in an unknown method exception.
The extra argument has been removed and the code tested.
(transferred fr... | ManageIQ_manageiq-smartstate | train | rb |
39cb04e5cb5497a40d2f6ce61b69d5ec485cfdc4 | diff --git a/lib/ffaker/identification_es_col.rb b/lib/ffaker/identification_es_col.rb
index <HASH>..<HASH> 100644
--- a/lib/ffaker/identification_es_col.rb
+++ b/lib/ffaker/identification_es_col.rb
@@ -10,6 +10,8 @@ module Faker
Faker.numerify("#" * how_many_numbers)
end
+ alias :id :drivers_license
+
... | id is an alias of drivers license | ffaker_ffaker | train | rb,rb |
eaf5d30472de4cf3191ed193fac52947e9021597 | diff --git a/hgvs/dataproviders/uta.py b/hgvs/dataproviders/uta.py
index <HASH>..<HASH> 100644
--- a/hgvs/dataproviders/uta.py
+++ b/hgvs/dataproviders/uta.py
@@ -147,7 +147,6 @@ class UTABase(Interface):
"tx_for_region": """
select tx_ac,alt_ac,alt_strand,alt_aln_method,min(start_i) as start_i,ma... | removed unnecessary join from tx_for_region sql | biocommons_hgvs | train | py,py |
b4108c3159e2e4becc3ac19acb4176c9b36683e3 | diff --git a/lib/core/helpers.js b/lib/core/helpers.js
index <HASH>..<HASH> 100644
--- a/lib/core/helpers.js
+++ b/lib/core/helpers.js
@@ -7,6 +7,7 @@
"use strict";
var fs = require('fs');
+ var util = require('util');
var path = require('path');
var Stream = require('stream');
@@ -52,11 +53,37 @@
... | [refactor] imitate streams as both writable and readable | AndreasMadsen_immortal | train | js |
0784224232d608c0a283e8ee76599e4ecc2dbc98 | diff --git a/js/bitbns.js b/js/bitbns.js
index <HASH>..<HASH> 100644
--- a/js/bitbns.js
+++ b/js/bitbns.js
@@ -681,7 +681,7 @@ module.exports = class bitbns extends Exchange {
side = 'buy';
} else if (side.indexOf ('sell')) {
side = 'sell';
- };
+ }
const factor... | fix transaction side and tested safeTrade | ccxt_ccxt | train | js |
48f486bf18b970afdbb119af881252a981ec2946 | diff --git a/src/Controller.php b/src/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller.php
+++ b/src/Controller.php
@@ -53,6 +53,8 @@ use ntentan\utils\Text;
*/
class Controller
{
+
+ use utils\DependencyIjector;
private $defaultMethod = 'run';
@@ -123,7 +125,7 @@ class Controller
... | Fixing routes on the auth component | ntentan_ntentan | train | php,php |
5b30950ec7a2ff6494491a3a323baa1a2205d463 | diff --git a/closure/goog/string/stringformat.js b/closure/goog/string/stringformat.js
index <HASH>..<HASH> 100644
--- a/closure/goog/string/stringformat.js
+++ b/closure/goog/string/stringformat.js
@@ -172,7 +172,7 @@ goog.string.format.demuxes_['f'] = function(value,
// empty string instead of undefined for non-pa... | Added parseFloat in goog.string.format | google_closure-library | train | js,js |
19a433f68c51c90c84e4f7407901d0828ddf69e3 | diff --git a/Resources/public/js/directives/datagrid.js b/Resources/public/js/directives/datagrid.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/directives/datagrid.js
+++ b/Resources/public/js/directives/datagrid.js
@@ -349,11 +349,18 @@ angular.module('Samson.DataGrid')
$scope.$broa... | allow for an array of results after a create call. For example, when you have a batch create action. | SamsonIT_DataGridBundle | train | js |
6f4db22f032022055fcbb5c193e35164621c7845 | diff --git a/src/drawNode.js b/src/drawNode.js
index <HASH>..<HASH> 100644
--- a/src/drawNode.js
+++ b/src/drawNode.js
@@ -121,9 +121,20 @@ function _updateNode(node, x, y, width, height, shape, nodeId, attributes, optio
.attr("id", id);
title.text(nodeId);
- var bbox = svgElements.node().getBBox();
... | Handle drawing of all nodes shapes without svg shape element | magjac_d3-graphviz | train | js |
00971ac1539c62fb1b26bfcccdf55b9ad2b7d2e9 | diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_pkg.py
+++ b/salt/modules/win_pkg.py
@@ -977,3 +977,7 @@ def _get_latest_pkg_version(pkginfo):
if len(pkginfo) == 1:
return next(six.iterkeys(pkginfo))
return sorted(pkginfo, cmp=_reverse... | Added compare_versions to be used within jinja | saltstack_salt | train | py |
fee3a59618b3d0cae8aab9ebba44a3a6f854cac9 | diff --git a/iopipe/contrib/trace/auto_http.py b/iopipe/contrib/trace/auto_http.py
index <HASH>..<HASH> 100644
--- a/iopipe/contrib/trace/auto_http.py
+++ b/iopipe/contrib/trace/auto_http.py
@@ -71,7 +71,7 @@ def patch_session_send(context, http_filter):
with context.iopipe.mark(id):
response = or... | Do not delete performanceEntries for an http trace | iopipe_iopipe-python | train | py,py |
58c919bdd5e80025b17f41997c43abebb932b823 | diff --git a/library/CM/Layout/Abstract.js b/library/CM/Layout/Abstract.js
index <HASH>..<HASH> 100644
--- a/library/CM/Layout/Abstract.js
+++ b/library/CM/Layout/Abstract.js
@@ -46,8 +46,8 @@ var CM_Layout_Abstract = CM_View_Abstract.extend({
return view;
})
.catch(function(error) {
+ ... | Fix clear of _timeoutLoading. | cargomedia_cm | train | js |
0cfeb014962b78b4f02fd31bb2a58cea8a717002 | diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php
index <HASH>..<HASH> 100644
--- a/grade/report/grader/lib.php
+++ b/grade/report/grader/lib.php
@@ -1602,9 +1602,10 @@ class grade_report_grader extends grade_report {
}
}
- $name = shorten_text($element['object']->get... | MDL-<I> Gradebook item titles - adjusting category titles | moodle_moodle | train | php |
b6abb254c6c97e8067bdb73a29da8706f6668bb0 | diff --git a/fastlane/lib/fastlane/actions/commit_version_bump.rb b/fastlane/lib/fastlane/actions/commit_version_bump.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/commit_version_bump.rb
+++ b/fastlane/lib/fastlane/actions/commit_version_bump.rb
@@ -190,7 +190,7 @@ module Fastlane
end
... | Fix category of commit_version_bump | fastlane_fastlane | train | rb |
07f9a703fb77a0237006356a40aaa61d4e1a3f6e | diff --git a/src/ossos-pipeline/tests/base_tests.py b/src/ossos-pipeline/tests/base_tests.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/tests/base_tests.py
+++ b/src/ossos-pipeline/tests/base_tests.py
@@ -8,8 +8,6 @@ import os
import unittest
import wx
-
-from hamcrest import not_none, assert_that
from m... | removed dependency on hamcrest. not really needed | OSSOS_MOP | train | py |
9bb1c6e8b398c651f8e40a6c6d016f4731ffae19 | diff --git a/src/main/java/org/eclipse/jetty/nosql/memcached/hashmap/HashMapClient.java b/src/main/java/org/eclipse/jetty/nosql/memcached/hashmap/HashMapClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/eclipse/jetty/nosql/memcached/hashmap/HashMapClient.java
+++ b/src/main/java/org/eclipse/jetty/nosql/me... | made inner class static to shut FindBugs up | yyuu_jetty-nosql-memcached | train | java |
08870b38f8c630cbbf168e5a9a4904a9c15a5cbb | diff --git a/tasks.py b/tasks.py
index <HASH>..<HASH> 100644
--- a/tasks.py
+++ b/tasks.py
@@ -52,7 +52,9 @@ def publish(
# Better than nothing, since we haven't solved "pretend I have some other
# task's signature" yet...
publish.__doc__ = release.publish.__doc__
-my_release = Collection('release', release.build, r... | Get Invocations release tasks working properly | fabric_fabric | train | py |
1842352fa3d10954f14f2ef9413b616c96d29902 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -293,9 +293,9 @@ export default function createLogger(options = {}) {
if ($time.length > maxLocaleTimeLength) {
maxLocaleTimeLength = $time.length;
} else ... | Right-align localized timestamp | PabloSichert_concurrency-logger | train | js |
d9f9363db43eb7b095d694e4e60f6df8bc7d68f2 | diff --git a/lib/kafka/async_producer.rb b/lib/kafka/async_producer.rb
index <HASH>..<HASH> 100644
--- a/lib/kafka/async_producer.rb
+++ b/lib/kafka/async_producer.rb
@@ -144,6 +144,8 @@ module Kafka
# @see Kafka::Producer#shutdown
# @return [nil]
def shutdown
+ ensure_threads_running!
+
@tim... | Ensure threads are running when calling `shutdown`
Similar to the previous commit, if a worker thread unexpectedly dies
with unhandled messages in its queue and then we try to call `shutdown`,
those messages won't be handled unless `produce` is called in the future
(in which case the worker thread will read the `shutd... | zendesk_ruby-kafka | train | rb |
b15d51a29865e2a23aa1c3b139bfffd98a2a19a0 | diff --git a/src/Entrust/Entrust.php b/src/Entrust/Entrust.php
index <HASH>..<HASH> 100644
--- a/src/Entrust/Entrust.php
+++ b/src/Entrust/Entrust.php
@@ -38,10 +38,10 @@ class Entrust
*
* @return bool
*/
- public function hasRole($role)
+ public function hasRole($role, $requireAll = false)
... | Expose multi-role and multi-perm options through Entrust class | Zizaco_entrust | train | php |
31582fdf77cb47db9d9e225cde3ce9b6f1bb2741 | diff --git a/java/tests/com/google/template/soy/SoyFileSetParserBuilder.java b/java/tests/com/google/template/soy/SoyFileSetParserBuilder.java
index <HASH>..<HASH> 100644
--- a/java/tests/com/google/template/soy/SoyFileSetParserBuilder.java
+++ b/java/tests/com/google/template/soy/SoyFileSetParserBuilder.java
@@ -137,6... | Add support for experimental features in the CompilerIntegrationTest.
Tested:
Manual: added an @Experiments annotation to a test, and verified in the debugger that the expected experimental features were enabled for passing and failing tests.
GITHUB_BREAKING_CHANGES=None
-------------
Created by MOE: <URL> | google_closure-templates | train | java |
14f0e1cf98357887d1ac9f728953efbb3b75d59b | diff --git a/salt/crypt.py b/salt/crypt.py
index <HASH>..<HASH> 100644
--- a/salt/crypt.py
+++ b/salt/crypt.py
@@ -69,7 +69,7 @@ def gen_keys(keydir, keyname, keysize):
priv = '{0}.pem'.format(base)
pub = '{0}.pub'.format(base)
- gen = RSA.gen_key(keysize, 1)
+ gen = RSA.gen_key(keysize, 1, callback=l... | supress console output from key generation
Output from M2Crypto.RSA will no longer display when creating keys. | saltstack_salt | train | py |
5a78d7260b87d7c0ecc3faa0819a629f5f3cde4d | diff --git a/src/Channels/GcmChannel.php b/src/Channels/GcmChannel.php
index <HASH>..<HASH> 100644
--- a/src/Channels/GcmChannel.php
+++ b/src/Channels/GcmChannel.php
@@ -3,7 +3,6 @@
namespace Edujugon\PushNotification\Channels;
use Edujugon\PushNotification\Messages\PushMessage;
-use Illuminate\Support\Facades\Log... | changed null check of $message->sound in gcm channel buildData method | Edujugon_PushNotification | train | php |
1388191a20adc83688194039263a770077d750de | diff --git a/packages/lib/PubSub.js b/packages/lib/PubSub.js
index <HASH>..<HASH> 100644
--- a/packages/lib/PubSub.js
+++ b/packages/lib/PubSub.js
@@ -30,7 +30,7 @@ exports = Class(function() {
}
}
- if(!this._subscribers[signal]) { return; }
+ if(!this._subscribers[signal]) { return this; }
... | fix chaining + allow subscribeOnce to be unsubscribed via the context | gameclosure_js.io | train | js |
7abd5c0e5f5446d4d65f4f592e1048ad88913513 | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -813,9 +813,14 @@ class TestYara(unittest.TestCase):
r = yara.compile(source='rule test { condition: ext_str matches /ssi$/ }', externals={'ext_str': 'mississippi'})
self.assertFalse(r.match(data='dummy'))
... | Fix tests introduced in <I>c<I>a3b<I>a<I>bc<I>d<I>eec<I>b<I>. | VirusTotal_yara-python | train | py |
137e57fc61e24bd6b6dc4de8dea0e47c9be59040 | diff --git a/runtime/lib/formatter/PropelOnDemandFormatter.php b/runtime/lib/formatter/PropelOnDemandFormatter.php
index <HASH>..<HASH> 100644
--- a/runtime/lib/formatter/PropelOnDemandFormatter.php
+++ b/runtime/lib/formatter/PropelOnDemandFormatter.php
@@ -58,7 +58,7 @@ class PropelOnDemandFormatter extends PropelObj... | [<I>][<I>] Fixed typo in PropelOnDemandFormatter that makes in fail with single table inheritance (closes #<I>) | propelorm_Propel | train | php |
a20e9d7ccbf4b1f4a17ff7c9e6ec9c1a2879a52e | diff --git a/clients/web/src/utilities.js b/clients/web/src/utilities.js
index <HASH>..<HASH> 100644
--- a/clients/web/src/utilities.js
+++ b/clients/web/src/utilities.js
@@ -24,7 +24,7 @@ girder.formatDate = function (datestr, resolution) {
output += ' ' + date.getFullYear();
if (resolution >= girder.DATE_... | Changing the format date output to be more friendly. | girder_girder | train | js |
3ecd855c0943242abfaee6a714220739cf5efd02 | diff --git a/lib/arjdbc/mysql/adapter.rb b/lib/arjdbc/mysql/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/mysql/adapter.rb
+++ b/lib/arjdbc/mysql/adapter.rb
@@ -482,7 +482,11 @@ module ArJdbc
end
def current_database
- select_one("SELECT DATABASE() as db")["db"]
+ select_one("SELECT DATA... | [mysql] back-port missing truncate connection method (since AR <I>) | jruby_activerecord-jdbc-adapter | train | rb |
d6396406ad628312d434552a0a1091a258fc9133 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -228,7 +228,7 @@ ShellCraft.prototype.shell = function (callback) {
}
process.stdin.on ('keypress', function (chunk, key) {
- if (!key) {
+ if (!key || !self.uiPrompt.rl) {
return;
} | Skip keypress when readline is not ready | Xcraft-Inc_shellcraft.js | train | js |
b372bb26f384d8491b1a1852cee366e7fb02c50d | diff --git a/src/main/java/com/github/lalyos/jfiglet/FigletFont.java b/src/main/java/com/github/lalyos/jfiglet/FigletFont.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/lalyos/jfiglet/FigletFont.java
+++ b/src/main/java/com/github/lalyos/jfiglet/FigletFont.java
@@ -129,8 +129,10 @@ public class FigletF... | Replace <I> bit check with regex and add octal parsing | lalyos_jfiglet | train | java |
c0ea86edd09fe4d15fdab86e4cbb28a0b7fb010c | diff --git a/modelx/core/space.py b/modelx/core/space.py
index <HASH>..<HASH> 100644
--- a/modelx/core/space.py
+++ b/modelx/core/space.py
@@ -354,16 +354,6 @@ class BaseSpace(BaseSpaceContainer, ElementFactory):
return self._impl.named_itemspaces.interfaces
@property
- def _self_spaces(self):
- ... | FAC: Remove unused Space methods | fumitoh_modelx | train | py |
4978e3c285bbf052364b499c6ca9386ecae47629 | diff --git a/tests/linalg_test.py b/tests/linalg_test.py
index <HASH>..<HASH> 100644
--- a/tests/linalg_test.py
+++ b/tests/linalg_test.py
@@ -721,6 +721,7 @@ class NumpyLinalgTest(jtu.JaxTestCase):
for dtype in float_types + complex_types
for n in [-5, -2, -1, 0, 1, 2, 3, 4, 5, 10]
for rng_factory... | Disable linalg_test:testMatrix power on TPU (#<I>)
Due to internal test failures (b/<I>) | tensorflow_probability | train | py |
63add95d99d6283bd706ae3ddbb44d6b86b545df | diff --git a/core/app/controllers/admin/base_controller.rb b/core/app/controllers/admin/base_controller.rb
index <HASH>..<HASH> 100644
--- a/core/app/controllers/admin/base_controller.rb
+++ b/core/app/controllers/admin/base_controller.rb
@@ -1,8 +1,6 @@
# Filters added to this controller apply to all controllers in t... | Removed message from core controller about adding to this file, it didn't make sense anymore because it's wrapped up in our gem. | refinery_refinerycms | train | rb |
0610a60d4295003cb767f6e78bb4dd1ad2582879 | diff --git a/geocoder/tamu.py b/geocoder/tamu.py
index <HASH>..<HASH> 100644
--- a/geocoder/tamu.py
+++ b/geocoder/tamu.py
@@ -78,8 +78,8 @@ class Tamu(Base):
# Build initial Tree with results
if self.parse['OutputGeocodes']:
self._build_tree(self.parse.get('OutputGeocodes')[0])
- ... | use ReferenceFeature instead of MatchedAddress | DenisCarriere_geocoder | train | py |
c696f649d805587cc8674b6bc6ff475a422c8ff8 | diff --git a/safe_qgis/widgets/dock.py b/safe_qgis/widgets/dock.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/widgets/dock.py
+++ b/safe_qgis/widgets/dock.py
@@ -112,7 +112,7 @@ SMALL_ICON_STYLE = styles.SMALL_ICON_STYLE
LOGO_ELEMENT = m.Image('qrc:/plugins/inasafe/inasafe-logo.png', 'InaSAFE Logo')
LOGGER = logging... | Fix #<I> Aggregation fails on deintersect - disable debug stuff | inasafe_inasafe | train | py |
8c05c9ba3f96ff535cd1fa7be38fb2a2ad3f893b | diff --git a/app/src/main/java/com/mikepenz/fastadapter/app/items/SampleItem.java b/app/src/main/java/com/mikepenz/fastadapter/app/items/SampleItem.java
index <HASH>..<HASH> 100644
--- a/app/src/main/java/com/mikepenz/fastadapter/app/items/SampleItem.java
+++ b/app/src/main/java/com/mikepenz/fastadapter/app/items/Sampl... | * adjust SampleItem to changed method | mikepenz_FastAdapter | train | java |
856870c195e72ab57b9d3f1248a35e03b2704bfa | diff --git a/pyrogram/client/types/user_and_chats/user.py b/pyrogram/client/types/user_and_chats/user.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/types/user_and_chats/user.py
+++ b/pyrogram/client/types/user_and_chats/user.py
@@ -214,3 +214,38 @@ class User(Object):
"""
return self._client.... | Add bound methods block and unblock to User object | pyrogram_pyrogram | train | py |
1f75796e4cd2827070f319d718ec4a8d285a9bdb | diff --git a/src/main/java/org/junit/rules/TemporaryFolder.java b/src/main/java/org/junit/rules/TemporaryFolder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/junit/rules/TemporaryFolder.java
+++ b/src/main/java/org/junit/rules/TemporaryFolder.java
@@ -108,7 +108,7 @@ public class TemporaryFolder extends Exte... | Fix wrong exception type in JavaDoc
See issue #<I> | junit-team_junit4 | train | java |
13fe54b044320c1170279bfc29570e7f151c79a0 | diff --git a/hazelcast/src/test/java/com/hazelcast/sql/impl/exec/scan/index/MapIndexScanExecTest.java b/hazelcast/src/test/java/com/hazelcast/sql/impl/exec/scan/index/MapIndexScanExecTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/sql/impl/exec/scan/index/MapIndexScanExecTest.java
+++ ... | Unit test fix: wait for safe state (#<I>)
in the MapIndexScanExecTest waitt for SAFE state
Closes <URL> | hazelcast_hazelcast | train | java |
fd0208f4b5ff38ae73f1b2054afacf0e521ba9af | diff --git a/pyaml/__init__.py b/pyaml/__init__.py
index <HASH>..<HASH> 100644
--- a/pyaml/__init__.py
+++ b/pyaml/__init__.py
@@ -114,7 +114,7 @@ class UnsafePrettyYAMLDumper(PrettyYAMLDumper):
style = dumper.pyaml_string_val_style
if not style:
style = 'plain'
- if '\n' in data or (data and data[0] in '!&... | Strings starting with "[" need to be quoted as well. | mk-fg_pretty-yaml | train | py |
c6c533b21d8a23ecef84fa743df5e2cd94f63ab6 | diff --git a/test_config_manager.py b/test_config_manager.py
index <HASH>..<HASH> 100644
--- a/test_config_manager.py
+++ b/test_config_manager.py
@@ -917,7 +917,6 @@ foo=bar ; other comment
use_config_files=True,
auto_he... | reverted use of unittest.assertIsNone() which requires python <I> | mozilla_configman | train | py |
bc6118980fb853d19c0c2879e2f3e401cbe118ea | diff --git a/src/packet/packetlist.js b/src/packet/packetlist.js
index <HASH>..<HASH> 100644
--- a/src/packet/packetlist.js
+++ b/src/packet/packetlist.js
@@ -53,10 +53,9 @@ List.prototype.read = async function (bytes) {
await packet.read(parsed.packet);
await writer.write(packet);
... | Throw on parse errors in integrity protected encrypted packets | openpgpjs_openpgpjs | train | js |
8cf768e19da294d54f426450374aa87e2f01e86e | diff --git a/packages/foxman-core/__test__/application.instance.test.js b/packages/foxman-core/__test__/application.instance.test.js
index <HASH>..<HASH> 100644
--- a/packages/foxman-core/__test__/application.instance.test.js
+++ b/packages/foxman-core/__test__/application.instance.test.js
@@ -1,4 +1,4 @@
-const { init... | Tweaks
* application.Instance.test.js | kaola-fed_foxman | train | js |
68cc31030319f62f2c3acfcf843dbcb45b36fdef | diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -73,9 +73,9 @@ class Columns(Element):
"""
self.__dict__ = state
if isinstance(self.data, OrderedDict):
- self.data = NdElement(self... | Columns now converts old pickle data to new formats | pyviz_holoviews | train | py |
6f8c0bf61c34fd59df0a053f869a763ea61d0c82 | diff --git a/modules/check-default-options.php b/modules/check-default-options.php
index <HASH>..<HASH> 100644
--- a/modules/check-default-options.php
+++ b/modules/check-default-options.php
@@ -22,7 +22,7 @@ $options = array(
);
foreach ( $options as $option ) {
- if ( ! get_option($option) ) {
+ if ( get_option... | Use strict comparison when checking for option existence
The plugin uses an empty string as a false value. It means that the
user explicitly stated that they don't want the feature.
Do not override empty strings.
Closes: #<I> | Seravo_seravo-plugin | train | php |
998ed7eb3e801d39326f36fd3b0c259fee2be0ec | diff --git a/actionview/lib/action_view/base.rb b/actionview/lib/action_view/base.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/base.rb
+++ b/actionview/lib/action_view/base.rb
@@ -213,6 +213,8 @@ module ActionView #:nodoc:
context.lookup_context
when Array
ActionView::LookupC... | Deprecate ActionView::PathSet as argument to ActionView::Base.new
Currently, `ActionView::Base.new` will raise a `NotImplementedError` when given an instance of `ActionView::PathSet` on initialization. This commit prevents the raised error in favor of a deprecation warning. | rails_rails | train | rb,rb |
35ea6bb9e8535e408c344aa00cb06e2977da7f07 | diff --git a/src/Guzzle/Parser/ParserRegistry.php b/src/Guzzle/Parser/ParserRegistry.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Parser/ParserRegistry.php
+++ b/src/Guzzle/Parser/ParserRegistry.php
@@ -48,10 +48,9 @@ class ParserRegistry
public function __construct()
{
// Use the PECL URI templa... | Reinstating uri_template extension as the default if available | guzzle_guzzle3 | train | php |
aeb69791a6886185f3ae15c1c1c65e5124d53dd0 | diff --git a/get-poetry.py b/get-poetry.py
index <HASH>..<HASH> 100644
--- a/get-poetry.py
+++ b/get-poetry.py
@@ -702,7 +702,7 @@ class Installer:
def get_unix_profiles(self):
profiles = [os.path.join(HOME, ".profile")]
- shell = os.getenv("SHELL")
+ shell = os.getenv("SHELL", "")
... | Fix get-poetry.py when no shell is available | sdispater_poetry | train | py |
def201aca819862470b879d5beb75fcf3d46f87f | diff --git a/src/rez/package_cache.py b/src/rez/package_cache.py
index <HASH>..<HASH> 100644
--- a/src/rez/package_cache.py
+++ b/src/rez/package_cache.py
@@ -187,12 +187,12 @@ class PackageCache(object):
)
# Package is already on same disk device as package cache. Note that
- ... | trivial change, py<I> on Windows is the version that sets os.stat().st_dev properly. | nerdvegas_rez | train | py |
b242ebd663989cf3e3d4592a79317e03867b6942 | diff --git a/shoebot/data.py b/shoebot/data.py
index <HASH>..<HASH> 100644
--- a/shoebot/data.py
+++ b/shoebot/data.py
@@ -889,7 +889,6 @@ class Image(Grob, TransformMixin, ColorMixin):
import Image
import numpy
- from array import array
# checks if image data is passed in c... | removed array module import from Image class. let's free some memory | shoebot_shoebot | train | py |
048189839037b8c5056d6e64bf1edbcb847d41a4 | diff --git a/src/cli/keys.js b/src/cli/keys.js
index <HASH>..<HASH> 100644
--- a/src/cli/keys.js
+++ b/src/cli/keys.js
@@ -54,7 +54,7 @@ module.exports = ({ commandProcessor, root }) => {
});
commandProcessor.createCommand(keys, 'doctor', 'Creates and assigns a new key to your device, and uploads it to the cloud'... | clarify that `particle keys doctor` expects device id (vs. name) | particle-iot_particle-cli | train | js |
efb698335938dca53d151e99d90ee872e4e66fca | diff --git a/rules/named-functions-in-promises.js b/rules/named-functions-in-promises.js
index <HASH>..<HASH> 100644
--- a/rules/named-functions-in-promises.js
+++ b/rules/named-functions-in-promises.js
@@ -14,7 +14,7 @@ module.exports = function(context) {
context.report(node, message);
};
- var promisesMet... | named-functions-in-promises rule: Don't consider non-standard .success as Promise method. | ember-cli_eslint-plugin-ember | train | js |
d2e14abfd56b041d6a5539dda40db717cdb3623b | diff --git a/sanic/request.py b/sanic/request.py
index <HASH>..<HASH> 100644
--- a/sanic/request.py
+++ b/sanic/request.py
@@ -86,7 +86,7 @@ class Request(dict):
:return: token related to request
"""
- prefixes = ('Token ', 'Bearer ')
+ prefixes = ('Bearer', 'Token ')
auth_hea... | Inverted the order of prefixes in Request.token property.
As suggested by @allan-simon
See: <URL> | huge-success_sanic | train | py |
e7f820e402731091e57c850541ff064740644fc4 | diff --git a/.bin/helpers.js b/.bin/helpers.js
index <HASH>..<HASH> 100644
--- a/.bin/helpers.js
+++ b/.bin/helpers.js
@@ -62,7 +62,7 @@ const closeLogs = () => {
};
const exitProcess = (status = 1, error) => {
- if (error) errorLog.write(error.toString());
+ if (error) errorLog.write(error);
closeLogs();
logTo... | improved script error printing
see #<I> | Cycling74_miraweb | train | js |
e82f094c49bdd16ef93900d7cc8063b0f3c26448 | diff --git a/code/cms/ShopConfig.php b/code/cms/ShopConfig.php
index <HASH>..<HASH> 100644
--- a/code/cms/ShopConfig.php
+++ b/code/cms/ShopConfig.php
@@ -16,10 +16,10 @@ class ShopConfig extends DataObjectDecorator{
function updateCMSFields($fields){
$fields->insertBefore($shoptab = new Tab('Shop', 'Shop'), 'A... | NEW: Created tab for Allowed Countries | silvershop_silvershop-core | train | php |
68d06d760256aed15733f65e4a3aae7c8703047c | diff --git a/src/main/java/us/fatehi/creditcardnumber/bankcard/ExpirationDate.java b/src/main/java/us/fatehi/creditcardnumber/bankcard/ExpirationDate.java
index <HASH>..<HASH> 100644
--- a/src/main/java/us/fatehi/creditcardnumber/bankcard/ExpirationDate.java
+++ b/src/main/java/us/fatehi/creditcardnumber/bankcard/Expir... | Adding more constructors for expiration date | sualeh_credit_card_number | train | java |
71ab89dfc226379a32f1aa3414ffcb810652aa9a | diff --git a/pkg/minikube/bootstrapper/kubeadm/templates.go b/pkg/minikube/bootstrapper/kubeadm/templates.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/bootstrapper/kubeadm/templates.go
+++ b/pkg/minikube/bootstrapper/kubeadm/templates.go
@@ -171,7 +171,8 @@ Documentation=http://kubernetes.io/docs/
ExecStart=/usr/... | Reduce kubectl restart time from <I> seconds to <I>ms | kubernetes_minikube | train | go |
d9f2792d1fab73face48fbc7fcd10d0eac78c348 | diff --git a/roaring/roaring.go b/roaring/roaring.go
index <HASH>..<HASH> 100644
--- a/roaring/roaring.go
+++ b/roaring/roaring.go
@@ -23,7 +23,6 @@ import (
"math/bits"
"sort"
"unsafe"
- "math"
"github.com/pkg/errors"
)
@@ -3945,7 +3944,7 @@ func (op *op) WriteTo(w io.Writer) (n int64, err error) {
}
va... | Reworded max int error and reset max int value | pilosa_pilosa | train | go |
cafe539f0e20b46d52b65ab0ec157341ce1f7ec4 | diff --git a/test/excel/writer/worksheet.rb b/test/excel/writer/worksheet.rb
index <HASH>..<HASH> 100644
--- a/test/excel/writer/worksheet.rb
+++ b/test/excel/writer/worksheet.rb
@@ -14,6 +14,7 @@ class TestWorksheet < Test::Unit::TestCase
assert_equal false, sheet.need_number?(114.55)
assert_equal false, she... | Added a test for the patch from Bjoern Andersson regarding NaN (Not a Number) | zdavatz_spreadsheet | train | rb |
4c46510612b4f879ce0bff781855999310f1ee98 | diff --git a/webdriver_manager/utils.py b/webdriver_manager/utils.py
index <HASH>..<HASH> 100644
--- a/webdriver_manager/utils.py
+++ b/webdriver_manager/utils.py
@@ -96,12 +96,6 @@ def validate_response(resp: requests.Response):
)
-def write_file(content, path):
- with open(path, "wb") as code:
- ... | gh #<I> remove write_file, get_filename_from_response (#<I>) | SergeyPirogov_webdriver_manager | train | py |
c5b69cf3f36659578cdf773886159a531d0325f6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,6 @@
var randomBytes = require('randombytes')
-var ALPHABET = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ~abcdefghijklmnopqrstuvwxyz_'
+var ALPHABET = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~'
va... | fix(ALPHABET): sorted chars. | nxtedition_xuid | train | js |
95d7bdbbd88f690c1dc0db4c3cbe0e8419fb03fa | diff --git a/src/connection.js b/src/connection.js
index <HASH>..<HASH> 100644
--- a/src/connection.js
+++ b/src/connection.js
@@ -575,7 +575,7 @@ const GetBlockTimeRpcResult = struct({
jsonrpc: struct.literal('2.0'),
id: 'string',
error: 'any?',
- result: struct.union(['null', 'number']),
+ result: struct.u... | fix: undefined is a valid result for getBlockTime | solana-labs_solana-web3.js | train | js |
5b1298a6ca43424a885b5d041400b74ccbfe9cbf | diff --git a/modules/es/views/es.SurfaceView.js b/modules/es/views/es.SurfaceView.js
index <HASH>..<HASH> 100644
--- a/modules/es/views/es.SurfaceView.js
+++ b/modules/es/views/es.SurfaceView.js
@@ -134,8 +134,6 @@ es.SurfaceView = function( $container, model ) {
this.$window.scroll( function() {
surfaceView.dimen... | Removed alert() - dude, use console.log, and don't leave it in the SVN plz! :P | wikimedia_parsoid | train | js |
5df6229d2aae5ec20c7380249e722de18c5a12e9 | diff --git a/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java b/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java
+++ b/src/main/java/org/jboss/netty/handler/ssl/SslHandler.java
@@ -273,14 +273,13 @@ public clas... | A workaround for 'missing algorithm' error during handshake | netty_netty | train | java |
29fc37bad621238edff05322308c0b07eca9a79f | diff --git a/ph-ubl21/src/main/java/com/helger/ubl21/CUBL21.java b/ph-ubl21/src/main/java/com/helger/ubl21/CUBL21.java
index <HASH>..<HASH> 100644
--- a/ph-ubl21/src/main/java/com/helger/ubl21/CUBL21.java
+++ b/ph-ubl21/src/main/java/com/helger/ubl21/CUBL21.java
@@ -40,9 +40,6 @@ public final class CUBL21
/** The ce... | Removed XMLDsig <I> constant | phax_ph-ubl | train | java |
bb4753ccaeae2822dd2c1e4658e095009e1e81b3 | diff --git a/lib/bootstrap_forms/helpers/wrappers.rb b/lib/bootstrap_forms/helpers/wrappers.rb
index <HASH>..<HASH> 100644
--- a/lib/bootstrap_forms/helpers/wrappers.rb
+++ b/lib/bootstrap_forms/helpers/wrappers.rb
@@ -48,10 +48,14 @@ module BootstrapForms
end
def label_field(&block)
- if respond... | added the possibility to pass label: '' as option in tags, which cause the absence of label in html output | sethvargo_bootstrap_forms | train | rb |
1c97019eaf239376605c3dd214661666ea7ce1a0 | diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/lesson/locallib.php
+++ b/mod/lesson/locallib.php
@@ -1143,31 +1143,6 @@ function lesson_check_nickname($name) {
return true;
}
-/*******************************************************************/
-function le... | removed lesson_clean_data_submitted() function. Removed all instances of its use before I did this | moodle_moodle | train | php |
428fd7e5aa01b18763c6d25cef3f7ad2a8d2ce18 | diff --git a/core/workspace_comment.js b/core/workspace_comment.js
index <HASH>..<HASH> 100644
--- a/core/workspace_comment.js
+++ b/core/workspace_comment.js
@@ -419,7 +419,7 @@ Blockly.WorkspaceComment.parseAttributes = function(xml) {
* the XML.
* @type {boolean}
*/
- minimized: xml.getAttribute... | Import workspace comment minimized state correctly. | LLK_scratch-blocks | train | js |
d4b562e001f35467f97a9463607e56371c76b6dc | diff --git a/lib/output/ebook/getCoverPath.js b/lib/output/ebook/getCoverPath.js
index <HASH>..<HASH> 100644
--- a/lib/output/ebook/getCoverPath.js
+++ b/lib/output/ebook/getCoverPath.js
@@ -11,17 +11,17 @@ function getCoverPath(output) {
var outputRoot = output.getRoot();
var book = output.getBook();
va... | Fix get of cover for multilingual books | GitbookIO_gitbook | train | js |
8174f206125f1771aabfb334c33ff39777158261 | diff --git a/lib/model/exposable.js b/lib/model/exposable.js
index <HASH>..<HASH> 100644
--- a/lib/model/exposable.js
+++ b/lib/model/exposable.js
@@ -191,13 +191,25 @@ function exposeCrud(Model, methods) {
function notFoundError(ctx, cb) {
var modelName = ctx.method.sharedClass.name;
- var id = ... | fixed req.param dept throw message | uugolab_sycle | train | js |
4585b61002f05b8d72ba2d50d308c88aee0368b7 | diff --git a/lib/sdk/filters.js b/lib/sdk/filters.js
index <HASH>..<HASH> 100644
--- a/lib/sdk/filters.js
+++ b/lib/sdk/filters.js
@@ -55,6 +55,7 @@ exports.contextfunctions = {
url = path.join(prefix, url);
url = path.relative(basepath, url);
url = url.replace(/\\/g, '/');
+ if (url.charAt(0)... | append ./ on static_url, coz seajs | lepture_nico | train | js |
c9501128b61089ca19f5564f1bed0e6d63843cc3 | diff --git a/plugin/pkg/scheduler/factory/plugins.go b/plugin/pkg/scheduler/factory/plugins.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/factory/plugins.go
+++ b/plugin/pkg/scheduler/factory/plugins.go
@@ -110,7 +110,7 @@ func GetAlgorithmProvider(name string) (*AlgorithmProviderConfig, error) {
var prov... | Scheduler is printing the wrong value when no default algorithms available | kubernetes_kubernetes | train | go |
f180cdde6e288a7257440365a86e188d7ffd3d56 | diff --git a/test/keenio-middleware.js b/test/keenio-middleware.js
index <HASH>..<HASH> 100644
--- a/test/keenio-middleware.js
+++ b/test/keenio-middleware.js
@@ -173,7 +173,10 @@ describe("keenioMiddleware", function () {
app = express();
app.configure(function () {
- app.use(express.bodyParser(... | Removed annoying deprecated Connect/Express warning. | sebinsua_express-keenio | train | js |
455057d80f404affae68b89bb2ce919b8b6c45bf | diff --git a/ibis/expr/analysis.py b/ibis/expr/analysis.py
index <HASH>..<HASH> 100644
--- a/ibis/expr/analysis.py
+++ b/ibis/expr/analysis.py
@@ -538,7 +538,7 @@ def find_base_table(expr):
if isinstance(expr, ir.TableExpr):
return expr
- for arg in expr.op().args:
+ for arg in expr.op().flat_args... | BUG: flatten args when looking for base table. Fix downstream failing example. Closes #<I> | ibis-project_ibis | train | py,py |
b7ef6f85671bd1e57efcb0eb859b0b2b933d6645 | diff --git a/cmd/minify/fs.go b/cmd/minify/fs.go
index <HASH>..<HASH> 100644
--- a/cmd/minify/fs.go
+++ b/cmd/minify/fs.go
@@ -3,7 +3,7 @@ package main
import (
"errors"
"os"
- "path"
+ "path/filepath"
"sort"
)
@@ -152,7 +152,7 @@ func walkDir(fsys FS, name string, d DirEntry, walkDirFn WalkDirFunc) error {
... | Use the cross-platform path/filepath package by preference | tdewolff_minify | train | go |
b453da6634b3d654889600982acb278c789718ba | diff --git a/tests/test_doctests.py b/tests/test_doctests.py
index <HASH>..<HASH> 100644
--- a/tests/test_doctests.py
+++ b/tests/test_doctests.py
@@ -4,16 +4,14 @@ import glob
import os
#from zope.testing import doctest
-from rtree.index import __c_api_version__
+from rtree.index import major_version, minor_versio... | another attempt at shutting off customStorage tests when libspatialindex version < <I> | Toblerity_rtree | train | py |
ceb0af01d9559253968a91fe9c9b9ed1d35349bd | diff --git a/scripts/shopify_api.py b/scripts/shopify_api.py
index <HASH>..<HASH> 100755
--- a/scripts/shopify_api.py
+++ b/scripts/shopify_api.py
@@ -7,6 +7,7 @@ import os
import os.path
import glob
import subprocess
+import functools
import yaml
import six
@@ -66,7 +67,7 @@ class TasksMeta(type):
... | Use reduce in functools module for python 3 compatibility. | Shopify_shopify_python_api | 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.