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 |
|---|---|---|---|---|---|
12490db67638276ddcc9f83e320f2b7a7d71fd4d | diff --git a/src/createDispatcher.js b/src/createDispatcher.js
index <HASH>..<HASH> 100644
--- a/src/createDispatcher.js
+++ b/src/createDispatcher.js
@@ -75,6 +75,15 @@ export default function createDispatcher() {
return Promise.resolve(res)
}
+ if (Promise.isPrototypeOf(action)) {
+ disp... | Restore support for directly passing Promises to dispatch | kitten_fluorine | train | js |
2aed51e706956c9dfe87b16024b39e96d71ca394 | diff --git a/lib/bud/collections.rb b/lib/bud/collections.rb
index <HASH>..<HASH> 100644
--- a/lib/bud/collections.rb
+++ b/lib/bud/collections.rb
@@ -421,7 +421,7 @@ class Bud
def establish_connection(l)
@connections[l] = EventMachine::connect l[0], l[1], BudServer, @bud_instance
-
+ @connecti... | properly handle initial connection failure in BudChannel::flush | bloom-lang_bud | train | rb |
713e6e62875dc6e99914d91bad23ad41518f70f6 | diff --git a/cake/libs/controller/scaffold.php b/cake/libs/controller/scaffold.php
index <HASH>..<HASH> 100644
--- a/cake/libs/controller/scaffold.php
+++ b/cake/libs/controller/scaffold.php
@@ -390,7 +390,7 @@ class Scaffold extends Object {
if ($this->ScaffoldModel->delete($id)) {
$message = __(
- spri... | Fixing parse error that caused scaffold test to not run and not pass. | cakephp_cakephp | train | php |
dc262f16e7aab9bcbb6c4a92a56b288ec6b21774 | diff --git a/nightwatch.js b/nightwatch.js
index <HASH>..<HASH> 100644
--- a/nightwatch.js
+++ b/nightwatch.js
@@ -35,6 +35,7 @@ if (process.env.TRAVIS) {
module.exports = {
globals_path: './nightwatch-globals.js',
+ persist_globals: true,
// selenium: {
// start_process: true,
// server_path: requi... | chore: persist global data on nightwatch | bolt-design-system_bolt | train | js |
df1dae81285387d68a14a7ba511ae667bd33b9a3 | diff --git a/lib/wp_api_client/connection.rb b/lib/wp_api_client/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/wp_api_client/connection.rb
+++ b/lib/wp_api_client/connection.rb
@@ -12,6 +12,7 @@ module WpApiClient
if configuration.oauth_credentials
faraday.use FaradayMiddleware::OAuth, configu... | Raise Exceptions on non-<I> response | duncanjbrown_wp-api-client | train | rb |
7765aa9a301aba15c769b3362f808afd891c327c | diff --git a/bob/bio/spear/test/test_extractors.py b/bob/bio/spear/test/test_extractors.py
index <HASH>..<HASH> 100644
--- a/bob/bio/spear/test/test_extractors.py
+++ b/bob/bio/spear/test/test_extractors.py
@@ -45,7 +45,7 @@ def test_mfcc():
# read input wave file
rate, wav = _wav()
- extractor = bob.bio... | Fix the naming of the mfcc<I> extractor. | bioidiap_bob.bio.spear | train | py |
4d68edbe95cae8be2711347491a49e156c8b77a7 | diff --git a/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java b/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedStorage.java
index <HASH>..<HASH> 100755
--- a/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedSt... | fixed create cluster command generation for support special characters. | orientechnologies_orientdb | train | java |
577d62fe754650521a74ebbe6c0ae2a37b30129c | diff --git a/bulbs/api/views.py b/bulbs/api/views.py
index <HASH>..<HASH> 100644
--- a/bulbs/api/views.py
+++ b/bulbs/api/views.py
@@ -454,6 +454,8 @@ class ContentResolveViewSet(viewsets.ReadOnlyModelViewSet):
content = get_object_or_404(Content, pk=match.kwargs.get('pk'))
return Response(C... | Raise <I> on missing "url" param | theonion_django-bulbs | train | py,py |
a9a7bf022519a63b3a8127213c414485c289556f | diff --git a/ipmitool.go b/ipmitool.go
index <HASH>..<HASH> 100644
--- a/ipmitool.go
+++ b/ipmitool.go
@@ -92,9 +92,9 @@ func rawEncode(data []byte) []string {
n := len(data)
buf := make([]string, 0, n)
- // ipmitool raw wasn't happy with hex.Encode
+ // ipmitool needs every byte to be a separate argument
for i... | Use hex.Encode instead of fmt.Sprintf
This makes it a little more clear what the arguments that ipmitool
expects look like. | vmware_goipmi | train | go |
d02ac4082cfcb3980d55f5ae45b74e4226cfd9f3 | diff --git a/lib/hyrax/engine.rb b/lib/hyrax/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/hyrax/engine.rb
+++ b/lib/hyrax/engine.rb
@@ -32,10 +32,28 @@ module Hyrax
end
config.after_initialize do
- begin
+ # Attempt to establish a connection before trying to do anything with it. This has to res... | Provide more leniency for a missing database connection during initialization
Add comment justifying trapping StandardError | samvera_hyrax | train | rb |
50accf5791888509af8c94622d0c5cb63fddda76 | diff --git a/stanfordnlp/models/common/hlstm.py b/stanfordnlp/models/common/hlstm.py
index <HASH>..<HASH> 100644
--- a/stanfordnlp/models/common/hlstm.py
+++ b/stanfordnlp/models/common/hlstm.py
@@ -36,9 +36,9 @@ class HLSTMCell(nn.modules.rnn.RNNCellBase):
# vanilla LSTM computation
rec_input = torch... | Fix the alternative Highway LSTM implementation | stanfordnlp_stanza | train | py |
e4f2958007772b42c80bdd339655a4706cb4b4c4 | diff --git a/src/server/pkg/deploy/assets/assets.go b/src/server/pkg/deploy/assets/assets.go
index <HASH>..<HASH> 100644
--- a/src/server/pkg/deploy/assets/assets.go
+++ b/src/server/pkg/deploy/assets/assets.go
@@ -209,16 +209,21 @@ func ClusterRole() *rbacv1.ClusterRole {
Resources: []string{"pods"},
}, {
A... | Adds secrets access to RBAC. | pachyderm_pachyderm | train | go |
9c957df559d25091b22f0a266bc2a96adddb71ea | diff --git a/grimoire/elk/enrich.py b/grimoire/elk/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/enrich.py
+++ b/grimoire/elk/enrich.py
@@ -699,7 +699,7 @@ class Enrich(object):
return users_data
- def get_item_sh(self, item, roles=None):
+ def get_item_sh(self, item, roles=None, date_fiel... | [enrich][sh] Add support for getting the date field to be used for getting affiliations as a param | chaoss_grimoirelab-elk | train | py |
8ffe910ebf5bb85ba15eab66341580d44d4d00fe | diff --git a/examples/wms-custom-proj.js b/examples/wms-custom-proj.js
index <HASH>..<HASH> 100644
--- a/examples/wms-custom-proj.js
+++ b/examples/wms-custom-proj.js
@@ -62,6 +62,7 @@ var map = new ol.Map({
view: new ol.View2D({
projection: projection,
center: [660000, 190000],
+ extent: extent,
z... | Apply center constraint in custom projection examples | openlayers_openlayers | train | js,js |
5493ed73a9598132d93238e0fa89624a11138b8f | diff --git a/tls_assets.go b/tls_assets.go
index <HASH>..<HASH> 100644
--- a/tls_assets.go
+++ b/tls_assets.go
@@ -39,6 +39,8 @@ const (
EtcdComponent ClusterComponent = "etcd"
// CalicoComponent is the calico component.
CalicoComponent ClusterComponent = "calico"
+ // KubeStateMetricsComponent is the kube-state-... | Adds kube state metrics component (#<I>) | giantswarm_certificatetpr | train | go |
33fcff85d001c86a346b7006f4e41a0558abc9e8 | diff --git a/src/Command/Project/ProjectCreateCommand.php b/src/Command/Project/ProjectCreateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/Project/ProjectCreateCommand.php
+++ b/src/Command/Project/ProjectCreateCommand.php
@@ -109,10 +109,10 @@ class ProjectCreateCommand extends CommandBase
// ... | [project:create] be stricter about check interval | platformsh_platformsh-cli | train | php |
f1d1cd2c8e20502ca8a720c112f7a726c5d7be90 | diff --git a/html/htmlutil/htmlutil.go b/html/htmlutil/htmlutil.go
index <HASH>..<HASH> 100644
--- a/html/htmlutil/htmlutil.go
+++ b/html/htmlutil/htmlutil.go
@@ -1,5 +1,12 @@
package htmlutil
+import (
+ "html"
+ "strings"
+
+ "github.com/microcosm-cc/bluemonday"
+)
+
// ChartColor1 is the color palette for Google... | add html.HTMLToTextCondensed | grokify_gotilla | train | go |
4db5279b745585afdbfd20d66960b6f880660554 | diff --git a/src/Widgets/Reports/BarChartReportWidget.php b/src/Widgets/Reports/BarChartReportWidget.php
index <HASH>..<HASH> 100644
--- a/src/Widgets/Reports/BarChartReportWidget.php
+++ b/src/Widgets/Reports/BarChartReportWidget.php
@@ -39,7 +39,7 @@ class BarChartReportWidget extends BaseReportGraphs
$opt... | fixing phpcs with more colours given | QoboLtd_cakephp-search | train | php |
459a485915e8e88298889d9ff9f78feef5b552ae | diff --git a/src/enforcers.js b/src/enforcers.js
index <HASH>..<HASH> 100644
--- a/src/enforcers.js
+++ b/src/enforcers.js
@@ -64,8 +64,8 @@ export let columnDescriptor = osom({
type: Any,
required: true,
validate (value) {
- let type = isFunction(value) ? value.name : value
- return isOneOf(CO... | fix(enforcers): broken descriptor validation
Fix incorrect validation in `columnDescriptor` due to string casing. Also ensure that the `type` being checked is a string before casing it. | citycide_trilogy | train | js |
832ef96188ff0ec6782fdbb9ceea729e3aa8681e | diff --git a/thefuck/rules/missing_space_before_subcommand.py b/thefuck/rules/missing_space_before_subcommand.py
index <HASH>..<HASH> 100644
--- a/thefuck/rules/missing_space_before_subcommand.py
+++ b/thefuck/rules/missing_space_before_subcommand.py
@@ -16,3 +16,6 @@ def match(command):
def get_new_command(command):
... | #<I>: Lower priority of `missing_space_before_subcommand` rule | nvbn_thefuck | train | py |
eb325981a77d6c0212b9b0676169563631001957 | diff --git a/cairocffi/pixbuf.py b/cairocffi/pixbuf.py
index <HASH>..<HASH> 100644
--- a/cairocffi/pixbuf.py
+++ b/cairocffi/pixbuf.py
@@ -27,9 +27,11 @@ except ImportError:
__all__ = ['decode_to_image_surface']
gdk_pixbuf = dlopen(ffi, 'gdk_pixbuf-2.0', 'libgdk_pixbuf-2.0-0',
- 'libgdk_pixbuf-2.... | Fix loading of gdk_pixbuf library on Ubuntu | Kozea_cairocffi | train | py |
0fb8d82b8b241e5b9aaf68deabe8486ecea06596 | diff --git a/lib/iso3166Data.js b/lib/iso3166Data.js
index <HASH>..<HASH> 100644
--- a/lib/iso3166Data.js
+++ b/lib/iso3166Data.js
@@ -367,8 +367,8 @@ module.exports = [
alpha3: 'CMR',
country_code: '237',
country_name: 'Cameroon',
- mobile_begin_with: ['7', '9'],
- phone_number_lengths: [8]
+ mobile_begin_... | New Cameroon phone numbering system since <I>
<URL> | AfterShip_phone | train | js |
89b9a91de79cce3db6918ab2a45b8bad7798ee8f | diff --git a/src/Http/Controllers/Controller.php b/src/Http/Controllers/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Controller.php
+++ b/src/Http/Controllers/Controller.php
@@ -4,6 +4,7 @@ namespace TCG\Voyager\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use... | added ValidatesRequests in controller | laraveladminpanel_admin | train | php |
40216023b1c2f6297dcbd3394ff0d9d596b668f8 | diff --git a/padasip/filters/__init__.py b/padasip/filters/__init__.py
index <HASH>..<HASH> 100644
--- a/padasip/filters/__init__.py
+++ b/padasip/filters/__init__.py
@@ -263,6 +263,7 @@ def get_filter(name):
FILTER_CLASSES = [
FilterAP,
+ FilterGMCC,
FilterGNGD,
FilterLlncosh,
FilterLMF,
@@ -... | Added GMCC and OCNLMS to __init__ | matousc89_padasip | train | py |
c752469d16b52731beacee95b113ec00736ba552 | diff --git a/endless.go b/endless.go
index <HASH>..<HASH> 100644
--- a/endless.go
+++ b/endless.go
@@ -2,6 +2,7 @@ package endless
import (
"crypto/tls"
+ "errors"
"flag"
"fmt"
"log"
@@ -410,11 +411,12 @@ func (srv *endlessServer) hammerTime(d time.Duration) {
func (srv *endlessServer) fork() (err error) ... | fix: checking "runningServersForked" doesn't work expectedly after mutex lock when forking | fvbock_endless | train | go |
2a4cc1cebd8796bce05a10d3c8de096dc604675f | diff --git a/config/initializers/access_rules.rb b/config/initializers/access_rules.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/access_rules.rb
+++ b/config/initializers/access_rules.rb
@@ -59,7 +59,7 @@ AccessControl.map :require => [ :admin, :publisher, :contributor ] do |map|
project.menu "Arti... | Consistent UI in admin sidebar for Feedback section - #<I>
Since admin "Feedback" page contains comments, pings and trackbacks,
have the sidebar item display same title as page itself. Helps provide
a consistent UI experience. | publify_publify | train | rb |
3efe59aada479a50c3e9f93e423e034a5c100f28 | diff --git a/EventListener/LayoutBoxSubscriber.php b/EventListener/LayoutBoxSubscriber.php
index <HASH>..<HASH> 100755
--- a/EventListener/LayoutBoxSubscriber.php
+++ b/EventListener/LayoutBoxSubscriber.php
@@ -14,7 +14,7 @@ namespace WellCommerce\Bundle\LayoutBundle\EventListener;
use Symfony\Component\HttpFoundation... | Moved FormEvent to Component
(cherry picked from commit ab<I>c4f4effc<I>d<I>ed<I>b<I>) | WellCommerce_WishlistBundle | train | php |
3f57326b4e489e42cb1559362d84a34108e57ee3 | diff --git a/tethne/readers/zotero.py b/tethne/readers/zotero.py
index <HASH>..<HASH> 100644
--- a/tethne/readers/zotero.py
+++ b/tethne/readers/zotero.py
@@ -386,7 +386,7 @@ class ZoteroParser(RDFParser):
self.full_text[fset_name][ident] = structuredfeature
-def read(path, corpus=True, index_by='uri',... | in Zotero reader, follow_links=False by default | diging_tethne | train | py |
8923fad8a9b054fc4ec1f48aaa34916521cb167f | diff --git a/src/fury.js b/src/fury.js
index <HASH>..<HASH> 100644
--- a/src/fury.js
+++ b/src/fury.js
@@ -47,22 +47,11 @@ class Fury {
}
findAdapter(source, mediaType, method) {
- let adapter;
-
if (mediaType) {
- adapter = findAdapter(this.adapters, mediaType, method);
- } else {
- for (l... | refactor(findAdapter): Simplify and use detect method | apiaryio_fury.js | train | js |
915d5fa4c4020536f2d41c21353b1477befa8af3 | diff --git a/ot/optim.py b/ot/optim.py
index <HASH>..<HASH> 100644
--- a/ot/optim.py
+++ b/ot/optim.py
@@ -427,7 +427,7 @@ def solve_1d_linesearch_quad_funct(a, b, c):
f1 = a + f0 + df0
if a > 0: # convex
- minimum = min(1, max(0, -b / (2 * a)))
+ minimum = min(1, max(0, np.divide(-b, 2 * a))... | python2 divide problem | rflamary_POT | train | py |
edd9f067163a52061fb96d227b24b4e20be3e6a2 | diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/lsctables.py
+++ b/glue/ligolw/lsctables.py
@@ -1,8 +1,4 @@
-<<<<<<< lsctables.py
# $Id$
-=======
-# $Id$
->>>>>>> 1.140.2.2
#
# Copyright (C) 2006 Kipp C. Cannon
# | Fixing artifacts from merge. | gwastro_pycbc-glue | train | py |
677731259621a357214cf1787e219112a7301ec5 | diff --git a/src/page_scrapers/__init__.py b/src/page_scrapers/__init__.py
index <HASH>..<HASH> 100644
--- a/src/page_scrapers/__init__.py
+++ b/src/page_scrapers/__init__.py
@@ -1,4 +1,4 @@
# Do not change this version manually.
# Versioning is managed by package_controller.
# To update the version run `pc version ... | chore: <I>.
Updates the version from <I> to <I>. | alexseitsinger_page_scrapers | train | py |
c1186a7f7dbc8297d38b1c4ee547deb06dface15 | diff --git a/bcbio/variation/gatkjoint.py b/bcbio/variation/gatkjoint.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/gatkjoint.py
+++ b/bcbio/variation/gatkjoint.py
@@ -36,12 +36,13 @@ def _run_genomicsdb_import(vrn_files, region, out_file, data):
if not os.path.exists(out_dir):
with file_transactio... | GATK4: GenomicsDBImport parallelization
Add multicore reading introduced in beta3 release. | bcbio_bcbio-nextgen | train | py |
be62523e87c9f1e5faba4c6dedfadb7da3a22a04 | diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php
index <HASH>..<HASH> 100644
--- a/src/Models/BaseElement.php
+++ b/src/Models/BaseElement.php
@@ -430,6 +430,7 @@ class BaseElement extends DataObject implements CMSPreviewable
break;
}
+ $templates[] = $valu... | Adds ability to have templates for specific element areas | dnadesign_silverstripe-elemental | train | php |
cb9abd3b8089e80b7eb210982d71a6efeb9ef9b0 | diff --git a/src/python/dxpy/bindings/dxworkflow.py b/src/python/dxpy/bindings/dxworkflow.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/bindings/dxworkflow.py
+++ b/src/python/dxpy/bindings/dxworkflow.py
@@ -473,7 +473,7 @@ class DXWorkflow(DXDataObject, DXExecutable):
:returns: Object handler of the ne... | Clarify inheritance of args in DXWorkflow.run | dnanexus_dx-toolkit | train | py |
38fda202470f228a1fded2f4298acdaec3c00ac7 | diff --git a/actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/modules/internal/contacts/ContactsSyncActor.java b/actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/modules/internal/contacts/ContactsSyncActor.java
index <HASH>..<HASH> 100644
--- a/actor-sdk/sdk-core/core/core-shared/src/main/... | fix(core): recover contact sync | actorapp_actor-platform | train | java |
f5d9443e9128bc9ffa3263d0f72475fc3358dbe9 | diff --git a/lib/injectedlogger.rb b/lib/injectedlogger.rb
index <HASH>..<HASH> 100644
--- a/lib/injectedlogger.rb
+++ b/lib/injectedlogger.rb
@@ -6,7 +6,7 @@ module InjectedLogger
# inject a default logger in case no one has set one for you:
#
# module MyLogger
- # InjectedLogger.inject do
+ # InjectedL... | injectedlogger: fix typo in comments | unleashed_injectedlogger | train | rb |
fae4730bade312914693c0a9b0afcd3f23ea82a7 | diff --git a/commands/pull_request.go b/commands/pull_request.go
index <HASH>..<HASH> 100644
--- a/commands/pull_request.go
+++ b/commands/pull_request.go
@@ -279,11 +279,7 @@ func createPullRequestMessage(base, head, fullBase, fullHead string) (string, er
}
if tmplate := github.GetPullRequestTemplate(); tmplate ... | Implement GeneratePRTemplate in pull_request.go
Implements the GeneratePRTemplate in pull_request.go instead of the
custom logic that previously existed in the file. Addresses:
* Title being defaulted as the first line of the template
* Commit messages not defaulting as the title only properly | github_hub | train | go |
51c6b348599d660f43318318333917fe0803548c | diff --git a/docker/client.py b/docker/client.py
index <HASH>..<HASH> 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -1038,11 +1038,11 @@ class Client(requests.Session):
res = self._post(url)
self._raise_for_status(res)
- def wait(self, container):
+ def wait(self, container, timeout=... | Added timeout param to Client.wait | docker_docker-py | train | py |
a49f903ebdb8445912699d4d23001f409af0d9e0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1948,10 +1948,21 @@ function pages(options, callback) {
limit: apos.sanitizeInteger(data.limit, 50),
skip: apos.sanitizeInteger(data.skip, 0)
};
+ var ids;
if (data.term !== undefined) {
... | page autocomplete route accepts an array of objects with 'value' properties as an alternative to a flat array of ids | apostrophecms-legacy_apostrophe-pages | train | js |
b518360a9b5148af59915cd2e7a61031754a433b | diff --git a/lib/mongoose-paginate.js b/lib/mongoose-paginate.js
index <HASH>..<HASH> 100644
--- a/lib/mongoose-paginate.js
+++ b/lib/mongoose-paginate.js
@@ -1,4 +1,3 @@
-
/**
* @list dependencies
**/
@@ -28,7 +27,7 @@ mongoose.Model.paginate = function(q, pageNumber, resultsPerPage, callback) {
if (erro... | Fixed pageCount math operation
You have to return the smallest integer greater than or equal to a number.
So if count/resultsPerPage = <I> you need pageCount=2 and not =1 ;) | edwardhotchkiss_mongoose-paginate | train | js |
c054eb9f236909227e1b2ed459f1337115142a97 | diff --git a/km3pipe/pumps/hdf5.py b/km3pipe/pumps/hdf5.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/hdf5.py
+++ b/km3pipe/pumps/hdf5.py
@@ -168,6 +168,7 @@ class HDF5Sink(Module):
trigger_mask = evt.trigger_mask
frame_index = evt.frame_index
+ self.event_info.setdefault('event_id', [])... | Adds event id to event info | tamasgal_km3pipe | train | py |
f754880968ba6684f6d273fd92f5efb297ed6efb | diff --git a/lxd/main_init.go b/lxd/main_init.go
index <HASH>..<HASH> 100644
--- a/lxd/main_init.go
+++ b/lxd/main_init.go
@@ -16,6 +16,12 @@ import (
"github.com/lxc/lxd/shared"
)
+type poolType string
+
+const poolTypeAny poolType = ""
+const poolTypeLocal poolType = "local"
+const poolTypeRemote poolType = "rem... | main/init: Define poolType type and constants
Uses concept of "any" rather than "all" to align with instancetype.Any constant. | lxc_lxd | train | go |
341351e6ab304c36f00c71685fbf1580a2da584b | diff --git a/src/localimport/__init__.py b/src/localimport/__init__.py
index <HASH>..<HASH> 100755
--- a/src/localimport/__init__.py
+++ b/src/localimport/__init__.py
@@ -12,10 +12,7 @@ import typing as t
import zipfile
if t.TYPE_CHECKING:
- from importlib.machinery import ModuleSpec
- from types import ModuleTyp... | import _MetaPathFinder from sys under typing | NiklasRosenstein_py-localimport | train | py |
264acd48de0f4b59848c621fafb9cc620ac3ecf3 | diff --git a/application/Config/Database.php b/application/Config/Database.php
index <HASH>..<HASH> 100644
--- a/application/Config/Database.php
+++ b/application/Config/Database.php
@@ -92,7 +92,7 @@ class Database extends \CodeIgniter\Database\Config
// Under Travis-CI, we can set an ENV var named 'DB_GROUP'
... | Ooops. Missed changing env var name | codeigniter4_CodeIgniter4 | train | php |
ba984b1bafb646a91ba007e597ab5d5d594b78b9 | diff --git a/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java b/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java
+++ b/simulator/src/main/java/c... | Minor cleanup in TestCaseRunner. | hazelcast_hazelcast-simulator | train | java |
bc289093566effd1e5b78ed0af5e2f3a049e88bb | diff --git a/tests/test_binary_vdf.py b/tests/test_binary_vdf.py
index <HASH>..<HASH> 100644
--- a/tests/test_binary_vdf.py
+++ b/tests/test_binary_vdf.py
@@ -14,7 +14,7 @@ class BinaryVDF(unittest.TestCase):
def test_simple(self):
pairs = [
('a', 'test'),
- ('a2', b'\xff\xfe0\x041... | fix failing test after dd<I>fb1 change | ValvePython_vdf | train | py |
c3a1d227379e54cefd6a4f167b4cfd9fd0fd73b1 | diff --git a/test/unit/dependency_test.rb b/test/unit/dependency_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/dependency_test.rb
+++ b/test/unit/dependency_test.rb
@@ -127,7 +127,7 @@ class DependencyTest < ActiveSupport::TestCase
dependency = Dependency.create(gem_dependency: @gem_dependency, version: ... | use new finder syntax for dependency model test | rubygems_rubygems.org | train | rb |
d467590b79bfb9a07349c050246191be74dce991 | diff --git a/ext_tables.php b/ext_tables.php
index <HASH>..<HASH> 100644
--- a/ext_tables.php
+++ b/ext_tables.php
@@ -48,9 +48,11 @@ if (TYPO3_MODE == 'BE') {
/***************
- * BackendLayoutDataProvider
+ * BackendLayoutDataProvider for versions below 7.4
*/
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Backen... | [TASK] Disable BackendLayoutDataProvider for TYPO3 versions below <I> and adapt registration to core provider prefix for PageTS | benjaminkott_bootstrap_package | train | php |
ee44aee1ca5652ce598568bef0c973ed0b19be1a | diff --git a/plugins/common/shim/example/cmd/main.go b/plugins/common/shim/example/cmd/main.go
index <HASH>..<HASH> 100644
--- a/plugins/common/shim/example/cmd/main.go
+++ b/plugins/common/shim/example/cmd/main.go
@@ -30,7 +30,7 @@ var err error
//
// shim.AddInput(myInput)
//
-// // now the shim.Run() call as belo... | clarify docs around shim plugin loading | influxdata_telegraf | train | go |
f0bfcd505efb816e51a2caa8e1fad3e522b4a2d1 | diff --git a/bakery/tasks.py b/bakery/tasks.py
index <HASH>..<HASH> 100644
--- a/bakery/tasks.py
+++ b/bakery/tasks.py
@@ -17,17 +17,17 @@ def run(command, cwd = None, log = None):
p = subprocess.Popen(command, shell = True, cwd = cwd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = p.communi... | Removing @@ from log output so it looks cleaner | googlefonts_fontbakery | train | py |
5caecb07e34acde19763cf8341e3db2ce465cdeb | diff --git a/src/rpc/client.js b/src/rpc/client.js
index <HASH>..<HASH> 100644
--- a/src/rpc/client.js
+++ b/src/rpc/client.js
@@ -3,7 +3,7 @@ import { isAddress } from '../wallet'
import semver from 'semver'
import { RPC_VERSION, DEFAULT_RPC, NEO_NETWORK } from '../consts'
-const versionRegex = /NEO: (\d+\.\d+\... | rpc(client): fix regex string for getVersion
cherrypicked from dev to fix failing integration tests | CityOfZion_neon-js | train | js,js |
c74490c6edf07964a2011c8fb0c356ed3564ac2e | diff --git a/juicer/juicer/Juicer.py b/juicer/juicer/Juicer.py
index <HASH>..<HASH> 100644
--- a/juicer/juicer/Juicer.py
+++ b/juicer/juicer/Juicer.py
@@ -42,7 +42,7 @@ class Juicer(object):
# get list of all repos, then parse down to the ones we want
url = self.base_url + '/repositories/'
-... | use common get (no longer part of self) | juicer_juicer | train | py |
de1512e4025f77c109ce4a28a0c881be9109bd77 | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -2,8 +2,6 @@
namespace Fei\Service\Connect\Client;
-use Fei\Service\Connect\Common\ProfileAssociation\Message\RequestMessageInterface;
-
/**
* Class Config
*
@@ -121,21 +119,6 @@ class Config
... | Remove callback signature control on profile association callback setter | flash-global_connect-client | train | php |
33421ae8c6f8de4361103a3fd588c74424480c7c | diff --git a/h2o-core/src/main/java/water/fvec/Vec.java b/h2o-core/src/main/java/water/fvec/Vec.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/fvec/Vec.java
+++ b/h2o-core/src/main/java/water/fvec/Vec.java
@@ -916,10 +916,7 @@ public class Vec extends Keyed<Vec> {
public EnumWrappedVec toEnum() ... | Adds change that was accidentally left out of commit f2f<I>b1ed<I>c8d7ab<I>d<I>d<I>b<I>d0 [f2f<I>b1] | h2oai_h2o-3 | train | java |
ae8f9e1137f7b444e5a137db73b5a514388858a4 | diff --git a/lib/express/static.js b/lib/express/static.js
index <HASH>..<HASH> 100644
--- a/lib/express/static.js
+++ b/lib/express/static.js
@@ -43,13 +43,14 @@ exports.File = Class({
send: function(request) {
var cache, file = this.path
- if (set('cache static files') && (cache = request.cache.get(fil... | bug fix for static.send method. request.halt() didn't return appropriately | expressjs_express | train | js |
49cb1a289f19565132824e67bb83a2e255b13c8a | diff --git a/integration-cli/docker_cli_run_unix_test.go b/integration-cli/docker_cli_run_unix_test.go
index <HASH>..<HASH> 100644
--- a/integration-cli/docker_cli_run_unix_test.go
+++ b/integration-cli/docker_cli_run_unix_test.go
@@ -114,7 +114,7 @@ func getCgroupPaths(test string) map[string]string {
for _, line :=... | Update --cgroup-parent cli integration test to use "memory" cgroup for detecting the test's
cgroups path instead of CPU.
Docker-DCO-<I>- | moby_moby | train | go |
dcb77081ca9047148fd408cccdc4675abe9edad4 | diff --git a/src/behavior.js b/src/behavior.js
index <HASH>..<HASH> 100644
--- a/src/behavior.js
+++ b/src/behavior.js
@@ -119,9 +119,9 @@ var behavior = (function() {
return;
if(container.childNodes.length > 0)
- cursor.moveAfter(container.lastChild);
+ cursor.moveAtEnd(container);
... | Use correct Cursor move methods
The new #moveAtBeginning and #moveAtEnd are the correct methods to place the cursor at the beginning or end of a container. | livingdocsIO_editable.js | train | js |
9c5734870fe8d6f23f2073307a14b0eb086b7ce7 | diff --git a/build/task.js b/build/task.js
index <HASH>..<HASH> 100644
--- a/build/task.js
+++ b/build/task.js
@@ -1,4 +1,4 @@
-var Walker = require( 'Walker' ),
+var Walker = require( 'walker' ),
path = require( 'path' ),
fs = require( 'fs' ),
handlebars = require( 'handlebars' ),
@@ -48,4 +48,4 @@ module.export... | Fix issue including files with incorrect capitalisation on case-sensitive filesystesm (e.g. Linux) | golden-layout_golden-layout | train | js |
e0852485d61a350ffc821ad21c2472067dc8de86 | diff --git a/metric_tank/metric_tank.go b/metric_tank/metric_tank.go
index <HASH>..<HASH> 100644
--- a/metric_tank/metric_tank.go
+++ b/metric_tank/metric_tank.go
@@ -113,6 +113,7 @@ var metricsActive met.Gauge
var metricsToEsOK met.Count
var metricsToEsFail met.Count
var esPutDuration met.Timer
+var clusterPrimary ... | Track cluster primary status in statsd | grafana_metrictank | train | go |
5d1139ea71b8d36fc4d9ef040aa00698e9b797c4 | diff --git a/core-bundle/src/Resources/contao/controllers/FrontendIndex.php b/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
+++ b/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
@@ -12,7 +12,... | [Core] Fix the phpDoc comments | contao_contao | train | php |
9717432920d106fe84543af6822a6be8624fef11 | diff --git a/lib/vagrant.rb b/lib/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant.rb
+++ b/lib/vagrant.rb
@@ -339,4 +339,6 @@ if Vagrant.plugins_enabled?
end
raise Vagrant::Errors::PluginLoadError, message: e.to_s
end
+else
+ global_logger.debug("Plugin loading is currently disabled.")
end | Add logger output when plugin loading is disabled | hashicorp_vagrant | train | rb |
6ff642720e8321ee3d108af47b1ceda1d6f875d0 | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -32,7 +32,7 @@ type Options = {|
srcRoot?: string,
staticRoot?: string,
template?: string,
- cspDirectives?: object
+ cspDirectives?: Object
|}
*/
@@ -49,7 +49,7 @@ type Inter... | Object is the type, not object | github_webpack-config-github | train | js |
b5df2d409b121c10c2ace71fb2ac5ff3b2ef662e | diff --git a/nanolyse/version.py b/nanolyse/version.py
index <HASH>..<HASH> 100644
--- a/nanolyse/version.py
+++ b/nanolyse/version.py
@@ -1 +1 @@
-__version__ = "1.1.2"
+__version__ = "1.1.3"
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ setup(
url='h... | fix license field in setup.py
as requested by <URL> | wdecoster_nanolyse | train | py,py |
c20b21881afd29ce221e6376af03e45959fdda2d | diff --git a/chess/gaviota.py b/chess/gaviota.py
index <HASH>..<HASH> 100644
--- a/chess/gaviota.py
+++ b/chess/gaviota.py
@@ -38,10 +38,6 @@ LOGGER = logging.getLogger(__name__)
NOSQUARE = 64
NOINDEX = -1
-WHITES = 1 << 6
-BLACKS = 1 << 7
-
-NOPIECE = 0
PAWN = 1
KNIGHT = 2
BISHOP = 3
@@ -49,20 +45,6 @@ ROOK = 4... | Remove unused constants from chess.gaviota | niklasf_python-chess | train | py |
1b6137504c92cb31b750f72746fd64e58a9fe38d | diff --git a/processing/src/main/java/io/druid/query/UnionDataSource.java b/processing/src/main/java/io/druid/query/UnionDataSource.java
index <HASH>..<HASH> 100644
--- a/processing/src/main/java/io/druid/query/UnionDataSource.java
+++ b/processing/src/main/java/io/druid/query/UnionDataSource.java
@@ -101,4 +101,12 @@ ... | Add toString for better logging | apache_incubator-druid | train | java |
c3d6458062896b44ac4a2020f93b761fd9886065 | diff --git a/src/Providers/AuthServiceProvider.php b/src/Providers/AuthServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/AuthServiceProvider.php
+++ b/src/Providers/AuthServiceProvider.php
@@ -135,10 +135,6 @@ class AuthServiceProvider extends ServiceProvider
'ability' => config('cortex.a... | Drop rinvex/laravel-attributes reference as it's no longer required by this package | rinvex_cortex-auth | train | php |
fbbae9df78643cb4569ee81444ba8edf37f666ff | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,7 +14,7 @@
import sys
import os
-from .s3upload import __version__
+from s3upload import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these direc... | Fix import in sphinx conf. | mattaustin_django-storages-s3upload | train | py |
2330537ee70874f5182433428ac1fe69d875dca6 | diff --git a/fedmsg/tests/test_hub.py b/fedmsg/tests/test_hub.py
index <HASH>..<HASH> 100644
--- a/fedmsg/tests/test_hub.py
+++ b/fedmsg/tests/test_hub.py
@@ -21,8 +21,6 @@ import os
from time import sleep, time
from uuid import uuid4
-from unittest import TestCase
-
from moksha.tests.test_hub import simulate_reac... | Bootstrap for test_hub. | fedora-infra_fedmsg | train | py |
67a2264ac6b3f88ccc0addedb7578ab55b5a98e8 | diff --git a/src/Builder.php b/src/Builder.php
index <HASH>..<HASH> 100644
--- a/src/Builder.php
+++ b/src/Builder.php
@@ -220,7 +220,7 @@ class Builder implements BuilderInterface
};
$strategy = $closure->bindTo(null, $strategy[0]);
}
- $slug = $this->slug.Map::DELIMITER.$slug... | Now the Behavior gets created correctly when there is a single word slug. In that case the behavior slug is equal to the feature slug | zumba_swivel | train | php |
736c3c4ce5d133dd87a29c5e24f905199c10f759 | diff --git a/lib/tablelib.php b/lib/tablelib.php
index <HASH>..<HASH> 100644
--- a/lib/tablelib.php
+++ b/lib/tablelib.php
@@ -528,7 +528,7 @@ class flexible_table {
}
else {
// took out nowrap for accessibility, might need replacement
- echo '<th class="header ... | putting nowarp back into table with proper style | moodle_moodle | train | php |
219533dae0a46c328fbada86df568cbca270f63a | diff --git a/spec/cassette_spec.rb b/spec/cassette_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cassette_spec.rb
+++ b/spec/cassette_spec.rb
@@ -247,10 +247,6 @@ describe VCR::Cassette do
end
end
- after do
- VCR::Config.clear_hooks
- end
-
it "loads t... | Clear vcr hooks in global rspec hooks. | vcr_vcr | train | rb,rb |
a9a7a204faf77e23bfae3e1af11eef92a92c8b48 | diff --git a/src/Controllers/Upload.php b/src/Controllers/Upload.php
index <HASH>..<HASH> 100644
--- a/src/Controllers/Upload.php
+++ b/src/Controllers/Upload.php
@@ -103,8 +103,7 @@ class Upload implements ControllerProviderInterface, ServiceProviderInterface
);
}
... | force json response to send text/plain header | bolt_bolt | train | php |
673bd79b783c2237bfa822e1c8ffd9e8b02d89f0 | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -397,7 +397,9 @@ module.exports = {
else if (pageData.browsertime)
return pageData.browsertime[0].pageData.url;
else if (pageData.gpsi)
- return pageData.gpsi.id;
+ return pageData.gpsi.id;... | use the url from wpt if that is the only system that is used | sitespeedio_sitespeed.io | train | js |
b39f9d0736fba695a70b9cab2ab5b60c394c0d46 | diff --git a/salt/returners/mongo_future_return.py b/salt/returners/mongo_future_return.py
index <HASH>..<HASH> 100644
--- a/salt/returners/mongo_future_return.py
+++ b/salt/returners/mongo_future_return.py
@@ -263,9 +263,13 @@ def get_jids():
Return a list of job ids
'''
conn, mdb = _get_conn(ret=None)
... | Return dict from get_jids() in mongo_future returner | saltstack_salt | train | py |
8377b701c4ece415de6d6284ddcf5b8b57d91e55 | diff --git a/lib/base/RequestClient.js b/lib/base/RequestClient.js
index <HASH>..<HASH> 100644
--- a/lib/base/RequestClient.js
+++ b/lib/base/RequestClient.js
@@ -20,6 +20,7 @@ var RequestClient = function() {};
* @param {object} [opts.data] - The request data
* @param {int} [opts.timeout=30000] - The request timeo... | Add 'forever' as an option to RequestClient request method. (#<I>) | twilio_twilio-node | train | js |
9ecee5b375776e57e522f30aa92375dae9d61aae | diff --git a/troposphere/ssm.py b/troposphere/ssm.py
index <HASH>..<HASH> 100644
--- a/troposphere/ssm.py
+++ b/troposphere/ssm.py
@@ -108,6 +108,19 @@ class Targets(AWSProperty):
}
+class S3OutputLocation(AWSProperty):
+ props = {
+ 'OutputS3BucketName': (basestring, False),
+ 'OutputS3KeyPre... | Add OutputLocation to SSM::Association | cloudtools_troposphere | train | py |
6723e343532e115df5e8e4afec2130f67269aa3c | diff --git a/sensu_plugin/check.py b/sensu_plugin/check.py
index <HASH>..<HASH> 100644
--- a/sensu_plugin/check.py
+++ b/sensu_plugin/check.py
@@ -30,7 +30,7 @@ class SensuPluginCheck(SensuPlugin):
m = self.plugin_info['message']
if not m is None and not (m[0] is None and len(m) == 1):
- ... | Make compatible with python 2.x | sensu-plugins_sensu-plugin-python | train | py |
9501fe954e64d307e41807faa78879d8b1faf196 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -56,7 +56,7 @@ master_doc = 'index'
# General information about the project.
project = 'choix'
-copyright = '2015-2017, Lucas Maystre'
+copyright = '2015-2018, Lucas Maystre'
author = 'Lucas Maystre'
# ... | New release, testing auto-deploy with Travis CI.
The only change present in this release is a new format for the README file,
which will hopefully display better on PyPI. | lucasmaystre_choix | train | py,py |
8637b3e20a6791ac193aefecd25b81c0253746da | diff --git a/src/StreamWrapper.php b/src/StreamWrapper.php
index <HASH>..<HASH> 100644
--- a/src/StreamWrapper.php
+++ b/src/StreamWrapper.php
@@ -16,11 +16,13 @@ class StreamWrapper
* @param integer $timeout Timeout.
* @param integer $typeStream Type of stream.
*
- * @return stream
+ * @re... | BUGFIX: Without calling stream_set_timeout the timeout is not respected | repejota_phpnats | train | php |
3072c0afc8f37b55692ccc00ce978d1bc102a652 | diff --git a/github/teams.go b/github/teams.go
index <HASH>..<HASH> 100644
--- a/github/teams.go
+++ b/github/teams.go
@@ -452,7 +452,7 @@ func (s *TeamsService) IsTeamRepoBySlug(ctx context.Context, org, slug, owner, r
}
// TeamAddTeamRepoOptions specifies the optional parameters to the
-// TeamsService.AddTeamRep... | docs fix: correct a comment (#<I>) | google_go-github | train | go |
4b645d4fc77cb79ec015650df6ae08dc71f64dde | diff --git a/wdtk-examples/src/main/java/org/wikidata/wdtk/examples/bots/FixIntegerQuantityPrecisionsBot.java b/wdtk-examples/src/main/java/org/wikidata/wdtk/examples/bots/FixIntegerQuantityPrecisionsBot.java
index <HASH>..<HASH> 100644
--- a/wdtk-examples/src/main/java/org/wikidata/wdtk/examples/bots/FixIntegerQuantit... | Do not fetch data that we do not need here | Wikidata_Wikidata-Toolkit | train | java |
f8138ae62eb5e854d802a31b99b17e0bf4556064 | diff --git a/datatableview/helpers.py b/datatableview/helpers.py
index <HASH>..<HASH> 100644
--- a/datatableview/helpers.py
+++ b/datatableview/helpers.py
@@ -149,7 +149,7 @@ def format_date(format_string, localize=False, key=None):
value = key(value)
else:
value = kwargs.get('default... | Fix #<I> - Potential bad data
I think something else was potentially going on in #<I>. Perhaps the db
backend was storing a blank string instead of a null. | pivotal-energy-solutions_django-datatable-view | train | py |
17cd98d4be31170d7acd483d514cae16b52fcb56 | diff --git a/tests/test_account.py b/tests/test_account.py
index <HASH>..<HASH> 100644
--- a/tests/test_account.py
+++ b/tests/test_account.py
@@ -29,6 +29,7 @@ from canvasapi.outcome import OutcomeGroup, OutcomeLink
from canvasapi.outcome_import import OutcomeImport
from canvasapi.paginated_list import PaginatedList... | Finished writing the test method for get_scopes | ucfopen_canvasapi | train | py |
279d05d9d8963e9be5a54af7701f5ace9c9d2e5c | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -31,12 +31,17 @@ function Parser(options) {
this._onError = this._options.errorHandler || console.error;
this._fileCache = {};
this.dynamicIncludeSrc = [];
+ this.staticIncludeSrc = [];
}
Pars... | Add array of files included during preprocess | MarkBind_markbind | train | js |
e3eeb9c2e497d40c0361df536ea06ab2e574d2be | diff --git a/resources/lang/en-US/forms.php b/resources/lang/en-US/forms.php
index <HASH>..<HASH> 100644
--- a/resources/lang/en-US/forms.php
+++ b/resources/lang/en-US/forms.php
@@ -168,7 +168,7 @@ return [
'analytics' => [
'analytics_google' => 'Google Analytics code',
'analyt... | New translations forms.php (English) | CachetHQ_Cachet | train | php |
b8f342e7b8625dbb5f1829df850314720de479ac | diff --git a/data/handleDB.php b/data/handleDB.php
index <HASH>..<HASH> 100644
--- a/data/handleDB.php
+++ b/data/handleDB.php
@@ -910,5 +910,5 @@ class DbHandleApplication extends Application
}
}
-$application = new DbHandleApplication('Database handler for CompatInfo', '1.20.0');
+$application = new DbHandleA... | Bump new version <I> | llaville_php-compatinfo-db | train | php |
7f385a6bbf67ab780ab86c941cbd426f9b003834 | diff --git a/workflow/controller/steps.go b/workflow/controller/steps.go
index <HASH>..<HASH> 100644
--- a/workflow/controller/steps.go
+++ b/workflow/controller/steps.go
@@ -102,13 +102,18 @@ func (woc *wfOperationCtx) executeSteps(nodeName string, tmplCtx *templateresolu
childNodes = append(childNodes, node)
... | Use stored templates to raggregate step outputs (#<I>) | argoproj_argo | train | go |
f5e670b7a7975debd1138d0e919367a23bf59275 | diff --git a/event/src/test/java/com/proofpoint/event/client/DummyEventClass.java b/event/src/test/java/com/proofpoint/event/client/DummyEventClass.java
index <HASH>..<HASH> 100644
--- a/event/src/test/java/com/proofpoint/event/client/DummyEventClass.java
+++ b/event/src/test/java/com/proofpoint/event/client/DummyEvent... | Use V2 event naming for test and sample events | airlift_airlift | train | java,java |
74f1f2700eec82539ad6677bb57a8b59b5e67ff5 | diff --git a/connection.go b/connection.go
index <HASH>..<HASH> 100644
--- a/connection.go
+++ b/connection.go
@@ -655,20 +655,27 @@ func (c *Connection) checkExchanges() {
return err == nil
}
+ var updated bool
if c.readState() == connectionStartClose {
- if c.inbound.count() > 0 || !moveState(connectionStar... | Fix checkExchanges logic to call onCloseStateChange on all state changes | uber_tchannel-go | train | go |
df8d52dacb356904c583279dc28ad5cf05f90f18 | diff --git a/lib/sidekiq/limit_fetch.rb b/lib/sidekiq/limit_fetch.rb
index <HASH>..<HASH> 100644
--- a/lib/sidekiq/limit_fetch.rb
+++ b/lib/sidekiq/limit_fetch.rb
@@ -21,7 +21,7 @@ module Sidekiq::LimitFetch
end
def retrieve_work
- queue, job = redis_brpop *Queues.acquire, Sidekiq::BasicFetch::TIMEOUT
+ q... | Don't let #retrieve_work to short-circuit when there are no queues to handle. Fix #<I>
BIG | brainopia_sidekiq-limit_fetch | train | rb |
8ae7124bee1b9fc7344de0a7517ff96c62ed0f3b | diff --git a/wfdb/io/record.py b/wfdb/io/record.py
index <HASH>..<HASH> 100644
--- a/wfdb/io/record.py
+++ b/wfdb/io/record.py
@@ -2048,17 +2048,14 @@ def sampfreq(record_name, pn_dir=None):
>>> ECG 4 500
"""
- dir_name, base_record_name = os.path.split(record_name)
- dir_name = os.path.abspath(dir... | Refactors code / removes previously used code | MIT-LCP_wfdb-python | train | py |
21afda2506f8dd0ccb22fb30a650d2d5754ad404 | diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go
index <HASH>..<HASH> 100644
--- a/wallet/wallet_test.go
+++ b/wallet/wallet_test.go
@@ -87,7 +87,7 @@ func TestBtcAddressSerializer(t *testing.T) {
func TestWalletCreationSerialization(t *testing.T) {
createdAt := &BlockStamp{}
w1, err := NewWallet("banana... | Fix tests for new NewWallet func signature. | btcsuite_btcwallet | train | go |
013cb6d653cb886ac88032347b7c8e34726e007d | diff --git a/faker/providers/phone_number/no_NO/__init__.py b/faker/providers/phone_number/no_NO/__init__.py
index <HASH>..<HASH> 100644
--- a/faker/providers/phone_number/no_NO/__init__.py
+++ b/faker/providers/phone_number/no_NO/__init__.py
@@ -4,7 +4,7 @@ from .. import Provider as PhoneNumberProvider
class Provi... | Correct number of digits in norwegian phonenumbers (#<I>) | joke2k_faker | train | py |
6829ae96359b1e65ef081b767d8148c2941dbc0f | diff --git a/examples/payments/CreditCard/createUi.php b/examples/payments/CreditCard/createUi.php
index <HASH>..<HASH> 100644
--- a/examples/payments/CreditCard/createUi.php
+++ b/examples/payments/CreditCard/createUi.php
@@ -48,7 +48,7 @@ if (strpos($gatewayEnv, 'SG') !== false) {
}
if (isset($_GET['amount'])) {
... | Change amount for non3ds tests | wirecard_paymentSDK-php | train | php |
2905e4f3d1776614e8700e5202dcabda970f7509 | diff --git a/src/lib/localize.js b/src/lib/localize.js
index <HASH>..<HASH> 100644
--- a/src/lib/localize.js
+++ b/src/lib/localize.js
@@ -1,5 +1,6 @@
import PropTypes from 'prop-types';
import React, {Component} from 'react';
+import {getDisplayName} from 'lib';
export default function localize(Comp) {
class L... | Make names of localized components more descriptive | plotly_react-chart-editor | train | js |
68686e2292b022e4d94f44e9e433d0ada9747a8b | diff --git a/paypal/pro/helpers.py b/paypal/pro/helpers.py
index <HASH>..<HASH> 100644
--- a/paypal/pro/helpers.py
+++ b/paypal/pro/helpers.py
@@ -131,7 +131,11 @@ class PayPalWPP(object):
raise DeprecationWarning
def getTransactionDetails(self, params):
- raise NotImplementedError
+ defau... | Slip on copy/paste docs. Added support for GetTransactionDetails | spookylukey_django-paypal | train | py |
0d3afedf02b64fcf4dbff3b1a723898a2285e59e | diff --git a/client/html/lib/classic/js/arcavias.js b/client/html/lib/classic/js/arcavias.js
index <HASH>..<HASH> 100644
--- a/client/html/lib/classic/js/arcavias.js
+++ b/client/html/lib/classic/js/arcavias.js
@@ -193,7 +193,7 @@ jQuery(document).ready( function($) {
var resize = function() {
var jqwin = $(wi... | Displays basket in the middle of the viewport | Arcavias_arcavias-core | train | js |
465e1456b668eab18ac1ba73592073a923aa0b16 | diff --git a/tests/acceptance/connect-e2e-test.js b/tests/acceptance/connect-e2e-test.js
index <HASH>..<HASH> 100644
--- a/tests/acceptance/connect-e2e-test.js
+++ b/tests/acceptance/connect-e2e-test.js
@@ -49,6 +49,27 @@ test('should subscribe and unsubscribe when components are created/destroyed', f
});
});
+te... | TESTS: added test to confirm unsubscribe is fired from willDestroy | ember-redux_ember-redux | train | js |
991f9943ab2c7621fba4234d366beac4cfbb23b5 | diff --git a/src/core/utils/index.js b/src/core/utils/index.js
index <HASH>..<HASH> 100644
--- a/src/core/utils/index.js
+++ b/src/core/utils/index.js
@@ -42,4 +42,22 @@ utils.assetCache = new (require('../../loader/AssetCache'))();
*/
utils.parseTextKeys = require('./parseTextKeys');
+/**
+ * Convert degrees to r... | added some utils to convert degrees and radians | Nazariglez_perenquen | 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.