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 |
|---|---|---|---|---|---|
b2ebd168532567e0717d903628e96dc0e6159193 | diff --git a/main/src/main/java/com/google/android/apps/muzei/WearableController.java b/main/src/main/java/com/google/android/apps/muzei/WearableController.java
index <HASH>..<HASH> 100644
--- a/main/src/main/java/com/google/android/apps/muzei/WearableController.java
+++ b/main/src/main/java/com/google/android/apps/muz... | Remove Wearable.API warning messages when API is unavailable
When connectionResult.getErrorCode() == ConnectionResult.API_UNAVAILABLE, this means we are on an unsupported device and we should not attempt to update the data layer. However, since that status is unlikely to change over the course of the app's lifecycle, ... | romannurik_muzei | train | java |
e2cd912d8dc78a58ccd6e8fd080857b420f2477f | diff --git a/librosa/feature/inverse.py b/librosa/feature/inverse.py
index <HASH>..<HASH> 100644
--- a/librosa/feature/inverse.py
+++ b/librosa/feature/inverse.py
@@ -232,7 +232,7 @@ def mfcc_to_mel(mfcc, *, n_mels=128, dct_type=2, norm="ortho", ref=1.0, lifter=0
# raise a UserWarning if lifter array includes ... | Fix typo in warning in inverse.py (#<I>) | librosa_librosa | train | py |
4d96513cf4832d6216f6704dfe2beea9d74c0ae4 | diff --git a/src/handler-runner/HandlerRunner.js b/src/handler-runner/HandlerRunner.js
index <HASH>..<HASH> 100644
--- a/src/handler-runner/HandlerRunner.js
+++ b/src/handler-runner/HandlerRunner.js
@@ -4,10 +4,13 @@ const createHandler = require('./createHandler.js')
module.exports = class HandlerRunner {
constr... | Fix creating new handler for each invocation | dherault_serverless-offline | train | js |
2df8289ec8384a03859c636b4ec5375384f80e4e | diff --git a/services/nexus/nexus.tester.js b/services/nexus/nexus.tester.js
index <HASH>..<HASH> 100644
--- a/services/nexus/nexus.tester.js
+++ b/services/nexus/nexus.tester.js
@@ -264,7 +264,7 @@ t.create('Nexus 3 - search snapshot version for artifact without snapshots')
t.create('Nexus 3 - repository version')
... | Fix failing Nexus tests (#<I>) | badges_shields | train | js |
5a50038c4ff17195f010cff10d76b0d0929a77c9 | diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -185,11 +185,6 @@ class Chef::Application::Solo < Chef::Application
Chef::Config[:interval] ||= 1800
end
- if Chef::Config[:json_... | [CHEF-<I>] Fix json_attribs and recipe_url load order. | chef_chef | train | rb |
11b019cf5b7e054a37417c067fbbc7a7fc61279a | diff --git a/taar/recommenders/ensemble_recommender.py b/taar/recommenders/ensemble_recommender.py
index <HASH>..<HASH> 100644
--- a/taar/recommenders/ensemble_recommender.py
+++ b/taar/recommenders/ensemble_recommender.py
@@ -50,6 +50,7 @@ class EnsembleRecommender(BaseRecommender):
weight each recommender ap... | Added a testcase for EnsembleRecommender with mock weights and mock
delegate recommenders | mozilla_taar | train | py |
4509f3fc9522e6696bfdb57da99e849f07dc844d | diff --git a/lib/Skeleton/File/Picture/Picture.php b/lib/Skeleton/File/Picture/Picture.php
index <HASH>..<HASH> 100644
--- a/lib/Skeleton/File/Picture/Picture.php
+++ b/lib/Skeleton/File/Picture/Picture.php
@@ -45,9 +45,9 @@ class Picture extends File {
if ($details === null) {
$this->save();
+ } else {
+ $... | bugfix: don't overwrite local data with NULL if a new picture object is created | tigron_skeleton-file-picture | train | php |
f3b0be812e39114e5c6768aa6db59c3945fe3a33 | diff --git a/activerecord/lib/active_record/associations/singular_association.rb b/activerecord/lib/active_record/associations/singular_association.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/singular_association.rb
+++ b/activerecord/lib/active_record/associations/singular_associat... | Don't pass a block as we are yielding | rails_rails | train | rb |
ef0e16e5e4a463f94281d4b30b0a43865906ff13 | diff --git a/test/adapter.js b/test/adapter.js
index <HASH>..<HASH> 100644
--- a/test/adapter.js
+++ b/test/adapter.js
@@ -1,5 +1,3 @@
window.assert = require('assertive-chai').assert;
-if (require('is-ie8')) {
- require('rangy').shim();
- require('wgxpath').install();
-}
+if (require('is-ie8')) require('rangy').shi... | Always add wgxpath in tests | openannotation_xpath-range | train | js |
cc6df7d609e5a97c4f42f6db94a80a2c97c25fbe | diff --git a/logging_format/visitor.py b/logging_format/visitor.py
index <HASH>..<HASH> 100644
--- a/logging_format/visitor.py
+++ b/logging_format/visitor.py
@@ -146,7 +146,8 @@ class LoggingVisitor(NodeVisitor):
if self.should_check_extra_field_clash(node):
for key in node.keys:
- ... | fix AttributeError on double-star dicts
Dicts that use `{'foo': "bar", **baz}` syntax have `key` set to None for `baz`, we need to check it before accessing an attribute | globality-corp_flake8-logging-format | train | py |
7663c04761b93b5f4e3d030999caf953f98f25b4 | diff --git a/setup/auxi4py/setup.py b/setup/auxi4py/setup.py
index <HASH>..<HASH> 100644
--- a/setup/auxi4py/setup.py
+++ b/setup/auxi4py/setup.py
@@ -7,7 +7,7 @@ from distutils.core import setup
# build the distribution
setup(name="auxi",
- version="0.0.0",
+ version="0.0.1",
description="auxi for... | Minor version upgrade. pypi does not allow me to upload a version that has been previously used. | Ex-Mente_auxi.0 | train | py |
00f8cc377efc02d05ca99f14ee9f48d99046a34f | diff --git a/src/MockCollection.php b/src/MockCollection.php
index <HASH>..<HASH> 100644
--- a/src/MockCollection.php
+++ b/src/MockCollection.php
@@ -80,14 +80,17 @@ class MockCollection extends Collection
});
}
- foreach ($collectionCopy as $doc) {
- if ($matcher($doc)) {
- ... | Fuck you PHP, and die a painful fucking death | martin-helmich_php-mongomock | train | php |
6dad3c1bdcc35feb931d9a54b21fbf13d15bf65d | diff --git a/python/orca/src/bigdl/orca/tfpark/estimator.py b/python/orca/src/bigdl/orca/tfpark/estimator.py
index <HASH>..<HASH> 100644
--- a/python/orca/src/bigdl/orca/tfpark/estimator.py
+++ b/python/orca/src/bigdl/orca/tfpark/estimator.py
@@ -355,10 +355,7 @@ class TFEstimator(object):
inputs =... | Support Predict MiniBatch in Predictior (#<I>)
* predict minibatch
* add transform from sample to minibatch
* support TFNet predict dataset
* fix style | intel-analytics_BigDL | train | py |
e39585dc4fe40ef9c6fde92196f03dcc53b597df | diff --git a/normalize/record/json.py b/normalize/record/json.py
index <HASH>..<HASH> 100644
--- a/normalize/record/json.py
+++ b/normalize/record/json.py
@@ -228,7 +228,7 @@ def to_json(record, extraneous=True, prop=None):
pass
return rv_dict
- elif isinstance(record, six.integer_typ... | Fixes issue where certain integers were not being serialized as expected. | hearsaycorp_normalize | train | py,py |
e73457937a19373e78c0da7223cb8d7afe2c04f1 | diff --git a/job/job.go b/job/job.go
index <HASH>..<HASH> 100644
--- a/job/job.go
+++ b/job/job.go
@@ -1,9 +1,9 @@
package job
type Job struct {
- Name string
- Payload JobPayload
- State *PayloadState
+ Name string
+ Payload JobPayload
+ PayloadState *PayloadState
}
func NewJob(name string, p... | refactor(job): Rename Job.State to Job.PayloadState | coreos_fleet | train | go |
087e66db291def5498cf4758d3d6a50cbbd968b1 | diff --git a/tensorpack/callbacks/trigger.py b/tensorpack/callbacks/trigger.py
index <HASH>..<HASH> 100644
--- a/tensorpack/callbacks/trigger.py
+++ b/tensorpack/callbacks/trigger.py
@@ -94,7 +94,7 @@ class EnableCallbackIf(ProxyCallback):
def _before_run(self, ctx):
if self._pred(self):
- su... | fix bug in EnableCallbackIf when used with before_run | tensorpack_tensorpack | train | py,py |
191b21a3b932767099600ef708eb7e921cb61e0a | diff --git a/alot/ui.py b/alot/ui.py
index <HASH>..<HASH> 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -1,6 +1,7 @@
import urwid
import logging
from twisted.internet import reactor, defer
+import sys
from settings import settings
from buffers import BufferlistBuffer
@@ -182,7 +183,12 @@ class UI(object):
... | ignore exceptions when stopping reactor
.. in ui.exit
issue #<I> | pazz_alot | train | py |
e2ec2c4456d5fb389b9d20d2c9fa35c82c4998ce | diff --git a/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIData.java b/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIData.java
index <HASH>..<HASH> 100644
--- a/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIData.java
+++ b/proton-c/binding... | PROTON-<I>: Fix bug in JNI described type decoding discovered by new tests.
Add missing calls to next()
git-svn-id: <URL> | apache_qpid-proton | train | java |
3930ad044bf29115fe9c9ceff18c7275353de547 | diff --git a/visidata/vdtui.py b/visidata/vdtui.py
index <HASH>..<HASH> 100755
--- a/visidata/vdtui.py
+++ b/visidata/vdtui.py
@@ -1550,7 +1550,8 @@ class Sheet(BaseSheet):
def orderBy(self, *cols, **kwargs):
try:
with Progress(self.rows) as prog:
- self.rows = sorted(self.rows... | [sort] fix build; use .sort() instead of =sorted()
- by not sorting in-place, sorting on columns sheet would not sort columns on
source sheet, breaking the tests | saulpw_visidata | train | py |
16900bc59ad918d908f7ea756b42edb037818e71 | diff --git a/src/Go/Aop/Support/AopChildFactory.php b/src/Go/Aop/Support/AopChildFactory.php
index <HASH>..<HASH> 100644
--- a/src/Go/Aop/Support/AopChildFactory.php
+++ b/src/Go/Aop/Support/AopChildFactory.php
@@ -215,7 +215,7 @@ class AopChildFactory extends AbstractChildCreator
return parent::__toString()
... | Use full qualified name of original class and fix bug with double quotes for class Security\X<I>Factory | goaop_framework | train | php |
1a202bb6ebaa5e42a6505779d96b4025aa847736 | diff --git a/discord/server.py b/discord/server.py
index <HASH>..<HASH> 100644
--- a/discord/server.py
+++ b/discord/server.py
@@ -223,3 +223,41 @@ class Server(Hashable):
def created_at(self):
"""Returns the server's creation time in UTC."""
return utils.snowflake_time(self.id)
+
+ def get_me... | Add Server.get_member_named to help with name + discriminator lookups. | Rapptz_discord.py | train | py |
e4a9a743deb81e684283f252df921235a385c832 | diff --git a/spec/integration/chunker_spec.rb b/spec/integration/chunker_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/chunker_spec.rb
+++ b/spec/integration/chunker_spec.rb
@@ -91,6 +91,15 @@ describe Lhm::Chunker do
["127.0.0.1"]
end
+ if master_slave_mode?
+ def throttler.s... | connect to slave if available on chuncker slave lag test | soundcloud_lhm | train | rb |
c7e4227ec441ebb2df9f1c45698c3a986f73a148 | diff --git a/satpy/tests/test_demo.py b/satpy/tests/test_demo.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/test_demo.py
+++ b/satpy/tests/test_demo.py
@@ -174,7 +174,7 @@ class TestGCPUtils(unittest.TestCase):
self.assertRaises(RuntimeError, get_bucket_files, '*.nc', '.')
-class TestAHIDemoDownload(uni... | Make ahi demo tests not inherit from TestCase | pytroll_satpy | train | py |
018e8fe4d4fe174f242cb8f84af338b989cd1b5c | diff --git a/lib/querly/pp/cli.rb b/lib/querly/pp/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/querly/pp/cli.rb
+++ b/lib/querly/pp/cli.rb
@@ -82,7 +82,8 @@ module Querly
new_source = source.gsub(/./, ' ')
parser.ast.descendants(:erb).each do |erb_node|
- _, _, code_node, = *erb_node
+ ... | Fix erb comment preprocess
querly-pp command failed to pre-process coments in *.erb. | soutaro_querly | train | rb |
8ce3ca9fd870863b777211256b8f6d25c0bbdcec | diff --git a/raiden/tests/integration/fixtures/raiden_network.py b/raiden/tests/integration/fixtures/raiden_network.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/integration/fixtures/raiden_network.py
+++ b/raiden/tests/integration/fixtures/raiden_network.py
@@ -18,11 +18,15 @@ log = structlog.get_logger(__name__) ... | style change: single line if statement | raiden-network_raiden | train | py |
d683e9243c5cbb46613a1e57cceb565d3522305e | diff --git a/cid_test.go b/cid_test.go
index <HASH>..<HASH> 100644
--- a/cid_test.go
+++ b/cid_test.go
@@ -556,7 +556,7 @@ func BenchmarkStringV1(b *testing.B) {
func TestReadCidsFromBuffer(t *testing.T) {
cidstr := []string{
"bafkreie5qrjvaw64n4tjm6hbnm7fnqvcssfed4whsjqxzslbd3jwhsk3mm",
- "K2CWUECKQKIBUTVHKR4P2... | test: lowercase base<I>
Base<I> was introduced mainly for use in DNS, and various user agents
force lowercase, so tests should use that instead.
License: MIT | ipfs_go-cid | train | go |
b98c004f6d3295d59f7aeee37294bfec6aa52fc9 | diff --git a/asq/test/test_last.py b/asq/test/test_last.py
index <HASH>..<HASH> 100644
--- a/asq/test/test_last.py
+++ b/asq/test/test_last.py
@@ -44,6 +44,16 @@ class TestLast(unittest.TestCase):
self.assertRaises(ValueError, lambda: Queryable(a).last())
+ def test_empty_non_sequence_predicate(self):
+... | Added coverage for the case of using last() with a predicate on an empty generator. | sixty-north_asq | train | py |
97f5bbf5c99a40b8204c1e818e3bc8d897f822f0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
import sys
+import re
from setuptools import setup
-from betfairlightweight.__init__ import __version__
INSTALL_REQUIRES = [
@@ -16,9 +16,13 @@ if sys.version_info < (3,4):
'enum34',
])
+w... | Read __version__ with regex to avoid ImportError | liampauling_betfair | train | py |
f193d33ede9dbdbf0f6e4acad7a3260838cf428a | diff --git a/Auth/Yadis/ParanoidHTTPFetcher.php b/Auth/Yadis/ParanoidHTTPFetcher.php
index <HASH>..<HASH> 100644
--- a/Auth/Yadis/ParanoidHTTPFetcher.php
+++ b/Auth/Yadis/ParanoidHTTPFetcher.php
@@ -126,7 +126,7 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
return null;
}
- ... | [project @ FIX: CURL fetcher POST now supports extra_headers] | openid_php-openid | train | php |
8e42f898dbadc34e1fb39f77f4d66236da7a6187 | diff --git a/gomatic/go_cd_configurator.py b/gomatic/go_cd_configurator.py
index <HASH>..<HASH> 100755
--- a/gomatic/go_cd_configurator.py
+++ b/gomatic/go_cd_configurator.py
@@ -39,7 +39,10 @@ class GoCdConfigurator(object):
return self.__current_config_response()[0]
def __current_config_response(self)... | Throwing explicit exception to diagnose intermittent error getting the GOCD config file | gocd-contrib_gomatic | train | py |
d1e1e39acf9f68a83457307363f76498c7be3d42 | diff --git a/tests/calculators/hazard/disagg/core_test.py b/tests/calculators/hazard/disagg/core_test.py
index <HASH>..<HASH> 100644
--- a/tests/calculators/hazard/disagg/core_test.py
+++ b/tests/calculators/hazard/disagg/core_test.py
@@ -274,7 +274,6 @@ class DisaggHazardCalculatorTestcase(unittest.TestCase):
... | tests/calcs/hazard/disagg/core_test: pep8
Former-commit-id: 0f<I>a8c7ee5df7e<I>fdc2c<I>c<I>be<I>c<I>b | gem_oq-engine | train | py |
e3640e3df52ade0d34afc3b031cecfb60c54f391 | diff --git a/src/psd_tools/api/effects.py b/src/psd_tools/api/effects.py
index <HASH>..<HASH> 100644
--- a/src/psd_tools/api/effects.py
+++ b/src/psd_tools/api/effects.py
@@ -8,7 +8,7 @@ from psd_tools.constants import Tag, Resource
from psd_tools.terminology import Klass, Enum, Key
from psd_tools.utils import new_re... | fix for additional fx fields after photoshop <I> | psd-tools_psd-tools | train | py |
0613f2daa4ba7a195ede2afc146ddb73a91b5e28 | diff --git a/lib/para/components_configuration.rb b/lib/para/components_configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/para/components_configuration.rb
+++ b/lib/para/components_configuration.rb
@@ -1,6 +1,7 @@
module Para
class ComponentsConfiguration
def draw(&block)
+ return unless components_i... | do not load components config if components or component_sections table does not exist, and warn | para-cms_para | train | rb |
582c0e432db918237d1dcbcc4034983408766b4f | diff --git a/thinc/layers/featureextractor.py b/thinc/layers/featureextractor.py
index <HASH>..<HASH> 100644
--- a/thinc/layers/featureextractor.py
+++ b/thinc/layers/featureextractor.py
@@ -22,6 +22,8 @@ def forward(model: Model[InT, OutT], docs, is_train: bool) -> Tuple[OutT, Callab
attrs = doc.to_array(... | Make sure FeatureExtractor returns array2i | explosion_thinc | train | py |
abc224b14542d635c477592f8e72518a8c9e5f29 | diff --git a/src/main/java/skadistats/clarity/processor/reader/PacketInstance.java b/src/main/java/skadistats/clarity/processor/reader/PacketInstance.java
index <HASH>..<HASH> 100644
--- a/src/main/java/skadistats/clarity/processor/reader/PacketInstance.java
+++ b/src/main/java/skadistats/clarity/processor/reader/Packe... | throw ClarityException instead of UnsupportedOperationException | skadistats_clarity | train | java |
a55dc081ef9e0df51f6e7a9fd226490c93ec8553 | diff --git a/mixinReactProxy.js b/mixinReactProxy.js
index <HASH>..<HASH> 100644
--- a/mixinReactProxy.js
+++ b/mixinReactProxy.js
@@ -16,7 +16,9 @@ module.exports = function(React, desc) {
desc.componentDidMount = function() {
if(!this.state.component) {
this.loadComponent(function(component) {
- this.setS... | Check if component is mounted before setting state.
Prevents "Uncaught Error: Invariant Violation: replaceState(...): Can
only update a mounted or mounting component." -- which can occur if the
proxy component is unmounted before download completes. | webpack-contrib_react-proxy-loader | train | js |
1f27e661337ee95c5ffcde0211da9cfe24111e03 | diff --git a/dvc/repo/status.py b/dvc/repo/status.py
index <HASH>..<HASH> 100644
--- a/dvc/repo/status.py
+++ b/dvc/repo/status.py
@@ -74,7 +74,7 @@ def _cloud_status(
ret = {}
status_info = self.cloud.status(used, jobs, remote=remote)
- for _, info in status_info.items():
+ for _, info in status_info... | refactor status_info as values in for better performance | iterative_dvc | train | py |
564ca0b6d7f50c3b1164f3f1de8dad5c8c89a8cb | diff --git a/core/src/main/java/jenkins/security/HMACConfidentialKey.java b/core/src/main/java/jenkins/security/HMACConfidentialKey.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/security/HMACConfidentialKey.java
+++ b/core/src/main/java/jenkins/security/HMACConfidentialKey.java
@@ -27,6 +27,7 @@ imp... | [JENKINS-<I>] - Cache the Mac so we do not need to constantly recreate it (#<I>)
[JENKINS-<I>] - Cache the Mac so we do not need to constantly recreate it | jenkinsci_jenkins | train | java |
a16b360cbfa5b609b1c6223b07ac380b2d19a3ca | diff --git a/spec/controllers/admin/layouts_controller_spec.rb b/spec/controllers/admin/layouts_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/admin/layouts_controller_spec.rb
+++ b/spec/controllers/admin/layouts_controller_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_he... | Admin::LayoutController pluralized | radiant_radiant | train | rb |
2cfea551e46b266be231223ff3add6ed65df664f | diff --git a/framework/directives/split_view.js b/framework/directives/split_view.js
index <HASH>..<HASH> 100644
--- a/framework/directives/split_view.js
+++ b/framework/directives/split_view.js
@@ -87,7 +87,7 @@ limitations under the License.
var page = angular.element('<div></div>');
page.addClass... | compiling sliding menu content with its parent scope | OnsenUI_OnsenUI | train | js |
6b6920014e66f3cd7ba201a9da12213e642e8033 | diff --git a/filefinder2/machinery.py b/filefinder2/machinery.py
index <HASH>..<HASH> 100644
--- a/filefinder2/machinery.py
+++ b/filefinder2/machinery.py
@@ -17,7 +17,7 @@ try:
)
except ImportError:
from ._fileloader2 import (
- SOURCE_SUFFIXES_2, BYTECODE_SUFFIXES_2, EXTENSION_SUFFIXES_2, get_suppor... | small fix after testing with rosimport on python3 | asmodehn_filefinder2 | train | py |
77e7678ebdf83e35fe05ca9020b65270e28d4617 | diff --git a/src/components/useZoomPan.js b/src/components/useZoomPan.js
index <HASH>..<HASH> 100644
--- a/src/components/useZoomPan.js
+++ b/src/components/useZoomPan.js
@@ -48,7 +48,7 @@ export default function useZoomPan({
const {transform, sourceEvent} = d3Event
setPosition({ x: transform.x, y: transf... | Unify scaleFactor `k` for `onMove` event
D3's scale factor `k` is exposed in `onMoveEnd`, `onMoveStart` and
couple of other places as `zoom` variable, but not here. It creates
confusion. Now it should be more clear | zcreativelabs_react-simple-maps | train | js |
23fde7a2e3964f751a7cfeeccb338cb0a5d36a26 | diff --git a/src/ClientBankExchange/Component.php b/src/ClientBankExchange/Component.php
index <HASH>..<HASH> 100644
--- a/src/ClientBankExchange/Component.php
+++ b/src/ClientBankExchange/Component.php
@@ -112,7 +112,7 @@ class Component implements \ArrayAccess
unset($this->$offset);
}
- public func... | fix(php8): now supports php8 | kilylabs_client-bank-exchange-php | train | php,php |
ad68f46c9b18bbb201e2d83fafe9ec1a4d2fcbde | diff --git a/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/MysqlRepository.java b/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/MysqlRepository.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/MysqlRepository.java
+++ b/molgenis-data-mysql/src/main... | Fix #<I> Nullpointer in annotators. | molgenis_molgenis | train | java |
f39378c9b19b42b69728cf666196da8df26a10c6 | diff --git a/contrib/distributed_rails_event_store/dres_rails/app/controllers/dres_rails/application_controller.rb b/contrib/distributed_rails_event_store/dres_rails/app/controllers/dres_rails/application_controller.rb
index <HASH>..<HASH> 100644
--- a/contrib/distributed_rails_event_store/dres_rails/app/controllers/dr... | Decouple DRES from NullMapper.
Less surface area while working on #<I>. | RailsEventStore_rails_event_store | train | rb |
9be803693018f93b4156239db3be40e377c5ea95 | diff --git a/programs/make_magic_plots.py b/programs/make_magic_plots.py
index <HASH>..<HASH> 100755
--- a/programs/make_magic_plots.py
+++ b/programs/make_magic_plots.py
@@ -175,7 +175,7 @@ def main():
if loc_name == "./":
data_df = data_container.df
else:
- ... | correctly handle numeric location names in make_magic_plots, #<I> | PmagPy_PmagPy | train | py |
af9ebe030761134487f836b0f0d24d4cf02a338e | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -58,7 +58,3 @@ if (!function_exists('getParamsFromUrl')) {
return $parsedQuery;
}
}
-
-if (PHP_VERSION_ID < 70000) {
- class Error extends \Exception {}
-} | remove Error class, not needed | onelogin_php-saml | train | php |
9f5a701be26b85b0751e02c6ce4b0c373e6a4108 | diff --git a/skosprovider/skos.py b/skosprovider/skos.py
index <HASH>..<HASH> 100644
--- a/skosprovider/skos.py
+++ b/skosprovider/skos.py
@@ -550,7 +550,7 @@ def dict_to_label(dict):
dict.get('type', 'prefLabel'),
dict.get('language', 'und')
)
- except (KeyError, AttributeError):
... | Update dict_to_label | koenedaele_skosprovider | train | py |
2f118da9463f1bacbc5529b9892118fb12efd9ff | diff --git a/Otherfiles/notebook_check.py b/Otherfiles/notebook_check.py
index <HASH>..<HASH> 100644
--- a/Otherfiles/notebook_check.py
+++ b/Otherfiles/notebook_check.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+"""Notebook-check script."""
import os
import nbformat
from nbconvert.preprocessors import ExecutePrepro... | add : coding and global docstring added. | sepandhaghighi_pycm | train | py |
6094c4887a9f1318d6eac27a5455ae23e707b759 | diff --git a/linguist/mixins.py b/linguist/mixins.py
index <HASH>..<HASH> 100644
--- a/linguist/mixins.py
+++ b/linguist/mixins.py
@@ -108,11 +108,10 @@ class ModelMeta(models.base.ModelBase):
def __new__(cls, name, bases, attrs):
- from .fields import TranslationField, CacheDescriptor
+ from .fi... | pep8 fixes in mixins. | ulule_django-linguist | train | py |
3af10a9afd55d54b374cfdc03bd970d5ff05d8b5 | diff --git a/activity-ports.js b/activity-ports.js
index <HASH>..<HASH> 100644
--- a/activity-ports.js
+++ b/activity-ports.js
@@ -1254,8 +1254,10 @@ class ActivityWindowPort {
*/
check_(opt_delayCancel) {
if (!this.targetWin_ || this.targetWin_.closed) {
- this.win_.clearInterval(this.heartbeatInterva... | Minor fix: do not cancel interval more than once | google_web-activities | train | js |
de7bad1a85a8276386ac024e97d6a83fafa0ba31 | diff --git a/addons/actions/src/manager.js b/addons/actions/src/manager.js
index <HASH>..<HASH> 100644
--- a/addons/actions/src/manager.js
+++ b/addons/actions/src/manager.js
@@ -7,7 +7,7 @@ export function register() {
addons.register(ADDON_ID, api => {
const channel = addons.getChannel();
addons.addPanel... | Change title of panel to "Actions" from "Action logger" | storybooks_storybook | train | js |
09cc2e0c850c2fbdf7a59842803377638f87546c | diff --git a/alerta/models/user.py b/alerta/models/user.py
index <HASH>..<HASH> 100644
--- a/alerta/models/user.py
+++ b/alerta/models/user.py
@@ -41,7 +41,7 @@ class User:
def domain(self) -> Optional[str]:
try:
return self.email.split('@')[1]
- except AttributeError:
+ except ... | Catch exception when splitting email for domain (#<I>) | alerta_alerta | train | py |
5f84eb2087b7a4095fc30b578d6488afc8f7fe5e | diff --git a/src/http/xhr.js b/src/http/xhr.js
index <HASH>..<HASH> 100644
--- a/src/http/xhr.js
+++ b/src/http/xhr.js
@@ -25,10 +25,10 @@ function _gpfHttpXhrOpen (request) {
return xhr;
}
-function _gpfHttpXhrWaitForCompletion (xhr, callback) {
+function _gpfHttpXhrWaitForCompletion (xhr, resolve) {
xhr.... | Small simplification (#<I>) | ArnaudBuchholz_gpf-js | train | js |
2bd119523cb46f35f6a0b203d83be23169645126 | diff --git a/galpy/df_src/diskdf.py b/galpy/df_src/diskdf.py
index <HASH>..<HASH> 100644
--- a/galpy/df_src/diskdf.py
+++ b/galpy/df_src/diskdf.py
@@ -178,7 +178,8 @@ class diskdf(df):
vT= nu.array([o._orb.vxvv[2] for o in args[0]])
R= nu.array([o._orb.vxvv[0] for o in args[0]])
r... | do need to check whether __call__input is array because of Quantity | jobovy_galpy | train | py |
d11eeb662871fb6a5794ca07330d098a31f103d3 | diff --git a/y/watermark.go b/y/watermark.go
index <HASH>..<HASH> 100644
--- a/y/watermark.go
+++ b/y/watermark.go
@@ -178,6 +178,7 @@ func (w *WaterMark) process() {
for _, ch := range toNotify {
close(ch)
}
+ delete(waiters, i) // Release the memory back.
}
if until != doneUntil {
AssertTrue(... | Watermark: Allow the wait channels to be GCed by deleting them from the map. | dgraph-io_badger | train | go |
c79a1c096b240856e83b1edf8af853447d7bc595 | diff --git a/rundeckapp/grails-app/assets/javascripts/versionIdentity.js b/rundeckapp/grails-app/assets/javascripts/versionIdentity.js
index <HASH>..<HASH> 100644
--- a/rundeckapp/grails-app/assets/javascripts/versionIdentity.js
+++ b/rundeckapp/grails-app/assets/javascripts/versionIdentity.js
@@ -27,6 +27,7 @@ var Ver... | Add space between app version icon and name | rundeck_rundeck | train | js |
c2332aeb5598e7384930f82638460b6f6e0f189d | diff --git a/lib/stupidedi/versions/functional_groups/005010/element_defs.rb b/lib/stupidedi/versions/functional_groups/005010/element_defs.rb
index <HASH>..<HASH> 100644
--- a/lib/stupidedi/versions/functional_groups/005010/element_defs.rb
+++ b/lib/stupidedi/versions/functional_groups/005010/element_defs.rb
@@ -253,7... | Fixed incorect element type (transaction set control number, used in
ST<I>)... from ID to AN | irobayna_stupidedi | train | rb |
f40be120a467c105396f36dcb70869198c7cdfd5 | diff --git a/blocks/quiz_results/block_quiz_results.php b/blocks/quiz_results/block_quiz_results.php
index <HASH>..<HASH> 100644
--- a/blocks/quiz_results/block_quiz_results.php
+++ b/blocks/quiz_results/block_quiz_results.php
@@ -378,7 +378,9 @@ class block_quiz_results extends block_base {
// Now grab ... | MDL-<I> blocks: Fix alternate name warning in quiz results block | moodle_moodle | train | php |
f0ccb0ebd369e59886b848cbf6128381fcb65d3e | diff --git a/sprd/entity/Font.js b/sprd/entity/Font.js
index <HASH>..<HASH> 100644
--- a/sprd/entity/Font.js
+++ b/sprd/entity/Font.js
@@ -14,7 +14,15 @@ define(["js/data/Entity"], function (Entity) {
getUniqueFontName: function() {
return this.$.name + "_" + this.$.style + "_" + this.$.weight;
... | added isBold and isItalic sugar methods to font | spreadshirt_rAppid.js-sprd | train | js |
245bd09d66a7e089a27eb6575c1fb7d481695476 | diff --git a/lib/active_importer/base.rb b/lib/active_importer/base.rb
index <HASH>..<HASH> 100644
--- a/lib/active_importer/base.rb
+++ b/lib/active_importer/base.rb
@@ -40,7 +40,7 @@ module ActiveImporter
def initialize(file, options = {})
@context = options.delete(:context)
- @book = Roo::Spreadsh... | Fix improper use of roo library | continuum_active_importer | train | rb,rb |
e5ae4088f3512eb805b13ea138087350b8180d69 | diff --git a/xarray/tests/test_variable.py b/xarray/tests/test_variable.py
index <HASH>..<HASH> 100644
--- a/xarray/tests/test_variable.py
+++ b/xarray/tests/test_variable.py
@@ -1651,7 +1651,7 @@ class TestVariableWithDask(TestCase, VariableSubclassTestCases):
def test_equals_all_dtypes(self):
import d... | Mark test_equals_all_dtypes as xfail again (#<I>) | pydata_xarray | train | py |
f9179aaf3f4c4a6ba675da041588eca54705dfef | diff --git a/app/presenters/renalware/dashboard/dashboard_presenter.rb b/app/presenters/renalware/dashboard/dashboard_presenter.rb
index <HASH>..<HASH> 100644
--- a/app/presenters/renalware/dashboard/dashboard_presenter.rb
+++ b/app/presenters/renalware/dashboard/dashboard_presenter.rb
@@ -41,6 +41,7 @@ module Renalwar... | Revise sort order of dashboard items
- Messages - sent_at asc (oldest first)
- ECCs - created_at asc (oldest first) | airslie_renalware-core | train | rb |
10467c31f7bc5f0c795ca970bfbfd46b9c32b1b9 | diff --git a/src/frontend/org/voltdb/utils/SQLCommand.java b/src/frontend/org/voltdb/utils/SQLCommand.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/utils/SQLCommand.java
+++ b/src/frontend/org/voltdb/utils/SQLCommand.java
@@ -1277,6 +1277,7 @@ public class SQLCommand
openURL();
... | re-push my change, r=nshi | VoltDB_voltdb | train | java |
03aa403bf8085039d9028014fcea051dc2416e1c | diff --git a/timepiece/forms.py b/timepiece/forms.py
index <HASH>..<HASH> 100644
--- a/timepiece/forms.py
+++ b/timepiece/forms.py
@@ -116,14 +116,14 @@ class ClockInForm(forms.ModelForm):
settings,
'TIMEPIECE_DEFAULT_LOCATION_SLUG',
None,
- )
- initial = kwargs.get(... | Removed last activity feature to improve merge with user settings branch
--HG--
branch : feature/switch-project | caktus_django-timepiece | train | py |
0c53723c251f54ed584fd72013bf679794c6d4d2 | diff --git a/lib/perfectqueue/backend/rdb_compat.rb b/lib/perfectqueue/backend/rdb_compat.rb
index <HASH>..<HASH> 100644
--- a/lib/perfectqueue/backend/rdb_compat.rb
+++ b/lib/perfectqueue/backend/rdb_compat.rb
@@ -217,6 +217,9 @@ SQL
if @cleanup_interval_count <= 0
delete_timeout = now - DELETE_O... | To ease the migration delete <I> finished tasks too (#<I>)
NOTE: Should be reverted after release. | treasure-data_perfectqueue | train | rb |
ac1163c8dca83d06e3df85cc40954002446a7c3d | diff --git a/lib/memfs/file.rb b/lib/memfs/file.rb
index <HASH>..<HASH> 100644
--- a/lib/memfs/file.rb
+++ b/lib/memfs/file.rb
@@ -257,6 +257,9 @@ module MemFs
# FIXME: this is an ugly way to ensure a symlink has a target
entry.dereferenced
+ if entry.respond_to?(:pos=)
+ entry.pos = 0
+ ... | Resetting the file position when reopened
Closes #<I>. | simonc_memfs | train | rb,rb |
b0dfb68b9b108acec5f6a921bc9a6b09928d1ac0 | diff --git a/src/Gossamer/Horus/Filters/FilterDispatcher.php b/src/Gossamer/Horus/Filters/FilterDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Gossamer/Horus/Filters/FilterDispatcher.php
+++ b/src/Gossamer/Horus/Filters/FilterDispatcher.php
@@ -86,6 +86,7 @@ class FilterDispatcher
$this->filterChain-... | rethrowing filterRequest error after logging exception | dmeikle_horus | train | php |
ad312714af928579bc3f9e7f9a571fefed1713ab | diff --git a/sure/core.py b/sure/core.py
index <HASH>..<HASH> 100644
--- a/sure/core.py
+++ b/sure/core.py
@@ -240,7 +240,7 @@ class DeepComparison(object):
# get safe representation for X and Y
safe_X, safe_Y = safe_format_repr(X), safe_format_repr(Y)
- # maintaining backwards compatability ... | Fix a typo in sure/core.py | gabrielfalcao_sure | train | py |
37d25a96f3ddd18f21e76f460f23e303b554728c | diff --git a/lib/xo/version.rb b/lib/xo/version.rb
index <HASH>..<HASH> 100644
--- a/lib/xo/version.rb
+++ b/lib/xo/version.rb
@@ -1,3 +1,3 @@
module XO
- VERSION = '1.0.0'
+ VERSION = '1.1.0'
end | Bump to version <I> | dwayne_xo | train | rb |
91ebe49f2e1691204173e8de7318834824e56869 | diff --git a/internal/safetime/safetime.go b/internal/safetime/safetime.go
index <HASH>..<HASH> 100644
--- a/internal/safetime/safetime.go
+++ b/internal/safetime/safetime.go
@@ -22,21 +22,21 @@ func (t *Time) SetNow() {
type Timer struct {
sync.Mutex
- time.Timer
+ t *time.Timer
}
func NewTimer(d time.Duratio... | fix deadlock by using timer var instead of embedding | y0ssar1an_q | train | go |
06b14a01fc20c753364f9c1f20d895059ecd109d | diff --git a/jsonfield/tests.py b/jsonfield/tests.py
index <HASH>..<HASH> 100644
--- a/jsonfield/tests.py
+++ b/jsonfield/tests.py
@@ -9,7 +9,10 @@ except ImportError:
from django.utils import simplejson as json
from .fields import JSONField, JSONCharField
-from django.forms.util import ValidationError
+try:
+ ... | add try/except block for 'util' import
all 'util' files are being unified into 'utils' in
the coming django <I>. | dmkoch_django-jsonfield | train | py |
08577973c2630762b43f2ba0a513951f65786691 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@ setup(
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 2.7",
"Programming Langua... | feat: Remove Python <I> support from setup.py | HubbleHQ_heroku-kafka | train | py |
53aec9156f9d0d4e829ea01395e844aada08fd75 | diff --git a/base.py b/base.py
index <HASH>..<HASH> 100644
--- a/base.py
+++ b/base.py
@@ -1,5 +1,5 @@
import sys, ConfigParser, os
-from numpy import loadtxt, ones, array
+from numpy import loadtxt, load, ones, array
#import CSDMS_base
debug = True
@@ -131,11 +131,21 @@ class Isostasy(IRF):
try:
# Fir... | Added what should be support to load q0 as a numpy binary *.npy as well
git-svn-id: <URL> | awickert_gFlex | train | py |
f5091a07b57eaa0155745d40d2396f3e7ed52969 | diff --git a/datastorage/__init__.py b/datastorage/__init__.py
index <HASH>..<HASH> 100644
--- a/datastorage/__init__.py
+++ b/datastorage/__init__.py
@@ -1,4 +1,4 @@
-from .datastorage import DataStorage, read, save
+from .datastorage import DataStorage, read, save, unwrap
from .test import doTest
-__version__ = "0... | forgot to add unwrap in __init__ | marcocamma_datastorage | train | py,py |
1ab9a5ce2e68874a02e7e8e2cd660c446b0239f4 | diff --git a/nautilus/flask_ext.py b/nautilus/flask_ext.py
index <HASH>..<HASH> 100644
--- a/nautilus/flask_ext.py
+++ b/nautilus/flask_ext.py
@@ -141,7 +141,7 @@ class FlaskNautilus(object):
"""
_request = request.args.get("request", None)
if not _request:
- return "This request d... | fixed a bug with <I> pages | Capitains_Nautilus | train | py |
238a0a73ffc5324a315e62daebb611f290804edf | diff --git a/salt/log.py b/salt/log.py
index <HASH>..<HASH> 100644
--- a/salt/log.py
+++ b/salt/log.py
@@ -217,7 +217,7 @@ if logging.getLoggerClass() is not SaltLoggingClass:
logging.addLevelName(TRACE, 'TRACE')
logging.addLevelName(GARBAGE, 'GARBAGE')
- if not logging.Logger.manager.loggerDict:
+ if... | Previous logging configuration should be checked against `logging.root.handlers`. Refs #<I> | saltstack_salt | train | py |
155edffdbac9bd4f8c715e130af7e151e1bae5d4 | diff --git a/ykman/oath.py b/ykman/oath.py
index <HASH>..<HASH> 100644
--- a/ykman/oath.py
+++ b/ykman/oath.py
@@ -127,6 +127,10 @@ class Credential(object):
def is_hidden(self):
return self.issuer == '_hidden'
+ @property
+ def hidden(self):
+ return self.is_hidden()
+
def update_expi... | oath: add hidden as property | Yubico_yubikey-manager | train | py |
42b9083bcba9e8b76c2d0e5e17bee69c66f0ff20 | diff --git a/pgmpy/exceptions/Exceptions.py b/pgmpy/exceptions/Exceptions.py
index <HASH>..<HASH> 100644
--- a/pgmpy/exceptions/Exceptions.py
+++ b/pgmpy/exceptions/Exceptions.py
@@ -105,6 +105,7 @@ class ModelError(Exception):
def __str__(self):
return repr(str(self.extra))
+
class InvalidValueError(E... | Changed tests for division test_FactorSet.py | pgmpy_pgmpy | train | py |
549c1748d3a078d16cde1b24f6f849b532ca32fd | diff --git a/src/changelogUtils.js b/src/changelogUtils.js
index <HASH>..<HASH> 100644
--- a/src/changelogUtils.js
+++ b/src/changelogUtils.js
@@ -5,7 +5,7 @@ import got from 'got';
import { getModuleInfo } from './packageUtils';
import { getRepositoryInfo } from './repositoryUtils';
-const COMMON_CHANGELOG_FILES =... | Add `CHANGELOG` to the list of common changelog files | th0r_npm-upgrade | train | js |
3c909d448fef6500342bb18bf1e80a36fa9aec84 | diff --git a/Model/Menu/Node/Image/Node.php b/Model/Menu/Node/Image/Node.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Node/Image/Node.php
+++ b/Model/Menu/Node/Image/Node.php
@@ -62,7 +62,7 @@ class Node
public function getNodeListImages(array $nodeIds): array
{
$searchCriteria = $this->searchCri... | [<I>] Fix image node model getNodeListImages method node IDs search filter | SnowdogApps_magento2-menu | train | php |
f2b271163498ac5e0ae5ec1483967bcd81b4acf9 | diff --git a/geomdl/utilities.py b/geomdl/utilities.py
index <HASH>..<HASH> 100644
--- a/geomdl/utilities.py
+++ b/geomdl/utilities.py
@@ -681,7 +681,7 @@ def make_quad(points, size_u, size_v):
return new_points
-def make_quad_mesh2(points, size_u, size_v):
+def make_quad_mesh(points, size_u, size_v):
"""... | Fix naming of make_quad_mesh | orbingol_NURBS-Python | train | py |
4770c5956c350eab384d3f6cfba297cc3a468a05 | diff --git a/tests/modelling/test_modelling_algo.py b/tests/modelling/test_modelling_algo.py
index <HASH>..<HASH> 100644
--- a/tests/modelling/test_modelling_algo.py
+++ b/tests/modelling/test_modelling_algo.py
@@ -105,6 +105,7 @@ class FFCAlgorithmTestCase(TestCase):
@classmethod
def tearDownClass(cls):
... | TST: Fixes modelling test tearDown | quantopian_zipline | train | py |
7a28df3ef20cea864fbcacc9e4fd02ec9ef6fea5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='grpclib',
- version='0.1.1rc1',
+ version='0.1.1rc2',
description='Pure-Python gRPC implementation, based on hyper-h2 project',
auth... | Issued second release candidate - <I>rc2 | vmagamedov_grpclib | train | py |
d65ec40a0c43e27d1cae539c5d790450f809048a | diff --git a/lib/cucumber_analytics/version.rb b/lib/cucumber_analytics/version.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber_analytics/version.rb
+++ b/lib/cucumber_analytics/version.rb
@@ -1,3 +1,3 @@
module CucumberAnalytics
- VERSION = "0.0.5"
+ VERSION = "0.0.6"
end | Version bump
Gem version bumped for <I> release. | enkessler_cucumber_analytics | train | rb |
0c446721a70a575f8a4f4f7fcb7bac697b0de5ad | diff --git a/scss/rule.py b/scss/rule.py
index <HASH>..<HASH> 100644
--- a/scss/rule.py
+++ b/scss/rule.py
@@ -90,7 +90,7 @@ class Namespace(object):
def set_variable(self, name, value):
name = normalize_var(name)
if not isinstance(value, Value):
- raise TypeError("Expected a Sass type... | Added variable name to TypeError | Kronuz_pyScss | train | py |
d45798285a7bd9760ffd560a0c787d4e1322a937 | diff --git a/spec/lucene-query-parser.spec.js b/spec/lucene-query-parser.spec.js
index <HASH>..<HASH> 100644
--- a/spec/lucene-query-parser.spec.js
+++ b/spec/lucene-query-parser.spec.js
@@ -618,4 +618,14 @@ describe("lucenequeryparser: Lucene Query syntax documentation examples", functi
expect(leftNode['field... | add pending unit test for issue #1 | thoward_lucene-query-parser.js | train | js |
ae4110a9ce03b8cc4eb797ff2916bbbff0ec026d | diff --git a/src/Flare/Flare.php b/src/Flare/Flare.php
index <HASH>..<HASH> 100644
--- a/src/Flare/Flare.php
+++ b/src/Flare/Flare.php
@@ -9,7 +9,7 @@ class Flare
*
* @var string
*/
- const VERSION = '0.1.10';
+ const VERSION = '0.1.11';
/**
* Array of expected configuration keys | Increment version to <I> | laravelflare_flare | train | php |
9dd8b36a6b65722b51bb688abf92e3f8a4562425 | diff --git a/test/watcher.js b/test/watcher.js
index <HASH>..<HASH> 100644
--- a/test/watcher.js
+++ b/test/watcher.js
@@ -3,7 +3,7 @@ const watcher = require('../lib')
const path = require('path')
const fs = require('fs-extra')
-describe('entry point', function () {
+describe('watcher', function () {
let subs, ... | Rename the suite so the specs read more nicely | atom_watcher | train | js |
96e5fccbcb32a1aa6148fd3d5a2d07bb8603b32c | diff --git a/test/winston-nssocket-test.js b/test/winston-nssocket-test.js
index <HASH>..<HASH> 100644
--- a/test/winston-nssocket-test.js
+++ b/test/winston-nssocket-test.js
@@ -35,4 +35,11 @@ vows.describe('winston/transports/nssocket').addBatch({
host: 'localhost',
port: 1234
})
+}).addBatch({
+ 'An in... | [test] clean up after tests. | mmalecki_winston-nssocket | train | js |
437a537438fb23cf3207a0e584be325c66a5835d | diff --git a/autoflake.py b/autoflake.py
index <HASH>..<HASH> 100644
--- a/autoflake.py
+++ b/autoflake.py
@@ -7,7 +7,7 @@ import os
import tokenize
-__version__ = '0.1.4'
+__version__ = '0.1.5'
PYFLAKES_BIN = 'pyflakes' | Increment patch version to <I> | myint_autoflake | train | py |
96b4e8cf264c433753635bed3f39a9dbe635ea6d | diff --git a/src/data-type.js b/src/data-type.js
index <HASH>..<HASH> 100644
--- a/src/data-type.js
+++ b/src/data-type.js
@@ -1,3 +1,5 @@
+// @flow
+
const deprecate = require('depd')('tedious');
const Null = require('./data-types/null'); | refactor: add flow comment marker to `src/data-type.js` | tediousjs_tedious | train | js |
c1a6be4a00ed7d714b3b255ffd5544852ccc3387 | diff --git a/impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java b/impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
index <HASH>..<HASH> 100644
--- a/impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
+++ b/impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
@@ -655,7 +65... | WELD-<I> Prevent NPE if no context is registered | weld_core | train | java |
7f52c6bb7a97da6d1e17de0f61c6bba9d877bcb7 | diff --git a/scripts/make_dist.py b/scripts/make_dist.py
index <HASH>..<HASH> 100644
--- a/scripts/make_dist.py
+++ b/scripts/make_dist.py
@@ -280,6 +280,8 @@ for dirpath,dirnames,filenames in os.walk(pdir):
dirnames.remove('dist')
if '.hg' in dirnames:
dirnames.remove('.hg')
+ if '.git' in di... | Update make_dist.py (migration to Git) | brython-dev_brython | train | py |
6357fc1c8ffc4936c8e52da27ab3e5bb7dd1b61c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -126,7 +126,7 @@ function build(gulp) {
var localRxArgs = new RegExp(rxArgs);
var globalRxOrder = new RegExp(rxOrder, 'g');
var localRxOrder = new RegExp(rxOrder);
- var jsDoc = source.match(globalRxDoc);
+ ... | NoDocCrashFix: Fix for a crash when not tasks have been documented. | Mikhus_gulp-help-doc | train | js |
26cc98460b72809588aa6b7fd088d6ec426a0e55 | diff --git a/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java b/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java
index <HASH>..<HASH> 100644
--- a/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/Tempo... | Remove only artifacts that are not connected to any BR. | project-ncl_pnc | train | java |
a78658057be1f9bf07c6b66904e6d6b99ec67e4f | diff --git a/Controller/Controller.php b/Controller/Controller.php
index <HASH>..<HASH> 100644
--- a/Controller/Controller.php
+++ b/Controller/Controller.php
@@ -71,4 +71,14 @@ class Controller extends BaseController
throw $this->createNotFoundException('Resource not found');
}
+ public function get... | Add session access methods to the KnpRadBundle base controller | KnpLabs_KnpRadBundle | train | php |
874e75628e7e1a122c75d90b5e29b80f8592e2f7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -133,6 +133,7 @@ System.prototype.fail = function(name, dir, except){
*/
System.prototype.forget = function(need){
delete this.data[need];
+ delete this.triggers[need];
}
/** | When forgetting, clear the trigger as well | gosaya-com_needjs | train | js |
12635fb36ce621ebf8777e8d9139c6304b179f98 | diff --git a/src/extras/cacheAsBitmap.js b/src/extras/cacheAsBitmap.js
index <HASH>..<HASH> 100644
--- a/src/extras/cacheAsBitmap.js
+++ b/src/extras/cacheAsBitmap.js
@@ -40,7 +40,7 @@ Object.defineProperties(DisplayObject.prototype, {
this._originalGetBounds = this.getBounds;
- this... | fixed cacheAsBitmap hitTest issue | pixijs_pixi.js | train | js |
c6dff4f5f26a06153ddcc0527ebbf2a7776bdaac | diff --git a/closure/goog/net/cookies.js b/closure/goog/net/cookies.js
index <HASH>..<HASH> 100644
--- a/closure/goog/net/cookies.js
+++ b/closure/goog/net/cookies.js
@@ -352,7 +352,7 @@ goog.net.Cookies.prototype.getKeyValues_ = function() {
};
-// TODO(b/23687502): This should be a singleton getter instead of a ... | RM TODO bug reference. Underlying bug is fixed, the TODO is just confusing.
RELNOTES: na
-------------
Created by MOE: <URL> | google_closure-library | train | js |
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.