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 |
|---|---|---|---|---|---|
5b1a9ad5b46d25539599c665cddb8d8f94c5a09b | diff --git a/Kwc/Shop/Box/Cart/Component.defer.js b/Kwc/Shop/Box/Cart/Component.defer.js
index <HASH>..<HASH> 100644
--- a/Kwc/Shop/Box/Cart/Component.defer.js
+++ b/Kwc/Shop/Box/Cart/Component.defer.js
@@ -11,7 +11,7 @@ Kwf.onContentReady(function(readyEl, param) {
url: Kwf.getKwcRenderUrl(),
... | Bugfix on addToCart success, pass Ext2 Element Dom to CallOnContentReady | koala-framework_koala-framework | train | js |
0901109f61dae8027148521dc1a07a3f4b6d4787 | diff --git a/charms/reactive/bus.py b/charms/reactive/bus.py
index <HASH>..<HASH> 100644
--- a/charms/reactive/bus.py
+++ b/charms/reactive/bus.py
@@ -267,7 +267,10 @@ class Handler(object):
"""
Lazily evaluate the args.
"""
- return list(chain.from_iterable(self._args))
+ if no... | Cache handler args in case handler is invoked more than once (fixes #<I>) | juju-solutions_charms.reactive | train | py,py |
f9b5590a614676c91fe74eeec6297c0507f03098 | diff --git a/library/src/main/java/de/mrapp/android/dialog/view/DialogRootView.java b/library/src/main/java/de/mrapp/android/dialog/view/DialogRootView.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/de/mrapp/android/dialog/view/DialogRootView.java
+++ b/library/src/main/java/de/mrapp/android/dialog/view/D... | No area is scrollable by default anymore. | michael-rapp_AndroidMaterialDialog | train | java |
e71f475d4cf0b39d011c356fd7d82be277b67517 | diff --git a/tests/includes/mappers/class.matches_mapper_dbTest.php b/tests/includes/mappers/class.matches_mapper_dbTest.php
index <HASH>..<HASH> 100644
--- a/tests/includes/mappers/class.matches_mapper_dbTest.php
+++ b/tests/includes/mappers/class.matches_mapper_dbTest.php
@@ -48,7 +48,7 @@ class matches_mapper_dbTest... | Add tests for matches_mapper_db | kronusme_dota2-api | train | php |
32c38ec7f51565bf69fe977240e69fa632508fff | diff --git a/structr-core/src/main/java/org/structr/core/property/FunctionProperty.java b/structr-core/src/main/java/org/structr/core/property/FunctionProperty.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/property/FunctionProperty.java
+++ b/structr-core/src/main/java/org/structr/c... | changed single quotes to double quotes so that the expression will be logged correctly | structr_structr | train | java |
50fb01eee3ddcbbd5be440e46f3c9beff2ca7fe1 | diff --git a/src/connect/socket.js b/src/connect/socket.js
index <HASH>..<HASH> 100644
--- a/src/connect/socket.js
+++ b/src/connect/socket.js
@@ -4,11 +4,7 @@ import * as constants from '../constants'
import { actions } from '../store/actions'
import ReconnectingWebSocket from 'reconnectingwebsocket'
-const {
- s... | Remove setting JWT in socket connection — not used | onfido_onfido-sdk-core | train | js |
68c2b3a92f1bc49c1061667aeffeca50e10ca418 | diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py
index <HASH>..<HASH> 100644
--- a/qiskit/circuit/quantumcircuit.py
+++ b/qiskit/circuit/quantumcircuit.py
@@ -984,10 +984,7 @@ class QuantumCircuit:
"""
count_ops = {}
for instr, _, _ in self._data:
- ... | Small improvement to count_ops (#<I>)
More efficient way to get current count when going through loop. | Qiskit_qiskit-terra | train | py |
412324cfbe9b5e256d9af31b21e6ae142d39612c | diff --git a/pkg/libcontainer/nsinit/init.go b/pkg/libcontainer/nsinit/init.go
index <HASH>..<HASH> 100644
--- a/pkg/libcontainer/nsinit/init.go
+++ b/pkg/libcontainer/nsinit/init.go
@@ -65,8 +65,10 @@ func Init(container *libcontainer.Container, uncleanRootfs, consolePath string,
if err := mount.InitializeMountName... | Check supplied hostname before using it.
Docker-DCO-<I>- | moby_moby | train | go |
fad9549cfba52a33d76fa6627e1d20c50ab8cabd | diff --git a/lang/tl/moodle.php b/lang/tl/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/tl/moodle.php
+++ b/lang/tl/moodle.php
@@ -860,7 +860,7 @@ $string['publicdirectory2'] = 'Ilathala ang pangalan ng site nang may link';
$string['publicsitefileswarning'] = 'Tandaan: ang mga file na ilalagay dito ay maaaring mak... | changed readme to something I can type without errors :-) | moodle_moodle | train | php |
39be6acd63ba2f85e50f0a5440772e472c7589e4 | diff --git a/doradus-server/src/com/dell/doradus/olap/aggregate/AggregateResultConverter.java b/doradus-server/src/com/dell/doradus/olap/aggregate/AggregateResultConverter.java
index <HASH>..<HASH> 100644
--- a/doradus-server/src/com/dell/doradus/olap/aggregate/AggregateResultConverter.java
+++ b/doradus-server/src/com... | support .AS( in aggregation groups | QSFT_Doradus | train | java |
33844ce73bcf924a2a972f44f62b08c155057649 | diff --git a/test_case.php b/test_case.php
index <HASH>..<HASH> 100644
--- a/test_case.php
+++ b/test_case.php
@@ -149,6 +149,7 @@ class SimpleTestCase {
$reporter->paintCaseEnd($this->getLabel());
}
unset($this->reporter);
+ $context->setTest(null);
return $reporter->getS... | Patch <I> : Unset $context->test between calls to SimpleTestCase->run | simpletest_simpletest | train | php |
0940c192d8f9c74e734a6a90c553f3510aa99b40 | diff --git a/src/HTMLParser.php b/src/HTMLParser.php
index <HASH>..<HASH> 100644
--- a/src/HTMLParser.php
+++ b/src/HTMLParser.php
@@ -1215,7 +1215,12 @@ class HTMLParser
*/
public function _cleanExtraParagraphs(DOMDocument $article)
{
- foreach ($article->getElementsByTagName('p') as $paragraph)... | Scan nodes in reverse in removing functions.
In other words: Node shifting is a bitch | andreskrey_readability.php | train | php |
d5076b13962c44fa902bbba7473075d1d6e4007d | diff --git a/ccmlib/node.py b/ccmlib/node.py
index <HASH>..<HASH> 100644
--- a/ccmlib/node.py
+++ b/ccmlib/node.py
@@ -292,6 +292,8 @@ class Node(object):
if self.get_cassandra_version() >= '4':
self.set_configuration_options(values={'start_rpc': None}, delete_empty=True, delete_always=True)
+ ... | Remove rpc_port for versions beyond 4 | riptano_ccm | train | py |
aeff1ae3efba5cee37590a26622a82694a6d9000 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -35,6 +35,9 @@ function defaultHandler(level, error) {
}
function handleError(level, error) {
+ if (level == 'fatal')
+ console.error(error, error.stack);
+
config.handlers[level](level, error);
} | always send fatal stacks to the console | cuvva_cuvva-log-node | train | js |
4ccb25bddf37ca7ea351c9432017f76b2b289414 | diff --git a/src/Block/BlockServiceManager.php b/src/Block/BlockServiceManager.php
index <HASH>..<HASH> 100644
--- a/src/Block/BlockServiceManager.php
+++ b/src/Block/BlockServiceManager.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
namespace Sonata\BlockBundle\Block;
use Psr\Log\LoggerInterface;
+use Sonata\Block... | Fixed validation of EditableBlocks (#<I>) | sonata-project_SonataBlockBundle | train | php |
c39132289fa78ffd6cc0c5acff2aff5976a147f1 | diff --git a/src/View/Helper/Form/Form.php b/src/View/Helper/Form/Form.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/Form/Form.php
+++ b/src/View/Helper/Form/Form.php
@@ -281,11 +281,15 @@ class Form implements ViewHelperInterface
return '';
}
- public function hasErrors($name)
+ public fu... | Updated hasErrors() in Form View Helper: allow to return a string in case of errors | gobline_application | train | php |
d9f3eb9e0b3e995c693fd161012a48486e49f44d | diff --git a/src/class/AbstractHandler.php b/src/class/AbstractHandler.php
index <HASH>..<HASH> 100644
--- a/src/class/AbstractHandler.php
+++ b/src/class/AbstractHandler.php
@@ -107,7 +107,7 @@
*/
protected function getTrace($trace, $label) {
ob_start();
- array_shift($trace)... | woops, supposed to be array_pop | aloframework_handlers | train | php |
09824d853b177524edbf167cf201e58c9afda993 | diff --git a/snap7/server.py b/snap7/server.py
index <HASH>..<HASH> 100644
--- a/snap7/server.py
+++ b/snap7/server.py
@@ -1,16 +1,10 @@
from ctypes import cdll, sizeof, byref, CFUNCTYPE, POINTER, c_int, c_char
-#TODO: somehow find_lib doesn't work
-"""
from ctypes.util import find_library
lib_location = find_libr... | found out why find_library didn't worked | gijzelaerr_python-snap7 | train | py |
ac495d47030386a46bd1e54c19e612ce550d2e74 | diff --git a/runtimes/assemblyscript/cli-runner.js b/runtimes/assemblyscript/cli-runner.js
index <HASH>..<HASH> 100644
--- a/runtimes/assemblyscript/cli-runner.js
+++ b/runtimes/assemblyscript/cli-runner.js
@@ -14,9 +14,14 @@ async function main(runtime, module, input, expected) {
let exp = JSON.parse(fs.readFileSyn... | fix(wasm) Catches errors in cli-runner invoke | querycert_qcert | train | js |
83cb08db74cf94a4a685d3ae966641eba2b138ee | diff --git a/plugins/MultiSites/angularjs/site/site.controller.js b/plugins/MultiSites/angularjs/site/site.controller.js
index <HASH>..<HASH> 100644
--- a/plugins/MultiSites/angularjs/site/site.controller.js
+++ b/plugins/MultiSites/angularjs/site/site.controller.js
@@ -41,7 +41,7 @@
break;
... | Correct multisite image url (#<I>)
* correct URL for loading MultiSite EvolutionGraphs
* readd empty line | matomo-org_matomo | train | js |
81d424ecf4d3a908c8817b5fd6e9d877febe458c | diff --git a/commentjson/commentjson.py b/commentjson/commentjson.py
index <HASH>..<HASH> 100755
--- a/commentjson/commentjson.py
+++ b/commentjson/commentjson.py
@@ -51,7 +51,7 @@ parser = Lark('''
%import common.WS
%ignore WS
%ignore COMMENT
-''', start='start')
+''')
serializer = Reconstructor(pars... | fix assertion error caused by lark-parser==<I> | vaidik_commentjson | train | py |
262f1615895a954f6fb20839719232586dfcebee | diff --git a/forms_builder/forms/settings.py b/forms_builder/forms/settings.py
index <HASH>..<HASH> 100644
--- a/forms_builder/forms/settings.py
+++ b/forms_builder/forms/settings.py
@@ -6,7 +6,7 @@ from django.conf import settings
FIELD_MAX_LENGTH = getattr(settings, "FORMS_BUILDER_FIELD_MAX_LENGTH", 2000)
# The m... | Increase the max length of field labels. | stephenmcd_django-forms-builder | train | py |
e11143aa6dc436147d7b67cffb1be00e910382e2 | diff --git a/lib/sources/pkg.js b/lib/sources/pkg.js
index <HASH>..<HASH> 100644
--- a/lib/sources/pkg.js
+++ b/lib/sources/pkg.js
@@ -1,5 +1,11 @@
'use strict';
+var isFalsey = require('falsey');
+
module.exports = function(app, prop) {
- return app.pkg.get(prop) || {};
+ var config = app.pkg.get(prop) || {};
+ ... | check for falsey layout, set to empty by default | base_base-runner | train | js |
ec91af37667d32f1ab5f30d0df56f483e18fdd0a | diff --git a/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb b/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb
index <HASH>..<HASH> 100644
--- a/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb
+++ b/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb
@@ -20,7 +20,7 @@ module Alchemy
g... | Fix picture gallery migration task
Only build an intermediate gallery element if the are nestable elements
other than the gallery picture element.
Fixes migration for the case where no intermediate gallery element is
necessary, because the gallery element didn't had nestable elements. | AlchemyCMS_alchemy_cms | train | rb |
23213f46373282f6a089c5a65407b45e391da290 | diff --git a/lib/util/index.js b/lib/util/index.js
index <HASH>..<HASH> 100644
--- a/lib/util/index.js
+++ b/lib/util/index.js
@@ -1415,17 +1415,6 @@ function join(root, dir) {
}
exports.join = join;
-function mergeRuleProps(origin, add) {
- if (origin) {
- origin.list = origin.list || [extend({}, origin)];
- ... | refactor: mergeRuleProps -> mergeRule | avwo_whistle | train | js |
09b9ce588cc2ce0b2174c97d5e8f9c2954146d1f | diff --git a/attachments.go b/attachments.go
index <HASH>..<HASH> 100644
--- a/attachments.go
+++ b/attachments.go
@@ -20,6 +20,21 @@ type AttachmentAction struct {
Confirm []ConfirmationField `json:"confirm,omitempty"` // Optional.
}
+// AttachmentActionCallback is sent from Slack when a user clicks a button in a... | Add AttachmentActionCallback type to represent the data sent by Slack after a button click | nlopes_slack | train | go |
3462c3a22534038c7c9313069594ee032b264011 | diff --git a/src/DI/SecurityExtension.php b/src/DI/SecurityExtension.php
index <HASH>..<HASH> 100644
--- a/src/DI/SecurityExtension.php
+++ b/src/DI/SecurityExtension.php
@@ -31,17 +31,16 @@ class SecurityExtension extends CompilerExtension
public function loadConfiguration()
{
- $config = $this->getConfig($this... | Removed usage of deprecated method | Arachne_Security | train | php |
5f5c5fef5e704af16731d18de08a05684e15c19a | diff --git a/src/Synapse/Controller/AbstractRestController.php b/src/Synapse/Controller/AbstractRestController.php
index <HASH>..<HASH> 100644
--- a/src/Synapse/Controller/AbstractRestController.php
+++ b/src/Synapse/Controller/AbstractRestController.php
@@ -47,12 +47,10 @@ abstract class AbstractRestController extends... | Ref #<I> - Use multiple catch statements. | synapsestudios_synapse-base | train | php |
8efa7edf3c4f50b623e7303db76daf294e7cc9b3 | diff --git a/annis-service/src/main/java/annis/service/internal/QueryServiceImpl.java b/annis-service/src/main/java/annis/service/internal/QueryServiceImpl.java
index <HASH>..<HASH> 100644
--- a/annis-service/src/main/java/annis/service/internal/QueryServiceImpl.java
+++ b/annis-service/src/main/java/annis/service/inte... | Use the save method for getting corpus configuration in order to supress
FileNotFoundException in the QueryService. Since now, a corpus.properties file
is generated during the import. | korpling_ANNIS | train | java |
6b1d8fdc86f5b23b806b5887745ac28b0b45efd3 | diff --git a/core/src/main/java/jlibs/core/graph/VisitorAnnotationProcessor.java b/core/src/main/java/jlibs/core/graph/VisitorAnnotationProcessor.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jlibs/core/graph/VisitorAnnotationProcessor.java
+++ b/core/src/main/java/jlibs/core/graph/VisitorAnnotationProcesso... | removed System.out.printlns | santhosh-tekuri_jlibs | train | java |
93fc893f2dadb96ffde441c7546cc67ea290a3a8 | diff --git a/leveldb/batch_test.go b/leveldb/batch_test.go
index <HASH>..<HASH> 100644
--- a/leveldb/batch_test.go
+++ b/leveldb/batch_test.go
@@ -38,9 +38,6 @@ func compareBatch(t *testing.T, b1, b2 *Batch) {
if b1.Len() != b2.Len() {
t.Fatalf("invalid record length want %d, got %d", b1.Len(), b2.Len())
}
- if ... | leveldb: move batch size testing into TestBatch_Append
compareBatch() also used by TestBatch_EncodeDecode which doesn't
really calculate batch size. | syndtr_goleveldb | train | go |
7754882ba99ec5d6e6214bc030e29153cb3ad1dd | diff --git a/core/src/main/java/org/springframework/security/authentication/AnonymousAuthenticationToken.java b/core/src/main/java/org/springframework/security/authentication/AnonymousAuthenticationToken.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/springframework/security/authentication/AnonymousAuthe... | SEC-<I>: Additional signature change (in AnonymousAuthenticationToken) | spring-projects_spring-security | train | java |
c497eb5d789050ff8257465e462d2d5e92e09d4c | diff --git a/tests/test_configuration.py b/tests/test_configuration.py
index <HASH>..<HASH> 100644
--- a/tests/test_configuration.py
+++ b/tests/test_configuration.py
@@ -6,6 +6,7 @@ import unittest
from jtime import configuration
from jtime import custom_exceptions
+from jtime import jtime
class JtimeConfigur... | Adding a test around the configuration method. | mapmyfitness_jtime | train | py |
cc1a1dbef61d0f7881ae670303c8a870731a784c | diff --git a/src/jquery-editable-select.js b/src/jquery-editable-select.js
index <HASH>..<HASH> 100644
--- a/src/jquery-editable-select.js
+++ b/src/jquery-editable-select.js
@@ -18,7 +18,7 @@
if (['focus', 'manual'].indexOf(this.options.trigger) < 0) this.options.trigger = 'focus';
if (['default', 'fade', 's... | Fix duration setting
Thanks to Simon Norbert for reporting this. | indrimuska_jquery-editable-select | train | js |
30b6b0908db8b3f42554bd766c0e883b50f2df43 | diff --git a/flask_io/utils.py b/flask_io/utils.py
index <HASH>..<HASH> 100644
--- a/flask_io/utils.py
+++ b/flask_io/utils.py
@@ -1,13 +1,31 @@
import sys
+from collections import Mapping
from flask import request, _compat
from time import perf_counter
from marshmallow.marshalling import SCHEMA
from werkzeug.ht... | added validation to error coercion to stop error processing before it hits the stdlib json module. | viniciuschiele_flask-io | train | py |
8399db81f72f1f8abefc29f6fe6eb554210681fa | diff --git a/src/Util/Href.php b/src/Util/Href.php
index <HASH>..<HASH> 100644
--- a/src/Util/Href.php
+++ b/src/Util/Href.php
@@ -70,7 +70,7 @@ class Href
public function replace( $key, $value )
{
if($value == "") {
- $this->url = preg_replace("/{" . $key . "}.*$", "", $this->getUrl());
+... | added delimiter to regex in Href.php | cuevae_collection-json-php | train | php |
b5b937deda70a174a9c69d98a4b6bb5daed56a85 | diff --git a/neo4j/remote/src/main/java/com/buschmais/xo/neo4j/remote/impl/datastore/RemoteDatastore.java b/neo4j/remote/src/main/java/com/buschmais/xo/neo4j/remote/impl/datastore/RemoteDatastore.java
index <HASH>..<HASH> 100644
--- a/neo4j/remote/src/main/java/com/buschmais/xo/neo4j/remote/impl/datastore/RemoteDatasto... | async close of remote Neo4j datastore | buschmais_extended-objects | train | java |
24fa687dfebeb1e6bbd9264ef70406d0f298060e | diff --git a/platforms/particle/adaptor_test.go b/platforms/particle/adaptor_test.go
index <HASH>..<HASH> 100644
--- a/platforms/particle/adaptor_test.go
+++ b/platforms/particle/adaptor_test.go
@@ -88,13 +88,13 @@ func TestNewAdaptor(t *testing.T) {
func TestAdaptorConnect(t *testing.T) {
a := initTestAdaptor()
-... | core: update Particle platform to simply return error | hybridgroup_gobot | train | go |
85887015921a85ccfefce59321709b7522fef392 | diff --git a/lib/soulless/version.rb b/lib/soulless/version.rb
index <HASH>..<HASH> 100644
--- a/lib/soulless/version.rb
+++ b/lib/soulless/version.rb
@@ -1,3 +1,3 @@
module Soulless
- VERSION = '1.0.0'
+ VERSION = '1.1.0'
end | Bumped version to <I> | anthonator_soulless | train | rb |
22a873503531df52154f42b6180f1c4b59125f8d | diff --git a/components/search/matchers/Base.php b/components/search/matchers/Base.php
index <HASH>..<HASH> 100644
--- a/components/search/matchers/Base.php
+++ b/components/search/matchers/Base.php
@@ -35,6 +35,7 @@ abstract class Base extends Component implements MatcherInterface
*/
public function hasValue()
... | fixed matcher to work with strings that represents integer values | yiisoft_yii2-debug | train | php |
3d3bc0772079c781f9d31dac05dcc7b8384b2b9a | diff --git a/test/recur_iterator_test.js b/test/recur_iterator_test.js
index <HASH>..<HASH> 100644
--- a/test/recur_iterator_test.js
+++ b/test/recur_iterator_test.js
@@ -949,6 +949,27 @@ suite('recur_iterator', function() {
'2013-03-02',
]
});
+
+ /*
+ * Leap-year test for Februa... | added test for #<I> (commented) | mozilla-comm_ical.js | train | js |
02f2e14e1a1b2f6aab1be406f7bc7c817c09911c | diff --git a/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php b/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php
+++ b/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php
@@ -31,7 +31,7 @@ class UrlAliasRouter implem... | EZP-<I> - Make it possible to override the view controller globally by using ez_content alias | ezsystems_ezpublish-kernel | train | php |
b56deffa0faca88e1117d7981999c0e41a6139ba | diff --git a/librosa/feature/spectral.py b/librosa/feature/spectral.py
index <HASH>..<HASH> 100644
--- a/librosa/feature/spectral.py
+++ b/librosa/feature/spectral.py
@@ -447,9 +447,16 @@ def spectral_rolloff(y=None, sr=22050, S=None, n_fft=2048, hop_length=512,
From time-series input
>>> y, sr = librosa.lo... | Add approximate minimum frequency example [ci skip] | librosa_librosa | train | py |
02f3eddcde4d84a6a6cba9e27b2e10ecea467588 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ setup(
install_requires=[
"Twisted>=13.2.0",
- "Epsilon>=0.6.0"
+ "Epsilon>=0.7.0"
],
packages=find_packages() + ['twisted.plugins'],
scripts=['bin/axiomatic'], | Make Axiom rely on new Epsilon version | twisted_axiom | train | py |
38bb133881a6c22b821d9d4144802d2705258377 | diff --git a/activesupport/test/core_ext/time_ext_test.rb b/activesupport/test/core_ext/time_ext_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/core_ext/time_ext_test.rb
+++ b/activesupport/test/core_ext/time_ext_test.rb
@@ -769,7 +769,7 @@ class TimeExtMarshalingTest < Test::Unit::TestCase
marshaled... | Ruby's marshaling of Time instances doesn't respect the zone [#<I> state:resolved] | rails_rails | train | rb |
07f10e9505884ce7a9d69f93298657c079d4ffdd | diff --git a/lib/IDS/Monitor.php b/lib/IDS/Monitor.php
index <HASH>..<HASH> 100644
--- a/lib/IDS/Monitor.php
+++ b/lib/IDS/Monitor.php
@@ -536,11 +536,15 @@ class IDS_Monitor
if($tmp_value && is_array($tmp_value) || is_object($tmp_value)) {
array_walk_recursive($tmp_value, array($this, '_jsonConca... | * optimized the JSON scanning routines | PHPIDS_PHPIDS | train | php |
afd1f9f50ff72b257228b34076f4e9e2eceb3ede | diff --git a/registry/consul/watcher.go b/registry/consul/watcher.go
index <HASH>..<HASH> 100644
--- a/registry/consul/watcher.go
+++ b/registry/consul/watcher.go
@@ -5,7 +5,7 @@ import (
"sync"
"github.com/hashicorp/consul/api"
- "github.com/hashicorp/consul/watch"
+ "github.com/hashicorp/consul/api/watch"
"gi... | Update consul/watch import
The watch package was moved from github.com/hashicorp/consul/watch to github.com/hashicorp/consul/api/watch to live in the API module.
Per: <URL> | micro_go-micro | train | go |
cced6d63c08bdf3557e2185dc777fbb7fda539f2 | diff --git a/lib/puppet/environments.rb b/lib/puppet/environments.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/environments.rb
+++ b/lib/puppet/environments.rb
@@ -220,7 +220,7 @@ module Puppet::Environments
begin
stat = Puppet::FileSystem.stat(envdir)
rescue Errno::ENOENT
- false
+ ... | (PUP-<I>) Add explicit return to avoid further processing. | puppetlabs_puppet | train | rb |
3dbd72e80fb150f1843ee32255bb6f018da2dc6f | diff --git a/lib/wildcard_matchers/rspec.rb b/lib/wildcard_matchers/rspec.rb
index <HASH>..<HASH> 100644
--- a/lib/wildcard_matchers/rspec.rb
+++ b/lib/wildcard_matchers/rspec.rb
@@ -11,8 +11,15 @@ RSpec::Matchers.define :wildcard_match do |expected|
@matcher === actual
end
- failure_message_for_should do |a... | Updated matcher signatures to account for RSpec 3
RSpec now prefers `failure_message` and `failure_message_when_negated`
instead of `failure_message_for_should` and
`failure_message_for_should_not`. | okitan_wildcard_matchers | train | rb |
c8ab1392e3b4ddaeb6252550ae1f0c2537018f5c | diff --git a/externs/html5.js b/externs/html5.js
index <HASH>..<HASH> 100644
--- a/externs/html5.js
+++ b/externs/html5.js
@@ -1543,6 +1543,7 @@ HTMLElement.prototype.dataset;
/**
* @param {number} length The length in bytes
* @constructor
+ * @noalias
*/
function ArrayBuffer(length) {} | Don't alias ArrayBuffer.
R=nicksantos
DELTA=1 (1 added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | js |
0c16859746c039a1eb62d029bff534b2d3505219 | diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js
index <HASH>..<HASH> 100644
--- a/src/structures/GuildChannel.js
+++ b/src/structures/GuildChannel.js
@@ -9,7 +9,7 @@ const { MessageNotificationTypes } = require('../util/Constants');
const { Error, TypeError } = require('../errors');
/**... | enchanced docs for GuildChannel (#<I>)
* enchanced docs for GuildChannel
* changes due request | discordjs_discord.js | train | js |
e75790427701eaf9d1d8170461a762a5610ccc53 | diff --git a/ftpretty.py b/ftpretty.py
index <HASH>..<HASH> 100644
--- a/ftpretty.py
+++ b/ftpretty.py
@@ -101,13 +101,21 @@ class ftpretty(object):
return size
- def list(self, remote='.', extra=False):
+ def list(self, remote='.', extra=False, remove_relative_paths=False):
""" Return direc... | Add the ability to remove the relative paths (e.g., '.' and '..') when calling
list(). | codebynumbers_ftpretty | train | py |
c5f2c0d1fe1b60d2818a46355dfd54e2540705f5 | diff --git a/src/test/java/com/cronutils/Issue340Test.java b/src/test/java/com/cronutils/Issue340Test.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/cronutils/Issue340Test.java
+++ b/src/test/java/com/cronutils/Issue340Test.java
@@ -6,13 +6,14 @@ import com.cronutils.model.definition.CronDefinitionBuilder;
i... | Ignore test for #<I> until fixed. | jmrozanec_cron-utils | train | java |
83df40ddfc9a0816df47932e4599bdfe304cc29a | diff --git a/tests/test_validation_failure.py b/tests/test_validation_failure.py
index <HASH>..<HASH> 100644
--- a/tests/test_validation_failure.py
+++ b/tests/test_validation_failure.py
@@ -1,4 +1,5 @@
import validators
+import six
obj_repr = (
@@ -19,10 +20,7 @@ class TestValidationFailure(object):
ass... | Fixed compat issues with py<I> and <I> | kvesteri_validators | train | py,py |
af7fe808b16bd7b446cde8576beb20e24164bcae | diff --git a/neutronclient/client.py b/neutronclient/client.py
index <HASH>..<HASH> 100644
--- a/neutronclient/client.py
+++ b/neutronclient/client.py
@@ -149,6 +149,7 @@ class HTTPClient(httplib2.Http):
# Wrap the low-level connection error (socket timeout, redirect
# limit, decompression err... | Log reason for connection failed exception
Change-Id: Idfdf<I>fc3bd9abef<I>cccd<I>d2d2f<I>df4 | rackerlabs_rackspace-python-neutronclient | train | py |
8a2261b937c0d1476ef8c6ce8ae66e0ade2f64a1 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -27,7 +27,7 @@ author = "The Font Bakery Authors"
# The short X.Y version
version = "0.8"
# The full version, including alpha/beta/rc tags
-release = "0.8.4"
+release = "0.8.5"
... | update version on docs/source/conf.py | googlefonts_fontbakery | train | py |
94977485460e8b472889be9554cc58fb365f23d4 | diff --git a/salt/utils/schedule.py b/salt/utils/schedule.py
index <HASH>..<HASH> 100644
--- a/salt/utils/schedule.py
+++ b/salt/utils/schedule.py
@@ -629,10 +629,13 @@ class Schedule(object):
'''
Execute this method in a multiprocess or thread
'''
- if salt.utils.is_windows():
+ ... | Clear functions context in schedule tasks for ZeroMQ.
Function modules could keep cached parents' connections in context
that could be reused in scheduled tasks that produces schedule task
hang forever utilizing CPU. | saltstack_salt | train | py |
9293436f4379d6a77a19988321185be043ec3162 | diff --git a/lib/cursor.js b/lib/cursor.js
index <HASH>..<HASH> 100644
--- a/lib/cursor.js
+++ b/lib/cursor.js
@@ -174,15 +174,15 @@ MongolianCursor.prototype.next = function(callback) {
MongolianCursor.prototype.forEach = function(callback, finalCallback) {
if (this._retrieved) throw new Error("forEach must be c... | [fix] Rewrote cursor.forEach to nextBatch instead of next, minimizes stack overflows (fixes #<I>) | marcello3d_node-mongolian | train | js |
51ad54bcea2f6a9168f20ffdd1ffbe6626273ffb | diff --git a/lib/bolt/bolt_option_parser.rb b/lib/bolt/bolt_option_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/bolt/bolt_option_parser.rb
+++ b/lib/bolt/bolt_option_parser.rb
@@ -996,8 +996,8 @@ module Bolt
separator "\n#{self.class.colorize(:cyan, 'Display options')}"
define('--filter FILTER', 'Filte... | (maint) Update illegal characters message to list legal characters
When provided a filter that includes characters that aren't allowed in
task or plan names, Bolt raises an error stating that the provided
filter includes characters that cannot be used in task or plan names.
This updates the message to include a list o... | puppetlabs_bolt | train | rb |
39fa170800d32a89d2a5e57425fd090e86291144 | diff --git a/lib/process_nodes.js b/lib/process_nodes.js
index <HASH>..<HASH> 100644
--- a/lib/process_nodes.js
+++ b/lib/process_nodes.js
@@ -72,6 +72,7 @@ function matchNodes (scope, node, def) {
if (treeWalker.currentNode.isEqualNode(currentNode)) {
map.set(currentNode, treeWalker.currentNode)
... | break out of loop early, prevents error in internet explorer | daliwali_simulacra | train | js |
f8612f44bfb2606493b80601bb1fdcafdb486a44 | diff --git a/mdata/aggmetrics.go b/mdata/aggmetrics.go
index <HASH>..<HASH> 100644
--- a/mdata/aggmetrics.go
+++ b/mdata/aggmetrics.go
@@ -4,7 +4,6 @@ import (
"sync"
"time"
- "github.com/raintank/metrictank/cluster"
"github.com/raintank/worldping-api/pkg/log"
)
@@ -47,9 +46,6 @@ func (ms *AggMetrics) GC() {... | secondaries should also clean up stale metrics
fixes #<I> | grafana_metrictank | train | go |
9da5d1fcf9e8ee90abcdd1149e2b75ad1d10553b | diff --git a/physt/binnings.py b/physt/binnings.py
index <HASH>..<HASH> 100644
--- a/physt/binnings.py
+++ b/physt/binnings.py
@@ -901,8 +901,8 @@ def calculate_bins_nd(array, bins=None, *args, **kwargs):
bins = [
calculate_bins(array[:, i], bins[i],
- *(arg[i] for arg in args),
- ... | Arguments that are None are not forwarded in multi-dimensional calculate_bins | janpipek_physt | train | py |
b53245c0defce4f4daaf0320f3158d56809a5744 | diff --git a/spyder_kernels/_version.py b/spyder_kernels/_version.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/_version.py
+++ b/spyder_kernels/_version.py
@@ -1,4 +1,4 @@
"""Version File."""
-VERSION_INFO = (0, 3, 0, 'dev0')
+VERSION_INFO = (1, 0, 0, 'dev0')
__version__ = '.'.join(map(str, VERSION_INFO)) | Change version in master to correspond to Spyder 4 | spyder-ide_spyder-kernels | train | py |
61d3096def30bc9a39fc8cc262fb42223a381dcd | diff --git a/tests/test_merger.py b/tests/test_merger.py
index <HASH>..<HASH> 100644
--- a/tests/test_merger.py
+++ b/tests/test_merger.py
@@ -39,7 +39,7 @@ def test_merge_records_empty_update():
assert merge_records(src, update) == src
-@pytest.mark.skip
+@pytest.mark.xfail
def test_merge_records_author_typo... | tests: xfail instead of skip | inveniosoftware-contrib_json-merger | train | py |
ebff92817e2c3553eee2e25d36148c132fdef060 | diff --git a/guide/src/html.js b/guide/src/html.js
index <HASH>..<HASH> 100644
--- a/guide/src/html.js
+++ b/guide/src/html.js
@@ -27,7 +27,7 @@ module.exports = class HTML extends React.Component {
<link
rel="stylesheet"
type="text/css"
- href="https://cloud.typography.c... | Use Culture Amp font CDN rather than CloudTypography directly
This is to bring consistency with the way we load fonts in murmur - where we need to use the CDN to prevent the Referer HTTP header linking private information. | cultureamp_cultureamp-style-guide | train | js |
8d25ba87ab8f3c8b86dff83b3db742d1e5be62de | diff --git a/lib/ambry/hash_proxy.rb b/lib/ambry/hash_proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/ambry/hash_proxy.rb
+++ b/lib/ambry/hash_proxy.rb
@@ -12,7 +12,13 @@ module Ambry
# Allows accessing a hash attribute as a method.
def method_missing(symbol)
- hash[symbol] or hash[symbol.to_s] or raise... | Don't raise when hash key exists but is falsy | norman_ambry | train | rb |
d984a056a2bbea0f32a188bcb51f1df101aee5ee | diff --git a/src/Storage/PDOConnector.php b/src/Storage/PDOConnector.php
index <HASH>..<HASH> 100644
--- a/src/Storage/PDOConnector.php
+++ b/src/Storage/PDOConnector.php
@@ -41,6 +41,8 @@ class PDOConnector implements IStorageConnector {
private $statement = null;
/** @var bool $transactionExists */
pri... | schema name in pdoconnector | doganoo_PHPUtil | train | php |
5908ca96691f8e6b23bfa3806f708ec7d86faaec | diff --git a/lib/canonicalizer.js b/lib/canonicalizer.js
index <HASH>..<HASH> 100644
--- a/lib/canonicalizer.js
+++ b/lib/canonicalizer.js
@@ -15,6 +15,7 @@ class Canonicalizer {
canonicalizeQuery(query) {
const encodeComponent = component =>
encodeURIComponent(component)
+ .replace(/'/g, '%27')
... | fix(canonicalizer): encode single quote for compatibility reasons | emartech_escher-js | train | js |
a238fedb5f67a9b5d28024e730bca855e6bcc0af | diff --git a/utils/index.js b/utils/index.js
index <HASH>..<HASH> 100644
--- a/utils/index.js
+++ b/utils/index.js
@@ -22,14 +22,17 @@ module.exports = {
JSON.stringify(
data,
(key, value) => {
+ if (!value) {
+ return value;
+ }
... | Share otherRelationship for relationship back reference. | jhipster_generator-jhipster | train | js,js |
db7ade88dc3e059138c5d28b4b1570a116244e59 | diff --git a/lib/faraday/mashify.rb b/lib/faraday/mashify.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/mashify.rb
+++ b/lib/faraday/mashify.rb
@@ -14,12 +14,14 @@ module Faraday
self.mash_class = ::Hashie::Mash
- def on_complete(env)
- response_body = env[:body]
- env[:body] = if response_body... | Changed the mashify middleware over to the new faraday syntax (using parse). Also allowed for the body to be returned untouched if it is not a hash or array. | lostisland_faraday_middleware | train | rb |
632f5546d3d80cdfbf04072b8326e9e8e6822d0a | diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -37,8 +37,6 @@ This is necessary and can not be replaced by a require clause in the pkg.
import logging
import os
import re
-import json
-import yaml
# Import salt libs
import sal... | Add rpm verify option to pkg.installed state | saltstack_salt | train | py |
1a8da86feff2cf814a3a7682a13d25f513860124 | diff --git a/lib/promise.js b/lib/promise.js
index <HASH>..<HASH> 100644
--- a/lib/promise.js
+++ b/lib/promise.js
@@ -346,11 +346,16 @@ const page = _d => Q.denodeify((_self, done) => {
_run(sd.cursor.next)
})
} else {
+ let final_self =... | roll_self wasn't working with page | dpjanes_iotdb-helpers | train | js |
118845a60ed08b471b2ad1efe52fec630eebb712 | diff --git a/app/assets/javascripts/task-manager/extjs/app/controller/Tasks.js b/app/assets/javascripts/task-manager/extjs/app/controller/Tasks.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/task-manager/extjs/app/controller/Tasks.js
+++ b/app/assets/javascripts/task-manager/extjs/app/controller/Tasks.js
@... | Fixed #<I>, TasksController, onDeleteClick存在错误 | menglifang_task-manager | train | js |
66a809e2829225d91ac2f6365533666e6d1749df | diff --git a/bin/firefox-driver.js b/bin/firefox-driver.js
index <HASH>..<HASH> 100755
--- a/bin/firefox-driver.js
+++ b/bin/firefox-driver.js
@@ -5,9 +5,14 @@ const By = webdriver.By;
const until = webdriver.until;
const Key = webdriver.Key;
const minimist = require("minimist");
+const url = require('url');
+
co... | Allow user to provide location when starting Firefox. (#<I>) | firefox-devtools_debugger | train | js |
8a5c57677e2fe19d89557e81a6a5944772d2d8d4 | diff --git a/apps/Sandbox/public/web.php b/apps/Sandbox/public/web.php
index <HASH>..<HASH> 100644
--- a/apps/Sandbox/public/web.php
+++ b/apps/Sandbox/public/web.php
@@ -23,7 +23,8 @@ use BEAR\Package\Dev\DevWeb\DevWeb;
// Reroute
if (php_sapi_name() == "cli-server") {
- if (preg_match('/\.(?:png|jpg|jpeg|gif|j... | [#<I>] Enable to load js/php in dev tool | bearsunday_BEAR.Package | train | php |
33eaf41e8b45dabf3518f3dfbe796f0aa40f305d | diff --git a/vcap-component/src/main/java/vcap/component/http/SimpleHttpServer.java b/vcap-component/src/main/java/vcap/component/http/SimpleHttpServer.java
index <HASH>..<HASH> 100644
--- a/vcap-component/src/main/java/vcap/component/http/SimpleHttpServer.java
+++ b/vcap-component/src/main/java/vcap/component/http/Sim... | Reverted changes that broke this class. | cloudfoundry-community_cf-java-component | train | java |
f520c3835f6cb4a3ca1aaccfba3ac6b294045459 | diff --git a/tests/test_discourse.py b/tests/test_discourse.py
index <HASH>..<HASH> 100644
--- a/tests/test_discourse.py
+++ b/tests/test_discourse.py
@@ -23,7 +23,6 @@
#
import datetime
-import json
import shutil
import sys
import tempfile | [tests] Fix importing PEP8 code style errors
This patch fixes the next importing errors lighted by
flake8 tool:
* F<I> '<module>' imported but unused | chaoss_grimoirelab-perceval | train | py |
8eac75389d948e4aac56eb70d13cb5d7333febd6 | diff --git a/tests/test-services-iam.py b/tests/test-services-iam.py
index <HASH>..<HASH> 100644
--- a/tests/test-services-iam.py
+++ b/tests/test-services-iam.py
@@ -25,7 +25,7 @@ class TestOpinelServicesIAM:
def make_travisname(self, testname):
- return '%s-%s-%s' % (testname, binascii.b2a_hex(os.uran... | bytes to string for p3 | nccgroup_opinel | train | py |
e5c02c6e32b0c4feb88e245542421a2442cb10f2 | diff --git a/lib/gilt/product.rb b/lib/gilt/product.rb
index <HASH>..<HASH> 100644
--- a/lib/gilt/product.rb
+++ b/lib/gilt/product.rb
@@ -3,6 +3,11 @@ module Gilt
class Product
+ def self.defer(future)
+ require 'weary/deferred'
+ Weary::Deferred.new future, self, lambda {|product, response| produc... | Product::defer defers product execution until response is ready | mwunsch_gilt | train | rb,rb |
d5733e9679ce25b1ffd01e8ec3f2f0e76394478f | diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/interface.rb
+++ b/lib/puppet/interface.rb
@@ -71,11 +71,6 @@ class Puppet::Interface
end
end
- def set_default_format(format)
- Puppet.deprecation_warning("set_default_format is deprecated (and ine... | (#<I>) Remove `set_default_format` method
Remove the `set_default_format` since it had previously been
depreciated. `render_as` should be used instead. | puppetlabs_puppet | train | rb |
b9d01ff5327c87bc9e5695aefb0ce13992faac1a | diff --git a/network.go b/network.go
index <HASH>..<HASH> 100644
--- a/network.go
+++ b/network.go
@@ -904,17 +904,14 @@ func (n *network) driver(load bool) (driverapi.Driver, error) {
return nil, err
}
- c := n.getController()
- isAgent := c.isAgent()
n.Lock()
// If load is not required, driver, cap and err... | Simplify network scope setting logic
- in driver(), no need to check for isAgent | docker_libnetwork | train | go |
f65f500df04f0a8a26cf5f8c76542de821ff1dc5 | diff --git a/src/TailwindPreset.php b/src/TailwindPreset.php
index <HASH>..<HASH> 100644
--- a/src/TailwindPreset.php
+++ b/src/TailwindPreset.php
@@ -37,6 +37,7 @@ class TailwindPreset extends Preset
protected static function updateBootstrapping()
{
copy(__DIR__.'/tailwind-stubs/tailwind.js', base_p... | overwrite default webpack.mix.js | laravel-frontend-presets_tailwindcss | train | php |
357c6e83211b9f28621592c517caa1bd0ce4294c | diff --git a/lib/rubycards/deck.rb b/lib/rubycards/deck.rb
index <HASH>..<HASH> 100644
--- a/lib/rubycards/deck.rb
+++ b/lib/rubycards/deck.rb
@@ -40,13 +40,7 @@ module RubyCards
# Enumerable#each
def each(&block)
- @cards.each do |card|
- if block_given?
- block.call card
- else... | Simplified #each methods for enumerability | jdan_rubycards | train | rb,rb |
00ff09952fa34ec636db8a0de1199a441f37a704 | diff --git a/tests/test_solver.py b/tests/test_solver.py
index <HASH>..<HASH> 100644
--- a/tests/test_solver.py
+++ b/tests/test_solver.py
@@ -258,8 +258,9 @@ class Submission(_QueryTest):
# simple problem with a large energy gap
# (ground state: [-1, -1] @ -2.0)
- h = {0: 1, 4: 1... | Fix sampling test on pegasus solvers | dwavesystems_dwave-cloud-client | train | py |
6313aaa0d3eeaf311c080f7a7f1265a61f6880f1 | diff --git a/src/Rairlie/LockingSession/LockingSessionHandler.php b/src/Rairlie/LockingSession/LockingSessionHandler.php
index <HASH>..<HASH> 100644
--- a/src/Rairlie/LockingSession/LockingSessionHandler.php
+++ b/src/Rairlie/LockingSession/LockingSessionHandler.php
@@ -98,8 +98,6 @@ class LockingSessionHandler impleme... | Auth::login($user) now works properly w/ databases, previously it wasn't migrating db session row (it would delete but wouldn't insert). | rairlie_laravel-locking-session | train | php |
8ceaa5e50a5b96c48f104089065d7fc07c891332 | diff --git a/marvin_python_toolbox/management/templates/python-engine/setup.py b/marvin_python_toolbox/management/templates/python-engine/setup.py
index <HASH>..<HASH> 100644
--- a/marvin_python_toolbox/management/templates/python-engine/setup.py
+++ b/marvin_python_toolbox/management/templates/python-engine/setup.py
@... | Fabric dependency available in setup.py | marvin-ai_marvin-python-toolbox | train | py |
14b5a9f94aabc3490a67bec6d2d06d0342a19c6c | diff --git a/go/chat/attachment_httpsrv.go b/go/chat/attachment_httpsrv.go
index <HASH>..<HASH> 100644
--- a/go/chat/attachment_httpsrv.go
+++ b/go/chat/attachment_httpsrv.go
@@ -66,7 +66,7 @@ func NewAttachmentHTTPSrv(g *globals.Context, fetcher types.AttachmentFetcher, r
r := &AttachmentHTTPSrv{
Contextified: gl... | move farthr away from kbfs ports | keybase_client | train | go |
02916e4c633f2759bee4f261d5b444326c18ddf0 | diff --git a/ruby/command-t/scanner/tag_scanner.rb b/ruby/command-t/scanner/tag_scanner.rb
index <HASH>..<HASH> 100644
--- a/ruby/command-t/scanner/tag_scanner.rb
+++ b/ruby/command-t/scanner/tag_scanner.rb
@@ -27,17 +27,17 @@ require 'command-t/scanner'
module CommandT
class TagScanner < Scanner
+ include VIM... | Made it use vim's 'tags' variable to tag filename lookup | wincent_command-t | train | rb |
08f4f14c88e6878341764c02b13e5c59a594ae0c | diff --git a/goatools/rpt_lev_depth.py b/goatools/rpt_lev_depth.py
index <HASH>..<HASH> 100755
--- a/goatools/rpt_lev_depth.py
+++ b/goatools/rpt_lev_depth.py
@@ -1,7 +1,13 @@
-"""Various level/depth summaries of the GO terms.
+"""Report the level/depth summaries of all GO terms or a subset of GO terms.
+
+ Level is ... | Added more information in docstring. | tanghaibao_goatools | train | py |
eeb638ba98463a41d5fc8894c4ba000c40a33575 | diff --git a/src/Embera/Http/OembedClient.php b/src/Embera/Http/OembedClient.php
index <HASH>..<HASH> 100755
--- a/src/Embera/Http/OembedClient.php
+++ b/src/Embera/Http/OembedClient.php
@@ -124,6 +124,10 @@ class OembedClient
if (!empty($response['html'])) {
foreach ($this->config as $key => $v... | Fixed Minor bug inside the OembedClient fake response processor. | mpratt_Embera | train | php |
e6b42ee1f6a704dce6c6a6c7edfb37d8390163b1 | diff --git a/libcentrifugo/handlers.go b/libcentrifugo/handlers.go
index <HASH>..<HASH> 100644
--- a/libcentrifugo/handlers.go
+++ b/libcentrifugo/handlers.go
@@ -202,10 +202,11 @@ func (app *Application) RawWebsocketHandler(w http.ResponseWriter, r *http.Reque
defer ws.Close()
app.RLock()
- interval := app.confi... | raw ws: add pong handler resetting read deadline | centrifugal_centrifugo | train | go |
67b8c575806b1bf5c29fcabc99fad87df29e03f8 | diff --git a/ontobio/io/assocwriter.py b/ontobio/io/assocwriter.py
index <HASH>..<HASH> 100644
--- a/ontobio/io/assocwriter.py
+++ b/ontobio/io/assocwriter.py
@@ -3,6 +3,10 @@ Classes for exporting associations.
"""
import logging
+import re
+
+external_taxon = re.compile("taxon:([0-9]+)")
+internal_taxon = re.comp... | assocwriter now converts NCIBITaxon to just taxon preserving the id which is what external consumers expect | biolink_ontobio | train | py |
d005fce9937b8d4041641073b88c2618ad1e5a73 | diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (5, 0, 1)
+version_info = (5, 1, 0, "dev0")
__vers... | Back to work [ci skip] | spyder-ide_spyder | train | py |
da9c2541baddfe2a7fc8892cef3627148e093844 | diff --git a/test/image.test.js b/test/image.test.js
index <HASH>..<HASH> 100644
--- a/test/image.test.js
+++ b/test/image.test.js
@@ -98,11 +98,13 @@ describe('mapnik.Image ', function() {
im.save('./test/tmp/image3.png');
mapnik.Image.open('./test/tmp/image3.png',function(err,im2) {
+ i... | image test: throw errors if they occur so we fail early | mapnik_node-mapnik | train | js |
1cd97216f393b3a83fa48c5290f4a2be6167b941 | diff --git a/master/buildbot/schedulers/forcesched.py b/master/buildbot/schedulers/forcesched.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/schedulers/forcesched.py
+++ b/master/buildbot/schedulers/forcesched.py
@@ -466,7 +466,8 @@ class ForceScheduler(base.BaseScheduler):
@type properties: list of Base... | - Included a check for FixedParameter. | buildbot_buildbot | train | py |
5818432a9c7fa694de4523d0320c56b5c7756f2f | diff --git a/src/utils/lng-from-req.js b/src/utils/lng-from-req.js
index <HASH>..<HASH> 100644
--- a/src/utils/lng-from-req.js
+++ b/src/utils/lng-from-req.js
@@ -1,5 +1,9 @@
export default (req) => {
+ if (!req.i18n) {
+ return null
+ }
+
const { allLanguages, defaultLanguage, fallbackLng } = req.i18n.optio... | fix: Protect against req.i<I>n being undefined in lng-from-req (#<I>) | isaachinman_next-i18next | train | js |
e6b294f00122b58d181cc1727a63353e439edb7e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -63,7 +63,7 @@ module.exports = {
enabled: false,
browsers,
map: env !== 'development' ? false : {},
- processTrees: ['all', 'styles'],
+ processTrees: ['all', 'css'],
plugins:... | `styles` is not a tree type. Replace with `css`. | jeffjewiss_ember-cli-postcss | train | js |
bc7e1f2e0f7b819584c4a13ef042a6ce008e230b | diff --git a/src/IntegrationTestFactory.php b/src/IntegrationTestFactory.php
index <HASH>..<HASH> 100644
--- a/src/IntegrationTestFactory.php
+++ b/src/IntegrationTestFactory.php
@@ -2,6 +2,7 @@
namespace Brera\PoC;
+use Brera\PoC\Product\ProductBuilder;
use Brera\PoC\Product\ProductRepository;
use Brera\PoC\Key... | Issue #3: Add product builder to integration test factory | lizards-and-pumpkins_catalog | train | php |
4ffc13464ae83a34b4b106f00d24f2b312eb930d | diff --git a/test/jdk/jshell/ToolBasicTest.java b/test/jdk/jshell/ToolBasicTest.java
index <HASH>..<HASH> 100644
--- a/test/jdk/jshell/ToolBasicTest.java
+++ b/test/jdk/jshell/ToolBasicTest.java
@@ -23,7 +23,7 @@
/*
* @test
- * @bug 8143037
+ * @bug 8143037 8142447
* @summary Tests for Basic tests for REPL tool
... | <I>: JShell: ToolBasicTest.java missing @bug tag for <I>
Reviewed-by: jlahoda | google_error-prone-javac | train | java |
7968c7fd9540663d674b64dca4e684b567da53fc | diff --git a/src/CmsBundle/Form/Type/SiteType.php b/src/CmsBundle/Form/Type/SiteType.php
index <HASH>..<HASH> 100644
--- a/src/CmsBundle/Form/Type/SiteType.php
+++ b/src/CmsBundle/Form/Type/SiteType.php
@@ -27,6 +27,7 @@ class SiteType extends AbstractType
])
->add('defaultDomain', EntityType:... | Default domain shouldn’t be required (#<I>) | Opifer_Cms | train | php |
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.