hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
c233151980e71a457f5bd216ba79af4f235eed59 | diff --git a/test_autofit/graphical/hierarchical/test_declarative.py b/test_autofit/graphical/hierarchical/test_declarative.py
index <HASH>..<HASH> 100644
--- a/test_autofit/graphical/hierarchical/test_declarative.py
+++ b/test_autofit/graphical/hierarchical/test_declarative.py
@@ -1,5 +1,11 @@
+import numpy as np
+imp... | construct data for sampled gaussians | rhayes777_PyAutoFit | train |
4cdb7ee51db6ec544382b75cda3685ae39c4ec8f | diff --git a/src/transformers/models/marian/modeling_tf_marian.py b/src/transformers/models/marian/modeling_tf_marian.py
index <HASH>..<HASH> 100644
--- a/src/transformers/models/marian/modeling_tf_marian.py
+++ b/src/transformers/models/marian/modeling_tf_marian.py
@@ -151,11 +151,12 @@ class TFMarianSinusoidalPositio... | fix #<I> (#<I>) | huggingface_pytorch-pretrained-BERT | train |
1e33db99be22959b7a407a977ae199ffeea3a3d0 | diff --git a/extensions/get-the-image.php b/extensions/get-the-image.php
index <HASH>..<HASH> 100644
--- a/extensions/get-the-image.php
+++ b/extensions/get-the-image.php
@@ -186,7 +186,7 @@ function get_the_image( $args = array() ) {
$out = array();
/* Get the image attributes. */
- $atts = wp_kses_hair( $... | Allow 'https' when separating the image attributes into an array via wp_kses_hair(). | justintadlock_hybrid-core | train |
546db693fbe41b1bb8e2335ac05a74485b75580f | diff --git a/railties/test/generators/namespaced_generators_test.rb b/railties/test/generators/namespaced_generators_test.rb
index <HASH>..<HASH> 100644
--- a/railties/test/generators/namespaced_generators_test.rb
+++ b/railties/test/generators/namespaced_generators_test.rb
@@ -163,7 +163,11 @@ class NamespacedMailerGe... | Fixed failing tests for namespaced_generators_test. in <I> | rails_rails | train |
afb548a198d26c8fa0cd3597d6a7541c0cf4a960 | diff --git a/src/base/DelegateFocusMixin.js b/src/base/DelegateFocusMixin.js
index <HASH>..<HASH> 100644
--- a/src/base/DelegateFocusMixin.js
+++ b/src/base/DelegateFocusMixin.js
@@ -45,7 +45,7 @@ export default function DelegateFocusMixin(Base) {
* If someone tries to put the focus on us, delegate the focus to t... | Resolve new type errors caught by TypeScript <I>. | elix_elix | train |
4601f7315d4e0e25841cdeaf05e236645e5b23c7 | diff --git a/hive/src/com/esri/hadoop/hive/ST_AsGeoJson.java b/hive/src/com/esri/hadoop/hive/ST_AsGeoJson.java
index <HASH>..<HASH> 100644
--- a/hive/src/com/esri/hadoop/hive/ST_AsGeoJson.java
+++ b/hive/src/com/esri/hadoop/hive/ST_AsGeoJson.java
@@ -3,7 +3,6 @@ package com.esri.hadoop.hive;
import org.apache.commons.... | ST_AsGeoJSON: Construct onetime a single Text object to return | Esri_spatial-framework-for-hadoop | train |
726b47b691973d5969d269a0d421be9afe43442f | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,22 @@
Toolchain to define and verify REST API in BDD.
+Table of Contents
+=================
+
+ * [bddrest](#bddrest)
+ * [Branches](#branches)
+ * [master](#master)
+ * [develop](#devel... | Mentioning the documentation system in the README.md, close #8 | Carrene_bddrest | train |
ac90ac47e3f19c9b072e22f0f10fc55fccf0564c | diff --git a/pypika/__init__.py b/pypika/__init__.py
index <HASH>..<HASH> 100644
--- a/pypika/__init__.py
+++ b/pypika/__init__.py
@@ -72,4 +72,4 @@ from .utils import (
__author__ = "Timothy Heys"
__email__ = "theys@kayak.com"
-__version__ = "0.11.1"
+__version__ = "0.11.2" | bumped version to <I> | kayak_pypika | train |
04540aaded8a6585a1f695fd8d1f3311235aa270 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -68,6 +68,7 @@ var context = {};
* function test () { getOverload(arguments) };
* test('hello', 'world') // 'string,string'
* test(function() {}, 1) // 'function,number'
+* test('hello', 123, {foo: 'bar'}, ['baz'], [{quz: '... | Addeds support for collections in .series() and .parallel() | hash-bang_async-chainable | train |
587f2ceabbc9e2608ce58256c2827a707e6f5530 | diff --git a/opal/corelib/string.rb b/opal/corelib/string.rb
index <HASH>..<HASH> 100644
--- a/opal/corelib/string.rb
+++ b/opal/corelib/string.rb
@@ -637,7 +637,7 @@ class String
def partition(sep)
%x{
- var i, m, sep;
+ var i, m;
if (sep.$$is_regexp) {
m = sep.exec(self);
@@ -736... | String#rpartition fully compliant with rubyspec | opal_opal | train |
c8fa0f6d86e75c841b1cbdbf436e15396e93bf8b | diff --git a/examples/bartlett1932/experiment.py b/examples/bartlett1932/experiment.py
index <HASH>..<HASH> 100644
--- a/examples/bartlett1932/experiment.py
+++ b/examples/bartlett1932/experiment.py
@@ -45,14 +45,6 @@ class Bartlett1932(Experiment):
else:
self.recruiter().close_recruitment()
- ... | bartlett: delete unused bonus method | Dallinger_Dallinger | train |
f981521ec51f980c6da94e695e80ed03e0dc3a89 | diff --git a/lib/lobot/version.rb b/lib/lobot/version.rb
index <HASH>..<HASH> 100644
--- a/lib/lobot/version.rb
+++ b/lib/lobot/version.rb
@@ -1,3 +1,3 @@
module Lobot
- VERSION = "0.9.6"
+ VERSION = "0.9.7"
end | bumped gem version to <I> | pivotal-legacy_lobot | train |
19db0901e33d0318a9a24ee5250ea8b65abc1d00 | diff --git a/test/cri-containerd/container_test.go b/test/cri-containerd/container_test.go
index <HASH>..<HASH> 100644
--- a/test/cri-containerd/container_test.go
+++ b/test/cri-containerd/container_test.go
@@ -218,8 +218,8 @@ func Test_RunContainer_Events_LCOW(t *testing.T) {
}
func Test_RunContainer_VirtualDevice... | update MMIO annotation tests to only run on OS builds that support the schema | Microsoft_hcsshim | train |
a229749738efa1c13092991d5a7b3819dabed5b8 | diff --git a/fahrschein/src/main/java/org/zalando/fahrschein/domain/Metadata.java b/fahrschein/src/main/java/org/zalando/fahrschein/domain/Metadata.java
index <HASH>..<HASH> 100644
--- a/fahrschein/src/main/java/org/zalando/fahrschein/domain/Metadata.java
+++ b/fahrschein/src/main/java/org/zalando/fahrschein/domain/Met... | Fix Typo in metadata occurred_at | zalando-nakadi_fahrschein | train |
eb3d242c116f118a673db8bc929d16d701e5daab | diff --git a/lib/graphql/execution/interpreter/runtime.rb b/lib/graphql/execution/interpreter/runtime.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/execution/interpreter/runtime.rb
+++ b/lib/graphql/execution/interpreter/runtime.rb
@@ -439,15 +439,10 @@ module GraphQL
end
def dead_result?(selecti... | Recursively set graphql_dead so that checking is faster | rmosolgo_graphql-ruby | train |
e227d84a65c940f53481e7dc8b750086e1df716f | diff --git a/lib/griddler/adapters/mandrill_adapter.rb b/lib/griddler/adapters/mandrill_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/griddler/adapters/mandrill_adapter.rb
+++ b/lib/griddler/adapters/mandrill_adapter.rb
@@ -40,8 +40,8 @@ module Griddler
end
def ccs(event)
- found = event[:head... | Mandrill inbound headers are a hash not an array | thoughtbot_griddler | train |
768fb8118645e0100cf1ef1e28d1ee4470c144b4 | diff --git a/lib/fluent/plugin_helper/child_process.rb b/lib/fluent/plugin_helper/child_process.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin_helper/child_process.rb
+++ b/lib/fluent/plugin_helper/child_process.rb
@@ -122,7 +122,7 @@ module Fluent
@_child_process_kill_timeout = CHILD_PROCESS_DEFAULT_K... | MONOTONIC_RAW is better, but only for Linux | fluent_fluentd | train |
4edfecd4e28a4eb0c4f01e4c1d8491019bc9cd0f | diff --git a/spec/rails/config/environment.rb b/spec/rails/config/environment.rb
index <HASH>..<HASH> 100644
--- a/spec/rails/config/environment.rb
+++ b/spec/rails/config/environment.rb
@@ -1,5 +1,5 @@
RAILS_ENVIRONMENT_LOADED = true
require 'ostruct'
-Rails = OpenStruct.new([:logger])
+Rails = OpenStruct.new
Rai... | Make test env work in ruby <I> | kovyrin_loops | train |
3233c318ea567d732c7905532ad77946690eb26e | diff --git a/p2p/switch.go b/p2p/switch.go
index <HASH>..<HASH> 100644
--- a/p2p/switch.go
+++ b/p2p/switch.go
@@ -350,12 +350,10 @@ func (sw *Switch) IsDialing(id ID) bool {
// DialPeersAsync dials a list of peers asynchronously in random order (optionally, making them persistent).
func (sw *Switch) DialPeersAsync(a... | only log errors, dial correct addresses
"this means if there are lookup errors or typos in the persistent_peers,
tendermint will fail to start ? didn't some one ask for us not to do
this previously ?" | tendermint_tendermint | train |
fb193ac89d29b6e83eb0368605054ab32a776aac | diff --git a/lib/Elastica/Search.php b/lib/Elastica/Search.php
index <HASH>..<HASH> 100644
--- a/lib/Elastica/Search.php
+++ b/lib/Elastica/Search.php
@@ -159,6 +159,185 @@ class Elastica_Search {
* @param int $limit OPTIONAL
* @return Elastica_ResultSet
*/
+ public function search($query, $limit... | Update lib/Elastica/Search.php | ruflin_Elastica | train |
0254c1f837b191d0a84e28505ea46c86718c2fe0 | diff --git a/odl/space/cartesian.py b/odl/space/cartesian.py
index <HASH>..<HASH> 100644
--- a/odl/space/cartesian.py
+++ b/odl/space/cartesian.py
@@ -606,7 +606,7 @@ class Ntuples(NtuplesBase):
return self.Vector(self, arr)
else:
- raise TypeError("Cannot provide both inp... | Changed `TypeError` -> `ValueError` in `element()` if both data and pointer are given | odlgroup_odl | train |
062d568766db0f210ca14ee523b647d19458d171 | diff --git a/lib/fishback.js b/lib/fishback.js
index <HASH>..<HASH> 100644
--- a/lib/fishback.js
+++ b/lib/fishback.js
@@ -1,12 +1,11 @@
var http = require('http');
-var sys = require('sys');
var url = require('url');
var VERBOSE = true;
/**
* Returns a closure that, when called, returns the number of seconds... | Remove; "sys" not used anymore | ithinkihaveacat_node-fishback | train |
09a2f8e950beb7ffc91be5f8f398e3f4115972a1 | diff --git a/src/java/com/threerings/media/animation/ExplodeAnimation.java b/src/java/com/threerings/media/animation/ExplodeAnimation.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/media/animation/ExplodeAnimation.java
+++ b/src/java/com/threerings/media/animation/ExplodeAnimation.java
@@ -1,5 +1,5 @@
... | Initialize the animation starting time when the animation is first ticked
rather than requiring that it be set via setStartTime().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train |
b6f3800a4b64afd7a1d61708dd57f554d58ef6d2 | diff --git a/lxd/certificates.go b/lxd/certificates.go
index <HASH>..<HASH> 100644
--- a/lxd/certificates.go
+++ b/lxd/certificates.go
@@ -273,14 +273,14 @@ func updateCertificateCache(d *Daemon) {
// "500":
// $ref: "#/responses/InternalServerError"
func certificatesPost(d *Daemon, r *http.Request) response.R... | lxd/certificates: Comment ending consistency | lxc_lxd | train |
7cd75ccbf58c5f01441669503d5da82a5d1f33d4 | diff --git a/GPy/likelihoods/likelihood.py b/GPy/likelihoods/likelihood.py
index <HASH>..<HASH> 100644
--- a/GPy/likelihoods/likelihood.py
+++ b/GPy/likelihoods/likelihood.py
@@ -142,7 +142,12 @@ class Likelihood(Parameterized):
"""
#conditional_mean: the edpected value of y given some f, under this l... | Stablised other quadrature (should speed things up also), added sampling ability to poisson | SheffieldML_GPy | train |
66b6b4aa6ee7c4461a4e43b2512e76ba3f04230f | diff --git a/kafka/client.py b/kafka/client.py
index <HASH>..<HASH> 100644
--- a/kafka/client.py
+++ b/kafka/client.py
@@ -138,7 +138,8 @@ class KafkaClient(object):
Arguments:
payloads: list of object-like entities with a topic (str) and
- partition (int) attribute
+ partition... | Fix KafkaClient request / response ordering | dpkp_kafka-python | train |
dfc0eb6ba5b1e1eb89dcc3aa56f0bb7268b36d7c | diff --git a/lxd/storage_utils.go b/lxd/storage_utils.go
index <HASH>..<HASH> 100644
--- a/lxd/storage_utils.go
+++ b/lxd/storage_utils.go
@@ -6,53 +6,9 @@ import (
"golang.org/x/sys/unix"
- "github.com/lxc/lxd/lxd/instance"
- driver "github.com/lxc/lxd/lxd/storage"
"github.com/lxc/lxd/shared"
- "github.com/lxc... | lxd/storage/utils: Remove unused functions | lxc_lxd | train |
8286ba8a07e37e993a55751f6e2fffd18a4b41f1 | diff --git a/spec/watirspec/window_switching_spec.rb b/spec/watirspec/window_switching_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/watirspec/window_switching_spec.rb
+++ b/spec/watirspec/window_switching_spec.rb
@@ -21,6 +21,7 @@ describe 'Browser' do
end
it 'only returns windows matching the given selec... | fix frequent race condition in spec on Firefox | watir_watir | train |
4077f6011814ef7db2a36671864beed21034ecdb | diff --git a/guava/src/com/google/common/base/CharMatcher.java b/guava/src/com/google/common/base/CharMatcher.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/base/CharMatcher.java
+++ b/guava/src/com/google/common/base/CharMatcher.java
@@ -181,8 +181,8 @@ public abstract class CharMatcher implements ... | Update CharMatcher.java INVISIBLE for Unicode <I>,
u<I> added, new char, gc = format
u<I>b4, u<I>b5 removed, changed gc from Cf to Mn
-------------
Created by MOE: <URL> | google_guava | train |
d742ec145ec1bbf1024843b295da5af1e54f9ea3 | diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py
index <HASH>..<HASH> 100644
--- a/astroid/scoped_nodes.py
+++ b/astroid/scoped_nodes.py
@@ -822,7 +822,8 @@ class Function(Statement, Lambda):
c = Class('temporary_class', None)
c.hide = True
c.parent = sel... | Filter out YES nodes when creating a temporary class for the with_metaclass hack.
Having an YES node in a class bases will lead to a crash with a TypeError
when trying to obtain the ancestors of the given class, because .ancestors()
will try to iterate each inferred node from the bases, thus will try to
iterate over a... | PyCQA_astroid | train |
233df1b323828b5923506da195fa021391656027 | diff --git a/treeherder/etl/buildapi.py b/treeherder/etl/buildapi.py
index <HASH>..<HASH> 100644
--- a/treeherder/etl/buildapi.py
+++ b/treeherder/etl/buildapi.py
@@ -367,12 +367,6 @@ class PendingRunningTransformerMixin(object):
'artifacts': [
{
... | Bug <I> - Store less of the raw pending/running job json blob
Stops storing the raw json from builds-pending.js completely, and halves
the size of the blob stored from builds-running.js (by switching to a
whitelist of important properties). | mozilla_treeherder | train |
27c91c57d5cab2b2c0d74a753a74304a4feb576f | diff --git a/lib/db/transactions.go b/lib/db/transactions.go
index <HASH>..<HASH> 100644
--- a/lib/db/transactions.go
+++ b/lib/db/transactions.go
@@ -859,7 +859,7 @@ func (t readWriteTransaction) removeFromGlobal(gk, keyBuf, folder, device, file
continue
}
if fv, have := fl.Get(dev[:]); Need(removedFV, have... | lib/db: Remove need for the right dev removing globals (fixes #<I>) (#<I>) | syncthing_syncthing | train |
07afbd6fbf75345ade7297162fe926a667b0f1e7 | diff --git a/djcelery/tests/test_views.py b/djcelery/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/djcelery/tests/test_views.py
+++ b/djcelery/tests/test_views.py
@@ -1,27 +1,33 @@
import sys
+from django.core.urlresolvers import reverse
from django.http import HttpResponse
from django.test.testcases impor... | <I>% coverage for djcelery.views (which makes <I>% coverage overall) | celery_django-celery | train |
cdb723ca5959afabb7658438bf07930987af9ab1 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ You will also need to compile the latest [SIPp from Github](https://github.com/s
* Feature: Add support for UAS actions (waiting for an incoming call)
* Bugfix: Much improved support for send... | Rework the “register” command to be complete | mojolingo_sippy_cup | train |
772fd8654269531b62946b502800298458832d1c | diff --git a/lib/draper/finders.rb b/lib/draper/finders.rb
index <HASH>..<HASH> 100755
--- a/lib/draper/finders.rb
+++ b/lib/draper/finders.rb
@@ -18,13 +18,7 @@ module Draper
end
def method_missing(method, *args, &block)
- begin
- source_class
- rescue NameError
- return super
- ... | Simplify Finders#method_missing | drapergem_draper | train |
d5bef9f99a9523d90237b444e39e624924d72f3c | diff --git a/tq/basic_download.go b/tq/basic_download.go
index <HASH>..<HASH> 100644
--- a/tq/basic_download.go
+++ b/tq/basic_download.go
@@ -270,7 +270,7 @@ func configureBasicDownloadAdapter(m *Manifest) {
bd.transferImpl = bd
return bd
case Upload:
- panic("Should never ask this func to upload")
+ pa... | tq: make panic messages consistent
Several panic() calls in the basic and tus.io transfer
queue adapaters have very similar messages, which we can
make more consistent with each other; this will ease
translation support when we make these messages translatable
in a subsequent commit. | git-lfs_git-lfs | train |
d27f98e11af85f70841c90004cd2c00758defaff | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -24,6 +24,7 @@ module.exports = function(grunt) {
var files_js = [
'src/contrib/*.js',
'src/*.js',
+ '!src/.wrapper.js',
'!src/selectize.js',
'!src/selectize.jquery.js',
'src/selectize.js', | Exclude .wrapper.js from build. | selectize_selectize.js | train |
5da8d8414836ff3089f19deee11550d1c0409bc7 | diff --git a/src/main/java/net/finmath/montecarlo/interestrate/products/indices/LIBORIndex.java b/src/main/java/net/finmath/montecarlo/interestrate/products/indices/LIBORIndex.java
index <HASH>..<HASH> 100755
--- a/src/main/java/net/finmath/montecarlo/interestrate/products/indices/LIBORIndex.java
+++ b/src/main/java/ne... | Index checkes curves name for equality. | finmath_finmath-lib | train |
e4f13ec560d997164ff2906fd3928efbfc96b51c | diff --git a/lib/objectFactory.js b/lib/objectFactory.js
index <HASH>..<HASH> 100644
--- a/lib/objectFactory.js
+++ b/lib/objectFactory.js
@@ -61,10 +61,7 @@ var create = function (params) {
// Add the remaining data. The constructors might mutate this and we only
// want to add what is left
... | Revert change where existing props wouldn't be overwritten (default props got unaltered) | jhsware_component-registry | train |
e510ec093064bcbbf16a93a92ff439db69b6a965 | diff --git a/wdtk-client/src/main/java/org/wikidata/wdtk/client/JsonSerializationAction.java b/wdtk-client/src/main/java/org/wikidata/wdtk/client/JsonSerializationAction.java
index <HASH>..<HASH> 100644
--- a/wdtk-client/src/main/java/org/wikidata/wdtk/client/JsonSerializationAction.java
+++ b/wdtk-client/src/main/java... | Use Object.equals for string comparison
Before the ref equality comparator was used, presumably the code
was not working as intended. | Wikidata_Wikidata-Toolkit | train |
ca80c577975d7a3ae02b3cf7a473b01788256e1e | diff --git a/spring-cloud-netflix-turbine-stream/src/main/java/org/springframework/cloud/netflix/turbine/stream/TurbineStreamConfiguration.java b/spring-cloud-netflix-turbine-stream/src/main/java/org/springframework/cloud/netflix/turbine/stream/TurbineStreamConfiguration.java
index <HASH>..<HASH> 100644
--- a/spring-cl... | Adds newline to turbine stream
See gh-<I> | spring-cloud_spring-cloud-netflix | train |
21e426be712880729255652a1f07064d509f6653 | diff --git a/lib/mom/slot_load.rb b/lib/mom/slot_load.rb
index <HASH>..<HASH> 100644
--- a/lib/mom/slot_load.rb
+++ b/lib/mom/slot_load.rb
@@ -1,6 +1,46 @@
module Mom
+ # SlotLoad is an abstract base class for moving data into a slot
+ # A Slot is the basically an instance variable, but it must be of known type
+ ... | finishes local assignments to_mom | ruby-x_rubyx | train |
acab3da24a215a9befd30cda0f38c015f94f16fb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -22,7 +22,7 @@
* @since 1.0.6 Added prebuild tasks to enable special customization before zip and build are made.
* @since 1.0.7 Added prezip taks to enable special customization before zip is made.
* @since 1.1.0 Node c... | Prepares Wordpress.ORG svn project. | 10quality_gulp-wpmvc | train |
51a18f4eead23afbdd040e1b36a6a7b405b40f4a | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -8,21 +8,21 @@ define('CONFIG_DEV', 1);
/** Constant to define test stage at web-application production status */
define('CONFIG_TEST', 2);
/** Constant to define final stage at web-application produ... | Removed unused ConfigType class
Added global constants to web-application development stages | samsonos_php_core | train |
93db3e60813e516311400090f215597901c52aaa | diff --git a/tests/AppTest.php b/tests/AppTest.php
index <HASH>..<HASH> 100644
--- a/tests/AppTest.php
+++ b/tests/AppTest.php
@@ -8,6 +8,7 @@
*/
namespace Slim\Tests;
+use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterfac... | AppTest: Assert that the constructor doesn't use ContainerInterface as service collector | slimphp_Slim | train |
8eb15a38ef88b85377cc1ccd5376abf09bde0d91 | diff --git a/lib/enrollib.php b/lib/enrollib.php
index <HASH>..<HASH> 100644
--- a/lib/enrollib.php
+++ b/lib/enrollib.php
@@ -789,6 +789,7 @@ function enrol_get_all_users_courses($userid, $onlyactive = false, $fields = NUL
$basefields = array('id', 'category', 'sortorder',
'shortname', 'fullname', 'i... | MDL-<I> user: Fix debugging in core_user_get_users_by_field
The course object returned by enrol_get_all_users_courses does not include the defaultgroupingid.
This course object is passed to user_get_user_details - which does need
the defaultgroupingid.
All the other group info is returned (groupmode) etc - so it mak... | moodle_moodle | train |
fb100b165adbb00e6331ae0a5594f893da844d7c | diff --git a/src/path.js b/src/path.js
index <HASH>..<HASH> 100644
--- a/src/path.js
+++ b/src/path.js
@@ -10,7 +10,7 @@ process.cwd = () => '/';
* a few things we need for the browser environment.
*/
const nodePath = require('path');
-const filerPath = Object.create(nodePath);
+const filerPath = Object.assign({},... | refactor: use Object.assign instead of Object.create for cloning nodePath
because Object.keys omits many of the methods on the filerPath module when using Object.create | filerjs_filer | train |
28ecac30bfdff933c5404a9d4d74bc98d9f5bcc3 | diff --git a/dist/js/dist.js b/dist/js/dist.js
index <HASH>..<HASH> 100644
--- a/dist/js/dist.js
+++ b/dist/js/dist.js
@@ -76,7 +76,7 @@
repo: "undermore",
branch: "dev",
process: function(text,filePath){
- if(filePath.indexOf('.js')===-1 && filePath.indexOf('_source')===-1){
+ ... | correcting dist build (for source files) | atomantic_undermore | train |
e56414cdad16eb35cbeaffed70c2ed38dd60e528 | diff --git a/src/Service/Event.php b/src/Service/Event.php
index <HASH>..<HASH> 100644
--- a/src/Service/Event.php
+++ b/src/Service/Event.php
@@ -64,7 +64,7 @@ class Event
}
// Finally, look for app email types
- $sPath = APPPATH . 'config/event_types.php';
+ $sPath = NAILS_APP_PATH ... | chore: Using NAILS_APP_PATH instead of APPPATH | nails_module-event | train |
c089a676d9cce63c7dd9a310b004e28799a7d222 | diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go
index <HASH>..<HASH> 100644
--- a/cmd/gobgpd/main.go
+++ b/cmd/gobgpd/main.go
@@ -181,7 +181,7 @@ func main() {
"Topic": "Config",
}).Info("Finished reading the config file")
- c := config.ApplyInitialConfig(bgpServer, initialConfig, opts.GracefulRestart)
+ cu... | Rename c to currentConfig to follow naming pattern | osrg_gobgp | train |
9ae07ebd0320f1f4edd070a07ffde95192340729 | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php b/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php
+++ b/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php
@@ -12,7 +12,7 @@ namespace TYPO3\Flow\Core;
*/
// Those are nee... | TASK: Fix styling issue in Bootstrap.php | neos_flow-development-collection | train |
8da9026e575922b717a1de3c8d14c0ddf2ca4074 | diff --git a/cypress/integration/admin/formBuilder/forms/createForm.spec.js b/cypress/integration/admin/formBuilder/forms/createForm.spec.js
index <HASH>..<HASH> 100644
--- a/cypress/integration/admin/formBuilder/forms/createForm.spec.js
+++ b/cypress/integration/admin/formBuilder/forms/createForm.spec.js
@@ -14,9 +14,... | test: call `click` on the found button | Webiny_webiny-js | train |
2975b2853c245460b2cc35f97cb999950de19413 | diff --git a/tests/ui.js b/tests/ui.js
index <HASH>..<HASH> 100644
--- a/tests/ui.js
+++ b/tests/ui.js
@@ -51,11 +51,11 @@ test('ui', t => {
tester('example/area-adv.js', 'Area Advanced', {delay: 500, delta: 100})
.then(() => tester('example/area-scrolling.js', 'Area window',
{delay: 500, delta: 100}))
-... | Finally give up (for now) with running control gallery ui test on CI | parro-it_libui-napi | train |
53fc70595fb72b8f1df2497fc70d401ae74ff6b2 | diff --git a/differentiate/differentiate.py b/differentiate/differentiate.py
index <HASH>..<HASH> 100644
--- a/differentiate/differentiate.py
+++ b/differentiate/differentiate.py
@@ -58,7 +58,7 @@ def main():
# construct the argument parse and parse the arguments
ap = ArgumentParser(usage=usage, description... | Removed need to call --file before entering file paths from command line | mrstephenneal_differentiate | train |
a4011ed4ce379f54e5d8e2c4c9a5494f6b97704a | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/GuardedByBinder.java b/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/GuardedByBinder.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/GuardedByBinder.java
+++ b/core... | Fix a NPE in GuardedByBinder
When searching enclosing scopes for a GuardedBy expression, skip over
initializer blocks.
Resolves google/error-prone#<I>
RELNOTES: N/A
-------------
Created by MOE: <URL> | google_error-prone | train |
d355a8647fa8f6bae03366be3211f5164f93e200 | diff --git a/modules/webbee/webbee.go b/modules/webbee/webbee.go
index <HASH>..<HASH> 100644
--- a/modules/webbee/webbee.go
+++ b/modules/webbee/webbee.go
@@ -125,7 +125,6 @@ func (mod *WebBee) Action(action modules.Action) []modules.Placeholder {
return outs
}
- log.Printf("Response: %+v\n", b)
mod.trigge... | * Less verbosity. | muesli_beehive | train |
f66071242cb7991d32f099df03925f6449adb777 | diff --git a/lib/jss/client.rb b/lib/jss/client.rb
index <HASH>..<HASH> 100644
--- a/lib/jss/client.rb
+++ b/lib/jss/client.rb
@@ -46,7 +46,7 @@ module JSS
###
class Client
- #####################################
+
### Class Constants
#####################################
@@ -203,7 +203,7 @@ modu... | client.rb. If no client config plist, don't return any port. | PixarAnimationStudios_ruby-jss | train |
b89fe6fc82254fdcfbb356125ee5cbb768310959 | diff --git a/jawn-core/src/main/java/net/javapla/jawn/core/Result.java b/jawn-core/src/main/java/net/javapla/jawn/core/Result.java
index <HASH>..<HASH> 100644
--- a/jawn-core/src/main/java/net/javapla/jawn/core/Result.java
+++ b/jawn-core/src/main/java/net/javapla/jawn/core/Result.java
@@ -9,9 +9,12 @@ import java.util... | too many async results throws <I> to the client | MTDdk_jawn | train |
573d1831e04b10a04fb71b4617c2ddc1e7b0d471 | diff --git a/packages/vuetifyjs.com/lang/en/directives/Resizing.js b/packages/vuetifyjs.com/lang/en/directives/Resizing.js
index <HASH>..<HASH> 100644
--- a/packages/vuetifyjs.com/lang/en/directives/Resizing.js
+++ b/packages/vuetifyjs.com/lang/en/directives/Resizing.js
@@ -10,6 +10,7 @@ export default {
}
}],
... | added description for resize callback | vuetifyjs_vuetify | train |
993ab0825cc4d47f99490a5cf6255bf6730c580f | diff --git a/doc/source/whatsnew/v1.1.1.rst b/doc/source/whatsnew/v1.1.1.rst
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v1.1.1.rst
+++ b/doc/source/whatsnew/v1.1.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
- Fixed regression in :class:`pandas.core.groupby.RollingGroupby` where column selection was ignored (:i... | BUG: DataFrame.apply with func altering row in-place (#<I>) | pandas-dev_pandas | train |
ac00b48025d38819615c926ad394a23948d6f914 | diff --git a/lib/figaro/application.rb b/lib/figaro/application.rb
index <HASH>..<HASH> 100644
--- a/lib/figaro/application.rb
+++ b/lib/figaro/application.rb
@@ -5,6 +5,8 @@ require "figaro/error"
module Figaro
class Application
+ FIGARO_ENV_PREFIX = "FIGARO_"
+
attr_writer :path, :environment
def... | Empower Figaro to set configuration values that it's already set
This is appropriate in a situation where a process like Rake may
initialize the Rails process twice, in two different environments. The
second initialization should trump the first. | NYULibraries_figs | train |
77b396aee2c1a20c10bbb9eb7dda009866818cd0 | diff --git a/provision/local/router_test.go b/provision/local/router_test.go
index <HASH>..<HASH> 100644
--- a/provision/local/router_test.go
+++ b/provision/local/router_test.go
@@ -38,6 +38,7 @@ func (s *S) TestAddRoute(c *gocheck.C) {
func (s *S) TestRestartRouter(c *gocheck.C) {
tmpdir, err := commandmocker.Add(... | provision/local: removing commandmocker for router test. | tsuru_tsuru | train |
c61673e35aa56624471bffb0b91767b3d54cbbde | diff --git a/lib/epubmaker/epubv3.rb b/lib/epubmaker/epubv3.rb
index <HASH>..<HASH> 100644
--- a/lib/epubmaker/epubv3.rb
+++ b/lib/epubmaker/epubv3.rb
@@ -155,7 +155,11 @@ EOT
end
s = ""
- s << %Q[ <spine>\n]
+ if @producer.params["direction"]
+ s << %Q[ <spine page-progression-direct... | EPUBMaker: support new param "direction" in config.yml to define page-progression-direction in EPUB3 | kmuto_review | train |
96fc29bad336190187c5302e51cd44d04a170b0c | diff --git a/closure/goog/structs/heap.js b/closure/goog/structs/heap.js
index <HASH>..<HASH> 100644
--- a/closure/goog/structs/heap.js
+++ b/closure/goog/structs/heap.js
@@ -85,7 +85,7 @@ goog.structs.Heap.prototype.insertAll = function(heap) {
keys = heap.getKeys();
values = heap.getValues();
- // If i... | Fix typo in a comment.
-------------
Created by MOE: <URL> | google_closure-library | train |
5c67da351768e87466c3e6b8d063ab09ac12f60b | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -72,6 +72,11 @@ module.exports = function(grunt) {
sort: ['tasks']
},
defaultreporter: {},
+ markdownreporter: {
+ options: {
+ ... | Added a Markdown reporter. | philgs_grunt-available-tasks | train |
d9a4c7d1fc81572ac8db47915de2a3047951dc6a | diff --git a/src/hub/atlas.js b/src/hub/atlas.js
index <HASH>..<HASH> 100644
--- a/src/hub/atlas.js
+++ b/src/hub/atlas.js
@@ -73,6 +73,7 @@ class AtlasClient {
authenticate: pw => this.authenticateViaPasword(userTag, pw, options)
};
}
+ throw e;
}
... | Throw exc when auth is not <I> | ForstaLabs_librelay-node | train |
d84de09074ed662cac49cd9fbcc5926d13a4bc71 | diff --git a/sprockets/mixins/statsd/__init__.py b/sprockets/mixins/statsd/__init__.py
index <HASH>..<HASH> 100644
--- a/sprockets/mixins/statsd/__init__.py
+++ b/sprockets/mixins/statsd/__init__.py
@@ -35,6 +35,7 @@ Each request will send metrics ``on_finish`` in the following format:
self.finish({'hello'... | Coerce the environment variable to a boolean | sprockets_sprockets.mixins.statsd | train |
1e07fbd1f5fe341d813e3a3d6b5087f6c1088f23 | diff --git a/mdf_toolbox/toolbox.py b/mdf_toolbox/toolbox.py
index <HASH>..<HASH> 100644
--- a/mdf_toolbox/toolbox.py
+++ b/mdf_toolbox/toolbox.py
@@ -730,7 +730,7 @@ def translate_index(index_name):
# * Globus Transfer utilities
# *************************************************
-def quick_transfer(transfer_clien... | Add retries flag to quick_transfer, resubmit flag to MDFConnectClient.submit_dataset | materials-data-facility_toolbox | train |
fd5fd8cf4d3649a56a0782ba5cef7a804c11c011 | diff --git a/airtest/core/win/directinput.py b/airtest/core/win/directinput.py
index <HASH>..<HASH> 100644
--- a/airtest/core/win/directinput.py
+++ b/airtest/core/win/directinput.py
@@ -226,10 +226,9 @@ def key_release(key):
def send_keyboard_input(hex_code, flags):
"""Simulates a key press/release event with Se... | Update documentation
(cherry picked from commit <I>e<I>bae<I>fa2d<I>cf<I>f<I>aea1e<I>) | AirtestProject_Airtest | train |
4acffa49977157aed2932e4be6322d278008afd6 | diff --git a/login/index.php b/login/index.php
index <HASH>..<HASH> 100644
--- a/login/index.php
+++ b/login/index.php
@@ -14,6 +14,7 @@
//initialize variables
$errormsg = '';
+ $errorcode = 0;
/// Check for timed out sessions
if (!empty($SESSION->has_timed_out)) {
@@ -81,9 +82,6 @@ httpsrequired... | MDL-<I> Pass information about failed login back to alternate login url + other minor cleanup | moodle_moodle | train |
33562a495254bff569cfce858988aa7e6e16498d | diff --git a/lib/fluent/plugin/out_elasticsearch.rb b/lib/fluent/plugin/out_elasticsearch.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/out_elasticsearch.rb
+++ b/lib/fluent/plugin/out_elasticsearch.rb
@@ -849,13 +849,15 @@ EOC
end
def placeholder_substitution_needed_for_template?
- placeholde... | Make placeholder_substitution_needed_for_template always return true | uken_fluent-plugin-elasticsearch | train |
409510d691c0bc5c53d0a1e5bad67432db30770c | diff --git a/raiden/settings.py b/raiden/settings.py
index <HASH>..<HASH> 100644
--- a/raiden/settings.py
+++ b/raiden/settings.py
@@ -14,8 +14,8 @@ DEFAULT_PROTOCOL_THROTTLE_CAPACITY = 10.
DEFAULT_PROTOCOL_THROTTLE_FILL_RATE = 10.
DEFAULT_PROTOCOL_RETRY_INTERVAL = 1.
-DEFAULT_REVEAL_TIMEOUT = 30
-DEFAULT_SETTLE_TI... | Lower default reveal/settle timeout | raiden-network_raiden | train |
0a78bef1e9ce70df0da0ce68af10987c8bcacb20 | diff --git a/modin/pandas/base.py b/modin/pandas/base.py
index <HASH>..<HASH> 100644
--- a/modin/pandas/base.py
+++ b/modin/pandas/base.py
@@ -2336,20 +2336,15 @@ class BasePandasDataset(object):
if freq is None:
if axis == "index" or axis == 0:
- if periods > 0:
- ... | FIX-#<I>: Fix `shift` function when index has duplicates (#<I>) | modin-project_modin | train |
21a35546c1dfaf2a0292cf0328e1c421f5bfe464 | diff --git a/server/filestore.go b/server/filestore.go
index <HASH>..<HASH> 100644
--- a/server/filestore.go
+++ b/server/filestore.go
@@ -826,12 +826,11 @@ func (fs *fileStore) removeMsg(seq uint64, secure bool) (bool, error) {
mb.mu.Lock()
- // Check cache. This will be very rare, will hold lock on this one.
+ ... | Updates to index cache handling for message blocks.
We can have partial caches and we can also remove the idx cache. This was causing a bug where we would get the wrong slotInfo from the cache.idx. This code fixes the bug and detects idx partials. | nats-io_gnatsd | train |
5be86bfb9f3ab741d1344d02f1bd3052c16f7406 | diff --git a/tools/adjust_errorful_data.py b/tools/adjust_errorful_data.py
index <HASH>..<HASH> 100644
--- a/tools/adjust_errorful_data.py
+++ b/tools/adjust_errorful_data.py
@@ -62,6 +62,16 @@ for collection, entries in data.items():
event['when'] = datetime.datetime.fromtimestamp(event['when'])
... | Update the checking code to fix a few problems we've picked up. | opencivicdata_pupa | train |
65891fec2962bee7e0013f3dfbf3d20f8b2d6e9d | diff --git a/lib/active_mocker/loaded_mocks.rb b/lib/active_mocker/loaded_mocks.rb
index <HASH>..<HASH> 100644
--- a/lib/active_mocker/loaded_mocks.rb
+++ b/lib/active_mocker/loaded_mocks.rb
@@ -4,47 +4,65 @@ module ActiveMocker
class << self
- def add(mocks_to_add)
- mocks.merge!({mocks_to_add... | Document Public methods and make internal method private | zeisler_active_mocker | train |
03174cc2c829edef81a8ad52a6407bec84dfc8d0 | diff --git a/tests/integration/test_main.py b/tests/integration/test_main.py
index <HASH>..<HASH> 100755
--- a/tests/integration/test_main.py
+++ b/tests/integration/test_main.py
@@ -89,6 +89,9 @@ def umount_dev(mountpoint):
mount_cleanup_list.remove(mountpoint)
def setup_module():
+ processes = subprocess.c... | test: Detect existing convoy process before continue | rancher_convoy | train |
eba15dc3f5014787c169cbf89a142c457d2cd900 | diff --git a/plan/stats.go b/plan/stats.go
index <HASH>..<HASH> 100644
--- a/plan/stats.go
+++ b/plan/stats.go
@@ -74,7 +74,7 @@ func (p *DataSource) getStatsProfileByFilter(conds expression.CNFExprs) *statsPr
}
for i, col := range p.Columns {
hist, ok := p.statisticTable.Columns[col.ID]
- if ok && hist.NDV > 0... | Add length check to prevent index out of range (#<I>) | pingcap_tidb | train |
2d8187e67f518d76e74e39120d2b9e98139f777d | diff --git a/src/naarad/metrics/jmeter_metric.py b/src/naarad/metrics/jmeter_metric.py
index <HASH>..<HASH> 100644
--- a/src/naarad/metrics/jmeter_metric.py
+++ b/src/naarad/metrics/jmeter_metric.py
@@ -12,6 +12,7 @@ import logging
import os
import re
import numpy
+import heapq
from naarad.metrics.metric import Met... | Add support for non HTTP samplers, Enhance Summary Table to show qps, response size and errors (if any) in addition to response time | linkedin_naarad | train |
bf743470f0e5f25f234ccb6e0fcaa700f04db1dc | diff --git a/ginga/canvas/types/basic.py b/ginga/canvas/types/basic.py
index <HASH>..<HASH> 100644
--- a/ginga/canvas/types/basic.py
+++ b/ginga/canvas/types/basic.py
@@ -160,10 +160,13 @@ class PolygonMixin(object):
xa, ya = x_arr, y_arr
# promote input arrays dimension cardinality, if necessary
+ ... | Fixed issue with polygon containment test
- fix to handle proper promotion and demotion of 1D arrays | ejeschke_ginga | train |
91cd5abf8a5d319ab0df97d0b5ccb04e63eb034c | diff --git a/octokit/client.go b/octokit/client.go
index <HASH>..<HASH> 100644
--- a/octokit/client.go
+++ b/octokit/client.go
@@ -74,6 +74,12 @@ func (c *Client) get(url *url.URL, output interface{}) (result *Result) {
})
}
+func (c *Client) getBodyless(url *url.URL) (result *Result) {
+ return sendRequest(c, url... | Implemented the check for collaborators | octokit_go-octokit | train |
ceddd0eddbdd01da1f1c70f03738136acb59cb70 | diff --git a/demo/main.py b/demo/main.py
index <HASH>..<HASH> 100644
--- a/demo/main.py
+++ b/demo/main.py
@@ -124,7 +124,7 @@ class HomePage(webapp.RequestHandler):
self.response.out.write(text)
def _make_query(self):
- qry = query.Query(kind=Message.GetKind()).order_by(('when', query.DESC))
+ qry = ... | Add .all() to Model and .kind() to Key. | GoogleCloudPlatform_datastore-ndb-python | train |
2bd6101750e7c76d536b7f75d17cc24d7bd62bdd | diff --git a/services/datalad/datalad_service/handlers/upload.py b/services/datalad/datalad_service/handlers/upload.py
index <HASH>..<HASH> 100644
--- a/services/datalad/datalad_service/handlers/upload.py
+++ b/services/datalad/datalad_service/handlers/upload.py
@@ -13,10 +13,13 @@ from datalad_service.common.annex imp... | Handle corner cases moving existing directories in final upload step. | OpenNeuroOrg_openneuro | train |
b73d88dc373413de1f74e3bc361abbe6f8b04553 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,13 @@ implementation of basic common tasks.
To install raiqub/dot library run the following command:
~~~ bash
-go get github.com/raiqub/dot
+go get gopkg.in/raiqub/dot.v1
+~~~
+
+To import this package, add t... | Changes to prepare for v1 release | raiqub_dot | train |
3f26489adf2822d8e74dbdc02026feafa4c61326 | diff --git a/src/main/java/com/github/jmchilton/blend4j/galaxy/beans/HistoryDetails.java b/src/main/java/com/github/jmchilton/blend4j/galaxy/beans/HistoryDetails.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/jmchilton/blend4j/galaxy/beans/HistoryDetails.java
+++ b/src/main/java/com/github/jmchilton/bl... | Add isReady() to HistoryDetails that returns false iff any jobs are running or queued. Use this to improve testing. | galaxyproject_blend4j | train |
9d19ea98ecebd069540fae2b9ae083a95c223042 | diff --git a/js/phemex.js b/js/phemex.js
index <HASH>..<HASH> 100644
--- a/js/phemex.js
+++ b/js/phemex.js
@@ -355,8 +355,11 @@ module.exports = class phemex extends Exchange {
// }
//
const id = this.safeString (market, 'symbol');
+ const baseId = this.safeString (market, 'baseCur... | phemex parseSwapMarket ADA/BTC missing baseCurrency on testnet fix #<I> | ccxt_ccxt | train |
393342f8c3fd53ca966453e410f032d5b413ad49 | diff --git a/db/agents.go b/db/agents.go
index <HASH>..<HASH> 100644
--- a/db/agents.go
+++ b/db/agents.go
@@ -165,11 +165,6 @@ func (db *DB) GetAgentPluginMetadata(addr, name string) (*plugin.PluginInfo, err
return nil, err
}
- fmt.Printf("start of plugin list\n")
- for n := range meta.Plugins {
- fmt.Printf("... | Remove stdout debugging from agent plugin retrieval | starkandwayne_shield | train |
332d941024710b5fe3f6e3eedf94df6c130027a1 | diff --git a/tagflag.go b/tagflag.go
index <HASH>..<HASH> 100644
--- a/tagflag.go
+++ b/tagflag.go
@@ -338,26 +338,6 @@ func (p *parser) addCmd(cmd interface{}) {
})
}
-// func (p *parser) addAny(cmd *command, fv reflect.Value, sf reflect.StructField) {
-// switch sf.Tag.Get("type") {
-// case "flag":
-// p.ad... | Add support for net.IP, and parsing functions that don't return errors | anacrolix_tagflag | train |
96123224f928c0b386f22ebf6f2b85eba3d319d6 | diff --git a/zinnia/__init__.py b/zinnia/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia/__init__.py
+++ b/zinnia/__init__.py
@@ -1,5 +1,5 @@
"""Zinnia"""
-__version__ = '0.19.1.dev0'
+__version__ = '0.20'
__license__ = 'BSD License'
__author__ = 'Fantomas42' | Bumping to version <I> | Fantomas42_django-blog-zinnia | train |
7021a073aa8f8ed6fadec7f13e52cc082b4bfc93 | diff --git a/lib/workers/repository/cleanup.js b/lib/workers/repository/cleanup.js
index <HASH>..<HASH> 100644
--- a/lib/workers/repository/cleanup.js
+++ b/lib/workers/repository/cleanup.js
@@ -3,10 +3,6 @@ module.exports = {
};
async function pruneStaleBranches(config) {
- // istanbul ignore if
- if (config.bas... | fix: clean up multiple baseBranches correctly
Re-enables branch cleanup for multiple baseBranches | renovatebot_renovate | train |
acf964d318059f9fd30bf18cf9fcb260ad69c2cb | diff --git a/src/utils/helpers.js b/src/utils/helpers.js
index <HASH>..<HASH> 100644
--- a/src/utils/helpers.js
+++ b/src/utils/helpers.js
@@ -107,3 +107,13 @@ export function generateId() {
return id;
}
+
+export function isEmail(email) {
+ // writing a regex to match all valid email addresses is really, re... | Add email regex for validation (#<I>)
* Add email regex for validation
* Fix review comment | mattermost_mattermost-redux | train |
ca96417547e53668381f4687abf66c56ed6cb64b | diff --git a/tests/TestCase/Network/ResponseTest.php b/tests/TestCase/Network/ResponseTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Network/ResponseTest.php
+++ b/tests/TestCase/Network/ResponseTest.php
@@ -459,7 +459,7 @@ class ResponseTest extends TestCase
{
$response = new Response();
... | Update tests for changes done in #<I>. | cakephp_cakephp | train |
cadd7458491b247f97476477023731decd690856 | diff --git a/bct/bct.py b/bct/bct.py
index <HASH>..<HASH> 100644
--- a/bct/bct.py
+++ b/bct/bct.py
@@ -3133,11 +3133,13 @@ If copy is not set, this function will *modify W in place.*
Inputs: W, weighted or binary connectivity matrix
p, proportion of weights to preserve
range: p=1 (all weights prese... | bug in threshold proportional, preserving/removing behavior is 1-p from matlab version | aestrivex_bctpy | train |
0d75b27f76810037b8f8314c69a6022a62a7a21e | diff --git a/lib/models/node/base.rb b/lib/models/node/base.rb
index <HASH>..<HASH> 100644
--- a/lib/models/node/base.rb
+++ b/lib/models/node/base.rb
@@ -19,6 +19,7 @@ module Bcome::Node
end
def initialize(params)
+ @params = params
@identifier = nil
@description = nil
@views = pa... | WIP: internal mapping of initialization data | webzakimbo_bcome-kontrol | train |
3df175f6d68294bbfa62ea1df66577b19538103b | diff --git a/lib/brainstem/query_strategies/base_strategy.rb b/lib/brainstem/query_strategies/base_strategy.rb
index <HASH>..<HASH> 100644
--- a/lib/brainstem/query_strategies/base_strategy.rb
+++ b/lib/brainstem/query_strategies/base_strategy.rb
@@ -81,6 +81,10 @@ module Brainstem
def paginator
@pagina... | Extract method refactor: data_mapper instantiation | mavenlink_brainstem | train |
0740bd85a25237b176f379b4f740821138ca73c7 | diff --git a/src/main/java/com/github/jmchilton/blend4j/galaxy/WorkflowsClient.java b/src/main/java/com/github/jmchilton/blend4j/galaxy/WorkflowsClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/jmchilton/blend4j/galaxy/WorkflowsClient.java
+++ b/src/main/java/com/github/jmchilton/blend4j/galaxy/Wo... | added importWorkflow(String json, boolean publish) to update deprecated call for importWorkflow | galaxyproject_blend4j | train |
4d461f0f605bbcdd4770c7698361377eeedd6cff | diff --git a/src/pyrocore/util/matching.py b/src/pyrocore/util/matching.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/util/matching.py
+++ b/src/pyrocore/util/matching.py
@@ -154,7 +154,9 @@ class NegateFilter(Filter):
"""
inner = self._inner.pre_filter()
if inner:
- if inner.s... | queries: added 'tagged' (#<I>) | pyroscope_pyrocore | train |
1e5360fd4e2e0fa47645311842975c3786a724a1 | diff --git a/pyemma/thermo/api.py b/pyemma/thermo/api.py
index <HASH>..<HASH> 100644
--- a/pyemma/thermo/api.py
+++ b/pyemma/thermo/api.py
@@ -48,8 +48,8 @@ def umbrella_sampling_data_discrete(
for i in range(len(us_dtrajs)):
state = None
for j in range(nthermo):
- if indiv_centers[j] ... | [thermo] using _np.all to check for known bias states | markovmodel_PyEMMA | train |
a8b4beb565a8ba067d7bacd9aca6bd8d07895bd1 | diff --git a/pysat/instruments/cosmic_gps.py b/pysat/instruments/cosmic_gps.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/cosmic_gps.py
+++ b/pysat/instruments/cosmic_gps.py
@@ -97,10 +97,16 @@ def list_files(tag=None, sat_id=None, data_path=None, format_str=None):
sys.stdout.flush()
if format_str ... | BUG: Restored support for other cosmic_gps file formats in list_files | rstoneback_pysat | train |
de5f5c99b3df29c25f2d17c3e4f02ba7ac89dea6 | diff --git a/src/Traits/Friendable.php b/src/Traits/Friendable.php
index <HASH>..<HASH> 100644
--- a/src/Traits/Friendable.php
+++ b/src/Traits/Friendable.php
@@ -279,6 +279,33 @@ trait Friendable
return $this->getFriendsQueryBuilder($group_slug)->paginate($perPage);
}
}
+
+ /**
+ ... | Add method to find mutual friends
Adds $user1->getMutualFriends($user2)
Adds $user1->getMutualFriendsCount($user2)
A little sloppy but it works! | hootlex_laravel-friendships | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.