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 |
|---|---|---|---|---|---|
1b7eb40d5f78e4e67658f835b194bbc619ede113 | diff --git a/lib/active_scaffold/extensions/action_view_rendering.rb b/lib/active_scaffold/extensions/action_view_rendering.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/extensions/action_view_rendering.rb
+++ b/lib/active_scaffold/extensions/action_view_rendering.rb
@@ -66,8 +66,8 @@ module ActionView::Rend... | render_component is sometimes not available in views (reason still
unknown) | activescaffold_active_scaffold | train | rb |
9bc9eeb7b951d4b9daa2a1c59c5ba953d3a924b3 | diff --git a/insights/specs/insights_archive.py b/insights/specs/insights_archive.py
index <HASH>..<HASH> 100644
--- a/insights/specs/insights_archive.py
+++ b/insights/specs/insights_archive.py
@@ -16,7 +16,7 @@ class InsightsArchiveSpecs(Specs):
brctl_show = simple_file("insights_commands/brctl_show")
ceph_... | Fix insights archive spec for ceph_insights (#<I>) | RedHatInsights_insights-core | train | py |
557735c20555d6b23ed38c49586e13ecc5b999dd | diff --git a/lib/polisher/git/pkg.rb b/lib/polisher/git/pkg.rb
index <HASH>..<HASH> 100644
--- a/lib/polisher/git/pkg.rb
+++ b/lib/polisher/git/pkg.rb
@@ -105,15 +105,10 @@ module Polisher
end
# Update the local spec to the specified gem version
- #
- # FIXME this should be removed and calls r... | Use RPM::Spec#update to in git pkg update process
Resolves a long standing FIXME in the Git::Pkg module and removes
the dependency on the 'sed' cmd | ManageIQ_polisher | train | rb |
9be90229b80bf4db200c7abdd21d8c3ee830ea95 | diff --git a/PyFunceble/cli/continuous_integration/base.py b/PyFunceble/cli/continuous_integration/base.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/cli/continuous_integration/base.py
+++ b/PyFunceble/cli/continuous_integration/base.py
@@ -1065,8 +1065,10 @@ class ContinuousIntegrationBase:
("git config... | Fix merging strategy.
This patch fixes #<I>.
Indeed, before this patch, the merging strategy was not explicit enough.
From now on, we explicitly merge every incoming changes.
Contributors:
* @spirillen | funilrys_PyFunceble | train | py |
51012a2e53c1ba344fa19d557383ac1bf6430417 | diff --git a/test/edge_collection_test.go b/test/edge_collection_test.go
index <HASH>..<HASH> 100644
--- a/test/edge_collection_test.go
+++ b/test/edge_collection_test.go
@@ -108,7 +108,7 @@ func TestRemoveEdgeCollection(t *testing.T) {
// Now create an edge collection
ec, err := g.CreateEdgeCollection(nil, "friend... | Prevent panic incase an earlier test fails | arangodb_go-driver | train | go |
62deedd3fc59eec65f6758024afddf267cb0ae93 | diff --git a/lib/ruote/storage/composite_storage.rb b/lib/ruote/storage/composite_storage.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/storage/composite_storage.rb
+++ b/lib/ruote/storage/composite_storage.rb
@@ -62,16 +62,16 @@ module Ruote
if type == nil
define_method(method_name) do |*args|
- ... | The composite storage didn't actually seem to work in real life - when passed into a Worker, the worker always called 'storage' on it (because respond_to? will return true for protected methods even though it won't dispatch to them) which was failing. I renamed the protected method in the CompositeStorage to storage_fo... | jmettraux_ruote | train | rb |
a4715eaa6cb82458d7ba229b6f1d3d6cb6d2bd07 | diff --git a/Integration/ClientIntegration.php b/Integration/ClientIntegration.php
index <HASH>..<HASH> 100644
--- a/Integration/ClientIntegration.php
+++ b/Integration/ClientIntegration.php
@@ -455,7 +455,7 @@ class ClientIntegration extends AbstractIntegration
$properties['_token'] === $c... | [ENG-<I>] Correct campaign finder. | TheDMSGroup_mautic-contact-client | train | php |
8fe6ceb663f17e8583b56ff908f3209bb9acfc61 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -37,6 +37,8 @@ release = '0.3.5'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
+ 'matplotlib.sphinxext.only_directives',
+ 'matplotlib.sphinxext.plot_dire... | adding matplotlib to conf | wiheto_teneto | train | py |
641bc0498bf05165f153f23637edd2c5cdf3fb79 | diff --git a/examples/ebola.py b/examples/ebola.py
index <HASH>..<HASH> 100644
--- a/examples/ebola.py
+++ b/examples/ebola.py
@@ -33,7 +33,7 @@ if __name__ == '__main__':
aln = base_name+'.fasta', verbose = 4, dates = dates)
# infer an ebola time tree while rerooting and resolving polyt... | disable long branch mode for ebola | neherlab_treetime | train | py,py |
36b441cc4759b1972320f459d2ca93a645748d5c | diff --git a/src/Codeception/Lib/Driver/MongoDb.php b/src/Codeception/Lib/Driver/MongoDb.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Lib/Driver/MongoDb.php
+++ b/src/Codeception/Lib/Driver/MongoDb.php
@@ -95,7 +95,7 @@ class MongoDb
*/
public function __construct($dsn, $user, $password)
{
- ... | Mongofill support (#<I>) | Codeception_base | train | php |
73cb1c26fe94d0ed23bd5d1ce8ae1e845971233d | diff --git a/lib/yard/registry.rb b/lib/yard/registry.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/registry.rb
+++ b/lib/yard/registry.rb
@@ -20,7 +20,7 @@ module YARD
end
end
- def at(path) namespace[path] end
+ def at(path) path.to_s.empty? ? root : namespace[path] end
def root; namespace[:r... | If #at() receives empty string, it belongs to root | lsegal_yard | train | rb |
32342bc2a8de65d15d9e4e80bd9a2c1f9befc6f7 | diff --git a/a10_neutron_lbaas/etc/config.py b/a10_neutron_lbaas/etc/config.py
index <HASH>..<HASH> 100644
--- a/a10_neutron_lbaas/etc/config.py
+++ b/a10_neutron_lbaas/etc/config.py
@@ -35,6 +35,17 @@
# database_connection = None
+# Should only be set to true if projects have been created with
+# parent-child rel... | Added config choice summaries | a10networks_a10-neutron-lbaas | train | py |
d48f848bb4aa018da6527b27abd093089d3e736a | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -283,6 +283,8 @@ Socket.prototype.leaveAll = function(){
/**
* Called by `Namespace` upon successful
* middleware execution (ie: authorization).
+ * Socket is added to namespace array before
+ * call t... | [docs] Comment connected socket availability for adapters (#<I>) | socketio_socket.io | train | js |
47e529b2a18f40b066dcf32ab0724c6fd8c41f28 | diff --git a/lib/jsduck/accessors.rb b/lib/jsduck/accessors.rb
index <HASH>..<HASH> 100644
--- a/lib/jsduck/accessors.rb
+++ b/lib/jsduck/accessors.rb
@@ -42,6 +42,7 @@ module JsDuck
:doc => "",
},
:owner => cfg[:owner],
+ :files => cfg[:files],
}
end
@@ -60,6 +61,7 @@ ... | Fix files lists of @accessor created methods. | senchalabs_jsduck | train | rb |
6abfd709bc08f765caace68b13b673737a9290f0 | diff --git a/Command/ImportMappingDoctrineCommand.php b/Command/ImportMappingDoctrineCommand.php
index <HASH>..<HASH> 100644
--- a/Command/ImportMappingDoctrineCommand.php
+++ b/Command/ImportMappingDoctrineCommand.php
@@ -38,7 +38,7 @@ from an existing database:
Generate annotation mappings into the src/ directory us... | Describe the actual command
This is probably a copy/paste/adapt mistake. | doctrine_DoctrineBundle | train | php |
836998181ceefea6f9d35cf7f6981ee848f85be9 | diff --git a/lib/pairwise.rb b/lib/pairwise.rb
index <HASH>..<HASH> 100644
--- a/lib/pairwise.rb
+++ b/lib/pairwise.rb
@@ -10,7 +10,9 @@ require 'pairwise/input_file'
require 'pairwise/cli'
require 'yaml'
-YAML::ENGINE.yamler = 'syck'
+if RUBY_VERSION != '1.8.7'
+ YAML::ENGINE.yamler = 'syck'
+end
module Pairw... | Exclude <I> from using the nicer yaml parser. Its breaks the build as it does not know what the parser is | josephwilk_pairwise | train | rb |
75609a78f1348ca1d5973a39f9ef131631856148 | diff --git a/app/models/devise_token_auth/concerns/user.rb b/app/models/devise_token_auth/concerns/user.rb
index <HASH>..<HASH> 100644
--- a/app/models/devise_token_auth/concerns/user.rb
+++ b/app/models/devise_token_auth/concerns/user.rb
@@ -165,6 +165,6 @@ module DeviseTokenAuth::Concerns::User
end
def set_em... | guard against MissingAttributeError during common ActiveRecord operations | lynndylanhurley_devise_token_auth | train | rb |
3af147ea949c877de2c884b2d801ef7e79937c36 | diff --git a/src/streamlink/stream/ffmpegmux.py b/src/streamlink/stream/ffmpegmux.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/stream/ffmpegmux.py
+++ b/src/streamlink/stream/ffmpegmux.py
@@ -126,7 +126,7 @@ class FFMPEGMuxer(StreamIO):
for t in self.pipe_threads:
t.daemon = True
... | [ffmpegmux] Fixed bug of an invisible terminal
if a ffmpeg stream gets closed with ctrl + c the terminal will get
invisible,
this patch will fix it. | streamlink_streamlink | train | py |
f3450e25b83f8bd57f19d934e2a169523164b14d | diff --git a/js/acx.js b/js/acx.js
index <HASH>..<HASH> 100644
--- a/js/acx.js
+++ b/js/acx.js
@@ -302,6 +302,7 @@ module.exports = class acx extends Exchange {
if (Object.keys (query).length)
url += '?' + this.urlencode (query);
} else {
+ this.checkRequiredCredentials... | acx checkRequiredCredentials #<I> | ccxt_ccxt | train | js |
6c35dd6b2da1acb1e593482be294880e4d747388 | diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Util/RemoteFilesystem.php
+++ b/src/Composer/Util/RemoteFilesystem.php
@@ -158,7 +158,7 @@ class RemoteFilesystem
$ctx = StreamContextFactory::getContext($fileUrl, $option... | Improved wording
All other verbs use are in the form of "doing something", ie Installing, Downloading. "connection" is the odd one out. | mothership-ec_composer | train | php |
3ad58435841f8045ded300801b89960e950bb599 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,7 @@
# -*- coding: utf-8 -*-
# setup.py
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
+from setuptools import setup
# Use a consistent encoding
from codecs ... | setup.py: Don't try to import `distutils` | wmayner_pyphi | train | py |
9b2b1694a98ec7788de328b4b7aca4f7d768b50d | diff --git a/resources/lang/pt-br/menu.php b/resources/lang/pt-br/menu.php
index <HASH>..<HASH> 100644
--- a/resources/lang/pt-br/menu.php
+++ b/resources/lang/pt-br/menu.php
@@ -16,4 +16,4 @@ return [
'Important' => 'Importante',
'Warning' => 'Aviso',
'Informati... | ; at te end of file | jeroennoten_Laravel-AdminLTE | train | php |
df312c1e9e761e7903cea200f775e25b2180a15a | diff --git a/src/prebid.js b/src/prebid.js
index <HASH>..<HASH> 100644
--- a/src/prebid.js
+++ b/src/prebid.js
@@ -467,6 +467,12 @@ $$PREBID_GLOBAL$$.requestBids = hook('async', function ({ bidsBackHandler, timeo
}
const auction = auctionManager.createAuction({adUnits, adUnitCodes, callback: bidsBackHandler, cb... | add console message when number of adunits exceeds point (#<I>)
* add console message when number of adunits exceeds point
* include additional information in log message | prebid_Prebid.js | train | js |
9c6ac160a4a0db882b6fb8ad00fcbf87bac1ee99 | diff --git a/src/Behaviours/CamelCasing.php b/src/Behaviours/CamelCasing.php
index <HASH>..<HASH> 100644
--- a/src/Behaviours/CamelCasing.php
+++ b/src/Behaviours/CamelCasing.php
@@ -14,6 +14,18 @@ trait CamelCasing
public $enforceCamelCase = true;
/**
+ * Overloads the eloquent isGuardableColumn method... | allow mass assignment of camelCased fields | kirkbushell_eloquence | train | php |
47f42b391e6e99e3122d32b8874279e78eb7e7f4 | diff --git a/examples/clear-space.py b/examples/clear-space.py
index <HASH>..<HASH> 100755
--- a/examples/clear-space.py
+++ b/examples/clear-space.py
@@ -26,6 +26,9 @@ import sys
import gphoto2 as gp
+# my Canon dSLR raises an error on every deletion, but still does it OK
+gp.error_severity[gp.GP_ERROR] = logging... | Adjust error handling to work with my dSLR. | jim-easterbrook_python-gphoto2 | train | py |
3f891cc717e2aaada1e8e396b5ac123c66de75c1 | diff --git a/lib/error/serviceError.js b/lib/error/serviceError.js
index <HASH>..<HASH> 100644
--- a/lib/error/serviceError.js
+++ b/lib/error/serviceError.js
@@ -22,7 +22,7 @@ function ServiceError(context) {
ServiceError.buildFrom = function(err) {
var error = new ServiceError({
- info: err.message
+ ... | rename ServiceError "info" context property to "message" to preserve consistent API | BohemiaInteractive_bi-service | train | js |
5001acacf8b4dcee8976909c3a6b6df600464f82 | diff --git a/wpull/version.py b/wpull/version.py
index <HASH>..<HASH> 100644
--- a/wpull/version.py
+++ b/wpull/version.py
@@ -6,4 +6,4 @@
A string conforming to `Semantic Versioning
Guidelines <http://semver.org/>`_
'''
-__version__ = '0.22.4'
+__version__ = '0.22.5' | Bumps version to <I>. | ArchiveTeam_wpull | train | py |
0430b579c89e483ff64bb997b9b9983461e00a27 | diff --git a/openxc/src/com/openxc/DataPipeline.java b/openxc/src/com/openxc/DataPipeline.java
index <HASH>..<HASH> 100644
--- a/openxc/src/com/openxc/DataPipeline.java
+++ b/openxc/src/com/openxc/DataPipeline.java
@@ -197,20 +197,30 @@ public class DataPipeline implements SourceCallback {
return mMessagesRece... | Pull pipeline activity check up to a function. | openxc_openxc-android | train | java |
9f35429118cc2fd9691e37ec6a9f52b15863d564 | diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py
index <HASH>..<HASH> 100644
--- a/src/hamster/widgets/activityentry.py
+++ b/src/hamster/widgets/activityentry.py
@@ -209,6 +209,7 @@ class CmdLineEntry(gtk.Entry):
self.original_fact = None
self.popup = gtk.Win... | set cmdline popup type_hint | projecthamster_hamster | train | py |
df19c70c913cd0a8882670c5188042f13a605226 | diff --git a/packages/orbit-components/src/InputStepper/InputStepperStateless/index.js b/packages/orbit-components/src/InputStepper/InputStepperStateless/index.js
index <HASH>..<HASH> 100644
--- a/packages/orbit-components/src/InputStepper/InputStepperStateless/index.js
+++ b/packages/orbit-components/src/InputStepper/... | fix(InputStepper): missing font-family (#<I>) | kiwicom_orbit-components | train | js |
429854f98e0d4c3b091942eb69522759c2522e1a | diff --git a/autoload.php b/autoload.php
index <HASH>..<HASH> 100644
--- a/autoload.php
+++ b/autoload.php
@@ -7,10 +7,11 @@
*/
function odata_query_autoload($class) {
- $file = __DIR__.DIRECTORY_SEPARATOR.str_replace('\\', DIRECTORY_SEPARATOR, str_replace('-', '_', $class)).'.php';
+ $file = __DIR__.DIRECTO... | Updated autoload to use correct directory structure | curiosity26_ODataQuery-PHP | train | php |
0c8d8c6de45e1587622a47007529d1e02595433f | diff --git a/lib/compiler/underscored.js b/lib/compiler/underscored.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/underscored.js
+++ b/lib/compiler/underscored.js
@@ -33,7 +33,7 @@ function run(options) {
var streamliners = {
node: function (module, filename, code) {
var cachedTransform = require("streamli... | introduced cache option to control caching of transformed files | Sage_streamlinejs | train | js |
5504b5c7afaa2ca3e6bcb2b0950c3f373ca76880 | diff --git a/DataTables.php b/DataTables.php
index <HASH>..<HASH> 100644
--- a/DataTables.php
+++ b/DataTables.php
@@ -74,7 +74,9 @@ class DataTables extends \yii\grid\GridView
}
/**
- * Initializes the datatables widget
+ * Initializes the datatables widget disabling some GridView options like ... | Disabling GridView pagination by default | fedemotta_yii2-widget-datatables | train | php |
c961e7d49c3d893ecfbdf0dfc04141c19474114d | diff --git a/generators/service/templates/hooks.js b/generators/service/templates/hooks.js
index <HASH>..<HASH> 100644
--- a/generators/service/templates/hooks.js
+++ b/generators/service/templates/hooks.js
@@ -1,6 +1,7 @@
'use strict';
const globalHooks = require('../../../hooks');
+const hooks = require('feathers... | adding remove password hook by default to user service | feathersjs_generator-feathers | train | js |
d4c54c773aeb70878f8ad4043cdaf412a06f7e2d | diff --git a/pnc_cli/makemead.py b/pnc_cli/makemead.py
index <HASH>..<HASH> 100644
--- a/pnc_cli/makemead.py
+++ b/pnc_cli/makemead.py
@@ -6,7 +6,7 @@ import time
from ConfigParser import Error
from ConfigParser import NoSectionError
-from argh import arg, aliases
+from argh import arg
import pnc_cli.utils as ut... | [NCL-<I>] cleanup | project-ncl_pnc-cli | train | py |
17e5a42df83394c32b3b5c5243dffebe05d4bcde | diff --git a/anndata/tests/test_readwrite.py b/anndata/tests/test_readwrite.py
index <HASH>..<HASH> 100644
--- a/anndata/tests/test_readwrite.py
+++ b/anndata/tests/test_readwrite.py
@@ -1,5 +1,6 @@
+import sys
from importlib.util import find_spec
-from pathlib import Path
+from pathlib import Path, PurePath
import... | Try fixing tests for <I> | theislab_anndata | train | py |
80e6bef4f464d950199dcbdfa3be298913c83978 | diff --git a/src/main/java/com/hp/autonomy/hod/client/api/resource/ResourceFlavour.java b/src/main/java/com/hp/autonomy/hod/client/api/resource/ResourceFlavour.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hp/autonomy/hod/client/api/resource/ResourceFlavour.java
+++ b/src/main/java/com/hp/autonomy/hod/client... | [CCUK-<I>] Add Jumbo to set of all flavours | microfocus-idol_java-hod-client | train | java |
e7d0cf6db61828b07f9b6e705503d53c82f97f6d | diff --git a/openquake/calculators/tests/gmf_ebrisk_test.py b/openquake/calculators/tests/gmf_ebrisk_test.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/tests/gmf_ebrisk_test.py
+++ b/openquake/calculators/tests/gmf_ebrisk_test.py
@@ -127,6 +127,6 @@ class GmfEbRiskTestCase(CalculatorTestCase):
# c... | Added tolerance [skip hazardlib] | gem_oq-engine | train | py |
78bc25823c2e33918e5a5f10fe8dae31728b8f1e | diff --git a/api/app/app.go b/api/app/app.go
index <HASH>..<HASH> 100644
--- a/api/app/app.go
+++ b/api/app/app.go
@@ -48,6 +48,7 @@ type App struct {
State string
Units []Unit
Teams []string
+ ec2Auth authorizer
}
type Log struct {
@@ -270,8 +271,8 @@ func deployHookAbsPath(p string) (s... | api/app: simplify doc
Who is the java programmer responsible for that? :) | tsuru_tsuru | train | go |
1249368fc23103203cdfb429efb6adc7d8fedfa2 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -12,10 +12,19 @@ fs.readdirSync(__dirname + '/middleware').forEach(function (filename) {
});
exports.defaults = function (app, overrides) {
+ if (typeof app.use !== 'function') {
+ overrides = app... | Support helmet.defaults() as middleware, fixes #<I>
Here's a simple way to support both the old and more conventional middleware-like usage of `helmet.defaults()`.
NOTE: there's one caveat in that the user *must* be using (i.e. have installed) either 'express' or 'connect' themselves but that seemed a reasonable en... | venables_koa-helmet | train | js |
f11751c42dd0050ee5803265ade04b92c7c1815a | diff --git a/dev/LogEmailWriter.php b/dev/LogEmailWriter.php
index <HASH>..<HASH> 100644
--- a/dev/LogEmailWriter.php
+++ b/dev/LogEmailWriter.php
@@ -24,6 +24,10 @@ class SS_LogEmailWriter extends Zend_Log_Writer_Abstract {
$this->emailAddress = $emailAddress;
$this->customSmtpServer = $customSmtpServer;
}
+
... | MINOR Fixed SS_LogEmailWriter and SS_LogFileWriter to adhere to new Zend interface | silverstripe_silverstripe-framework | train | php,php |
5d8c570e8ce22b56d34b1cfd1b88f6439cbf4c5c | diff --git a/tests/test_networkmanager.py b/tests/test_networkmanager.py
index <HASH>..<HASH> 100644
--- a/tests/test_networkmanager.py
+++ b/tests/test_networkmanager.py
@@ -538,7 +538,7 @@ class TestNetworkManager(dbusmock.DBusTestCase):
self.assertEqual(self.settings.GetConnectionByUuid(uuid), connectionPat... | test: Fix deprecated assertRaisesRegexp() call | martinpitt_python-dbusmock | train | py |
7235b85e8421000822cc4e84fb5f17891c7003d1 | diff --git a/lib/SauceBrowser.js b/lib/SauceBrowser.js
index <HASH>..<HASH> 100644
--- a/lib/SauceBrowser.js
+++ b/lib/SauceBrowser.js
@@ -10,6 +10,7 @@ function SauceBrowser(conf, opt) {
};
var self = this;
+ self._retries = 0;
self._conf = conf;
self._opt = opt;
self._opt.tunnel = true;
... | Added a retry threshold of three (3) to retrying on errors indicating that environments can't be instantiated so that we won't end up looping forever by mistake. | airtap_airtap | train | js |
521718bf09b0518fe31e99eff45eafe497297185 | diff --git a/src/Caouecs/Sirtrevorjs/Controller/SirTrevorJsController.php b/src/Caouecs/Sirtrevorjs/Controller/SirTrevorJsController.php
index <HASH>..<HASH> 100644
--- a/src/Caouecs/Sirtrevorjs/Controller/SirTrevorJsController.php
+++ b/src/Caouecs/Sirtrevorjs/Controller/SirTrevorJsController.php
@@ -9,7 +9,7 @@
name... | feature: controller of Laravel 5 | caouecs_Laravel-SirTrevorJS | train | php |
60aa154e9c1061b980a624ec6f1faffb8fea11d7 | diff --git a/spec/lib/stellar/key_pair_spec.rb b/spec/lib/stellar/key_pair_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/stellar/key_pair_spec.rb
+++ b/spec/lib/stellar/key_pair_spec.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
require "spec_helper"
describe Stellar::KeyPair do | Fix specs for <I> by marking file encoding as utf-8 | stellar_ruby-stellar-sdk | train | rb |
51ffd502029d9a0579f1c06de39b56552fb3af62 | diff --git a/symphony/lib/core/class.exceptionhandler.php b/symphony/lib/core/class.exceptionhandler.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/core/class.exceptionhandler.php
+++ b/symphony/lib/core/class.exceptionhandler.php
@@ -111,6 +111,8 @@ final class ExceptionHandler
$exception_type = get... | Deprecated {$exception_type}Handler
Picked from <I>be<I>cda6
Picked from <I>a<I>fad | symphonycms_symphony-2 | train | php |
edaed5ef7ed98addb16c10aee909c684a035c9d3 | diff --git a/dev/Backtrace.php b/dev/Backtrace.php
index <HASH>..<HASH> 100644
--- a/dev/Backtrace.php
+++ b/dev/Backtrace.php
@@ -159,7 +159,7 @@ class SS_Backtrace {
*/
static function get_rendered_backtrace($bt, $plainText = false, $ignoredFunctions = null) {
$bt = self::filter_backtrace($bt, $ignoredFunctio... | BUGFIX If SS_Backtrace::get_rendered_backtrace() has $plainText argument
to TRUE, ensure there is no HTML in the output. | silverstripe_silverstripe-framework | train | php |
dac0f30cfbc28023651d91756fd3095206bc9aa2 | diff --git a/category_encoders/binary.py b/category_encoders/binary.py
index <HASH>..<HASH> 100644
--- a/category_encoders/binary.py
+++ b/category_encoders/binary.py
@@ -118,6 +118,9 @@ class BinaryEncoder(BaseEstimator, TransformerMixin):
)
self.ordinal_encoder = self.ordinal_encoder.fit(X)
+ ... | In binary.py fixed small. The number of required digits must be calculated before dropping invariant columns | scikit-learn-contrib_categorical-encoding | train | py |
f19e56d24c685870ee411e16df285fd4fd28932a | diff --git a/tests/TestWireless.py b/tests/TestWireless.py
index <HASH>..<HASH> 100644
--- a/tests/TestWireless.py
+++ b/tests/TestWireless.py
@@ -2,7 +2,7 @@
import unittest
from wireless import Wireless
-from wireless import cmd
+from wireless.Wireless import cmd
class TestWireless(unittest.TestCase): | I should run my own tests before commiting. This one testing cmd passes now | joshvillbrandt_wireless | train | py |
252d33deb5866d70c9aebefde18b87fc1d0acfd0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -682,7 +682,6 @@ function Device(atemIpAddress){
this.on('InPr', function(d) {
const sourceID = d.readUInt16BE(0);
- const sourceInfo = lookupSourceID(sourceID);
const longName = parseString(d.slice(2,22));
co... | make lookupSourceID public
lookupSourceID can now be used via Device.getSourceInfo(). | Dev1an_Atem | train | js |
fbec22e0c54c2371606d86cbe9961045a40fdab2 | diff --git a/tests/TestCase/ORM/QueryTest.php b/tests/TestCase/ORM/QueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/ORM/QueryTest.php
+++ b/tests/TestCase/ORM/QueryTest.php
@@ -552,7 +552,10 @@ class QueryTest extends TestCase
TableRegistry::get('ArticlesTags', [
'table' => 'articles... | Fixed undefined dataset ordering in tests. | cakephp_cakephp | train | php |
24b7a61f6505ea0e9313348c5b3361111bc557ae | diff --git a/Neos.Flow/Classes/Cli/ConsoleOutput.php b/Neos.Flow/Classes/Cli/ConsoleOutput.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Cli/ConsoleOutput.php
+++ b/Neos.Flow/Classes/Cli/ConsoleOutput.php
@@ -138,13 +138,17 @@ class ConsoleOutput
*
* @param array $rows
* @param array $header... | TASK: Support header title for table output in console | neos_flow-development-collection | train | php |
9764033d591219fabde7bce6278d120af732310c | diff --git a/bcbio/srna/umis.py b/bcbio/srna/umis.py
index <HASH>..<HASH> 100644
--- a/bcbio/srna/umis.py
+++ b/bcbio/srna/umis.py
@@ -47,8 +47,8 @@ def umi_transform(data):
return data
else:
logger.error("No UMI transform was specified, but %s does not look "
- ... | sRNA:skip if non-umi assigned. | bcbio_bcbio-nextgen | train | py |
37dcc6d6e4b655191fa5f1578d3d1994657787b7 | diff --git a/lib/wwtd.rb b/lib/wwtd.rb
index <HASH>..<HASH> 100644
--- a/lib/wwtd.rb
+++ b/lib/wwtd.rb
@@ -119,10 +119,9 @@ module WWTD
rvm = "rvm #{config["rvm"]} do " if config["rvm"]
if wants_bundle
- lock.flock(File::LOCK_EX) do
- default_bundler_args = (File.exist?("#{gemfil... | proper locking + lock files will always be there since we are local | grosser_wwtd | train | rb |
3035f354f3cd1e3d28b9cebc0c130650a31ad1d0 | diff --git a/src/ai/backend/common/etcd.py b/src/ai/backend/common/etcd.py
index <HASH>..<HASH> 100644
--- a/src/ai/backend/common/etcd.py
+++ b/src/ai/backend/common/etcd.py
@@ -31,7 +31,11 @@ quote = functools.partial(_quote, safe='')
def make_dict_from_pairs(key_prefix, pairs, path_sep='/'):
result = {}
l... | Support dict as input in make_dict_from_pairs | lablup_backend.ai-common | train | py |
ed39dd01e0f255f577e68f2bac2db39299bd4622 | diff --git a/models/Model.php b/models/Model.php
index <HASH>..<HASH> 100644
--- a/models/Model.php
+++ b/models/Model.php
@@ -362,7 +362,7 @@ class Model implements ArrayAccess, Iterator
foreach($this->belongsTo as $belongsTo)
{
$description["belongs_to"][] = $bel... | Fixed an issue with the belongsTo relationships | ntentan_ntentan | train | php |
2fab6e16233b28450ea6b9c8391938af8cbdeb7a | diff --git a/media/boom/js/boom.chunk.js b/media/boom/js/boom.chunk.js
index <HASH>..<HASH> 100755
--- a/media/boom/js/boom.chunk.js
+++ b/media/boom/js/boom.chunk.js
@@ -683,7 +683,7 @@ $.widget('ui.chunkAsset', $.ui.chunk, {
$.boom.loader.show();
- var data = ( link.url && link.url != '' ) ? { asset_id : rid,... | bugfix – asset chunk broke the chunk controller | boomcms_boom-core | train | js |
a82bf18d96b4936dd2de67a27b3b382525c2e7f9 | diff --git a/check.go b/check.go
index <HASH>..<HASH> 100644
--- a/check.go
+++ b/check.go
@@ -91,6 +91,9 @@ func (c Check) String() string {
// Finish ends the check, prints its output (to stdout), and exits with
// the correct status.
func (c *Check) Finish() {
+ if r := recover(); r != nil {
+ c.Exitf(CRITICAL, ... | recover() in Check.Finish() | olorin_nagiosplugin | train | go |
65171f1f6580828581427995e6ac8b5d11e6fe3d | diff --git a/src/main/java/net/fortuna/ical4j/model/TimeZoneLoader.java b/src/main/java/net/fortuna/ical4j/model/TimeZoneLoader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/fortuna/ical4j/model/TimeZoneLoader.java
+++ b/src/main/java/net/fortuna/ical4j/model/TimeZoneLoader.java
@@ -30,7 +30,8 @@ public clas... | Change default implementation of TimeZoneCache
The Map-based TimeZoneCache-Implementation will be used by default now.
Set SystemProperty net.fortuna.ical4j.timezone.cache.impl to
"net.fortuna.ical4j.util.JCacheTimeZoneCache" and provide a
JCache-Implentation in the classpath to use JCache. | ical4j_ical4j | train | java |
01411669871a09f9c9555cb37002b874f24d30f9 | diff --git a/fuse.py b/fuse.py
index <HASH>..<HASH> 100644
--- a/fuse.py
+++ b/fuse.py
@@ -17,7 +17,6 @@ try:
except:
pass
-from string import join
import sys
import os
from errno import *
@@ -317,7 +316,6 @@ class FuseOptParse(SubbedOptParse):
def print_help(self, file=sys.stderr):
SubbedOpt... | Remove some <I> incompatibilities | libfuse_python-fuse | train | py |
d39cf40ff9d03e2004255aea59824b5f368d4677 | diff --git a/userena/contrib/umessages/views.py b/userena/contrib/umessages/views.py
index <HASH>..<HASH> 100644
--- a/userena/contrib/umessages/views.py
+++ b/userena/contrib/umessages/views.py
@@ -47,6 +47,7 @@ class MessageDetailListView(ListView):
def get_context_data(self, **kwargs):
context = super(... | Fixed small but deadly bug in new class-based views. | bread-and-pepper_django-userena | train | py |
3f3d0ad596546d3c994ccbffaca8c520f9feae4a | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -275,13 +275,16 @@ class PodsInit {
);
// WP needs something, if this was empty and none were enabled, it would show title+editor :(
- ... | Update Post Type 'supports' to support the new false check I patched in WP <I> :)
<URL> | pods-framework_pods | train | php |
29a73cbbe9e0d96cfe40782da81bee1be6559ec8 | diff --git a/FlowCytometryTools/GUI/gui.py b/FlowCytometryTools/GUI/gui.py
index <HASH>..<HASH> 100755
--- a/FlowCytometryTools/GUI/gui.py
+++ b/FlowCytometryTools/GUI/gui.py
@@ -99,8 +99,9 @@ class FCGUI(object):
if filepath is not None and measurement is not None:
raise ValueError('You can only ... | Removing deprecated wx calls | eyurtsev_FlowCytometryTools | train | py |
a5c2d9063bc77fb73a4393f7aa8e83b368f9505d | diff --git a/Changelog.md b/Changelog.md
index <HASH>..<HASH> 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,4 +1,7 @@
-## master
+## 0.5.2
+- Fix bug with query logging
+
+## 0.5.1
- Fix whitespace around operators
- Add `Relation#from` method to redefine series
- Handle nil values for tags in #where clause
dif... | Fix query logging (use separate log function); use Rails.logger as InfluxDB logger | palkan_influxer | train | md,rb,rb |
24846c09c73ef72f5b2f760424d9c6e434eb0f44 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,8 @@ info = textwrap.dedent(
"""
)
-IS_PYTHON2 = sys.version_info < (3, 0)
+if sys.version_info < (3, 4):
+ sys.exit("Shoebot requires python 3.4 or higher.")
# the following libraries will not be installed... | Update setup.py (#<I>)
Remove python 2 support from setup.py.
Specify python <I> so that pathlib can be used. | shoebot_shoebot | train | py |
d0c54503fa2575ec37dd0224166eed8bdc1fb24f | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -100,6 +100,7 @@ html_theme = 'nature-mod'
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
+sys.path.append(os.path.abspath('_themes'))
html_theme_path = ... | Add _themes to path. | FSX_misaka | train | py |
576d186351ddcf34c46bcb4732858e72b598413e | diff --git a/ryu/tests/unit/ofproto/test_parser_v10.py b/ryu/tests/unit/ofproto/test_parser_v10.py
index <HASH>..<HASH> 100644
--- a/ryu/tests/unit/ofproto/test_parser_v10.py
+++ b/ryu/tests/unit/ofproto/test_parser_v10.py
@@ -46,7 +46,7 @@ class TestOFPPhyPort(unittest.TestCase):
buf = port_no['buf'] \
... | python3: Don't use str.encode
This commit partially reverts b<I>fedc<I>cb0c9c3fe<I>fc2d2f<I>b7fc<I>f8.
This kind of change complicates assertion checks below. | osrg_ryu | train | py |
3346ab459ebf64f33b1d0775719a70ebf91eef95 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/strategy/LazyFromSourcesSchedulingStrategy.java b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/strategy/LazyFromSourcesSchedulingStrategy.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runt... | [hotfix][runtime] Pipelined partition consumers should not be scheduled in LazyFromSourcesSchedulingStrategy#onExecutionStateChange
The pipelined partition consumers should be already scheduled in
LazyFromSourcesSchedulingStrategy#onPartitionConsumable. | apache_flink | train | java |
aede1533101509684230ce04d301dbd9bb1cf383 | diff --git a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
+++ b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
@@ -52,6 +52,7 @@ func runControlPlane() ... | kubeadm: fix conditional control-plane upgrade
When a node is not a control-plane properly skip "control-plane"
upgrade phase. | kubernetes_kubernetes | train | go |
108cfc21570c2ad394cc397d9e766f743f6e2c03 | diff --git a/test/median_test.rb b/test/median_test.rb
index <HASH>..<HASH> 100644
--- a/test/median_test.rb
+++ b/test/median_test.rb
@@ -55,6 +55,24 @@ class MedianTest < Minitest::Test
assert_equal expected, User.group(:name).group(:visits_count).median(:rating)
end
+ def test_order
+ skip if mongoid?
... | Added order tests - #<I> | ankane_active_median | train | rb |
a92066456b3b16f430675430236df58218c5f04f | diff --git a/plugins/init/Backdrop.civi-setup.php b/plugins/init/Backdrop.civi-setup.php
index <HASH>..<HASH> 100644
--- a/plugins/init/Backdrop.civi-setup.php
+++ b/plugins/init/Backdrop.civi-setup.php
@@ -33,7 +33,7 @@ if (!defined('CIVI_SETUP')) {
$cmsPath = $object->cmsRootPath();
// Compute settingsPat... | (NFC) Update to current style guidelines (plugins/init/Backdrop.civi-setup.php) | civicrm_civicrm-setup | train | php |
1d4a880e0455854e748527c2194efe2576debd28 | diff --git a/src/surface.js b/src/surface.js
index <HASH>..<HASH> 100644
--- a/src/surface.js
+++ b/src/surface.js
@@ -112,6 +112,10 @@ Surface.Prototype = function() {
return [pos, charPos];
};
+ this.getCoordinateForPosition = function(range) {
+ return _mapDOMCoordinates.call(this, range.startContainer... | Added some helpers to map between screen coordinates to model coordinates. | substance_surface | train | js |
a29249da0973a1f6a6d62afa738754d776e57659 | diff --git a/Controller/SOAPController.php b/Controller/SOAPController.php
index <HASH>..<HASH> 100644
--- a/Controller/SOAPController.php
+++ b/Controller/SOAPController.php
@@ -9,13 +9,6 @@ use Symfony\Component\HttpFoundation\Request;
use Splash\Server\SplashServer;
use Splash\Client\Splash;
-
-
-use Doctrine\Co... | Allow both SOAP & NuSOAP requests | SplashSync_Php-Bundle | train | php |
97db7126003c9ed4e573c8ba503dad4e68cce20f | diff --git a/src/sap.m/src/sap/m/ObjectHeaderRenderer.js b/src/sap.m/src/sap/m/ObjectHeaderRenderer.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/ObjectHeaderRenderer.js
+++ b/src/sap.m/src/sap/m/ObjectHeaderRenderer.js
@@ -1260,6 +1260,8 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/core/IconPool'],
o... | [FIX] sap.m.ObjectHeader: Title / arrow span focused correctly
- the span should have a height/width to be focused correctly otherwise
The element and all of its children are handled as "hidden" if the
dimensions are <= 0.
BCP: <I>
Change-Id: I<I>ee<I>cb<I>c3d<I>dd<I>f<I> | SAP_openui5 | train | js |
7cb7b7b4ffa3bcd9907376c080e0c2696cea4c19 | diff --git a/internal/graphics/command.go b/internal/graphics/command.go
index <HASH>..<HASH> 100644
--- a/internal/graphics/command.go
+++ b/internal/graphics/command.go
@@ -211,6 +211,9 @@ func (c *fillCommand) Exec(indexOffsetInBytes int) error {
// Flush is needed after filling (#419)
opengl.GetContext().Flus... | graphics: Bug fix: TestImageTooManyFill didin't pass on some machines
Fixes #<I> | hajimehoshi_ebiten | train | go |
3204c8b96d7f6ffacf1a64eaa71aa2354ca5e34a | diff --git a/byteplay3.py b/byteplay3.py
index <HASH>..<HASH> 100644
--- a/byteplay3.py
+++ b/byteplay3.py
@@ -474,16 +474,14 @@ class Label(object):
pass
# This boolean function allows distinguishing real opcodes in a CodeList from
-# the two non-opcode types. Note this assumes there only ever exists the one
-... | Defensive programming in the isopcode() test | tallforasmurf_byteplay | train | py |
0630cb1859e44b65893fdb3ef9c8002a784e2e7a | diff --git a/Bundle/MediaBundle/Entity/Folder.php b/Bundle/MediaBundle/Entity/Folder.php
index <HASH>..<HASH> 100755
--- a/Bundle/MediaBundle/Entity/Folder.php
+++ b/Bundle/MediaBundle/Entity/Folder.php
@@ -2,7 +2,6 @@
namespace Victoire\Bundle\MediaBundle\Entity;
-
use Doctrine\Common\Collections\ArrayCollection... | [MediaBundle] Cascade persist/remove on folders | Victoire_victoire | train | php |
20aab39374c4be430aba2b76af447b13c27a4eb3 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,7 +10,7 @@ require "net/https"
require "uri"
## Uncomment to load in a .yml with your pin key
-# ENV.update YAML.load(File.read(File.expand_path("../test_data.yml", __FILE__)... | removed a vcr .yml | dNitza_pin_up | train | rb |
45ed222b308255a91b4bb4929c41a23813616152 | diff --git a/pytablereader/interface.py b/pytablereader/interface.py
index <HASH>..<HASH> 100644
--- a/pytablereader/interface.py
+++ b/pytablereader/interface.py
@@ -62,10 +62,14 @@ class TableLoader(TableLoaderInterface):
def source_type(self):
return self._validator.source_type
+ @property
+ de... | Change an attribute to a read-only property | thombashi_pytablereader | train | py |
babfc4121d8a245618565d60d2adae673f803403 | diff --git a/src/helpers.php b/src/helpers.php
index <HASH>..<HASH> 100644
--- a/src/helpers.php
+++ b/src/helpers.php
@@ -429,8 +429,8 @@ CODE;
}
throw new \RuntimeException(\sprintf(
- 'Cannot build argument constructor for %s, give a scalar type hint or a deriving like Enum, FromString, Uuid, From... | Changed text of error message to make it more clear that the argument is being used as an aggregateId. | prolic_fpp | train | php |
1eebb9a5a10fabf3dd54c8b32a42576f6f0195dd | diff --git a/lib/html5lib/TreeBuilder.php b/lib/html5lib/TreeBuilder.php
index <HASH>..<HASH> 100644
--- a/lib/html5lib/TreeBuilder.php
+++ b/lib/html5lib/TreeBuilder.php
@@ -2322,7 +2322,7 @@ class HTML5_TreeBuilder {
} elseif ($token['type'] === HTML5_Tokenizer::COMMENT) {
/* App... | #<I> | Fixed a bug of using undefined method insertToken
Untested fix. But definitely a bug and the most likely correct method insertComment is used on a similar code block. | dompdf_dompdf | train | php |
bf97bf5e2eb97c4f4a37817e2953df66a8a52367 | diff --git a/lib/activerecord-multi-tenant/multi_tenant.rb b/lib/activerecord-multi-tenant/multi_tenant.rb
index <HASH>..<HASH> 100644
--- a/lib/activerecord-multi-tenant/multi_tenant.rb
+++ b/lib/activerecord-multi-tenant/multi_tenant.rb
@@ -29,6 +29,7 @@ module MultiTenant
@@multi_tenant_models[table_name.to_s] ... | Add init of @@multi_tenant_models
This prevents raising an error if the first model referenced after application boot is not distributed. | citusdata_activerecord-multi-tenant | train | rb |
78eb3016e54a230ba489ee73e37dbc73cd56bd56 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,12 +2,18 @@ import React, {PropTypes as T} from 'react';
import { soundManager } from 'soundmanager2';
const pendingCalls = [];
+let initialized = false;
function createSound(options, cb) {
if (sou... | Initialize SoundManager when it’s lazy loaded | leoasis_react-sound | train | js |
5fbf0d7f820c39f9ac210ef624647236b22a9cf7 | diff --git a/flink-table/flink-table-planner-blink/src/test/java/org/apache/flink/table/planner/factories/TestValuesRuntimeFunctions.java b/flink-table/flink-table-planner-blink/src/test/java/org/apache/flink/table/planner/factories/TestValuesRuntimeFunctions.java
index <HASH>..<HASH> 100644
--- a/flink-table/flink-tab... | [FLINK-<I>][table-planner] Clear watermark output when test finished for FromElementSourceFunctionWithWatermark
This closes #<I> | apache_flink | train | java |
1a461476effe82c93c9e16d3dd49ac666707d986 | diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/supervisor.rb
+++ b/lib/fluent/supervisor.rb
@@ -321,6 +321,18 @@ module Fluent
def supervisor_sigcont_handler
if Fluent.windows?
$log.info "dump file. [pid:#{Process.pid}]"
+
+ # Si... | Support the case where `/tmp` dir doesn't exist on Windows | fluent_fluentd | train | rb |
f4eec6479fbb5a1bc03bbcfdddd4e9c688571391 | diff --git a/src/DataSource/Database.php b/src/DataSource/Database.php
index <HASH>..<HASH> 100644
--- a/src/DataSource/Database.php
+++ b/src/DataSource/Database.php
@@ -170,5 +170,29 @@ class Database extends \PDO
// Since this function is only to return one row, only return the first row
return $prepQuery->fet... | Add fetchClass()
Adds a function that will use a query to create an object based on the
specified class | corygehr_corygehr-thinker-lib | train | php |
0b60693f35922c273eb086ff2c0a2b08a6af3118 | diff --git a/org.jenetics/src/main/java/org/jenetics/util/accumulators.java b/org.jenetics/src/main/java/org/jenetics/util/accumulators.java
index <HASH>..<HASH> 100644
--- a/org.jenetics/src/main/java/org/jenetics/util/accumulators.java
+++ b/org.jenetics/src/main/java/org/jenetics/util/accumulators.java
@@ -39,12 +39... | Remove unused 'NULL' instance. | jenetics_jenetics | train | java |
44899372c044e83228eb88804fac22d2cba0ec7f | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -1122,9 +1122,9 @@ class Instrument(object):
if self._iter_type == 'date':
if self.date is not None:
idx, = np.where(self._iter_list == sel... | Updated error feedback when iterating by file and the available file list is empty. | rstoneback_pysat | train | py |
7e09155b31e74e4a40b8131422202772a7b0f31f | diff --git a/salt/output/highstate.py b/salt/output/highstate.py
index <HASH>..<HASH> 100644
--- a/salt/output/highstate.py
+++ b/salt/output/highstate.py
@@ -198,9 +198,7 @@ def _format_host(host, data):
state_lines.insert(
3, u' {tcolor} Name: {comps[2]}{colors[ENDC]}')
... | Handle unicode in highstate outputter
Refs #<I> | saltstack_salt | train | py |
b8d173789b772c6a443c69376967f027c3bed916 | diff --git a/lib/Schema.js b/lib/Schema.js
index <HASH>..<HASH> 100644
--- a/lib/Schema.js
+++ b/lib/Schema.js
@@ -219,7 +219,7 @@ Schema.prototype.parseDynamo = async function (model, dynamoObj) {
attrVal = await attr.parseDynamo(dynamoObj[name]);
}
if (attrVal !== undefined && attrVal !== null)... | feat(schema): change the way attributes are set by parseDynamo function
This does not change parseDynamo result <I>% of the time, because `name` and `attr.name` are usually identical, but makes it possible to manually add hidden attributes to a schema by calling Attribute.create() with `name` set to Symbol(), which ca... | dynamoosejs_dynamoose | train | js |
0e5f11fedf66a38ed2786282a78ed511470f50e1 | diff --git a/js/jasmine.js b/js/jasmine.js
index <HASH>..<HASH> 100644
--- a/js/jasmine.js
+++ b/js/jasmine.js
@@ -12,7 +12,7 @@ jasmineStarted: function(suiteInfo) {
},
suiteStarted: function(result) {
-# suite object initialization
+// suite object initialization
this.suite_info[this.suite_count] = result;
... | Replaced ruby comment with jasmine | bbc_res | train | js |
a3e0ed0d8744ac97f05cd4d7d1e492730e6e4b72 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -271,6 +271,10 @@ func run() error {
// Merge sharded artifacts.
for env, mergeProgram := range shardableArtifacts {
+ if len(filesToMerge[env]) == 0 {
+ fmt.Printf("stress: skipping merge for artifact %s\n", env)... | stress: skip merging when there are no artifacts to merge
If no tests successfully complete then there will be nothing to merge
and just calling into the merge program may therefore fail. In this case
it's appropriate to skip the merge. | cockroachdb_stress | train | go |
8b528337613e0f9d3498185479ab5c8cfbf335ba | diff --git a/lib/spreedly.rb b/lib/spreedly.rb
index <HASH>..<HASH> 100644
--- a/lib/spreedly.rb
+++ b/lib/spreedly.rb
@@ -156,10 +156,10 @@ module Spreedly
end
# Activates a free trial on the subscriber.
- # Requires subscription_id of the free trial plan
- def activate_free_trial(subscription_id... | Change subscription_id to plan_id to match mock's usage. The plan_id makes is clearer than my subscription_id. Thanks Nathaniel. | spreedly_spreedly-gem | train | rb |
9c294c3371f60e9beadd458a6d2807c0aec8ffa2 | diff --git a/src/postmate.js b/src/postmate.js
index <HASH>..<HASH> 100644
--- a/src/postmate.js
+++ b/src/postmate.js
@@ -297,6 +297,10 @@ class Postmate {
this.parent.addEventListener('message', reply, false)
const doSend = () => {
+ if (attempt === maxHandshakeRequests) {
+ clearInter... | fix the issue where the max attempt is ignored because of postMessage exception (#<I>) | dollarshaveclub_postmate | train | js |
4481ded3cf5cc5c3b55e9e72937e536276c44293 | diff --git a/src/Lucid/Model/index.js b/src/Lucid/Model/index.js
index <HASH>..<HASH> 100644
--- a/src/Lucid/Model/index.js
+++ b/src/Lucid/Model/index.js
@@ -1049,14 +1049,17 @@ class Model extends BaseModel {
}
/**
- * Returns an array of ids.
- *
- * Note: this method doesn't allow eagerloading relatio... | doc(docblock): update docblock | adonisjs_adonis-lucid | train | js |
c3311744c52e040ca2e3d98107df827e0fda80bd | diff --git a/contrib/mesos/pkg/scheduler/plugin.go b/contrib/mesos/pkg/scheduler/plugin.go
index <HASH>..<HASH> 100644
--- a/contrib/mesos/pkg/scheduler/plugin.go
+++ b/contrib/mesos/pkg/scheduler/plugin.go
@@ -306,7 +306,8 @@ func (k *kubeScheduler) Schedule(pod *api.Pod, unused algorithm.NodeLister) (str
}
}
-//... | scheduler: correct doc in doSchedule | kubernetes_kubernetes | train | go |
0b589605c87f78f139653b7a783cbcdf84cfca47 | diff --git a/openpnm/utils/_workspace.py b/openpnm/utils/_workspace.py
index <HASH>..<HASH> 100644
--- a/openpnm/utils/_workspace.py
+++ b/openpnm/utils/_workspace.py
@@ -43,12 +43,10 @@ class WorkspaceSettings(SettingsAttr):
@property
def loglevel(self):
- logger = logging.getLogger()
retur... | prevent getting logger from root level
This call was getting the logger from the root level and overwriting the app settings for logging level.
I was having trouble in mak
issue #<I> | PMEAL_OpenPNM | train | py |
0e3f0eabe4ab727e52c7cf7ce52142de90d75d87 | diff --git a/test/transports.htmlfile.test.js b/test/transports.htmlfile.test.js
index <HASH>..<HASH> 100644
--- a/test/transports.htmlfile.test.js
+++ b/test/transports.htmlfile.test.js
@@ -146,7 +146,7 @@ module.exports = {
var port = ++ports
, cl = client(port)
, io = create(cl)
- , beat = fa... | Simplified heartbeat htmlfile test, made consistent with websocket one. | socketio_socket.io | train | js |
22ec6c3370d156295bc3069ab78cf7008d4ca7df | diff --git a/osuapi/enums.py b/osuapi/enums.py
index <HASH>..<HASH> 100644
--- a/osuapi/enums.py
+++ b/osuapi/enums.py
@@ -149,6 +149,10 @@ class BeatmapGenre(Enum):
novelty = 7
hip_hop = 9
electronic = 10
+ metal = 11
+ classical = 12
+ folk = 13
+ jazz = 14
class BeatmapLanguage(Enum): | Add various new song genre enums | khazhyk_osuapi | train | py |
dd1bd8f3bcf3ae86cb95b8548678aed1638f3311 | diff --git a/container.go b/container.go
index <HASH>..<HASH> 100644
--- a/container.go
+++ b/container.go
@@ -161,6 +161,10 @@ func OpenContainer(id string) (Container, error) {
container.handle = handle
+ if err := container.registerCallback(); err != nil {
+ return nil, makeContainerError(container, operation... | Add a callback registration when opening a container | Microsoft_hcsshim | train | go |
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.