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 |
|---|---|---|---|---|---|
3d21ee60f42f4423fbdad1f2667d9f4b812449da | diff --git a/src/Karma/Hydrator.php b/src/Karma/Hydrator.php
index <HASH>..<HASH> 100644
--- a/src/Karma/Hydrator.php
+++ b/src/Karma/Hydrator.php
@@ -102,20 +102,20 @@ class Hydrator implements ConfigurableProcessor
public function hydrate($environment)
{
- $distFiles = $this->collectDistFiles();
+ ... | refactor: change name of collection file method (not only dist are loaded) | Niktux_karma | train | php |
3cbec0b81ac0faed1b365461f41b258435de4d37 | diff --git a/admin/tool/uploaduser/locallib.php b/admin/tool/uploaduser/locallib.php
index <HASH>..<HASH> 100644
--- a/admin/tool/uploaduser/locallib.php
+++ b/admin/tool/uploaduser/locallib.php
@@ -360,6 +360,7 @@ function uu_allowed_roles() {
*/
function uu_allowed_roles_cache() {
$allowedroles = get_assignab... | MDL-<I> tool_uploaduser: Fix undefined variable warning | moodle_moodle | train | php |
081825932bdefd2ec7794498d81e061149c425d1 | diff --git a/src/main/java/io/vlingo/actors/Stage.java b/src/main/java/io/vlingo/actors/Stage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/Stage.java
+++ b/src/main/java/io/vlingo/actors/Stage.java
@@ -51,15 +51,23 @@ public class Stage implements Stoppable {
definition.par... | Added more logging for test actor creations, which often goes wrong during early development. | vlingo_vlingo-actors | train | java |
e0225b8b54b295cff38e24929856a333a9ce0872 | diff --git a/ghost/members-api/static/auth/components/FormInput.js b/ghost/members-api/static/auth/components/FormInput.js
index <HASH>..<HASH> 100644
--- a/ghost/members-api/static/auth/components/FormInput.js
+++ b/ghost/members-api/static/auth/components/FormInput.js
@@ -1,4 +1,4 @@
-export default ({type, name, pla... | Added support for disabled form elements
no-issue
This can be used for a coupon input in future | TryGhost_Ghost | train | js |
9177a6bca8ca598a79166691a33e2359449d932c | diff --git a/package-command.php b/package-command.php
index <HASH>..<HASH> 100644
--- a/package-command.php
+++ b/package-command.php
@@ -5,7 +5,7 @@ if ( ! class_exists( 'WP_CLI' ) ) {
}
$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
-if ( file_exists( $autoload ) ) {
+if ( file_exists( $autoload ) && ... | If `Package_Command` already exists, don't need the autoloader | wp-cli_package-command | train | php |
78bf1af94e4ba7348b4f8d55037e6d7abdef2f23 | diff --git a/src/Illuminate/Queue/Worker.php b/src/Illuminate/Queue/Worker.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Queue/Worker.php
+++ b/src/Illuminate/Queue/Worker.php
@@ -598,7 +598,11 @@ class Worker
*/
public function sleep($seconds)
{
- usleep($seconds * 1000000);
+ if (... | Use `usleep` in case when sleep time less than 1 second (#<I>) | laravel_framework | train | php |
d1e856e4ca1442d4a0e68b5a3eb7f941b931645d | diff --git a/src/views/shared/list/_full_header.haml.php b/src/views/shared/list/_full_header.haml.php
index <HASH>..<HASH> 100644
--- a/src/views/shared/list/_full_header.haml.php
+++ b/src/views/shared/list/_full_header.haml.php
@@ -13,9 +13,6 @@
%span.stat
Total
%span.badge=$count
- %span.stat
- Showing
- ... | Removing the "showing" stat | BKWLD_decoy | train | php |
4d1a08676c471f18bd70a95d25d96bfcba93458c | diff --git a/gosu-lab/src/main/java/editor/search/UsageTarget.java b/gosu-lab/src/main/java/editor/search/UsageTarget.java
index <HASH>..<HASH> 100644
--- a/gosu-lab/src/main/java/editor/search/UsageTarget.java
+++ b/gosu-lab/src/main/java/editor/search/UsageTarget.java
@@ -293,15 +293,16 @@ public class UsageTarget
... | Gosu Lab
- fix navigation to member through meta type | gosu-lang_gosu-lang | train | java |
fac22aa2c1ef3b5b08d0bdb0bfd19430b78c3854 | diff --git a/openstack/resource_openstack_networking_port_v2.go b/openstack/resource_openstack_networking_port_v2.go
index <HASH>..<HASH> 100644
--- a/openstack/resource_openstack_networking_port_v2.go
+++ b/openstack/resource_openstack_networking_port_v2.go
@@ -10,7 +10,6 @@ import (
"github.com/gophercloud/gophercl... | Networking v2: Revert validation of fixed_ip ip_address (#<I>) | terraform-providers_terraform-provider-openstack | train | go |
b64b9a02ad42223f7e9060bce824ee2e5f472f56 | diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py
index <HASH>..<HASH> 100644
--- a/troposphere/autoscaling.py
+++ b/troposphere/autoscaling.py
@@ -32,7 +32,7 @@ class AutoScalingGroup(AWSObject):
'MaxSize': (basestring, True),
'MinSize': (basestring, True),
'NotificationCo... | Don't make Tags a required AutoScalingGroup property
Despite the documentation saying this is required, none of the examples
have Tags in them. So we'll make this an optional property for now.. | cloudtools_troposphere | train | py |
791043f3d74b0e218bea55ea52301fa5ddafb4a7 | diff --git a/kernel/setup/steps/ezstep_create_sites.php b/kernel/setup/steps/ezstep_create_sites.php
index <HASH>..<HASH> 100644
--- a/kernel/setup/steps/ezstep_create_sites.php
+++ b/kernel/setup/steps/ezstep_create_sites.php
@@ -492,10 +492,14 @@ class eZStepCreateSites extends eZStepInstaller
... | Replace deprecated check for innodb support
Since MySQL <I>, the server variable `have_innodb` has been removed. The command `SHOW ENGINES` instead is supported since MySQL <I>.
See <URL> | ezsystems_ezpublish-legacy | train | php |
ea596f2e0abaa72c195440a9757b8213eaa8f70d | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -25,6 +25,8 @@ Removed
Fixed
-----
+- :kbd:`^c` not able to terminate initialization process due to the handler
+ registered.
Known issue
-----------
diff --git a/ehforwarderbot/__main__.py b/ehforwarderbo... | fix: ^c not able to stop the init process (#<I>) | blueset_ehForwarderBot | train | rst,py,py |
2d5760fbb34a147632db44cd7127ef19df5d2557 | diff --git a/src/grid/GroupedByServerChargesGridView.php b/src/grid/GroupedByServerChargesGridView.php
index <HASH>..<HASH> 100644
--- a/src/grid/GroupedByServerChargesGridView.php
+++ b/src/grid/GroupedByServerChargesGridView.php
@@ -77,7 +77,7 @@ class GroupedByServerChargesGridView extends BillGridView
... | fixed parts Description displaying in bill view (#<I>) | hiqdev_hipanel-module-finance | train | php |
542cbb0f1efa19fafda5ca2d4aa046be99791e24 | diff --git a/src/util.js b/src/util.js
index <HASH>..<HASH> 100644
--- a/src/util.js
+++ b/src/util.js
@@ -30,7 +30,9 @@ var deparam = function(qs) {
for(var i=0; i<parts.length; i++) {
var pair = parts[i].split("=");
- var key = decodeURIComponent(pair[0]), value = decodeURIComponent(pair[1]);
+... | added depram support for multi arguments | dailymuse_mithril-coat | train | js |
40e1519f26fd654eac7e0170c2edb14e61641533 | diff --git a/src/Console/Commands/ExportMessages.php b/src/Console/Commands/ExportMessages.php
index <HASH>..<HASH> 100644
--- a/src/Console/Commands/ExportMessages.php
+++ b/src/Console/Commands/ExportMessages.php
@@ -48,9 +48,17 @@ class ExportMessages extends Command
$adapter = new Local( $filepath );
... | Check if messages file already exists and replace it with the new file | kg-bot_laravel-localization-to-vue | train | php |
990e0e8e65247980dcf37124b58872e93d68793b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from distutils.core import setup
setup(name='registration',
- version='0.3p2',
+ version='0.3p3',
description='User-registration application for Django',
author='James Bennett',
... | And push a version bump to setup.py just becaue | ubernostrum_django-registration | train | py |
15a00b4be0deccd9f7a4a2dce9e85d951b7fcdaf | diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php
index <HASH>..<HASH> 100644
--- a/blocks/moodleblock.class.php
+++ b/blocks/moodleblock.class.php
@@ -646,7 +646,7 @@ class block_base {
* @return boolean
* @todo finish documenting this function
*/
- function user_can_addto(&... | blocks editing ui: MDL-<I> Remove stupid pass by reference.
Was causing errors when this method was called via block_method_result | moodle_moodle | train | php |
7932d03ba83c0c38ce8d393ee70113a15bd291db | diff --git a/astromodels/functions/template_model.py b/astromodels/functions/template_model.py
index <HASH>..<HASH> 100644
--- a/astromodels/functions/template_model.py
+++ b/astromodels/functions/template_model.py
@@ -410,7 +410,7 @@ class TemplateModel(Function1D):
# Figure out the shape of the data matric... | 1D templates were failing. added np.atleast_1d to fix | threeML_astromodels | train | py |
b9f22dd6a4ceb519e0207c74651f03ee99873a3e | diff --git a/beetle/base.py b/beetle/base.py
index <HASH>..<HASH> 100644
--- a/beetle/base.py
+++ b/beetle/base.py
@@ -73,10 +73,13 @@ class Writer(object):
def write(self):
for destination, content in self.files():
- destination_folder = os.path.dirname(destination)
+ self.write_f... | Splitted actual writing to a new function. | cknv_beetle | train | py |
1c6dc7c3afc032ed28270cb8a710eb6f899ccd6b | diff --git a/tornado/wsgi.py b/tornado/wsgi.py
index <HASH>..<HASH> 100644
--- a/tornado/wsgi.py
+++ b/tornado/wsgi.py
@@ -43,7 +43,7 @@ import urllib
from tornado import escape
from tornado import httputil
from tornado import web
-from tornado.escape import native_str, utf8
+from tornado.escape import native_str, u... | Fix keys in wsgi request arguments being bytes in python3 when content-type is application/x-www-form-urlencoded. | tornadoweb_tornado | train | py |
97796c27b85dcf883b14eca1a9267051687902c5 | diff --git a/lib/epub/publication/package/guide.rb b/lib/epub/publication/package/guide.rb
index <HASH>..<HASH> 100644
--- a/lib/epub/publication/package/guide.rb
+++ b/lib/epub/publication/package/guide.rb
@@ -30,10 +30,6 @@ module EPUB
attr_accessor :guide,
:type, :title, :href,
... | Remove #to_s from Publication::Package::Manifest and Guide to help debugging | KitaitiMakoto_epub-parser | train | rb,rb |
e3143451762d058e8ae6c5efa86494c19f920d48 | diff --git a/src/Persistence/Db/Criteria/LoadCriteriaMapper.php b/src/Persistence/Db/Criteria/LoadCriteriaMapper.php
index <HASH>..<HASH> 100644
--- a/src/Persistence/Db/Criteria/LoadCriteriaMapper.php
+++ b/src/Persistence/Db/Criteria/LoadCriteriaMapper.php
@@ -66,7 +66,17 @@ class LoadCriteriaMapper
... | Fix issue with joined members and and parent columns | dms-org_core | train | php |
e504e5a8de9532c3ef9d772e437baede7a311637 | diff --git a/h2o-algos/src/test/java/hex/deeplearning/DeepLearningReproducibilityTest.java b/h2o-algos/src/test/java/hex/deeplearning/DeepLearningReproducibilityTest.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/test/java/hex/deeplearning/DeepLearningReproducibilityTest.java
+++ b/h2o-algos/src/test/java/hex/dee... | Speed up DL Repro test. | h2oai_h2o-3 | train | java |
ac7e1bc47a9361733820b43171cbdb6e6ba5aa07 | diff --git a/plex/__init__.py b/plex/__init__.py
index <HASH>..<HASH> 100644
--- a/plex/__init__.py
+++ b/plex/__init__.py
@@ -2,7 +2,7 @@ import logging
log = logging.getLogger(__name__)
-__version__ = '0.6.2'
+__version__ = '0.6.3'
try: | Bumped version to <I> | fuzeman_plex.py | train | py |
37e3b0be622b8fe19b99cf0352c50ec821c7f5b7 | diff --git a/src/Service/PullRequest.php b/src/Service/PullRequest.php
index <HASH>..<HASH> 100644
--- a/src/Service/PullRequest.php
+++ b/src/Service/PullRequest.php
@@ -48,50 +48,6 @@ class PullRequest
}
/**
- * @param string $user
- * @return self
- */
- public function userName($user)
- ... | Fix: Remove code not covered by tests | localheinz_github-changelog | train | php |
dee114d4c42a6b81d5ad551bd9634893f03fe70e | diff --git a/examples/webgl-points-layer.js b/examples/webgl-points-layer.js
index <HASH>..<HASH> 100644
--- a/examples/webgl-points-layer.js
+++ b/examples/webgl-points-layer.js
@@ -81,13 +81,12 @@ function setStyleStatus(valid) {
const editor = document.getElementById('style-editor');
editor.addEventListener('input... | Guard against JSON.parse errors.
Also show successful style parse status after a style error was corrected
but it is the same style as previously. | openlayers_openlayers | train | js |
bb81a37cdc1a3f0bd87241722c6fc584d71f3005 | diff --git a/server/monitor_test.go b/server/monitor_test.go
index <HASH>..<HASH> 100644
--- a/server/monitor_test.go
+++ b/server/monitor_test.go
@@ -389,11 +389,9 @@ func TestConnzLastActivity(t *testing.T) {
t.Fatalf("Expected LastActivity to be valid\n")
}
- // On Windows, looks like the precision is too low... | Fix flapping test
Introduce sleep when checking activity updates. I had fixed it
originally for Windows and then made it for all platform recently
but only for the publish case. I missed the subscribe test. | nats-io_gnatsd | train | go |
c322d00804bca3190a94dfa6572a0367612149b9 | diff --git a/django_extensions/management/commands/sync_media_s3.py b/django_extensions/management/commands/sync_media_s3.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/sync_media_s3.py
+++ b/django_extensions/management/commands/sync_media_s3.py
@@ -111,7 +111,7 @@ class Command(BaseCommand... | Updating the verbosity option to actually work. | django-extensions_django-extensions | train | py |
7989e673df9ab99248b9fcefd4f9b09377fe3ced | diff --git a/napalm/base/helpers.py b/napalm/base/helpers.py
index <HASH>..<HASH> 100644
--- a/napalm/base/helpers.py
+++ b/napalm/base/helpers.py
@@ -248,7 +248,7 @@ def textfsm_extractor(cls, template_name, raw_text):
def find_txt(xml_tree, path, default="", namespaces=None):
"""
Extracts the text value fr... | added lxml text retrieval not to fail if no text avail (#<I>) | napalm-automation_napalm | train | py |
10a4b7a6e797e485df43dad99ac267b3d54ffe2c | diff --git a/test/perfplot_test.py b/test/perfplot_test.py
index <HASH>..<HASH> 100644
--- a/test/perfplot_test.py
+++ b/test/perfplot_test.py
@@ -58,7 +58,7 @@ def test_no_labels():
def test_automatic_scale():
- from perfplot.main import PerfplotData, si_time
+ from perfplot.main import PerfplotData
... | Fix flake8 formatting errors in tests
- Unused import flake8(F<I>)
- Missing whitespace around operator flake8(E<I>) | nschloe_perfplot | train | py |
8b1da81830be4157cff15bb53c741041e0a2d714 | diff --git a/node-tests/lint-test.js b/node-tests/lint-test.js
index <HASH>..<HASH> 100644
--- a/node-tests/lint-test.js
+++ b/node-tests/lint-test.js
@@ -8,4 +8,7 @@ var paths = [
'index.js',
];
-lint(paths);
+lint(paths, {
+ timeout: 10000,
+ slow: 2000,
+}); | tests/lint: Increase timeouts | ember-cli_ember-cli-legacy-blueprints | train | js |
b784faf45d825e763edd0ae7a47858b1a46d1798 | diff --git a/bitshares/amount.py b/bitshares/amount.py
index <HASH>..<HASH> 100644
--- a/bitshares/amount.py
+++ b/bitshares/amount.py
@@ -79,11 +79,16 @@ class Amount(dict):
self["asset"] = Asset(args[1], bitshares_instance=self.bitshares)
self["symbol"] = self["asset"]["symbol"]
- e... | [amount] make sure that quote/base can be dealt with as strings | bitshares_python-bitshares | train | py |
206d645ba0e72960e5b3358efebc660c61c856c6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -58,6 +58,10 @@ function createlib (Map, q) {
}
};
+ DeferMap.prototype.exists = function (name) {
+ return !!this._map.get(name);
+ };
+
return DeferMap;
} | just take look if name exists in DeferMap | allex-lowlevel-libs_defermap | train | js |
6648fcdf9f6f1c221c8737fe9bd1d2452a47ba52 | diff --git a/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java b/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java
+++ b/src/test/java/org/sonar/plugins/buildbreaker/B... | build-breaker plugin : add a test just to increase coverage ;o) | SonarQubeCommunity_sonar-build-breaker | train | java |
c7f81f14dfe02a2b3839b86d9fd47ce784aeeca6 | diff --git a/activerecord/lib/active_record/relation/predicate_builder.rb b/activerecord/lib/active_record/relation/predicate_builder.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/predicate_builder.rb
+++ b/activerecord/lib/active_record/relation/predicate_builder.rb
@@ -26,7 +26,7 @@ mod... | arel can escape the id, so avoid using the database connection | rails_rails | train | rb |
0772a1fb81058a06e8e5d4e808de5d87fca2cb8c | diff --git a/lib/expression/node/OperatorNode.js b/lib/expression/node/OperatorNode.js
index <HASH>..<HASH> 100644
--- a/lib/expression/node/OperatorNode.js
+++ b/lib/expression/node/OperatorNode.js
@@ -280,13 +280,6 @@ OperatorNode.prototype._toTex = function(callbacks) {
case 'OperatorNode:divide':
... | util/latex: Get rid of toUnit ( hasn't been working anyway ) | josdejong_mathjs | train | js,js |
f4ad2012f67281ce8369f97ce47f410bfdcf8cb4 | diff --git a/sirmordred/task_projects.py b/sirmordred/task_projects.py
index <HASH>..<HASH> 100644
--- a/sirmordred/task_projects.py
+++ b/sirmordred/task_projects.py
@@ -31,7 +31,6 @@ import requests
from copy import deepcopy
-from sirmordred.config import Config
from sirmordred.task import Task
from sirmordred... | [task_projects] Allow to accept list of global source
This code changes the method `get_repos_by_backend_section` to accept a list
of global data sources defined in the cfg, instead of relying on hard-coded ones. | chaoss_grimoirelab-sirmordred | train | py |
9961d687c824625920b408010e2d418db627faab | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -165,6 +165,13 @@ class Minion(object):
'''
return bool(tgt.count(self.opts['hostname']))
+ def _facter_match(self, tgt):
+ '''
+ Reads in the facter regular expresi... | Add facter matching to salt minion lookups | saltstack_salt | train | py |
ff042e67d00e8292232addadfdb0681877d8723a | diff --git a/src/test/java/org/takes/facets/auth/social/PsGithubTest.java b/src/test/java/org/takes/facets/auth/social/PsGithubTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/takes/facets/auth/social/PsGithubTest.java
+++ b/src/test/java/org/takes/facets/auth/social/PsGithubTest.java
@@ -159,12 +159,12 @@... | Static fields should be accessed in a static way | yegor256_takes | train | java |
b6afadcf9ed70669e6045995ca0ac8d0a0f5d80d | diff --git a/spec/narray_spec.rb b/spec/narray_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/narray_spec.rb
+++ b/spec/narray_spec.rb
@@ -56,6 +56,10 @@ types.each do |dtype|
it{expect(@a).to eq [1,2,3,5,7,11]}
it{expect(@a.to_a).to eq [1,2,3,5,7,11]}
it{expect(@a.to_a).to be_kind_of Array}
+ ... | test for clone, dup | ruby-numo_numo-narray | train | rb |
06a382e59c69ca1f083933a418e9f56269f25bf2 | diff --git a/salt/utils/minion.py b/salt/utils/minion.py
index <HASH>..<HASH> 100644
--- a/salt/utils/minion.py
+++ b/salt/utils/minion.py
@@ -2,10 +2,11 @@
'''
Utility functions for minions
'''
+# Import python libs
from __future__ import absolute_import
import os
import threading
-
+# Import salt libs
import s... | Add a check that the cmdline of the found proc matches (#<I>) | saltstack_salt | train | py |
32d7f7d3478d5da4ccdec494d417f0acb7461407 | diff --git a/test/markdown.spec.js b/test/markdown.spec.js
index <HASH>..<HASH> 100644
--- a/test/markdown.spec.js
+++ b/test/markdown.spec.js
@@ -48,6 +48,8 @@ describe( 'markdown', function() {
[ '<span>a</span>', '<span>a</span>' ],
[ '<span>a</span>', '<span>a</span>' ],
... | added: more markdown-to-html tests | enketo_enketo-transformer | train | js |
e679ccfdda67743705cade424bb83c6c4851ae42 | diff --git a/spec/chai-helpers/backbone-el.js b/spec/chai-helpers/backbone-el.js
index <HASH>..<HASH> 100644
--- a/spec/chai-helpers/backbone-el.js
+++ b/spec/chai-helpers/backbone-el.js
@@ -49,7 +49,7 @@
new Assertion( Backbone ).to.be.an( 'object', "Global variable 'Backbone' not available" );
// ... | Fixed Chai test helper for updated environment | hashchange_backbone.declarative.views | train | js |
927230760174468be42ea7e28ee52d786c6bfe7c | diff --git a/src/decorate.js b/src/decorate.js
index <HASH>..<HASH> 100644
--- a/src/decorate.js
+++ b/src/decorate.js
@@ -40,7 +40,7 @@ export function makeDecoratorComponent(configs, BaseComponent) {
return reduce(
'defaultProps',
configs,
- getDefaultProps ? getDefaultProps() : {}
+ ... | be more careful about getDefaultProps | HubSpot_react-decorate | train | js |
8368e08cfaa3aded5aed88f244d2e2eed450e265 | diff --git a/lib/ext/property.js b/lib/ext/property.js
index <HASH>..<HASH> 100644
--- a/lib/ext/property.js
+++ b/lib/ext/property.js
@@ -277,13 +277,13 @@ module.exports = function(should, Assertion) {
}, true);
/**
- * Asserts given object has exact keys.
+ * Asserts given object has exact keys. Compared... | correct jsdoc for Assertion#keys
Assertion#keys does not accept Object as a argument.
The jsdoc comment describes that it can accept Object. | shouldjs_should.js | train | js |
42bdbc35d2b5d16cfc6e2afb3e9cb7b7475f12c2 | diff --git a/spyderlib/widgets/qscieditor.py b/spyderlib/widgets/qscieditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/qscieditor.py
+++ b/spyderlib/widgets/qscieditor.py
@@ -805,10 +805,10 @@ class QsciEditor(TextEditBaseWidget):
if margin == 0:
self.__show_code_analysis_results(line... | Editor/code analysis results: tooltips are no longer shown automatically on mouse hover | spyder-ide_spyder | train | py |
3854ae88e6dc53ce61c181cf54fd7ef98f85c523 | diff --git a/sam/auxtags.go b/sam/auxtags.go
index <HASH>..<HASH> 100644
--- a/sam/auxtags.go
+++ b/sam/auxtags.go
@@ -72,7 +72,7 @@ func NewAux(t Tag, typ byte, value interface{}) (Aux, error) {
a = Aux{t[0], t[1], 'I', 0, 0, 0, 0, 0}
binary.LittleEndian.PutUint32(a[4:8], uint32(i))
default:
- return ... | sam: fix bounds checks for <I>-bit int archs
Previously untyped math.MaxUint<I> overflowed int on <I> bit archs.
Don't use uint<I> in check to avoid truncating overflowed arrays on
<I> bit archs. | biogo_hts | train | go |
e6243b31f9892d10374a0d0779646158ae990e56 | diff --git a/slumber/__init__.py b/slumber/__init__.py
index <HASH>..<HASH> 100644
--- a/slumber/__init__.py
+++ b/slumber/__init__.py
@@ -27,8 +27,8 @@ class Resource(object):
obj = copy.deepcopy(self)
obj.object_id = id
return obj
-
- def get(self, **kwargs):
+
+ def _request(self... | refactor get into a wrapper around a generic _request method | samgiles_slumber | train | py |
841943f26b9440be01d685060ae1289056623242 | diff --git a/python-package/lightgbm/dask.py b/python-package/lightgbm/dask.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/dask.py
+++ b/python-package/lightgbm/dask.py
@@ -383,7 +383,7 @@ def _train(
#
# This code treates ``_train_part()`` calls as not "pure" because:
# 1. there is ran... | [docs] fix param name typo in comments (#<I>) | Microsoft_LightGBM | train | py |
09249e8a37237943c039e009b849bd8285711079 | diff --git a/cluster/manager.go b/cluster/manager.go
index <HASH>..<HASH> 100644
--- a/cluster/manager.go
+++ b/cluster/manager.go
@@ -168,8 +168,9 @@ func (c *ClusterManager) initNode(db *Database) (*api.Node, bool) {
db.NodeEntries[c.config.NodeId] = NodeEntry{Id: c.selfNode.Id,
Ip: c.selfNode.Ip, GenNumber: c.s... | Print cluster informatio in multi line format | libopenstorage_openstorage | train | go |
9a16109a0f04d452888d2754336c2db7f688a906 | diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/carrierwave.rb
+++ b/config/initializers/carrierwave.rb
@@ -8,6 +8,7 @@ CarrierWave.configure do |config|
region: ENV['S3_REGION']
}
config.fog_directory = ENV['S3_... | set acl on newly created objects to private
This sets the Access Control List for newly created/uploader
images to be the canned-ACL called `private`. This grants
full control to owners with no access to anyone else.
see [acl overview](<URL>)
Since we are using presigned-urls objects being privates makes no
differen... | ministryofjustice_peoplefinder | train | rb |
4aceedf29bc630352369aaab6fd8f3cb7a4d9d27 | diff --git a/base.php b/base.php
index <HASH>..<HASH> 100644
--- a/base.php
+++ b/base.php
@@ -937,9 +937,11 @@ final class Base {
**/
function route($pattern,$handler,$ttl=0,$kbps=0) {
$types=array('sync','ajax');
- if (is_array($pattern))
+ if (is_array($pattern)) {
foreach ($pattern as $item)
$this... | Support array as first argument of map() | bcosca_fatfree-core | train | php |
df534585e909b64a571d43fb651bfd15703512c3 | diff --git a/telethon/client/messages.py b/telethon/client/messages.py
index <HASH>..<HASH> 100644
--- a/telethon/client/messages.py
+++ b/telethon/client/messages.py
@@ -221,18 +221,18 @@ class _IDsIter(RequestIter):
async def _init(self, entity, ids):
# TODO We never actually split IDs in chunks, but ma... | Actually fix ids= not being a list, bump <I> | LonamiWebs_Telethon | train | py,py |
983048909b12fe0eabd73c67f64a198efb3d0e13 | diff --git a/pkg/build/controller/controller.go b/pkg/build/controller/controller.go
index <HASH>..<HASH> 100644
--- a/pkg/build/controller/controller.go
+++ b/pkg/build/controller/controller.go
@@ -371,8 +371,9 @@ func (bc *BuildPodController) HandlePod(pod *kapi.Pod) error {
}
glog.V(4).Infof("Build %s/%s statu... | only run handleBuildCompletion on completed builds | openshift_origin | train | go |
d8ddad657644663897b746866900100a06cf821f | diff --git a/timber/src/test/java/timber/log/TimberTest.java b/timber/src/test/java/timber/log/TimberTest.java
index <HASH>..<HASH> 100644
--- a/timber/src/test/java/timber/log/TimberTest.java
+++ b/timber/src/test/java/timber/log/TimberTest.java
@@ -224,7 +224,6 @@ public class TimberTest {
.hasNoMoreMessages... | Fix ignored test by using INFO log instead of DEBUG log | JakeWharton_timber | train | java |
6ee62197ef5d15eb7d703988239449da14c963d9 | diff --git a/src/basis/utils/base64.js b/src/basis/utils/base64.js
index <HASH>..<HASH> 100644
--- a/src/basis/utils/base64.js
+++ b/src/basis/utils/base64.js
@@ -52,7 +52,7 @@
}
function decode(input, useUTF8){
- input = input.replace(/[^a-z0-9\+\/]/ig, '');
+ input = input.replace(/[^a-zA-Z0-9\+\/]/g... | don't use btoa/atob as replacement for bas<I> encoding/decoding because out if support for non-latin symbols | basisjs_basisjs | train | js |
24978d2bfafb8c6df7aa07a5dfdb8e001788cd1e | diff --git a/host/cli/collect-debug-info.go b/host/cli/collect-debug-info.go
index <HASH>..<HASH> 100644
--- a/host/cli/collect-debug-info.go
+++ b/host/cli/collect-debug-info.go
@@ -29,6 +29,7 @@ var debugCmds = [][]string{
{os.Args[0], "version"},
{"virsh", "-c", "lxc:///", "list"},
{"virsh", "-c", "lxc:///", "... | host: Collect `route -n` output in collect-debug-info
This is useful when inverstigating network routing issues. | flynn_flynn | train | go |
b85926e6f0e68368db83db38fca9e33d36796cac | diff --git a/spring-boot-samples/spring-boot-sample-web-ui/src/main/java/sample/ui/SampleWebUiApplication.java b/spring-boot-samples/spring-boot-sample-web-ui/src/main/java/sample/ui/SampleWebUiApplication.java
index <HASH>..<HASH> 100644
--- a/spring-boot-samples/spring-boot-sample-web-ui/src/main/java/sample/ui/Sampl... | Fix the rest of the typo InMemoryRepository's name | spring-projects_spring-boot | train | java |
3c6c465dc8ecc5046c86dae78e12f84adf5567da | diff --git a/src/angularJwt/services/jwt.js b/src/angularJwt/services/jwt.js
index <HASH>..<HASH> 100644
--- a/src/angularJwt/services/jwt.js
+++ b/src/angularJwt/services/jwt.js
@@ -11,7 +11,7 @@
throw 'Illegal base64url string!';
}
}
- return window.atob(output); //polifyll https://git... | Little trick for utf-8 encoding support
Hello !
I had an encoding error with the claims data (I put a name like "Ézéchiel" for example, and the "é" was bad format). This patch fix encoding problem using basic solution from :
<URL> | auth0_angular-jwt | train | js |
1087ffb63902c891b019f9c3bff35d7db105f8d9 | diff --git a/rejected/mcp.py b/rejected/mcp.py
index <HASH>..<HASH> 100644
--- a/rejected/mcp.py
+++ b/rejected/mcp.py
@@ -230,7 +230,7 @@ class MasterControlProgram(object):
# Iterate through all of the consumers
for consumer_ in self._all_consumers:
self._logger.debug('Polling %s', cons... | Consumer -> RejectedConsumer | gmr_rejected | train | py |
5f6bb542147edd4d7c3bbd8797340c22e0c1f368 | diff --git a/bika/lims/browser/__init__.py b/bika/lims/browser/__init__.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/__init__.py
+++ b/bika/lims/browser/__init__.py
@@ -20,8 +20,9 @@ class BrowserView(BrowserView):
security.declarePublic('ulocalized_time')
def ulocalized_time(self, time, long_form... | Fix #<I>: prevent ulocalized_time from defaulting to today's date | senaite_senaite.core | train | py |
571a22bb87b07ea38b35ff076f38c754ebc117bb | diff --git a/src/Entity/Base.php b/src/Entity/Base.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Base.php
+++ b/src/Entity/Base.php
@@ -6,10 +6,13 @@ use GameScan\WoW\WowApiRequest;
class Base
{
- protected $apiRequest;
+ protected $apiRequest = null;
- public function __construct(WowApiRequest $apiRe... | api request is not anymore set in constructor. So we could instantiate class with functional information | Game-scan_WoW | train | php |
976c61772292eb518fb1d548eaf62c12492c3d12 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -25,7 +25,16 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.au... | added graphviz sphinx extension | henzk_django-productline | train | py |
f6aa750eee4187e6d57e4c2009a5546304e3c1a0 | diff --git a/mod/assign/lib.php b/mod/assign/lib.php
index <HASH>..<HASH> 100644
--- a/mod/assign/lib.php
+++ b/mod/assign/lib.php
@@ -1130,11 +1130,11 @@ function assign_user_outline($course, $user, $coursemodule, $assignment) {
$gradingitem = $gradinginfo->items[0];
$gradebookgrade = $gradingitem->grades[$u... | MDL-<I> Assign: User outline report grade display
Use str_long_grade for user outline report because it handles scales and
no grade.
Thanks to Jean-Daniel Descoteaux for suggesting this fix. | moodle_moodle | train | php |
84c02ab61ffad5c2ecc629a40528df86c790ff4f | diff --git a/core/roboconf-core/src/main/java/net/roboconf/core/commands/BulkCommandInstructions.java b/core/roboconf-core/src/main/java/net/roboconf/core/commands/BulkCommandInstructions.java
index <HASH>..<HASH> 100644
--- a/core/roboconf-core/src/main/java/net/roboconf/core/commands/BulkCommandInstructions.java
+++ ... | [ci skip] Replace equals by equalsIgnoreCase | roboconf_roboconf-platform | train | java |
945ccb3810b53a2ca61ff36df18fe5ba1f4ee17a | diff --git a/src/Utility/DatabaseUtility.php b/src/Utility/DatabaseUtility.php
index <HASH>..<HASH> 100644
--- a/src/Utility/DatabaseUtility.php
+++ b/src/Utility/DatabaseUtility.php
@@ -15,7 +15,7 @@ class DatabaseUtility
*/
public function getTables($dbConf)
{
- $link = mysqli_connect($dbConf['... | [TASK] Use port-parameter in mysqli_connect
DB-port is configurable through arguments and should be used for the connection as well | sourcebroker_deployer-extended-database | train | php |
2594726b8de08898d7699abf5f6b97d4a1ad93d5 | diff --git a/modules/decorators.js b/modules/decorators.js
index <HASH>..<HASH> 100755
--- a/modules/decorators.js
+++ b/modules/decorators.js
@@ -13,7 +13,7 @@ const routeMethods = {
get: 'get',
post: 'post',
put: 'put',
- delete: 'delete',
+ del: 'delete',
patch: 'patch',
all: '*'
}; | change delete decorator -> del | bakjs_bak | train | js |
5f45b959118f63fffbe6875051d14e60ef382bce | diff --git a/tests/test_utils.py b/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -91,11 +91,10 @@ async def main():
await server.wait_closed()
if __name__ == '__main__':
- asyncio.run(main())
+ asyncio.get_event_loop().run_until_complete(main())... | Fixed graceful_exit tests to run in all Python versions | vmagamedov_grpclib | train | py |
7001281b885c84e9530bca90f6434783313507af | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -101,7 +101,8 @@ module.exports = function(grunt) {
filename: 'esp-js.min.js'
},
plugins: [
- new webpack.optimize.UglifyJsPlugin({minim... | Consistent ordering of modules, should make PR merges much less noisy | esp_esp-js | train | js |
9e5ef9cb0f8cfdd53c26d2bb493ba8a2ea166817 | diff --git a/arty-charty/arty-charty.js b/arty-charty/arty-charty.js
index <HASH>..<HASH> 100644
--- a/arty-charty/arty-charty.js
+++ b/arty-charty/arty-charty.js
@@ -318,7 +318,7 @@ makeMarkers(markerCords, chartIdx) {
makeMarker(cx, cy, chartIdx, pointIdx) {
return (
- <AmimatedCirclesMarker key={pointId... | Added default marker colour if lineColor is not set | redpandatronicsuk_arty-charty | train | js |
d01d87752769ce0161a09d4bfa1c26fa1df412b0 | diff --git a/lib/exception_handling_mailer.rb b/lib/exception_handling_mailer.rb
index <HASH>..<HASH> 100644
--- a/lib/exception_handling_mailer.rb
+++ b/lib/exception_handling_mailer.rb
@@ -1,7 +1,7 @@
class ExceptionHandling::Mailer < ActionMailer::Base
default :content_type => "text/html"
- self.append_view_p... | Use relative path in append_view_path | Invoca_exception_handling | train | rb |
8e0dff4bca9d0cc85d78170087c0a8d309d3bbe0 | diff --git a/dipper/sources/ZFIN.py b/dipper/sources/ZFIN.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/ZFIN.py
+++ b/dipper/sources/ZFIN.py
@@ -63,8 +63,8 @@ class ZFIN(Source):
# 'enviro': {'file': 'pheno_environment.txt', 'url': 'http://zfin.org/Downloads/pheno_environment.txt'},
'enviro': {'... | zfin: removing wildtype expression as we don't use it yet | monarch-initiative_dipper | train | py |
969edbc4d8fde48d8a3b1e6f61be23a417056923 | diff --git a/outline/manager.js b/outline/manager.js
index <HASH>..<HASH> 100644
--- a/outline/manager.js
+++ b/outline/manager.js
@@ -316,7 +316,8 @@ module.exports = function (doc) {
const div = dom.createElement('div')
return [
{ paneName: 'home', label: 'Your stuff', icon: UI.icons.iconBase + 'noun... | Removing basicPreferences until we have it ready | solid_solid-panes | train | js |
680d3e199bc7a1b6e6ebf8165821343396c21030 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,24 @@
from setuptools import setup
setup(name='insultgenerator',
- version='0.1',
+ version='0.2',
packages=['insultgenerator'],
+ license='MIT',
author='James Cheese',
author_email='trust@tr00st.co.uk',
ins... | Bumping version to <I> for initial unstable release | tr00st_insult_generator | train | py |
c41f41aa59fce29ea571ccaa97136707b45b63eb | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -42,7 +42,7 @@ func (c *Conn) RemoteAddr() net.Addr {
}
func (c *Conn) RemoteMultiaddr() ma.Multiaddr {
- a, err := ma.NewMultiaddr(fmt.Sprintf("/ipfs/%s/p2p-circuit/ipfs/%s", c.remote.ID.Pretty(), c.Conn().RemotePeer().Pretty... | conn: fix RemoteMultiaddr consistency
so that it works for both active and passive connections. | libp2p_go-libp2p-circuit | train | go |
410e29ad87995059cd5baecbf784531c2b24b904 | diff --git a/flask_appbuilder/baseviews.py b/flask_appbuilder/baseviews.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/baseviews.py
+++ b/flask_appbuilder/baseviews.py
@@ -924,7 +924,7 @@ class BaseCRUDView(BaseModelView):
get_filter_args(self._filters)
exclude_cols = self._filters.get_relation... | #<I> limit direct url access for edit | dpgaspar_Flask-AppBuilder | train | py |
873a1b0c781e591f4fe6ad2f387d8bd10be82c62 | diff --git a/src/Remote.js b/src/Remote.js
index <HASH>..<HASH> 100644
--- a/src/Remote.js
+++ b/src/Remote.js
@@ -203,7 +203,7 @@ module.exports = class {
const synchronizeCommand = [
'rsync',
remoteShell,
- this.options.rsyncOptions,
+ ...this.options.rsync... | 🐛 Fix a bug preventing the use of several rsyncOptions | la-haute-societe_ssh-deploy-release | train | js |
8fabcb2eca03150b1c0c3dbc88dd13123f76894f | diff --git a/railties/lib/generators/rails/mailer/templates/mailer.rb b/railties/lib/generators/rails/mailer/templates/mailer.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/generators/rails/mailer/templates/mailer.rb
+++ b/railties/lib/generators/rails/mailer/templates/mailer.rb
@@ -1,5 +1,5 @@
class <%= class_name... | Update generators to use new defaults. | rails_rails | train | rb,rb |
4ced24f6e76948800229048a94c65c944477c078 | diff --git a/tests/test_params.py b/tests/test_params.py
index <HASH>..<HASH> 100644
--- a/tests/test_params.py
+++ b/tests/test_params.py
@@ -81,7 +81,7 @@ def test_params_required_when_using_fixture(testdir, option, fixture_name):
src = """
import pytest
def test_func({0}):
- assert ... | Not only create, but use the fixture | ansible_pytest-ansible | train | py |
5831b73c8dcc3a74d9d5709eddc563f82a5e193e | diff --git a/src/client/putfile_test.go b/src/client/putfile_test.go
index <HASH>..<HASH> 100644
--- a/src/client/putfile_test.go
+++ b/src/client/putfile_test.go
@@ -58,4 +58,10 @@ func Example() {
return //handle error
}
// buffer now contains "foo\n"
+
+ // We can also see the Diff between the most recent com... | Adds an example of seeing diffs. | pachyderm_pachyderm | train | go |
e66b77a8526f7193ab2c6de523483883219f1e54 | diff --git a/basc_py4chan/thread.py b/basc_py4chan/thread.py
index <HASH>..<HASH> 100644
--- a/basc_py4chan/thread.py
+++ b/basc_py4chan/thread.py
@@ -63,7 +63,7 @@ class Thread(object):
@property
def custom_spoiler(self):
- return self.topic._data.get('custom_spoiler')
+ return self.topic._da... | Added default value for custom_spoiler | bibanon_BASC-py4chan | train | py |
bd4e03f353fc1be4098eeff396bec4f6935b1355 | diff --git a/docs/pages/_document.js b/docs/pages/_document.js
index <HASH>..<HASH> 100644
--- a/docs/pages/_document.js
+++ b/docs/pages/_document.js
@@ -31,6 +31,7 @@ gtag('config', 'UA-12967896-44');
`,
}}
/>
+ <link rel="shortcut icon" href="/pinterest_favicon.png" />
</He... | Docs: fix favicon (#<I>) | pinterest_gestalt | train | js |
c333cf69ddcbedaa2c980067c1ea6021ff34af13 | diff --git a/src/main/java/gov/adlnet/xapi/client/AgentClient.java b/src/main/java/gov/adlnet/xapi/client/AgentClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/gov/adlnet/xapi/client/AgentClient.java
+++ b/src/main/java/gov/adlnet/xapi/client/AgentClient.java
@@ -145,6 +145,16 @@ public class AgentClient ext... | Added <I>bit creds param ability. | adlnet_jxapi | train | java |
09b10b10e76a7fba7297fa22ea496cdc9efd3dae | diff --git a/src/Provide/Transfer/CliResponder.php b/src/Provide/Transfer/CliResponder.php
index <HASH>..<HASH> 100644
--- a/src/Provide/Transfer/CliResponder.php
+++ b/src/Provide/Transfer/CliResponder.php
@@ -18,7 +18,7 @@ class CliResponder implements TransferInterface
public function __invoke(ResourceObject $r... | replace __string() to toString() for expection thrown | bearsunday_BEAR.Package | train | php |
6a4b3ea84239d28701fc07fedfc806fe7a7d0703 | diff --git a/client.py b/client.py
index <HASH>..<HASH> 100644
--- a/client.py
+++ b/client.py
@@ -1,8 +1,8 @@
-from slackclient import SlackClient
from rtmbot import RtmBot
slack_client = None
+
def init(config):
global slack_client
bot = RtmBot(config) | Update client.py for flake8
flake8 wasn't checking this file. ran flake8 against it to make sure it was compliant with coding guidelines | slackapi_python-rtmbot | train | py |
512434ff0b890374acc97fddf609b18aa71f92e0 | diff --git a/gns3converter/__init__.py b/gns3converter/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3converter/__init__.py
+++ b/gns3converter/__init__.py
@@ -12,6 +12,5 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.... | Define version statically, to ease freezing for Windows | dlintott_gns3-converter | train | py |
db74d3115ee35362935d584f0b7dd51faacc628f | diff --git a/unpacker.go b/unpacker.go
index <HASH>..<HASH> 100644
--- a/unpacker.go
+++ b/unpacker.go
@@ -178,13 +178,13 @@ EachLayer:
fetchC[i] = make(chan struct{})
}
- go func() {
+ go func(i int) {
err := u.fetch(ctx, h, layers[i:], fetchC)
if err != nil {
fetchErr <- err
}
... | unpacker: Fix data race and possible data corruption | containerd_containerd | train | go |
08fa2399abd98c2f89f167a692703df976c5fd4d | diff --git a/framework/Yii.php b/framework/Yii.php
index <HASH>..<HASH> 100644
--- a/framework/Yii.php
+++ b/framework/Yii.php
@@ -23,5 +23,5 @@ class Yii extends \yii\BaseYii
}
spl_autoload_register(['Yii', 'autoload'], true, true);
-Yii::$classMap = include(__DIR__ . '/classes.php');
+Yii::$classMap = require(__D... | Yii class `include` cass replaced to `require` | yiisoft_yii-core | train | php |
8753c3d0bf68e996538eee3fbca394cf145767c2 | diff --git a/lib/copy-sync/copy-file-sync.js b/lib/copy-sync/copy-file-sync.js
index <HASH>..<HASH> 100644
--- a/lib/copy-sync/copy-file-sync.js
+++ b/lib/copy-sync/copy-file-sync.js
@@ -9,6 +9,7 @@ function copyFileSync (srcFile, destFile, options) {
if (fs.existsSync(destFile)) {
if (clobber) {
+ fs.ch... | Fix so copySync unlinking read only file will now work on
nodejs <I>. This commit fixes #<I>. | jprichardson_node-fs-extra | train | js |
ec6e13b9f1e3b71f4e6ac690287db83a95b4227d | diff --git a/lib/lolcommits.rb b/lib/lolcommits.rb
index <HASH>..<HASH> 100644
--- a/lib/lolcommits.rb
+++ b/lib/lolcommits.rb
@@ -42,7 +42,7 @@ module Lolcommits
def parse_git(dir='.')
g = Git.open('.')
commit = g.log.first
- commit_msg = commit.message.split("\n").first.tranzlate
+ commit_msg = com... | move tranzlate call so it applies to test commits as well | lolcommits_lolcommits | train | rb |
70033a8f34a0b750eb33d4dff5d3a92647f59f5c | diff --git a/jwt-express.js b/jwt-express.js
index <HASH>..<HASH> 100644
--- a/jwt-express.js
+++ b/jwt-express.js
@@ -230,7 +230,7 @@ module.exports = {
/**
* require - requires that data in the JWT's payload meets certain requirements
- * If only the key is passed, it simply checks that paylo... | Default require to check for truthy value | AustP_jwt-express | train | js |
8204bdf6af5dce2319cadbf276080f22f8fb0713 | diff --git a/Evtx/Nodes.py b/Evtx/Nodes.py
index <HASH>..<HASH> 100644
--- a/Evtx/Nodes.py
+++ b/Evtx/Nodes.py
@@ -1413,7 +1413,7 @@ class BinaryTypeNode(VariantTypeNode):
return self._length
def string(self):
- return base64.b64encode(self.binary())
+ return base64.b64encode(self.binary()... | nodes: better handle str/bytes handling for binary node | williballenthin_python-evtx | train | py |
602050688b94bcfdf6976c6134d68f9048448a78 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -37,6 +37,7 @@ module RouteTranslator
app = @@app = Class.new(Rails::Application)
app.config.active_support.deprecation = :stderr
app.paths["log"] = "#{tmp_path}... | Add tmp route file path to mock app | enriclluelles_route_translator | train | rb |
62820c9e298c5a987e99a6d81246c39bca45a153 | diff --git a/lib/rubocop/cop/surrounding_space.rb b/lib/rubocop/cop/surrounding_space.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/surrounding_space.rb
+++ b/lib/rubocop/cop/surrounding_space.rb
@@ -27,6 +27,7 @@ module Rubocop
:args_add_block, :const_path_ref, :dot2,
... | Another special case with the :: operator. | rubocop-hq_rubocop | train | rb,rb |
6b8f66d5f6d495454373a7b99f90e2606ba8296b | diff --git a/test/performance/SignerBench.php b/test/performance/SignerBench.php
index <HASH>..<HASH> 100644
--- a/test/performance/SignerBench.php
+++ b/test/performance/SignerBench.php
@@ -35,7 +35,7 @@ abstract class SignerBench
*/
private $signature;
- public final function init(): void
+ final p... | Switched public and final to match PSR2 | lcobucci_jwt | train | php |
01b773c104a8c1a752db6ea0c8ba1b5f22df3ba0 | diff --git a/lib/instana/version.rb b/lib/instana/version.rb
index <HASH>..<HASH> 100644
--- a/lib/instana/version.rb
+++ b/lib/instana/version.rb
@@ -1,4 +1,4 @@
module Instana
- VERSION = "1.5.2"
+ VERSION = "1.6.0"
VERSION_FULL = "instana-#{VERSION}"
end | Bump gem version to <I> | instana_ruby-sensor | train | rb |
03b3558a3760904de3d78ae2901963ee6d6370c7 | diff --git a/plugins/Login/Auth.php b/plugins/Login/Auth.php
index <HASH>..<HASH> 100644
--- a/plugins/Login/Auth.php
+++ b/plugins/Login/Auth.php
@@ -43,7 +43,7 @@ class Piwik_Login_Auth implements Piwik_Auth
WHERE token_auth = ?',
array($this->token_auth)
);
- if(!$login !== false)
+ if($login !==... | refs #<I> - fixes typo; it's too early in the morning for me to think about unit tests...
git-svn-id: <URL> | matomo-org_matomo | train | php |
729a2d53c8e4aad88993db16b0fcd6da5a11df4a | diff --git a/examples/uibench/app.js b/examples/uibench/app.js
index <HASH>..<HASH> 100644
--- a/examples/uibench/app.js
+++ b/examples/uibench/app.js
@@ -101,7 +101,7 @@
}
var tableTpl = t(function (children) {
- return e('table').props({ className: 'Table' }).children(children).childrenType(ChildrenTypes.NON_K... | ignore the last commit - added keys properly and perf went way down on uibench | infernojs_inferno | train | js |
7f0c21b052861a51861f8485a1aa8aec8870f725 | diff --git a/lib/sauce/capybara.rb b/lib/sauce/capybara.rb
index <HASH>..<HASH> 100644
--- a/lib/sauce/capybara.rb
+++ b/lib/sauce/capybara.rb
@@ -129,13 +129,15 @@ module Sauce
require "rspec/core"
::RSpec.configure do |config|
config.before :suite do
- ::Capybara.configure do ... | Merged #<I> from vgrigoruk - Do not set Capybara.app_host if it is not
nil | saucelabs_sauce_ruby | train | rb |
974467d70d337d4c60414c792e275d367143217b | diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -281,6 +281,8 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
scope(':versio... | Add test to avoid regression of 1bfc5b4 | rails_rails | train | rb |
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.