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 |
|---|---|---|---|---|---|
c8423930fec8ea4dec678307e881b715f9f34920 | diff --git a/canvasapi/communication_channel.py b/canvasapi/communication_channel.py
index <HASH>..<HASH> 100644
--- a/canvasapi/communication_channel.py
+++ b/canvasapi/communication_channel.py
@@ -161,7 +161,7 @@ class CommunicationChannel(CanvasObject):
try:
if not bool(value['f... | added KeyError specific exception to make linters happy | ucfopen_canvasapi | train | py |
79afcb6b37ad4c543ff3c77578177a04770baf18 | diff --git a/lib/phusion_passenger/packaging.rb b/lib/phusion_passenger/packaging.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/packaging.rb
+++ b/lib/phusion_passenger/packaging.rb
@@ -63,8 +63,8 @@ module Packaging
'lib/phusion_passenger/templates/*',
'lib/phusion_passenger/templates/apache2/*',
... | Oops, fix packaging of Phusion Passenger Standalone. | phusion_passenger | train | rb |
4b1cb363439eff4ed6a478d8334dd0a23736cb91 | diff --git a/examples/nautilus.py b/examples/nautilus.py
index <HASH>..<HASH> 100755
--- a/examples/nautilus.py
+++ b/examples/nautilus.py
@@ -37,7 +37,7 @@ class ChooseHandler(object):
def __init__(self, config, video, subtitles):
self.config = config
self.video = video
- self.subtitles =... | Make sure dict keys are unique in nautilus | Diaoul_subliminal | train | py |
2a0c2be24c9855d937ff03824d7fc86df6311fe7 | diff --git a/src/Hashing/BcryptHashing.php b/src/Hashing/BcryptHashing.php
index <HASH>..<HASH> 100644
--- a/src/Hashing/BcryptHashing.php
+++ b/src/Hashing/BcryptHashing.php
@@ -47,7 +47,7 @@ class BcryptHashing extends AbstractHashing
{
$this->setCost($options['cost']);
- $this->verifyAlgorithm... | Update BcryptHashing.php | zestframework_Zest_Framework | train | php |
602c43e8028b434b2e8a836fc236284708cf3401 | diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index <HASH>..<HASH> 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -168,7 +168,7 @@ class StoriesModule extends AbstractModule implements ModuleConfigInterface, Mod
*/
public function isGrayedOut(Indivi... | Tab should be grayed out when the array is empty (#<I>) | fisharebest_webtrees | train | php |
5dc252053a39eff2d42bff71ca8a6e534001d5b5 | diff --git a/cmd/env.go b/cmd/env.go
index <HASH>..<HASH> 100644
--- a/cmd/env.go
+++ b/cmd/env.go
@@ -857,7 +857,8 @@ func printPropertyValueDiff(b *bytes.Buffer, title func(string), diff resource.V
printPropertyValue(b, delete, deleteIndent(newIndent))
b.WriteString(colors.Reset)
} else if update, isupd... | Fix a slight diffing formatting bug | pulumi_pulumi | train | go |
c66ab773e116d1eec3ac409a423bffeaae74dddf | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -5,6 +5,7 @@ $loader = require dirname(__DIR__) . '/vendor/autoload.php';
/** @var $loader \Composer\Autoload\ClassLoader */
$loader->addPsr4('BEAR\Package\\', __DIR__);
$loader->... | add annotation loader at tests/bootstrap | bearsunday_BEAR.Package | train | php |
5da5b32603f3996eee81ea0699dc04c0250cf862 | diff --git a/spec/lib/matchers/include.rb b/spec/lib/matchers/include.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/matchers/include.rb
+++ b/spec/lib/matchers/include.rb
@@ -4,7 +4,7 @@ module Matchers; module Include
matcher :include_in_any_order do |*matchers|
match do |enumerable|
@not_matched = []
-... | (PUP-<I>) Update to use expected_as_array in rspec 3 | puppetlabs_puppet | train | rb |
47faf0f32d675021a3ed35133e8e9a1452ee56d7 | diff --git a/values.js b/values.js
index <HASH>..<HASH> 100644
--- a/values.js
+++ b/values.js
@@ -12,7 +12,7 @@ ValueStream.prototype.resume = function () {
while(!this.sink.paused && !(this.ended = this._i >= this._values.length))
this.sink.write(this._values[this._i++])
- if(this.ended && !this.sink.pause... | ended does not wait for unpaused | push-stream_push-stream | train | js |
be398236e2f07e9cfe25def72b10f0cbea6fd5bd | diff --git a/documentation-website/src/client/Guides/GettingStarted.js b/documentation-website/src/client/Guides/GettingStarted.js
index <HASH>..<HASH> 100644
--- a/documentation-website/src/client/Guides/GettingStarted.js
+++ b/documentation-website/src/client/Guides/GettingStarted.js
@@ -27,17 +27,16 @@ export defaul... | (Docs) Tweak Getting started guide [ci skip] | pshrmn_curi | train | js |
4e64684358f9d1073d236d354f8368d01f31bf14 | diff --git a/lib/foreigner/connection_adapters/sql2003.rb b/lib/foreigner/connection_adapters/sql2003.rb
index <HASH>..<HASH> 100644
--- a/lib/foreigner/connection_adapters/sql2003.rb
+++ b/lib/foreigner/connection_adapters/sql2003.rb
@@ -47,10 +47,7 @@ module Foreigner
def proper_table_name(to_table)
... | (maybe I don't need to explicitly send in the prefix and suffix?) | matthuhiggins_foreigner | train | rb |
8c05167bc6441f5c3a5d4276afb71bcb1ab8ffaa | diff --git a/tests/Token/IncludeTest.php b/tests/Token/IncludeTest.php
index <HASH>..<HASH> 100644
--- a/tests/Token/IncludeTest.php
+++ b/tests/Token/IncludeTest.php
@@ -73,8 +73,8 @@ class PHP_Reflect_Token_IncludeTest extends PHPUnit_Framework_TestCase
}
/**
- * @covers PHP_TokenIncludes::getName
- ... | FIX typo errors on classnames covers | llaville_php-reflect | train | php |
ead082882ed5eaebffde891e7ab6cddc8448d33f | diff --git a/galpy/potential/NumericalPotentialDerivativesMixin.py b/galpy/potential/NumericalPotentialDerivativesMixin.py
index <HASH>..<HASH> 100644
--- a/galpy/potential/NumericalPotentialDerivativesMixin.py
+++ b/galpy/potential/NumericalPotentialDerivativesMixin.py
@@ -10,9 +10,11 @@ class NumericalPotentialDeriva... | Switch to 2nd-order forward difference method for numerical R derivative | jobovy_galpy | train | py |
5b669faa805602bcb114bb5680d72121c878491a | diff --git a/hazelcast/src/main/java/com/hazelcast/examples/TestApp.java b/hazelcast/src/main/java/com/hazelcast/examples/TestApp.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/examples/TestApp.java
+++ b/hazelcast/src/main/java/com/hazelcast/examples/TestApp.java
@@ -1152,12 +1152,12 @@ p... | made print methods public in order to be able to override
git-svn-id: <URL> | hazelcast_hazelcast | train | java |
e784371a260ae3cb5043b47caa90ed99b7a7abec | diff --git a/simulator/src/main/java/com/hazelcast/simulator/agent/workerjvm/WorkerJvmFailureMonitor.java b/simulator/src/main/java/com/hazelcast/simulator/agent/workerjvm/WorkerJvmFailureMonitor.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/agent/workerjvm/WorkerJvmFailureMonit... | Suppressed "Failure successfully sent to Coordinator" Agent logs for normally finished workers. | hazelcast_hazelcast-simulator | train | java |
97e0ae64ce3a31a0b358ccfe1571c25467407153 | diff --git a/travis_docs_builder.py b/travis_docs_builder.py
index <HASH>..<HASH> 100644
--- a/travis_docs_builder.py
+++ b/travis_docs_builder.py
@@ -183,3 +183,26 @@ def commit_docs(*, built_docs='docs/_build/html', gh_pages_docs='docs', tmp_dir=
run(['git', 'push', '-q', 'origin_token', 'gh-pages'])
el... | First pass at running the command (not tested yet) | drdoctr_doctr | train | py |
47126f2d68b8b9ac7cd7adbfb0abdeb56a37cd04 | diff --git a/bcbio/install.py b/bcbio/install.py
index <HASH>..<HASH> 100644
--- a/bcbio/install.py
+++ b/bcbio/install.py
@@ -212,7 +212,8 @@ def _update_conda_packages():
"""If installed in an anaconda directory, upgrade conda packages.
"""
conda_bin = _get_conda_bin()
- assert conda_bin, "Could not... | Better error message for not finding conda install
Tries to provide better clues for debugging install problems #<I> | bcbio_bcbio-nextgen | train | py |
2a6ebcbad0599e039d268917e530be6f9bf77929 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,6 +3,7 @@
let Service, Characteristic;
const request = require("request");
const async = require("async");
+const packageJSON = require('./package.json');
module.exports = function (homebridge) {
Service = homebr... | Automatically reflect current package version in FirmwareRevision characteristic | Supereg_homebridge-http-switch | train | js |
c69f3db607f7b283f41faf99d176683a0aa4afdf | diff --git a/app/src/Bolt/CronEvent.php b/app/src/Bolt/CronEvent.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/CronEvent.php
+++ b/app/src/Bolt/CronEvent.php
@@ -50,7 +50,6 @@ class CronEvent extends Event
}
}
-
/**
* Hourly jobs
*/
@@ -58,7 +57,6 @@ class CronEvent extends Event
... | PSR-2 clean up of CronEvent.php | bolt_bolt | train | php |
7c8fef9ee06acca35816ffa4bc312f8541378c19 | diff --git a/lib/Drawer/Item.js b/lib/Drawer/Item.js
index <HASH>..<HASH> 100644
--- a/lib/Drawer/Item.js
+++ b/lib/Drawer/Item.js
@@ -59,7 +59,6 @@ const styles = {
},
icon: {
position: 'relative',
- top: -1
},
value: {
flex: 1, | Final Fix : Drawer menu items are not centered | xotahal_react-native-material-ui | train | js |
9cc4b7687c906ca526a06fc24313ee606a538f0d | diff --git a/pypd/mixins.py b/pypd/mixins.py
index <HASH>..<HASH> 100644
--- a/pypd/mixins.py
+++ b/pypd/mixins.py
@@ -92,7 +92,7 @@ class ClientMixin(object):
if add_headers is not None:
headers.update(**add_headers)
- for k, v in query_params.items():
+ for k, v in query_params.c... | Python3 reevaluates the map at each iteration of the loop, use a copy of query_params to avoid reprocessing already seen items | PagerDuty_pagerduty-api-python-client | train | py,py |
abb47983917eba302634587395533d8b36c1394a | diff --git a/staging/src/k8s.io/kubelet/config/v1beta1/types.go b/staging/src/k8s.io/kubelet/config/v1beta1/types.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/kubelet/config/v1beta1/types.go
+++ b/staging/src/k8s.io/kubelet/config/v1beta1/types.go
@@ -327,10 +327,10 @@ type KubeletConfiguration struct {
//... | bump NodeStatusReportFrequency default value to 5min in comment | kubernetes_kubernetes | train | go |
9d506eb0c6df33e1df48131ea9486588a914e310 | diff --git a/src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php b/src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php
+++ b/src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php
@... | Added: Suggested fixes | Sylius_Sylius | train | php |
0064f3cfbb68168b6fa3313083b0a735c5f4d970 | diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php
index <HASH>..<HASH> 100644
--- a/lib/outputrenderers.php
+++ b/lib/outputrenderers.php
@@ -2511,7 +2511,10 @@ EOD;
if ($item->hidden) {
$link->add_class('dimmed');
}
- $link->text = $content.$link->text... | MDL-<I> navigation: Fixed up issue when rendering action_link instances for the navigation | moodle_moodle | train | php |
3509165fe0413192f18ddd46e0eaccd15ad02c7c | diff --git a/Helper/Logger.php b/Helper/Logger.php
index <HASH>..<HASH> 100644
--- a/Helper/Logger.php
+++ b/Helper/Logger.php
@@ -69,7 +69,7 @@ class Logger
$writer = new \Zend\Log\Writer\Stream(BP . '/var/log/checkoutcom_magento2.log');
$logger = new \Zend\Log\Logger();
$logger-... | Updated the logger class outputs | checkout_checkout-magento2-plugin | train | php |
10c9d69c451ce19d6385315f05d85cea476fa5c4 | diff --git a/dragonlib/utils/logging_utils.py b/dragonlib/utils/logging_utils.py
index <HASH>..<HASH> 100755
--- a/dragonlib/utils/logging_utils.py
+++ b/dragonlib/utils/logging_utils.py
@@ -66,7 +66,7 @@ def setup_logging(level, logger_name=None, handler=None, log_formatter=None):
root_logger.info("Set %i lev... | Bugfix disable logging:
in logging is something like:
if len(root.handlers) == 0:
basicConfig()
;) | 6809_dragonlib | train | py |
1195406a447bb60ea01202a7837fc78a22a9c6a7 | diff --git a/lib/Doctrine/Common/Proxy/ProxyGenerator.php b/lib/Doctrine/Common/Proxy/ProxyGenerator.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Common/Proxy/ProxyGenerator.php
+++ b/lib/Doctrine/Common/Proxy/ProxyGenerator.php
@@ -7,7 +7,6 @@ use Doctrine\Common\Proxy\Exception\UnexpectedValueException;
use Do... | Loosen up type constraint from ReflectionNamedType to ReflectionType. | doctrine_common | train | php |
8445f04b2416abe8f98abc1e28b59c9277d4d130 | diff --git a/src/biojs-io-biom.js b/src/biojs-io-biom.js
index <HASH>..<HASH> 100644
--- a/src/biojs-io-biom.js
+++ b/src/biojs-io-biom.js
@@ -590,5 +590,6 @@ export class Biom {
throw new Error('The given biomString is not in json format and no conversion server is specified.\n' + e.message);
... | Add return of the newly created biom object | molbiodiv_biojs-io-biom | train | js |
168885101a742ce0fde762e7a0be4109dc920922 | diff --git a/scapy/layers/dhcp6.py b/scapy/layers/dhcp6.py
index <HASH>..<HASH> 100644
--- a/scapy/layers/dhcp6.py
+++ b/scapy/layers/dhcp6.py
@@ -1169,7 +1169,7 @@ class DHCP6_RelayReply(DHCP6_RelayForward):
return inet_pton(socket.AF_INET6, self.peeraddr)
def answers(self, other):
return (isins... | Use "hopcount" instead of "count" for DHCPv6 RelayForward msgs. | secdev_scapy | train | py |
251be131d94ee33b1cd9a6c9869c87397624e67f | diff --git a/src/python/twitter/pants/commands/goal.py b/src/python/twitter/pants/commands/goal.py
index <HASH>..<HASH> 100644
--- a/src/python/twitter/pants/commands/goal.py
+++ b/src/python/twitter/pants/commands/goal.py
@@ -452,7 +452,8 @@ if NailgunTask.killall:
# TODO(John Sirois): Resolve eggs
goal(
name='iv... | Make resolve depend on gen.
This is so any deps injected into synthetic codegen targets
participate in the resolve.
(sapling split of 9bc6d<I>b<I>bc8d<I>f<I>bf<I>fc<I>cf<I>d<I>) | pantsbuild_pants | train | py |
1ab025e40bedc6cb4367e05f5ff406d7726b5717 | diff --git a/structr-core/src/main/java/org/structr/core/script/polyglot/PolyglotWrapper.java b/structr-core/src/main/java/org/structr/core/script/polyglot/PolyglotWrapper.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/script/polyglot/PolyglotWrapper.java
+++ b/structr-core/src/main/... | Fixes minor issue in polyglot FunctionWrapper. | structr_structr | train | java |
325a50f2bb556d185d77413cf8c6ede7555221d9 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -826,6 +826,7 @@
// Get the model at the given index.
at: function(index) {
+ if (index < 0) index += this.length;
return this.models[index];
}, | Allow Collection.at to accept negative indexes
This allows you to do things like
```javascript
mycollection.at(-2) // get second to last, etc.
``` | jashkenas_backbone | train | js |
b5b914e6686a694d84c94481e51733fcf4accc3e | diff --git a/pyemma/_base/serialization/h5file.py b/pyemma/_base/serialization/h5file.py
index <HASH>..<HASH> 100644
--- a/pyemma/_base/serialization/h5file.py
+++ b/pyemma/_base/serialization/h5file.py
@@ -72,7 +72,7 @@ class H5File(object):
# used during saving.
if name in self._parent:
... | [serialization] fix file name in exceptions | markovmodel_PyEMMA | train | py |
ac5b185347629fc3f4ee7dc0b635451d88658203 | diff --git a/stories/DynamicWidgets.stories.js b/stories/DynamicWidgets.stories.js
index <HASH>..<HASH> 100644
--- a/stories/DynamicWidgets.stories.js
+++ b/stories/DynamicWidgets.stories.js
@@ -22,15 +22,4 @@ storiesOf('ais-dynamic-widgets', module)
],
};
},
- methods: {
- transformItems(_... | chore(stories): dynamic widgets dashboard usage | algolia_vue-instantsearch | train | js |
1e22c1cc787d6d41aef551137fb3d7660899c0c1 | diff --git a/test/pogoplug/client_test.rb b/test/pogoplug/client_test.rb
index <HASH>..<HASH> 100644
--- a/test/pogoplug/client_test.rb
+++ b/test/pogoplug/client_test.rb
@@ -188,7 +188,6 @@ module PogoPlug
file_to_download = @fileListing.files.select { |f| f.file? }.first
if file_to_download
... | no need to write the downloaded file to disk | trumant_pogoplug | train | rb |
cf1bb7cd49e0c60a01e03a94f8a2bb645c11b834 | diff --git a/ImagePanel.py b/ImagePanel.py
index <HASH>..<HASH> 100644
--- a/ImagePanel.py
+++ b/ImagePanel.py
@@ -469,7 +469,7 @@ class InfoOverlayCanvasItem(CanvasItem.AbstractCanvasItem):
drawing_context.fill_text(self.data_item.calibrations[0].convert_to_calibrated_size_str(scale_marker_image_w... | Rename 'voltage' property to 'extra_high_tension'.
svn r<I> | nion-software_nionswift | train | py |
e188b6196024d0939ef27b41b31e2a4d4048d7f5 | diff --git a/spacy/cli/train.py b/spacy/cli/train.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/train.py
+++ b/spacy/cli/train.py
@@ -165,12 +165,9 @@ def train(cmd, lang, output_dir, train_data, dev_data, n_iter=30, n_sents=0,
gpu_wps=gpu_wps)
finally:
print("Saving model..."... | Make cli/train.py not eat exception | explosion_spaCy | train | py |
431a554174b5c6a7ca3f6cbbab3c4adcd3890805 | diff --git a/lib/taskHandlers/action.js b/lib/taskHandlers/action.js
index <HASH>..<HASH> 100644
--- a/lib/taskHandlers/action.js
+++ b/lib/taskHandlers/action.js
@@ -5,7 +5,7 @@ var configStore = require("../configStore");
var {dbErrors} = require("../const");
class PerformAction extends TaskHandlerBase {
- __r... | moved cb to the last argument in PerformAction.__run | getblank_blank-node-worker | train | js |
e0abd618cfcc4fd2ded2b2f49e1501ce011361cf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,13 +23,14 @@ def readme():
def version():
- return '0.1.5'
+ return '0.1.6'
setuptools.setup(
name='qj',
description='qj: logging designed for debugging.',
long_description=readme(),
+ long_de... | Update setup.py for new pypi requirements. Update version to <I>. All tests pass on <I> and <I>. | iansf_qj | train | py |
26c162a302a1b66a43c7958b0a3a0e14aadb3b63 | diff --git a/tests/comment_test.py b/tests/comment_test.py
index <HASH>..<HASH> 100644
--- a/tests/comment_test.py
+++ b/tests/comment_test.py
@@ -38,7 +38,7 @@ class CommentTest(PyPumpTest):
},
"url": "https://example.com/testuser/comment/UOsxSKbITXixW5r_HAyO2A",
"id": "https://e... | change Comment.liked test to expose bug | xray7224_PyPump | train | py |
770713d08557f8efa57ff47209e7d9f2187b68cc | diff --git a/tests/test_auto_fit.py b/tests/test_auto_fit.py
index <HASH>..<HASH> 100644
--- a/tests/test_auto_fit.py
+++ b/tests/test_auto_fit.py
@@ -282,14 +282,14 @@ class TestAutoFit(unittest.TestCase):
xx, yy = np.meshgrid(xcentres, ycentres, sparse=False, indexing='ij')
x0 = Parameter(value=1.... | Updated tests to reflect inspectless style | tBuLi_symfit | train | py |
87e1dd9ea40f4f59ad53867b3c08343368139171 | diff --git a/table/policy.go b/table/policy.go
index <HASH>..<HASH> 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -1100,6 +1100,16 @@ func NewExtCommunitySet(c config.ExtCommunitySet) (*ExtCommunitySet, error) {
}, nil
}
+func (s *ExtCommunitySet) Append(arg DefinedSet) error {
+ err := s.regExpSet.Append(... | policy: avoid crash when getting ext-community | osrg_gobgp | train | go |
701756f48fc627ed1f9cef77e6ad887c2e95e0f8 | diff --git a/allauth/socialaccount/providers/discord/views.py b/allauth/socialaccount/providers/discord/views.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/providers/discord/views.py
+++ b/allauth/socialaccount/providers/discord/views.py
@@ -10,9 +10,9 @@ from allauth.socialaccount.providers.oauth2.views i... | fix(discord): Switch to new API domain | pennersr_django-allauth | train | py |
79c19e6d1c0baa379ebca7a0703da7ad27f80cc8 | diff --git a/lib/objectFactory.js b/lib/objectFactory.js
index <HASH>..<HASH> 100644
--- a/lib/objectFactory.js
+++ b/lib/objectFactory.js
@@ -14,27 +14,39 @@ var create = function (params) {
*/
var extendThese = params.extends,
- implementsInterfaces = params.implements || [];
+ implement... | Allow passing and inheriting a constructor method, stored as _constructor | jhsware_component-registry | train | js |
deaceab0d58de5b569747406fce1ce2f5674491d | diff --git a/src/fn/DI/Container.php b/src/fn/DI/Container.php
index <HASH>..<HASH> 100644
--- a/src/fn/DI/Container.php
+++ b/src/fn/DI/Container.php
@@ -32,6 +32,8 @@ class Container extends \DI\Container implements MutableDefinitionSource
);
}
parent::__construct($this->definitionSourc... | add class fn\DI\Container and every derived class to resolved entries | php-fn_php-fn-di | train | php,php |
0db788bb950b2c2b8ff9c5c9f146a61c68d1fa6d | diff --git a/patroni/ctl.py b/patroni/ctl.py
index <HASH>..<HASH> 100644
--- a/patroni/ctl.py
+++ b/patroni/ctl.py
@@ -1101,7 +1101,7 @@ def edit_config(obj, cluster_name, force, quiet, kvpairs, pgkvpairs, apply_filen
@ctl.command('show-config', help="Show cluster configuration")
-@click.argument('cluster_name')
+... | Make show-config work with cluster_name from config file (#<I>)
similar to edit-config, list and so on | zalando_patroni | train | py |
83954bb4875fb8daf05753b652636a1fc2a8392b | diff --git a/generators/cucumber/templates/env.rb b/generators/cucumber/templates/env.rb
index <HASH>..<HASH> 100644
--- a/generators/cucumber/templates/env.rb
+++ b/generators/cucumber/templates/env.rb
@@ -1,5 +1,5 @@
require 'cucumber'
-require 'capybara/cucumber'
+require 'capybara-screenshot/cucumber'
require_rel... | removed extra capybara dsl including | strongqa_howitzer | train | rb |
e98d8002d8ce1646d00be54d82d2489cb549d354 | diff --git a/core/src/main/java/hudson/util/AtomicFileWriter.java b/core/src/main/java/hudson/util/AtomicFileWriter.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/util/AtomicFileWriter.java
+++ b/core/src/main/java/hudson/util/AtomicFileWriter.java
@@ -130,7 +130,7 @@ public class AtomicFileWriter ext... | Only catch AtomicMoveNotSupportedException. | jenkinsci_jenkins | train | java |
7f4e64db9ca183b13f558b4e28c19366e723194c | diff --git a/js/lib/mediawiki.Util.js b/js/lib/mediawiki.Util.js
index <HASH>..<HASH> 100644
--- a/js/lib/mediawiki.Util.js
+++ b/js/lib/mediawiki.Util.js
@@ -877,7 +877,7 @@ normalizeOut = function ( out ) {
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments
out... | Escape a single quote so we don't screw up emacs' syntax coloring.
Change-Id: I<I>eca7b0f<I>ac8d<I>a8d<I>e<I>a8f<I>bb5d | wikimedia_parsoid | train | js |
dd051aae3f70cd3fce95e21056096996b4c01ebb | diff --git a/controller/src/main/java/org/jboss/as/controller/AttributeDefinition.java b/controller/src/main/java/org/jboss/as/controller/AttributeDefinition.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/AttributeDefinition.java
+++ b/controller/src/main/java/org/jboss/as/contr... | Check for undefined early to improve perf | wildfly_wildfly-core | train | java |
b93bb1ec4abc31e7babc2b437e9ee6c0b03ccfbb | diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -33,12 +33,13 @@ describe Ohai::Mixin::ShellOut, "shell_out" do
else
# this just replicates the behavior of defaul... | fix the deafult locale
we need to call out to the ChefConfig helper to set this | chef_ohai | train | rb |
cc9ed84c81b98a83925630b417ddb67b7567b677 | diff --git a/webpype/client.py b/webpype/client.py
index <HASH>..<HASH> 100644
--- a/webpype/client.py
+++ b/webpype/client.py
@@ -26,10 +26,17 @@ class WebPypeBaseClient(object):
resp = urlopen(request)
return resp.read()
- def _wrapinput(self, inputs, array_wrap=False):
+ def _validate_input... | Added _validate_input(), and moved input validation away
from _wrapinput(). Now it can also handle unicode | ajvb_webpype | train | py |
9ae150feabcafef8c8ecb0576b2fa3852325a9f4 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -136,7 +136,7 @@ export default class OneSignal {
static sendTag(key, value) {
if (!checkIfInitialized(RNOneSignal)) return;
- if (!key || !value) {
+ if (!key || (!value && value ... | Small Nit: We Should Allow for the setting of blank strings as values
Motivation: tags can be removed by sending a blank string. Here we're updating the logic to allow for that | geektimecoil_react-native-onesignal | train | js |
a3fb251891b27866a95f6010ee8ee32f7fc6846e | diff --git a/test/test_shell.rb b/test/test_shell.rb
index <HASH>..<HASH> 100644
--- a/test/test_shell.rb
+++ b/test/test_shell.rb
@@ -47,9 +47,13 @@ class ShellTest < Test::Unit::TestCase
end
def test_parse_input
- cmdpath, args = RVC::Shell.parse_input "module.cmd --longarg -s vm1 vm2"
+ cmdpath, args =... | add tests for Shell.parse_input with quotes | vmware_rvc | train | rb |
866e7ab5affcd2fb2bda72e779849b50c69deec6 | diff --git a/src/Probability/Distribution/StudentTDistribution.php b/src/Probability/Distribution/StudentTDistribution.php
index <HASH>..<HASH> 100644
--- a/src/Probability/Distribution/StudentTDistribution.php
+++ b/src/Probability/Distribution/StudentTDistribution.php
@@ -2,7 +2,7 @@
namespace Math\Probability\Distr... | Update StudentTDistribution.php | markrogoyski_math-php | train | php |
66cbdc0e80208adcc969643d7816122865b42355 | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -2603,8 +2603,8 @@ class TestSeries(unittest.TestCase, CheckNameIntegration):
self.assertEquals(a.dot(b['2'].values), expected['2'])
... | BUG: tests should use almost_equal for comparing float equal | pandas-dev_pandas | train | py |
9498e662b8bf178f196ac7288a246c7f80a65a91 | diff --git a/progressbar/__about__.py b/progressbar/__about__.py
index <HASH>..<HASH> 100644
--- a/progressbar/__about__.py
+++ b/progressbar/__about__.py
@@ -19,7 +19,7 @@ A Python Progressbar library to provide visual (yet text based) progress to
long running operations.
'''.strip()
__email__ = 'wolph@wol.ph'
-__v... | removed debug code, the exception shouldnt raise | WoLpH_python-progressbar | train | py,py |
e0fa8d6b5b94466dec52805ff81d211556af5910 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -12,6 +12,7 @@ var execSync = require('child_process').execSync;
var execFile = require('child_process').execFile;
var spawn = require('child_process').spawn;
var os = require('os');
+var node_path = require('path');
... | Fixed a bug caused when scanning directories with clamdscan with scan_recursively set to false. | kylefarris_clamscan | train | js |
f4f0ca27e2a75b034dbc87c246929991f9ca7abd | diff --git a/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/BindProxyProperties.php b/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/BindProxyProperties.php
index <HASH>..<HASH> 100644
--- a/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer... | Skipping static properties when binding properties in a scope localizer | Ocramius_ProxyManager | train | php |
029b77c81f1ee8299c5422cb69c4f8d07baa4043 | diff --git a/lib/active_scaffold.rb b/lib/active_scaffold.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold.rb
+++ b/lib/active_scaffold.rb
@@ -286,7 +286,7 @@ module ActiveScaffold
as_path = File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
index = view_paths.find_index { |p... | fix add_active_scaffold_path, it was changing view_paths for all controllers | activescaffold_active_scaffold | train | rb |
5cf9ed5c18e4fefd8b0dc33c38c151d8322f5757 | diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cf... | Changed logging IOException to the configured logger. Printing stacktrace may not be optimum. | Activiti_Activiti | train | java |
afc22c7bbba1548179ea1334a6b6c9b974508e00 | diff --git a/command/v2/bind_security_group_command.go b/command/v2/bind_security_group_command.go
index <HASH>..<HASH> 100644
--- a/command/v2/bind_security_group_command.go
+++ b/command/v2/bind_security_group_command.go
@@ -97,7 +97,7 @@ func (cmd BindSecurityGroupCommand) Execute(args []string) error {
}
for ... | display assigning text with flavor
[finishes #<I>] | cloudfoundry_cli | train | go |
dcbf35c552a53e7779d7da917cbce78ecf109021 | diff --git a/src/java/org/apache/cassandra/io/util/MmappedSegmentedFile.java b/src/java/org/apache/cassandra/io/util/MmappedSegmentedFile.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/io/util/MmappedSegmentedFile.java
+++ b/src/java/org/apache/cassandra/io/util/MmappedSegmentedFile.java
@@ -54,10... | add path to MmappedSegmentedFile assertions | Stratio_stratio-cassandra | train | java |
67d2498a1761b73624efce6b8c5ee9df2196585f | diff --git a/src/funnies.js b/src/funnies.js
index <HASH>..<HASH> 100644
--- a/src/funnies.js
+++ b/src/funnies.js
@@ -151,4 +151,5 @@ export default [
"Please hold on as we reheat our coffee",
"Kindly hold on as we convert this bug to a feature...",
"Kindly hold on as our intern quits vim...",
+ "Winter is c... | Winter is coming... added to funny phrases (#<I>) | 1egoman_funnies | train | js |
107e8c0be4e9a5208c38fa0492e8d06ad47df3c6 | diff --git a/integrated-build.js b/integrated-build.js
index <HASH>..<HASH> 100644
--- a/integrated-build.js
+++ b/integrated-build.js
@@ -3,6 +3,7 @@
const addCacheBusting = require('./add-cache-busting.js');
const addCspCompliance = require('./add-csp-compliance.js');
const injectCustomElementsEs5Adapter = require... | Plugin needs to expose a lazypipe for later initialization | Collaborne_gulp-polymer-build-utils | train | js |
d74f2ce97167722a3fcb8d9e6ca639ee73f75645 | diff --git a/spec/a9n_spec.rb b/spec/a9n_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/a9n_spec.rb
+++ b/spec/a9n_spec.rb
@@ -97,7 +97,7 @@ describe A9n do
its(:app_url) { should_not be_nil }
its(:app_url) { should == subject.fetch(:app_url) }
- its(:page_title) { should == 'Base Kiełbasa' }... | Remove non-utf chars | knapo_a9n | train | rb |
9eef414903e3842c00ad04ee36f3ee212a490ed1 | diff --git a/lib/patron/request.rb b/lib/patron/request.rb
index <HASH>..<HASH> 100644
--- a/lib/patron/request.rb
+++ b/lib/patron/request.rb
@@ -88,7 +88,7 @@ module Patron
end
def timeout=(new_timeout)
- if new_timeout.to_i < 1
+ if new_timeout && new_timeout.to_i < 1
raise ArgumentErr... | Allow nil timeout to turn off the timeout feature | toland_patron | train | rb |
11c6e1b5f8a7476919ab0b375fc87abf93ab1690 | diff --git a/tests/base.py b/tests/base.py
index <HASH>..<HASH> 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -15,13 +15,14 @@ class PrioCORO:
prio = priority.CORO
priorities = (PrioCORO, PrioOP, PrioFIRST, PrioLAST)
-from cogen.core.proactors import has_iocp, \
+from cogen.core.proactors import has... | added ctypes iocp to tests | ionelmc_python-cogen | train | py |
c2fc91adc7ca05e66a6b4a03303236c4e9a5325d | diff --git a/pkg/volume/vsphere_volume/vsphere_volume_util.go b/pkg/volume/vsphere_volume/vsphere_volume_util.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/vsphere_volume/vsphere_volume_util.go
+++ b/pkg/volume/vsphere_volume/vsphere_volume_util.go
@@ -94,11 +94,12 @@ func (util *VsphereDiskUtil) CreateVolume(v *vsph... | Fix rounding-up of Vsphere volume size | kubernetes_kubernetes | train | go |
fdc8c9ec93de5e91ac2b21e953d1e705a50959ce | diff --git a/plexapi/myplex.py b/plexapi/myplex.py
index <HASH>..<HASH> 100644
--- a/plexapi/myplex.py
+++ b/plexapi/myplex.py
@@ -634,15 +634,10 @@ class MyPlexAccount(PlexObject):
"""
return self.batchingItems(self.NEWS, maxresults)
- return items
-
- def podcasts(self):
+ def podcasts(self... | update podcasts to use batchingItems | pkkid_python-plexapi | train | py |
c826f31d1fc22bbab93c722d9da3475619ac2a8c | diff --git a/itests/standalone/src/test/java/org/wildfly/camel/test/csv/CSVIntegrationTest.java b/itests/standalone/src/test/java/org/wildfly/camel/test/csv/CSVIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/itests/standalone/src/test/java/org/wildfly/camel/test/csv/CSVIntegrationTest.java
+++ b/itests/standalon... | [FIXME #<I>] Object may get marshalled to wrong CSV order | wildfly-extras_wildfly-camel | train | java |
1859170e69f8765e0656b1259363dc40f8ac59fc | diff --git a/codec-http2/src/test/java/io/netty/handler/codec/http2/LastInboundHandler.java b/codec-http2/src/test/java/io/netty/handler/codec/http2/LastInboundHandler.java
index <HASH>..<HASH> 100644
--- a/codec-http2/src/test/java/io/netty/handler/codec/http2/LastInboundHandler.java
+++ b/codec-http2/src/test/java/io... | Change String comparison to equals() from == (#<I>)
Motivation:
Even if it was stored in the string constant pool, I thought it was safe to compare it through the Equals() method.
Modification:
So, I changed "==" comparison to equals() comparison
Result:
It has become safer to compare String values with... | netty_netty | train | java |
55f58370cfda6ba48ab9c08cf22039dbbf5b99b0 | diff --git a/src/Leevel/Protocol/Server.php b/src/Leevel/Protocol/Server.php
index <HASH>..<HASH> 100755
--- a/src/Leevel/Protocol/Server.php
+++ b/src/Leevel/Protocol/Server.php
@@ -580,8 +580,8 @@ abstract class Server
throw new InvalidArgumentException($e);
}
- if (version_compare(phpv... | chore: update swoole version | hunzhiwange_framework | train | php |
a9bdd0c170f2d932d9fabf01f27febf3189c0ac4 | diff --git a/lib/appsignal/railtie.rb b/lib/appsignal/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/railtie.rb
+++ b/lib/appsignal/railtie.rb
@@ -1,8 +1,5 @@
module Appsignal
class Railtie < Rails::Railtie
- rake_tasks do
- load "tasks/auth_check.rake"
- end
initializer "appsignal.con... | Remove rake task in favor of CLI | appsignal_appsignal-ruby | train | rb |
98c12bf14c3c2b13f1c75bbc2c2cf88a3068f77d | diff --git a/core/src/test/java/com/google/errorprone/bugpatterns/testdata/BadComparablePositiveCases.java b/core/src/test/java/com/google/errorprone/bugpatterns/testdata/BadComparablePositiveCases.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/errorprone/bugpatterns/testdata/BadComparablePositive... | BadComparable test case with File.
This was a motivating case for BadComparable and so it makes a nice test.
RELNOTES: extra BadComparable test.
-------------
Created by MOE: <URL> | google_error-prone | train | java |
d88ae75e9c68bf148917e97a400596de7d49712a | diff --git a/js/angular/components/notification/notification.js b/js/angular/components/notification/notification.js
index <HASH>..<HASH> 100644
--- a/js/angular/components/notification/notification.js
+++ b/js/angular/components/notification/notification.js
@@ -230,7 +230,9 @@
// close if autoclose
... | Change to autoclose notification to prevent notification from reappearing after swipe. | zurb_foundation-apps | train | js |
7471e9df12b999b3c3dbc905758ed7d86cbfd103 | diff --git a/src/main/java/io/github/lukehutch/fastclasspathscanner/json/JSONMapper.java b/src/main/java/io/github/lukehutch/fastclasspathscanner/json/JSONMapper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/lukehutch/fastclasspathscanner/json/JSONMapper.java
+++ b/src/main/java/io/github/lukehutch/fas... | Pass in indentWidth | classgraph_classgraph | train | java |
6a5b73b347c233300bf48390c87137d5f36dcde8 | diff --git a/generators/generator-constants.js b/generators/generator-constants.js
index <HASH>..<HASH> 100644
--- a/generators/generator-constants.js
+++ b/generators/generator-constants.js
@@ -54,7 +54,7 @@ const DOCKER_JAVA_JRE = 'eclipse-temurin:11-jre-focal';
const DOCKER_MYSQL = 'mysql:8.0.27';
const DOCKER_MAR... | Update mongo docker image version to <I> | jhipster_generator-jhipster | train | js |
cde0951a4707bc6c2a07e7d2e7a621ca08e58acc | diff --git a/sunspot/lib/sunspot/query/restriction.rb b/sunspot/lib/sunspot/query/restriction.rb
index <HASH>..<HASH> 100644
--- a/sunspot/lib/sunspot/query/restriction.rb
+++ b/sunspot/lib/sunspot/query/restriction.rb
@@ -353,6 +353,10 @@ module Sunspot
@field.to_indexed(value)
end
+ def t... | negative boolean phrase for AbstractRange | sunspot_sunspot | train | rb |
796c77100bf9ac00eff58d670daac8c4ceae548e | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -5,7 +5,7 @@ var Performer = require('./performer')
function App(opts) {
var options = opts || {};
- var ydmHome = process.env.YDM_HOME || path.join(process.env.HOME, '.ydm')
+ var ydmHome = process.env.YDM_HOM... | don't break when no HOME set | kfatehi_ydm | train | js |
97411e81b1ce12f33a08cf75e212ba5e0358530f | diff --git a/Package/Loader/LazyAssetPackageLoader.php b/Package/Loader/LazyAssetPackageLoader.php
index <HASH>..<HASH> 100644
--- a/Package/Loader/LazyAssetPackageLoader.php
+++ b/Package/Loader/LazyAssetPackageLoader.php
@@ -174,6 +174,10 @@ class LazyAssetPackageLoader implements LazyLoaderInterface
if (fal... | Fix output without verbose option when package file is not found | fxpio_composer-asset-plugin | train | php |
1b5bedb125a3c20e99dfba4278be0357cacb290e | diff --git a/ara/cli/playbook.py b/ara/cli/playbook.py
index <HASH>..<HASH> 100644
--- a/ara/cli/playbook.py
+++ b/ara/cli/playbook.py
@@ -92,8 +92,29 @@ class PlaybookList(Lister):
query["limit"] = args.limit
playbooks = client.get("/api/v1/playbooks", **query)
- columns = ("id", "status", "... | CLI: Add number of items in 'playbook list'
This adds columns to display the number of plays, tasks, results, hosts,
files and records in each playbook.
Change-Id: If<I>e<I>e<I>b<I>d3c<I>e0ec<I>fee<I>f9c<I> | ansible-community_ara | train | py |
d2fccd70ff3d11650bdd246c19cfeab73c8dcb7b | diff --git a/lib/query_report/report_pdf.rb b/lib/query_report/report_pdf.rb
index <HASH>..<HASH> 100755
--- a/lib/query_report/report_pdf.rb
+++ b/lib/query_report/report_pdf.rb
@@ -50,7 +50,7 @@ module QueryReport
end
def humanized_table_header
- report_columns.collect(&:humanize)
+ report_colum... | Added feature to sanitize the pdf content | ashrafuzzaman_query_report | train | rb,rb |
ec316b319b32e7f6e90dbed341fbbd8814001303 | diff --git a/nipap/nipap/nipapconfig.py b/nipap/nipap/nipapconfig.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/nipapconfig.py
+++ b/nipap/nipap/nipapconfig.py
@@ -25,7 +25,7 @@ class NipapConfig(ConfigParser.SafeConfigParser):
raise NipapConfigError("missing configuration file")
self._... | Python <I> compliance
Removed allow_no_value from config object as it's newer than Python <I>. | SpriteLink_NIPAP | train | py |
68c0d87d421476279b1e3ead84658f91a65b4d6a | diff --git a/patroni/postgresql.py b/patroni/postgresql.py
index <HASH>..<HASH> 100644
--- a/patroni/postgresql.py
+++ b/patroni/postgresql.py
@@ -1216,7 +1216,8 @@ class Postgresql(object):
if data:
data = data.decode('utf-8').splitlines()
# pg_controldata out... | check if output lines of controldata are possible to split (#<I>)
Otherwise it fails with scary stacktrace | zalando_patroni | train | py |
7db5d00e282f7fcf3f01cac48930774df01a20a4 | diff --git a/graphsrv/static/js/graphsrv.mtr.js b/graphsrv/static/js/graphsrv.mtr.js
index <HASH>..<HASH> 100644
--- a/graphsrv/static/js/graphsrv.mtr.js
+++ b/graphsrv/static/js/graphsrv.mtr.js
@@ -44,6 +44,9 @@ $gs.components.register(
},
+ "init_popover": function() {
+ },
+
"default_options" : f... | disable popover in mtr graph for now | 20c_graphsrv | train | js |
ce0dae524ff6ec1167f7f9f4a6a319849589b6ae | diff --git a/app/assets/javascripts/lentil/buttonhandler.js b/app/assets/javascripts/lentil/buttonhandler.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/lentil/buttonhandler.js
+++ b/app/assets/javascripts/lentil/buttonhandler.js
@@ -2,7 +2,7 @@ function buttonhandler() {
$(".like-btn, .flag-confirm... | check for image id on standalone image page | NCSU-Libraries_lentil | train | js |
86623f913daaa76fe6659955f8058a8e4776b02e | diff --git a/salt/utils/sanitisers.py b/salt/utils/sanitisers.py
index <HASH>..<HASH> 100644
--- a/salt/utils/sanitisers.py
+++ b/salt/utils/sanitisers.py
@@ -55,5 +55,7 @@ class InputSanitizer(object):
'''
return re.sub(r'[^a-zA-Z0-9.-]', '', InputSanitizer.trim(value))
+ id = hostname
+
clea... | Add a stub for ID sanitiser (at the moment same as hostname) | saltstack_salt | train | py |
62227426cb03e0a457259803ef75d25fc878c8b0 | diff --git a/lib/gearman/multiserver-worker.js b/lib/gearman/multiserver-worker.js
index <HASH>..<HASH> 100644
--- a/lib/gearman/multiserver-worker.js
+++ b/lib/gearman/multiserver-worker.js
@@ -21,11 +21,10 @@ var log = require('../log');
* @return {Object}
*/
-function MultiserverWorker(servers, func_name, call... | Remove dependecy injection from MultiserverClient | meetings_gearsloth | train | js |
1f055b871664973707a75785dd8786a8619ac87c | diff --git a/dpark/schedule.py b/dpark/schedule.py
index <HASH>..<HASH> 100644
--- a/dpark/schedule.py
+++ b/dpark/schedule.py
@@ -748,7 +748,7 @@ class DAGScheduler(Scheduler):
if self.loghub_dir:
self._dump_stats(stats)
except Exception as e:
- logger.exception("Fail ... | Adjust log level of ""Fail to dump job stats" to warning. | douban_dpark | train | py |
594a597c3bb33d0230ffb8cb0145705987f9a37a | diff --git a/src/main/java/com/parship/roperty/KeyValues.java b/src/main/java/com/parship/roperty/KeyValues.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/parship/roperty/KeyValues.java
+++ b/src/main/java/com/parship/roperty/KeyValues.java
@@ -58,7 +58,7 @@ public class KeyValues {
return addOrChangeDomai... | Removed synchronized modifier, because ConcurrentSkipListSet has an own concurrency mechanism | parship_roperty | train | java |
9573d1bfec50d7bf802d49ad2c1535bbf0f924f7 | diff --git a/terraform/resource_test.go b/terraform/resource_test.go
index <HASH>..<HASH> 100644
--- a/terraform/resource_test.go
+++ b/terraform/resource_test.go
@@ -40,6 +40,12 @@ func TestResourceConfigGet(t *testing.T) {
Value interface{}
}{
{
+ Config: nil,
+ Key: "foo",
+ Value: nil,
+ },
+
+ {... | terraform: test to make sure nil in RawConfig is okay | hashicorp_terraform | train | go |
903eff860ebed17acef3182f773fd915ba40ba5f | diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/AbstractCommand.java b/hystrix-core/src/main/java/com/netflix/hystrix/AbstractCommand.java
index <HASH>..<HASH> 100644
--- a/hystrix-core/src/main/java/com/netflix/hystrix/AbstractCommand.java
+++ b/hystrix-core/src/main/java/com/netflix/hystrix/AbstractComman... | Replace explicit iteration with library support for fast list creation | Netflix_Hystrix | train | java |
e680a2de274ee783e9a7040034a692a6a58b5b38 | diff --git a/tornadis/__init__.py b/tornadis/__init__.py
index <HASH>..<HASH> 100644
--- a/tornadis/__init__.py
+++ b/tornadis/__init__.py
@@ -4,14 +4,12 @@
# This file is part of tornadis library released under the MIT license.
# See the LICENSE file for more information.
-version_info = (0, 0, '1')
+version_info ... | remove two unused const and preparing <I> release | thefab_tornadis | train | py |
b419181446105a39ee9f58f601a2e8f08495ac20 | diff --git a/packages/node-krl-parser/tests/parser.test.js b/packages/node-krl-parser/tests/parser.test.js
index <HASH>..<HASH> 100644
--- a/packages/node-krl-parser/tests/parser.test.js
+++ b/packages/node-krl-parser/tests/parser.test.js
@@ -2059,6 +2059,11 @@ test("Action setting", function(t){
var src = "rulese... | testing action setting support in defaction | Picolab_pico-engine | train | js |
6cea002ba0b45f1b5ee67c75d89e95c201f545f5 | diff --git a/fuse.py b/fuse.py
index <HASH>..<HASH> 100644
--- a/fuse.py
+++ b/fuse.py
@@ -382,15 +382,15 @@ class Stat(FuseStruct):
def __init__(self, **kw):
self.st_mode = None
- self.st_ino = None
- self.st_dev = None
+ self.st_ino = 0
+ self.st_dev = 0
s... | the FuseStat initializatior sets a default zero value for some of the stat fields | libfuse_python-fuse | train | py |
b8fa39ffa4cfedc660d7303a0198655d5a2433ff | diff --git a/openid/codecutil.py b/openid/codecutil.py
index <HASH>..<HASH> 100644
--- a/openid/codecutil.py
+++ b/openid/codecutil.py
@@ -50,13 +50,7 @@ def _in_escape_range(octet):
return False
-def _pct_escape_handler(err):
- '''
- Encoding error handler that does percent-escaping of Unicode, to be us... | Factor out percent-encoding into separate function in codecutil, for debugging / testing | necaris_python3-openid | train | py |
093756d335711b9e4578b061f2e62806bf8c2aec | diff --git a/lib/validation.js b/lib/validation.js
index <HASH>..<HASH> 100644
--- a/lib/validation.js
+++ b/lib/validation.js
@@ -2,6 +2,9 @@
const Joi = require( 'joi' );
+// pre-load
+require( 'joi/lib/any' );
+
const utils = require( './utils' );
const ignoredProperties = require( './ignored-properties' );... | Added preload and warm-up code for validation testing - reduces time for cold runs | vandium-io_vandium-node | train | js |
0f5cfffa35c3e52df15f5b81cad15a44e74a77a3 | diff --git a/tests/integration/price/testcases/basket/testFrontendOrderStep1DeliverySortedWithCategories(1).php b/tests/integration/price/testcases/basket/testFrontendOrderStep1DeliverySortedWithCategories(1).php
index <HASH>..<HASH> 100644
--- a/tests/integration/price/testcases/basket/testFrontendOrderStep1DeliverySo... | marked as skipped (cherry picked from commit <I>b1c5) (cherry picked from commit 7c9cbdd) | OXID-eSales_oxideshop_ce | train | php,php |
66712e39d70a60a69f5d93fdd940c1dc425a2b48 | diff --git a/lib/schema_monkey/railtie.rb b/lib/schema_monkey/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/schema_monkey/railtie.rb
+++ b/lib/schema_monkey/railtie.rb
@@ -8,10 +8,14 @@ module SchemaMonkey
end
rake_tasks do
- load 'rails/tasks/database.rake'
+ namespace :schema_monkey do
+ ... | bug fix: replace dangling rails/tasks/database.rake with the correct task inline | SchemaPlus_schema_monkey | 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.