hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
3cade6a13fc040077b53e316b49ba3a13b62689a | diff --git a/shap/maskers/_text.py b/shap/maskers/_text.py
index <HASH>..<HASH> 100644
--- a/shap/maskers/_text.py
+++ b/shap/maskers/_text.py
@@ -2,7 +2,7 @@ import numpy as np
import re
from ._masker import Masker
from ..utils import safe_isinstance
-from ..utils.transformers import parse_prefix_suffix_for_tokeniz... | Removed additional post processing for sentecepiece like tokenization (GPT2FastTokenizer) | slundberg_shap | train |
acbb2bebc97e6d68b8d76cc5953a781cadbf94b0 | diff --git a/lib/Cake/Routing/Router.php b/lib/Cake/Routing/Router.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Routing/Router.php
+++ b/lib/Cake/Routing/Router.php
@@ -1102,13 +1102,14 @@ class Router {
public static function parseExtensions() {
self::$_parseExtensions = true;
if (func_num_args() > 0) {
- ... | adding setExtensions() to allow adding more extensions as parseExtensions would override existing valid extensions | cakephp_cakephp | train |
70200b8909f42938c045da480f1c62acc84dbf6e | diff --git a/lib/iron_worker_ng/code/base.rb b/lib/iron_worker_ng/code/base.rb
index <HASH>..<HASH> 100644
--- a/lib/iron_worker_ng/code/base.rb
+++ b/lib/iron_worker_ng/code/base.rb
@@ -60,6 +60,11 @@ module IronWorkerNG
end
def create_zip
+ unless @worker
+ IronWorkerNG::Logger.error '... | Worker presence checks in base code and using __runner__ instead of runner for runners. | iron-io_iron_worker_ruby_ng | train |
5064dab45e33d71d679003b2eaaf571ae8937c61 | diff --git a/packages/sw-lib/src/lib/sw-lib.js b/packages/sw-lib/src/lib/sw-lib.js
index <HASH>..<HASH> 100644
--- a/packages/sw-lib/src/lib/sw-lib.js
+++ b/packages/sw-lib/src/lib/sw-lib.js
@@ -179,7 +179,7 @@ class SWLib {
* cacheableResponse: {
* statuses: [0, 200, 404],
* headers: {
- * ... | Add missing comma to example. | GoogleChrome_workbox | train |
f3de00413d441902af89bf18ae333955f9a0fac1 | diff --git a/lib/crypt_keeper/model.rb b/lib/crypt_keeper/model.rb
index <HASH>..<HASH> 100644
--- a/lib/crypt_keeper/model.rb
+++ b/lib/crypt_keeper/model.rb
@@ -2,6 +2,8 @@ require 'active_support/concern'
require 'active_support/core_ext/array/extract_options'
module CryptKeeper
+ class Exception < StandardErro... | Raises if Provider does not inherit the base behavior | jmazzi_crypt_keeper | train |
6406c80d46402cc93bdfd1fa565acba9a7a33213 | diff --git a/command/install_lib.py b/command/install_lib.py
index <HASH>..<HASH> 100644
--- a/command/install_lib.py
+++ b/command/install_lib.py
@@ -72,8 +72,6 @@ class install_lib (Command):
skip_msg = "byte-compilation of %s skipped" % f
self.make_file (f, out_fn, compile, ... | Added '_bytecode_filenames()' method, and use it in 'get_outputs()'
to ensure that compiled bytecode files are considered part of the output
of the "install_lib" command. | pypa_setuptools | train |
0dfddf9142d4b40b4325fb22ce40ce169d95e0f7 | diff --git a/OMERO-qa-upgrade.py b/OMERO-qa-upgrade.py
index <HASH>..<HASH> 100644
--- a/OMERO-qa-upgrade.py
+++ b/OMERO-qa-upgrade.py
@@ -119,20 +119,21 @@ class Artifacts(object):
'mac':r'OMERO\.clients.*\.mac\.zip',
}
- def download_server(self):
+ def download(self, component):
- ... | Extend artifacts download() logic to deal with any zipped component | ome_omego | train |
3b1298acd80652a2822f07b8c541612da2329e54 | diff --git a/eli5/lime/samplers.py b/eli5/lime/samplers.py
index <HASH>..<HASH> 100644
--- a/eli5/lime/samplers.py
+++ b/eli5/lime/samplers.py
@@ -86,7 +86,7 @@ class MultivariateKernelDensitySampler(_BaseKernelDensitySampler):
kernel density estimation.
The limitation is that a single bandwidth value is us... | typo fix in a docstring | TeamHG-Memex_eli5 | train |
51d1219a61621aefae3e3d97852eb00913307fe8 | diff --git a/pyathena/converter.py b/pyathena/converter.py
index <HASH>..<HASH> 100644
--- a/pyathena/converter.py
+++ b/pyathena/converter.py
@@ -12,6 +12,52 @@ from typing import Any, Callable, Dict, Optional, Type
_logger = logging.getLogger(__name__) # type: ignore
+class Converter(object, metaclass=ABCMeta):... | Format the same as the formatter class | laughingman7743_PyAthena | train |
2cd4e42011100bae1fa53fcce9fc383b81a3b418 | diff --git a/sdcclient/_client.py b/sdcclient/_client.py
index <HASH>..<HASH> 100644
--- a/sdcclient/_client.py
+++ b/sdcclient/_client.py
@@ -603,7 +603,7 @@ class SdcClient:
else:
return [False, 'Not found']
- def create_dashboard_from_template(self, newdashname, template, scope):
+ def ... | added the ability to create shared dashboards | draios_python-sdc-client | train |
72a4670af1f0362868769a34fc8dd0323d5cf4df | diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
+++ b/activerecord/lib/active_record/con... | Fix default output for postgres network address types | rails_rails | train |
5f1bdd78a2d1865c14bb2f3b7c5dd23f5156571d | diff --git a/app/resonant-laboratory/views/widgets/MatchingView/index.js b/app/resonant-laboratory/views/widgets/MatchingView/index.js
index <HASH>..<HASH> 100644
--- a/app/resonant-laboratory/views/widgets/MatchingView/index.js
+++ b/app/resonant-laboratory/views/widgets/MatchingView/index.js
@@ -831,7 +831,7 @@ in or... | Fix problem with only updating ghost paths between elements in the matching view | Kitware_candela | train |
41b9d90da4dd3dc8db54bf385b613f535fe030a7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -236,11 +236,14 @@ def get_cmdclass():
opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version())
# setup OpenMP support
- openmp_enabled, needs_gomp = detect_openmp(sel... | try to fix openmp on osx | markovmodel_PyEMMA | train |
214d99ff78fb9a11e77e99030205048a53f93540 | diff --git a/java/src/com/google/template/soy/passes/ValidateAliasesPass.java b/java/src/com/google/template/soy/passes/ValidateAliasesPass.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/passes/ValidateAliasesPass.java
+++ b/java/src/com/google/template/soy/passes/ValidateAliasesPass.java
@@ -2... | Allow aliases collisions when identical to proto imports. Makes multipass proto tricorder more resilient.
GITHUB_BREAKING_CHANGES=N/A
-------------
Created by MOE: <URL> | google_closure-templates | train |
dffdf739e873023a1c79fd577151e9ecfff7949d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,14 +48,6 @@ REQS = ['click>=7.0',
'tqdm>=4.8.4',
]
-# Hack to avoid installation of modules with C extensions
-# in readthedocs documentation building environment.
-if os.environ.get('READTHEDOCS') == 'True':
-... | Remove RTD work around from setup.py (#<I>) | BlueBrain_NeuroM | train |
a448c8555890bb6b2b1a477f9fb9759cf88bf014 | diff --git a/src/performance/transaction.js b/src/performance/transaction.js
index <HASH>..<HASH> 100644
--- a/src/performance/transaction.js
+++ b/src/performance/transaction.js
@@ -53,6 +53,10 @@ Transaction.prototype.debugLog = function () {
}
}
+Transaction.prototype.setDebugData = function setDebugData (key,... | fix: end XHR in onInvokeTask as fall back | opbeat_opbeat-js-core | train |
1a7cdb11b4b1e59456b7ebf20bafc3b75aab9c20 | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -17,6 +17,8 @@ define('FORUM_TRACKING_OFF', 0);
define('FORUM_TRACKING_OPTIONAL', 1);
define('FORUM_TRACKING_ON', 2);
+define('FORUM_UNSET_POST_RATING', -999);
+
$FORUM_LAYOUT_MODES = a... | Merged fixes for MDL-<I> | moodle_moodle | train |
627746250d7009b5382d9abd8e98bdaa09cdd989 | diff --git a/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/strategy/StrategyWrappedTraversalStrategy.java b/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/strategy/StrategyWrappedTraversalStrategy.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/... | Added todos to clean up GraphStrategy tests around graph elements later. | apache_tinkerpop | train |
a81ec5468677ee862140daf934d285b97efafddd | diff --git a/bika/lims/content/reports.py b/bika/lims/content/reports.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/reports.py
+++ b/bika/lims/content/reports.py
@@ -2,15 +2,15 @@ from AccessControl import ClassSecurityInfo
from DateTime import DateTime
from Products.ATExtensions.ateapi import DateTimeField,... | Reports is from ATFolder | senaite_senaite.core | train |
9c06d26a5617fef3190bdcf436f877f2954415bf | diff --git a/django_rq/queues.py b/django_rq/queues.py
index <HASH>..<HASH> 100644
--- a/django_rq/queues.py
+++ b/django_rq/queues.py
@@ -139,7 +139,10 @@ def filter_connection_params(queue_params):
Filters the queue params to keep only the connection related params.
"""
NON_CONNECTION_PARAMS = ('DEFAUL... | Changed dict comprehension to be compatible with python <I> | rq_django-rq | train |
93250dc1abb54c43b3b656b5d86c60224b3aab53 | diff --git a/tests/integration/utils/test_win_runas.py b/tests/integration/utils/test_win_runas.py
index <HASH>..<HASH> 100644
--- a/tests/integration/utils/test_win_runas.py
+++ b/tests/integration/utils/test_win_runas.py
@@ -1,21 +1,14 @@
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import, unicode_liter... | Drop Py2 and six on tests/integration/utils/test_win_runas.py | saltstack_salt | train |
5eaf4baaa48bc0c5f55d5f2a8ae1f463417b2b3b | diff --git a/src/ol/source/tiledwmssource.js b/src/ol/source/tiledwmssource.js
index <HASH>..<HASH> 100644
--- a/src/ol/source/tiledwmssource.js
+++ b/src/ol/source/tiledwmssource.js
@@ -22,20 +22,19 @@ ol.source.TiledWMS = function(tiledWMSOptions) {
tileGrid = tiledWMSOptions.tileGrid;
}
- var tileUrlFunct... | Try to expand single url for TiledWMS source | openlayers_openlayers | train |
7ffdc527afcbae4c5a89a94a55af2c0014ffc16e | diff --git a/spec/rackstash/flows_spec.rb b/spec/rackstash/flows_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rackstash/flows_spec.rb
+++ b/spec/rackstash/flows_spec.rb
@@ -32,6 +32,13 @@ describe Rackstash::Flows do
list_with_splat = Rackstash::Flows.new(*raw_flows)
expect(list_with_splat.size).to eql ... | Ensure we are only adding actual Flow objects in Rackstash::Flows.new | meineerde_rackstash | train |
667d0a66f258ba40690e478b4a98feb28cb85c0c | diff --git a/ping.go b/ping.go
index <HASH>..<HASH> 100644
--- a/ping.go
+++ b/ping.go
@@ -48,8 +48,6 @@ import (
"math"
"math/rand"
"net"
- "os"
- "os/signal"
"sync"
"syscall"
"time"
@@ -94,7 +92,6 @@ func NewPinger(addr string) (*Pinger, error) {
network: "udp",
ipv4: ipv4,
Size: timeSlic... | remove signal handler, add Stop method (#<I>)
* remove signal handler, add Stop method
* Added ICMP Packet ID to distinguish ICMP replies | sparrc_go-ping | train |
9b564d01deed6a4c9e42c00b7662ebb8aa707df7 | diff --git a/lib/comma/extractors.rb b/lib/comma/extractors.rb
index <HASH>..<HASH> 100644
--- a/lib/comma/extractors.rb
+++ b/lib/comma/extractors.rb
@@ -25,7 +25,7 @@ module Comma
arg.each do |k, v|
@results << v.to_s.humanize
end
- when Symbol
+ when Symbol, String
... | Add support for String specifiers along with Symbols | comma-csv_comma | train |
b99dcac2f5a65c370860538b43358c49b8c974fe | diff --git a/pinky/broker/server.py b/pinky/broker/server.py
index <HASH>..<HASH> 100644
--- a/pinky/broker/server.py
+++ b/pinky/broker/server.py
@@ -90,7 +90,7 @@ class BrokerServer(BaseServer):
lambda res: data.update(res['message'])
) for node in self._connections.values()
]
-... | removed consumeErrors param | dr4ke616_pinky | train |
dd94c720ff0b4b0d3e49b9c4a0eea088a4d09a17 | diff --git a/tests/end_to_end/test_g2p.py b/tests/end_to_end/test_g2p.py
index <HASH>..<HASH> 100644
--- a/tests/end_to_end/test_g2p.py
+++ b/tests/end_to_end/test_g2p.py
@@ -6,6 +6,7 @@ import unittest
import ga4gh.protocol as protocol
import ga4gh.frontend as frontend
+import tests.paths as paths
class TestG... | Fixes problem with symlinks and data file path | ga4gh_ga4gh-server | train |
7a26a67b42bdabd89f3685945009ffe99a6d6162 | diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/sqli... | Ensure SQLite adapters stores the config [#<I> state:resolved] [John Aughey, Pratik Naik] | rails_rails | train |
6a6bd0503debafc573f3d34e5d8c271c03c32ee0 | diff --git a/README.rst b/README.rst
index <HASH>..<HASH> 100644
--- a/README.rst
+++ b/README.rst
@@ -23,7 +23,7 @@ Example of configuration::
from redis import model
class Bike(model.RedisModel):
- name = model.StringField(indexable=True)
+ name = model.HashableField(indexable=True, uniq... | Setting on concept of hashable field | limpyd_redis-limpyd | train |
ddf60f7b0cd82bf3aaea588cae985ce6987664fe | diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/api/solver/SolverJob.java b/optaplanner-core/src/main/java/org/optaplanner/core/api/solver/SolverJob.java
index <HASH>..<HASH> 100644
--- a/optaplanner-core/src/main/java/org/optaplanner/core/api/solver/SolverJob.java
+++ b/optaplanner-core/src/main/java/... | Update optaplanner-core/src/main/java/org/optaplanner/core/api/solver/SolverJob.java | kiegroup_optaplanner | train |
152350464530f6287a265a5b95ebc0c12c211cde | diff --git a/terraform/context.go b/terraform/context.go
index <HASH>..<HASH> 100644
--- a/terraform/context.go
+++ b/terraform/context.go
@@ -447,11 +447,6 @@ func (c *Context) Apply() (*State, error) {
shadow = real
}
- // TODO: remove before branch is done, we're just not ready for this yet
- if c.destroy {
-... | terraform: enable shadow graph and destroy resource mode with addr
This enables the shadow graph since all tests pass!
We also change the destroy node to check the resource type using the
addr since that is always available and reliable. The configuration can
be nil for orphans. | hashicorp_terraform | train |
72a2a6671ead8cda7dc5624c8ea13155404b3eb2 | diff --git a/etcdctl/ctlv3/command/watch_command.go b/etcdctl/ctlv3/command/watch_command.go
index <HASH>..<HASH> 100644
--- a/etcdctl/ctlv3/command/watch_command.go
+++ b/etcdctl/ctlv3/command/watch_command.go
@@ -155,11 +155,15 @@ func printWatchCh(c *clientv3.Client, ch clientv3.WatchChan, execArgs []string)
dis... | ctlv3: set ETCD_WATCH_KEY, ETCD_WATCH_VALUE on exec watch | etcd-io_etcd | train |
46ef2ace2f6df93b9d5a4c2a06342fb9af56f609 | diff --git a/includes/mappers/class.matches_mapper_db.php b/includes/mappers/class.matches_mapper_db.php
index <HASH>..<HASH> 100644
--- a/includes/mappers/class.matches_mapper_db.php
+++ b/includes/mappers/class.matches_mapper_db.php
@@ -79,11 +79,11 @@ class matches_mapper_db extends matches_mapper {
}
... | #2 Additional units support for matches mappers | kronusme_dota2-api | train |
b517bd912afa5aa1033ce434d7138641fd6c31ab | diff --git a/src/Cookie/CookieJar.php b/src/Cookie/CookieJar.php
index <HASH>..<HASH> 100644
--- a/src/Cookie/CookieJar.php
+++ b/src/Cookie/CookieJar.php
@@ -86,6 +86,25 @@ class CookieJar implements CookieJarInterface
return false;
}
+ /**
+ * Finds and returns the cookie based on the name
+ ... | Added convenience method to access a cookie by name (#<I>)
* Added convenience method to access a cookie by name
* updated pull request against newest version
* added default null edge case :<I>: to @Nyholm
* added null test to Cookie Jar Test
* added better null protection
* disallowed null names in ge... | guzzle_guzzle | train |
6fe614efa7084d9d1ff9a2000b66dbba71564fcc | diff --git a/pkg/minikube/proxy/proxy.go b/pkg/minikube/proxy/proxy.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/proxy/proxy.go
+++ b/pkg/minikube/proxy/proxy.go
@@ -111,8 +111,8 @@ func isValidEnv(env string) bool {
return false
}
-// SetNoProxyK8s takes a k8s config and upadates the proxy
-func SetNoProxyK8... | Fix stutter between the package name and the function | kubernetes_minikube | train |
8d20022196f5cd4d90a2a602f16242228285e20e | diff --git a/tests/test_hash.py b/tests/test_hash.py
index <HASH>..<HASH> 100755
--- a/tests/test_hash.py
+++ b/tests/test_hash.py
@@ -207,20 +207,11 @@ class TestDeepHashPrep:
A = 1
B = 2
- # checking if pypy3 is running the test
- # in that case due to a difference of string ... | fixing pypy3 fork of hashing test | seperman_deepdiff | train |
dd3b22197869f614c13f96adb17208ab9c9e0ebf | diff --git a/src/Ubiquity/orm/core/prepared/DAOPreparedQuery.php b/src/Ubiquity/orm/core/prepared/DAOPreparedQuery.php
index <HASH>..<HASH> 100644
--- a/src/Ubiquity/orm/core/prepared/DAOPreparedQuery.php
+++ b/src/Ubiquity/orm/core/prepared/DAOPreparedQuery.php
@@ -2,11 +2,19 @@
namespace Ubiquity\orm\core\prepared... | [skip ci] retry prepared queries slight opt | phpMv_ubiquity | train |
35ea3241aaf6ff376b0aa1651ae51711c84505ea | diff --git a/management/commands/ip_assembler_test.py b/management/commands/ip_assembler_test.py
index <HASH>..<HASH> 100644
--- a/management/commands/ip_assembler_test.py
+++ b/management/commands/ip_assembler_test.py
@@ -1,7 +1,7 @@
from django.core.management.base import BaseCommand, CommandError
from ip_assembl... | continued on searching within .htaccess, refs #<I> | dArignac_ip_assembler | train |
5efddeecede8ab51d8c13ce5af100c3151cffcd5 | diff --git a/uportal-war/src/main/java/org/jasig/portal/utils/jdbc/TomcatDataSourceFactory.java b/uportal-war/src/main/java/org/jasig/portal/utils/jdbc/TomcatDataSourceFactory.java
index <HASH>..<HASH> 100644
--- a/uportal-war/src/main/java/org/jasig/portal/utils/jdbc/TomcatDataSourceFactory.java
+++ b/uportal-war/src/... | Clean up logging in validation query resolver | Jasig_uPortal | train |
967692a5c632944b4665fdb4d3d15588505a875a | diff --git a/lib/incline/cli/helpers/yaml.rb b/lib/incline/cli/helpers/yaml.rb
index <HASH>..<HASH> 100644
--- a/lib/incline/cli/helpers/yaml.rb
+++ b/lib/incline/cli/helpers/yaml.rb
@@ -362,7 +362,7 @@ module Incline
base_key << line[:key]
last_line = {
- key: bas... | Fix YAML helper for CLI and add testing for remove_key. | barkerest_incline | train |
6b6fd62482380a837651f2c1e0b955e1ae1d5b22 | diff --git a/zk_shell/augumented_cmd.py b/zk_shell/augumented_cmd.py
index <HASH>..<HASH> 100644
--- a/zk_shell/augumented_cmd.py
+++ b/zk_shell/augumented_cmd.py
@@ -169,7 +169,9 @@ class AugumentedCmd(cmd.Cmd):
""" MAX_OUTPUT chars of the last output is available via $? """
if PYTHON3:
... | do_output(): deal with not params for fmt_str | rgs1_zk_shell | train |
e5851efbeb2c96f1b2c713e064efafadacf9cedf | diff --git a/provider/openstack/local_test.go b/provider/openstack/local_test.go
index <HASH>..<HASH> 100644
--- a/provider/openstack/local_test.go
+++ b/provider/openstack/local_test.go
@@ -988,12 +988,7 @@ func (s *localServerSuite) TestConstraintsValidatorVocab(c *gc.C) {
validator, err := env.ConstraintsValidator... | Openstack and vsphere type clouds support all arches. | juju_juju | train |
d6b19c5c34c14c98d5050658d25283048827c9c9 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-0.2.0 / 2013-11-XX
+0.2.0 / 2013-11-23
==================
* REMOVED BETWEEN SECTION TIEBREAKERS:
- Impossible to do in the same stage as within stage subgrouped tiebreakers
diff --git a/t... | last few changes and verifications for <I> | clux_tiebreaker | train |
121b90c23dddf1c2cafff3060333f2a8b2dc67a9 | diff --git a/tensorforce/core/explorations/epsilon_anneal.py b/tensorforce/core/explorations/epsilon_anneal.py
index <HASH>..<HASH> 100644
--- a/tensorforce/core/explorations/epsilon_anneal.py
+++ b/tensorforce/core/explorations/epsilon_anneal.py
@@ -33,7 +33,7 @@ class EpsilonAnneal(Exploration):
offset = s... | max of 1 to max of epsilon
This was using a max of one which led to funny behaviour where it didn't use epsilon [see plot here](<URL> | tensorforce_tensorforce | train |
bd5f9239f17edeaf3ae5e556a735096a4fcbc7c4 | diff --git a/tests/Common/ComponentsTest.php b/tests/Common/ComponentsTest.php
index <HASH>..<HASH> 100644
--- a/tests/Common/ComponentsTest.php
+++ b/tests/Common/ComponentsTest.php
@@ -548,7 +548,8 @@ class ComponentsTest extends StorageApiTestCase
$secondVersion = $components->getConfiguration('wr-db', $new... | tests - component - use ids from API | keboola_storage-api-php-client | train |
534aa56a34879181e8a92b31d4e86c4ca987d05f | diff --git a/geo-analyzer/src/test/java/au/gov/amsa/geo/adhoc/DistanceTravelledInEezCsvViewerMain.java b/geo-analyzer/src/test/java/au/gov/amsa/geo/adhoc/DistanceTravelledInEezCsvViewerMain.java
index <HASH>..<HASH> 100644
--- a/geo-analyzer/src/test/java/au/gov/amsa/geo/adhoc/DistanceTravelledInEezCsvViewerMain.java
+... | geo-analyzer distance in eez dev | amsa-code_risky | train |
bfb312584ac5bf0096fbdeb6c53af7b540cac76a | diff --git a/cell/evacuation_test.go b/cell/evacuation_test.go
index <HASH>..<HASH> 100644
--- a/cell/evacuation_test.go
+++ b/cell/evacuation_test.go
@@ -5,6 +5,7 @@ import (
"net/http"
"os"
"path/filepath"
+ "time"
"code.cloudfoundry.org/archiver/extractor/test_helper"
"code.cloudfoundry.org/bbs/models"
@... | Make evacuation tests more restrictive.
* New LRP must be running and routable immediately after the evacuating
rep exits.
[#<I>] | cloudfoundry_inigo | train |
6b555618ac525b392f5fc278c0671df0afe262bd | diff --git a/src/matreshka-core.js b/src/matreshka-core.js
index <HASH>..<HASH> 100755
--- a/src/matreshka-core.js
+++ b/src/matreshka-core.js
@@ -124,8 +124,8 @@
return magic.mediate(this, keys, mediator);
},
- fixClassOf: function(keys, Class, updateFunction) {
- return magic.fixClassOf(this, keys, Cl... | duplicated setclassfor in MK | matreshkajs_matreshka | train |
8a78c74d847886e9d42601fe5cd462d231c7ff35 | diff --git a/src/main/java/io/reactivex/internal/observers/BiConsumerSingleObserver.java b/src/main/java/io/reactivex/internal/observers/BiConsumerSingleObserver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/reactivex/internal/observers/BiConsumerSingleObserver.java
+++ b/src/main/java/io/reactivex/internal/o... | 2.x: Single.subscribe(BiConsumer) consistent isDisposed (#<I>) | ReactiveX_RxJava | train |
5a6ed27b5d97eafb5f378978f30a6340072ccac1 | diff --git a/server/handlers/datasets.js b/server/handlers/datasets.js
index <HASH>..<HASH> 100644
--- a/server/handlers/datasets.js
+++ b/server/handlers/datasets.js
@@ -54,7 +54,6 @@ export default {
query: { project: datasetId },
},
(err, resp) => {
- let versionNumber = resp.bo... | Remove null version number from snapshot email. | OpenNeuroOrg_openneuro | train |
054314eac8c6419b7e87e232914b1e97a7006c2f | diff --git a/bcbio/qc/qsignature.py b/bcbio/qc/qsignature.py
index <HASH>..<HASH> 100644
--- a/bcbio/qc/qsignature.py
+++ b/bcbio/qc/qsignature.py
@@ -6,7 +6,6 @@ import os
import shutil
import subprocess
-import lxml
import pysam
import toolz as tz
@@ -127,6 +126,7 @@ def _parse_qsignature_output(in_file, out_... | Move lxml to soft imports to avoid icu version
Works around current problems with ICU version pinning in conda-forge:
<URL> | bcbio_bcbio-nextgen | train |
d7a1c5d337f18160bb0429f597ae5f3b58a818e4 | diff --git a/lnwallet/channeldb.go b/lnwallet/channeldb.go
index <HASH>..<HASH> 100644
--- a/lnwallet/channeldb.go
+++ b/lnwallet/channeldb.go
@@ -57,21 +57,21 @@ func (c *ChannelDB) PutOpenChannel(channel *OpenChannelState) error {
// TODO(roasbeef): assumes only 1 active channel per-node
func (c *ChannelDB) FetchOp... | lnwallet: check for nil buckets during fetch in channeldb | lightningnetwork_lnd | train |
0e06282ad84c5fa22135c1781660736982a5238c | diff --git a/src/grid/DocumentsColumn.php b/src/grid/DocumentsColumn.php
index <HASH>..<HASH> 100644
--- a/src/grid/DocumentsColumn.php
+++ b/src/grid/DocumentsColumn.php
@@ -30,19 +30,6 @@ class DocumentsColumn extends \hipanel\grid\DataColumn
}
}
- protected function getHeaderCellLabel()
- {
- ... | Changed DocumentsColumn design | hiqdev_hipanel-module-finance | train |
3c76dc6d5d1a6d4628fa7427ba6a8c7c99a8a119 | diff --git a/clustering/web/undertow/src/test/java/org/wildfly/clustering/web/undertow/session/UndertowSessionExpirationListenerTestCase.java b/clustering/web/undertow/src/test/java/org/wildfly/clustering/web/undertow/session/UndertowSessionExpirationListenerTestCase.java
index <HASH>..<HASH> 100644
--- a/clustering/we... | Remove use of deprecated API. | wildfly_wildfly | train |
3cd9ba407a6bef7e52e649f8d6baee8547fb553f | diff --git a/jet/filters.py b/jet/filters.py
index <HASH>..<HASH> 100644
--- a/jet/filters.py
+++ b/jet/filters.py
@@ -67,95 +67,3 @@ class RelatedFieldAjaxListFilter(admin.RelatedFieldListFilter):
queryset = model._default_manager.filter(**{rel_name: self.lookup_val}).all()
return [(x._get_pk_val()... | add date-range-filter as a thirdparty package | geex-arts_django-jet | train |
156239028e5a8f53b7ea6e9dbd64a0b16679dc77 | diff --git a/src/main/java/com/github/maven_nar/AbstractCompileMojo.java b/src/main/java/com/github/maven_nar/AbstractCompileMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/maven_nar/AbstractCompileMojo.java
+++ b/src/main/java/com/github/maven_nar/AbstractCompileMojo.java
@@ -335,10 +335,10 @@ pub... | New syslib from dependency feature did not work in
a multi aol environment (see issue #<I>). This commit fixes that. | maven-nar_nar-maven-plugin | train |
3457489b6f457a7c5e5b3c207ba5c8aa314dced1 | diff --git a/spec/qu/backend/redis_spec.rb b/spec/qu/backend/redis_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/qu/backend/redis_spec.rb
+++ b/spec/qu/backend/redis_spec.rb
@@ -6,10 +6,6 @@ describe Qu::Backend::Redis do
let(:worker) { Qu::Worker.new('default') }
- before do
- ENV.delete('REDISTOGO_URL')
-... | More specific env var handling for redis.
Also, we dont care what host port, just that we have namespace and
such. Let redis do its thing from the url. | bkeepers_qu | train |
cc8f6450ed7b8560651e21769ab838b3716f927e | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -1,4 +1,3 @@
-// Generated by CoffeeScript 1.10.0
'use strict';
const program = require('commander');
diff --git a/lib/fs_utils/asset.js b/lib/fs_utils/asset.js
index <HASH>..<HASH> 100644
--- a/lib/fs_utils/asset.... | Remove "Generated by CoffeeScript". | brunch_brunch | train |
ee46a7578bbc4940b187f327689fba03a80f2cf4 | diff --git a/interp/builtin.go b/interp/builtin.go
index <HASH>..<HASH> 100644
--- a/interp/builtin.go
+++ b/interp/builtin.go
@@ -61,9 +61,10 @@ func (r *Runner) builtin(pos syntax.Pos, name string, args []string) bool {
switch args[0] {
case "-n":
newline = false
- case "-e":
- // TODO: POSIX does t... | interp: ignore -E on echo for now | mvdan_sh | train |
17ab1662a7887ca3e090bf78f00b928368d59f10 | diff --git a/score-samples/hello-score/src/main/java/org/score/samples/OpenstackApplications.java b/score-samples/hello-score/src/main/java/org/score/samples/OpenstackApplications.java
index <HASH>..<HASH> 100644
--- a/score-samples/hello-score/src/main/java/org/score/samples/OpenstackApplications.java
+++ b/score-samp... | refactored OpenstackApplications class | CloudSlang_score | train |
f727bd24c211316a80b5d3c81e867f64d6ad7a09 | diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1733,16 +1733,18 @@ module ActionDispatch
end
... | pull path conditional up
we only need to check for `path` once. | rails_rails | train |
118d551cb18530806f2ff35f5778d656b7f422f2 | diff --git a/tests/src/Unit/HierarchyTest.php b/tests/src/Unit/HierarchyTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/Unit/HierarchyTest.php
+++ b/tests/src/Unit/HierarchyTest.php
@@ -14,6 +14,7 @@ use Brain\Hierarchy\Tests\TestCase;
use Brain\Hierarchy\Tests\Stubs;
use Brain\Hierarchy\Branch\BranchInterface;
... | Make use of filters in HierarchyTest unit test | Brain-WP_Hierarchy | train |
b6df8c8ac9d27e2126a968f7a994a407c8b9b277 | diff --git a/coilmq/config/defaults.cfg b/coilmq/config/defaults.cfg
index <HASH>..<HASH> 100644
--- a/coilmq/config/defaults.cfg
+++ b/coilmq/config/defaults.cfg
@@ -34,3 +34,8 @@ scheduler.queue_priority_factory = coilmq.scheduler.RandomQueueScheduler
; Authentication configuration
; auth.factory = coilmq.auth.simp... | Added diagnostic thread when --debug is enabled. | hozn_coilmq | train |
fabb90deb6533ec210a79ea63e783fec02fea545 | diff --git a/abilian/web/forms/widgets.py b/abilian/web/forms/widgets.py
index <HASH>..<HASH> 100644
--- a/abilian/web/forms/widgets.py
+++ b/abilian/web/forms/widgets.py
@@ -24,7 +24,9 @@ from flask import (
g, render_template, json, Markup, render_template_string, current_app,
)
from flask_wtf.file import FileFi... | money widget: format numbers with thousands separators
use babel to format according to locale | abilian_abilian-core | train |
5b12afd90c0d0148af7a0060fe81ee3f7e9866fd | diff --git a/asphalt/core/event.py b/asphalt/core/event.py
index <HASH>..<HASH> 100644
--- a/asphalt/core/event.py
+++ b/asphalt/core/event.py
@@ -1,9 +1,9 @@
import logging
import weakref
from asyncio import get_event_loop, Queue, wait
-from datetime import datetime, timezone
+from datetime import datetime, timezon... | Allowed the user to override the timestamp of an event | asphalt-framework_asphalt | train |
eb6368012100212526fcb7798d6bdf098ff61059 | diff --git a/lib/rest-ftp-daemon/api/job_presenter.rb b/lib/rest-ftp-daemon/api/job_presenter.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-ftp-daemon/api/job_presenter.rb
+++ b/lib/rest-ftp-daemon/api/job_presenter.rb
@@ -14,8 +14,9 @@ module RestFtpDaemon
# Technical fields
expose :wid, unless: lamb... | stepped backward on job.error and job.status forced UTF8, encoding changes only for views | bmedici_rest-ftp-daemon | train |
12d668c190c0619c2bf677989bae19b35174070b | diff --git a/Generator/ModuleCodeFile.php b/Generator/ModuleCodeFile.php
index <HASH>..<HASH> 100644
--- a/Generator/ModuleCodeFile.php
+++ b/Generator/ModuleCodeFile.php
@@ -95,7 +95,7 @@ EOT;
foreach ($this->functions as $function_name => $function_data) {
$function_code = '';
- $function_code .= $... | Changed docBlock() to return code without a trailing newline. | drupal-code-builder_drupal-code-builder | train |
81cd5f644b6a5207fbf86661e60c0f35a0ea3066 | diff --git a/src/process.js b/src/process.js
index <HASH>..<HASH> 100644
--- a/src/process.js
+++ b/src/process.js
@@ -2,9 +2,10 @@ import createActions from './github/actions';
export default function ({payload}, {github, squash, deleteBranches}) {
const {pull_request, number} = payload;
- const {acceptPR, dele... | WIP(process): added the step to verify the status checks | greenkeeper-keeper_hapi-greenkeeper-keeper | train |
0d056145a39d1ff89885436789492a5ed246108a | diff --git a/src/drawer.js b/src/drawer.js
index <HASH>..<HASH> 100644
--- a/src/drawer.js
+++ b/src/drawer.js
@@ -305,7 +305,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
},
// private
- drawPlaceholder: function(rect, fillStyle) {
+ drawRectangle: function(rect, fillStyle) ... | :lipstick: Rename to drawRectangle | openseadragon_openseadragon | train |
3f53b446b4d13a91019b901cb86fce136af90ef1 | diff --git a/docker/tarfile/src.go b/docker/tarfile/src.go
index <HASH>..<HASH> 100644
--- a/docker/tarfile/src.go
+++ b/docker/tarfile/src.go
@@ -373,6 +373,12 @@ func (s *Source) GetBlob(ctx context.Context, info types.BlobInfo) (io.ReadClose
if err != nil {
return nil, 0, err
}
+ closeStream := true
+ de... | Close the stream returned by openTarComponent on Source.GetBlob error paths | containers_image | train |
37ff4bbf36c0e1d70b50be863305e2e23e167163 | diff --git a/select2.js b/select2.js
index <HASH>..<HASH> 100755
--- a/select2.js
+++ b/select2.js
@@ -844,6 +844,8 @@
this.container.removeClass("select2-dropdown-open");
this.results.empty();
this.clearSearch();
+
+ this.opts.element.trigger(jQuery.Event("close"));
... | added close event. fixes #<I> | select2_select2 | train |
522addebe5b12e109529fcf12062cfefbf955115 | diff --git a/src/Symfony/Component/Validator/Constraints/Image.php b/src/Symfony/Component/Validator/Constraints/Image.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Validator/Constraints/Image.php
+++ b/src/Symfony/Component/Validator/Constraints/Image.php
@@ -28,6 +28,6 @@ class Image extends File
p... | [Validator] Fixed typo in Image constraint | symfony_symfony | train |
06ed2e2fcb805cbd3ba3b6d016e702ee4dc731b4 | diff --git a/TYPO3.Eel/Classes/TYPO3/Eel/Helper/ArrayHelper.php b/TYPO3.Eel/Classes/TYPO3/Eel/Helper/ArrayHelper.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Eel/Classes/TYPO3/Eel/Helper/ArrayHelper.php
+++ b/TYPO3.Eel/Classes/TYPO3/Eel/Helper/ArrayHelper.php
@@ -344,8 +344,7 @@ class ArrayHelper implements ProtectedCon... | TASK: Skip one variable assignment | neos_flow-development-collection | train |
581e8272082a2b62f247c50c8a72b86e3efdce5b | diff --git a/tests/test_algorithm.py b/tests/test_algorithm.py
index <HASH>..<HASH> 100644
--- a/tests/test_algorithm.py
+++ b/tests/test_algorithm.py
@@ -98,6 +98,7 @@ from zipline.testing import (
to_utc,
trades_by_sid_to_dfs,
)
+from zipline.testing import RecordBatchBlotter
from zipline.testing.fixtures... | TST: Ensure batch_order_target_percent orders like order_target_percent | quantopian_zipline | train |
cab03f5ca5e3e72c2cd14bcfca042eebcbf18f81 | diff --git a/geomdl/construct.py b/geomdl/construct.py
index <HASH>..<HASH> 100644
--- a/geomdl/construct.py
+++ b/geomdl/construct.py
@@ -162,10 +162,10 @@ def construct_volume(direction, *args, **kwargs):
for v in range(0, size_v):
for w in range(0, size_w):
for u in range(0, si... | Fix typo in computation of point position in the array | orbingol_NURBS-Python | train |
0f113aa3d58c01099709b1e51b0aa008234b378e | diff --git a/server/client.go b/server/client.go
index <HASH>..<HASH> 100644
--- a/server/client.go
+++ b/server/client.go
@@ -3493,8 +3493,11 @@ func isReservedReply(reply []byte) bool {
if isServiceReply(reply) {
return true
}
+ rLen := len(reply)
// Faster to check with string([:]) than byte-by-byte
- if le... | [FIXED] subject renaming with hand crafted reply subject (#<I>)
do so by rejecting jsackprefix in reply subjects | nats-io_gnatsd | train |
d87fe1b1d2b53520cd5a43e1aefaf967dd190686 | diff --git a/src/Http/Session/CacheSession.php b/src/Http/Session/CacheSession.php
index <HASH>..<HASH> 100644
--- a/src/Http/Session/CacheSession.php
+++ b/src/Http/Session/CacheSession.php
@@ -77,7 +77,7 @@ class CacheSession implements SessionHandlerInterface
/**
* Method used to read from a cache session... | Fix errors reported by psalm. | cakephp_cakephp | train |
c7335e5ee3175ed000507874668b15628ef03225 | diff --git a/fundamentals/files/tag.py b/fundamentals/files/tag.py
index <HASH>..<HASH> 100644
--- a/fundamentals/files/tag.py
+++ b/fundamentals/files/tag.py
@@ -57,7 +57,7 @@ def tag(
if isinstance(tags, list):
tags = (" ").join(tags)
- if len(tags):
+ if tags and len(tags):
tags = tags... | a small fix in tagging function | thespacedoctor_fundamentals | train |
2b60e125a8d0a902d0e025db5a1f0a852dd8cbe3 | diff --git a/girder/api/v1/assetstore.py b/girder/api/v1/assetstore.py
index <HASH>..<HASH> 100644
--- a/girder/api/v1/assetstore.py
+++ b/girder/api/v1/assetstore.py
@@ -32,6 +32,7 @@ class Assetstore(Resource):
self.route('GET', (), self.find)
self.route('POST', (), self.createAssetstore)
s... | Add endpoint for assetstore deletion, as well as a test | girder_girder | train |
f707801497f4f178a439897dd8dd5b4146e2259d | diff --git a/maven-plugin/src/main/java/org/kantega/reststop/maven/AbstractReststopMojo.java b/maven-plugin/src/main/java/org/kantega/reststop/maven/AbstractReststopMojo.java
index <HASH>..<HASH> 100644
--- a/maven-plugin/src/main/java/org/kantega/reststop/maven/AbstractReststopMojo.java
+++ b/maven-plugin/src/main/jav... | Consider a plugin's managed dependencies when resolving a plugin classpath | kantega_reststop | train |
1878e69b46aaa15cdef8bd1cce1778b743048d5e | diff --git a/lib/gir_ffi-base/gobject.rb b/lib/gir_ffi-base/gobject.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi-base/gobject.rb
+++ b/lib/gir_ffi-base/gobject.rb
@@ -43,6 +43,7 @@ module GObject
TYPE_ARRAY = Lib.g_array_get_type
TYPE_BYTE_ARRAY = Lib.g_byte_array_get_type
+ TYPE_ERROR = Lib.g_error_get_ty... | Add constant for GError's GType | mvz_gir_ffi | train |
bd7b72a5c59ca3e06c30ef50e3cbcf357fef6dbc | diff --git a/test/com/opera/core/systems/WindowTest.java b/test/com/opera/core/systems/WindowTest.java
index <HASH>..<HASH> 100644
--- a/test/com/opera/core/systems/WindowTest.java
+++ b/test/com/opera/core/systems/WindowTest.java
@@ -27,7 +27,6 @@ import com.opera.core.systems.testing.drivers.TestOperaDriverSupplier;
... | Implementing TestingPageFactory for passing in Pages object | operasoftware_operaprestodriver | train |
db3a57820042e6d1e090ecb5b88fa58cdf58b195 | diff --git a/gl-client/src/main/java/org/immunogenomics/gl/client/json/JsonGlClient.java b/gl-client/src/main/java/org/immunogenomics/gl/client/json/JsonGlClient.java
index <HASH>..<HASH> 100644
--- a/gl-client/src/main/java/org/immunogenomics/gl/client/json/JsonGlClient.java
+++ b/gl-client/src/main/java/org/immunogen... | remove pause, only seems to cause trouble with jetty on osx | nmdp-bioinformatics_genotype-list | train |
1dc175338bd0cc9294be6a6e3027d468c31829c6 | diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activestorage/CHANGELOG.md
+++ b/activestorage/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Allow `expires_in` for ActiveStorage signed ids.
+
+ *aki77*
+
* Allow to purge an attachment when record is not persisted for `ha... | Allow expires_in for ActiveStorage signed ids | rails_rails | train |
4f89a23d9bbb588bb5e38c6c1dbe59d2629ae4ed | diff --git a/src/doctest.js b/src/doctest.js
index <HASH>..<HASH> 100755
--- a/src/doctest.js
+++ b/src/doctest.js
@@ -82,7 +82,7 @@ function test (config, filename, sandbox) {
let stack = '';
const defaultBabelOptions = {
- presets: ['es2015']
+ presets: [es2015]
};
const babelOptions... | Use bundled es<I> preset instead of reading from local config | Widdershin_markdown-doctest | train |
1cfde53a1a20abd9d2de5fbef33aa16f9c7702d5 | diff --git a/fathom-rest/src/main/java/fathom/rest/controller/ControllerRegistrar.java b/fathom-rest/src/main/java/fathom/rest/controller/ControllerRegistrar.java
index <HASH>..<HASH> 100644
--- a/fathom-rest/src/main/java/fathom/rest/controller/ControllerRegistrar.java
+++ b/fathom-rest/src/main/java/fathom/rest/contr... | Fix ControllerRegistrar and ControllerScanner package name logging | gitblit_fathom | train |
9638399820ca09b65bf67cecc190af6b50aa8c62 | diff --git a/lib/array-slice.js b/lib/array-slice.js
index <HASH>..<HASH> 100644
--- a/lib/array-slice.js
+++ b/lib/array-slice.js
@@ -3,7 +3,7 @@
var uptown = require('uptown');
var refract = require('./refraction').refract;
var createClass = uptown.createClass;
-var _ = require('lodash');
+var negate = require('lo... | Import only those parts of lodash that are used | refractproject_minim | train |
6ed3ead04b0c45fd619fff4d7d974b49554e9225 | diff --git a/src/main/java/de/btobastian/javacord/DiscordAPI.java b/src/main/java/de/btobastian/javacord/DiscordAPI.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/btobastian/javacord/DiscordAPI.java
+++ b/src/main/java/de/btobastian/javacord/DiscordAPI.java
@@ -499,4 +499,14 @@ public interface DiscordAPI {
... | Added configurable reconnect ratelimit to prevent reconnect loops (issue #<I>) | Javacord_Javacord | train |
ea04811e70ed8b49507aa022a2e109cfaa5bd9a8 | diff --git a/src/basis/data.js b/src/basis/data.js
index <HASH>..<HASH> 100644
--- a/src/basis/data.js
+++ b/src/basis/data.js
@@ -766,8 +766,8 @@ basis.require('basis.event');
//
var KEYOBJECTMAP_MEMBER_HANDLER = {
- destroy: function(){
- delete this.map_[itemId];
+ destroy: function(object){
... | - basis.data: bug fix for KeyObjectMap on destroying of member objects | basisjs_basisjs | train |
94ac0cdb6d1e8ea9dc49473d42eb906880a92531 | diff --git a/core/optaplanner-core-impl/src/test/java/org/optaplanner/core/impl/solver/DefaultSolverTest.java b/core/optaplanner-core-impl/src/test/java/org/optaplanner/core/impl/solver/DefaultSolverTest.java
index <HASH>..<HASH> 100644
--- a/core/optaplanner-core-impl/src/test/java/org/optaplanner/core/impl/solver/Def... | Remove leak of test meter registries (#<I>)
Previously, before each test, only Metrics.globalRegistry.clear()
was called. This removes all meters, but does not remove
meter registries. Each test create it own meter registry.
This leads to a leak where the Metrics.globalRegistry keep glowing,
slowing down repeated ... | kiegroup_optaplanner | train |
fd8cfb11fb3d5e84ab44b14474b3421a1d49d1b1 | diff --git a/bridge/bridge.go b/bridge/bridge.go
index <HASH>..<HASH> 100644
--- a/bridge/bridge.go
+++ b/bridge/bridge.go
@@ -84,8 +84,14 @@ func New(cfg *config.Config, bridge *config.Bridge, c chan config.Message) *Brid
func (b *Bridge) JoinChannels() error {
exists := make(map[string]bool)
- b.joinChannels(b.C... | Fail when bridge is unable to join a channel (general) | 42wim_matterbridge | train |
4747733b0873e160b72816cf6cb33b8dc6334e47 | diff --git a/src/RuntimeTheme.php b/src/RuntimeTheme.php
index <HASH>..<HASH> 100644
--- a/src/RuntimeTheme.php
+++ b/src/RuntimeTheme.php
@@ -3,6 +3,7 @@
namespace Yajra\CMS\Themes;
use Closure;
+use Yajra\CMS\Themes\Facades\Theme;
class RuntimeTheme
{
@@ -16,14 +17,7 @@ class RuntimeTheme
*/
public... | Refactor middleware and extract theme setter view finder. | yajra_cms-themes | train |
f268a5d3ee5490caed7761366e7c5fdbd332e6ed | diff --git a/pydev_runfiles_xml_rpc.py b/pydev_runfiles_xml_rpc.py
index <HASH>..<HASH> 100644
--- a/pydev_runfiles_xml_rpc.py
+++ b/pydev_runfiles_xml_rpc.py
@@ -208,10 +208,11 @@ def notifyStartTest(file, test):
def _encode_if_needed(obj):
+ # In the java side we expect strings to be ISO-8859-1 (org.python.py... | Minor fix dealing with stdout/stderr encoding in the unittest integration. | fabioz_PyDev.Debugger | train |
631ae8438f4ed6e9b040dafd4d954a22911cf2e7 | diff --git a/core/ScheduledTask.php b/core/ScheduledTask.php
index <HASH>..<HASH> 100644
--- a/core/ScheduledTask.php
+++ b/core/ScheduledTask.php
@@ -15,8 +15,8 @@ use Exception;
use Piwik\ScheduledTime;
/**
- * Contains metadata describing and referencing a chunk of PHP code that should be
- * executed regularly.... | Refs #<I>, finished documenting scheduled task related classes. | matomo-org_matomo | train |
ac0370772391bcbfa89a78efff91acb4ebd90f0f | diff --git a/subconvert/apprunner.py b/subconvert/apprunner.py
index <HASH>..<HASH> 100644
--- a/subconvert/apprunner.py
+++ b/subconvert/apprunner.py
@@ -79,12 +79,12 @@ def prepareOptions():
type = loadSpf, default = SubtitleProperties(),
help = _("loads settings from spf (subtitle property file)"))... | Changed "movie" strings to "video" | mgoral_subconvert | train |
60f6bf5670317acdd0e383a47fdaae1226c34c9b | diff --git a/pyinfra/api/operation_kwargs.py b/pyinfra/api/operation_kwargs.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/operation_kwargs.py
+++ b/pyinfra/api/operation_kwargs.py
@@ -1,3 +1,8 @@
+from pyinfra import logger
+
+from .util import ensure_host_list, memoize
+
+
auth_kwargs = {
'sudo': {
'... | Tidy up how global arguments are passed to operations.
This means global args are consistently passed to the three main
functions in each executor (run cmd, get & put file). Fixes sudo
password support for `files.[get|put]`. | Fizzadar_pyinfra | train |
57a6c69e385d7a90b89b2d8b933df7fd99d72405 | diff --git a/GPflow/priors.py b/GPflow/priors.py
index <HASH>..<HASH> 100644
--- a/GPflow/priors.py
+++ b/GPflow/priors.py
@@ -88,3 +88,13 @@ class Laplace(Prior):
return "Lap.("+str(self.mu) + "," + str(self.sigma) + ")"
+class Uniform(Prior):
+ def __init__(self, lower=0, upper=1):
+ self.log_h... | adding a simple Uniform prior (#<I>)
* adding a simple Uniform prior
* fixed sign bug | GPflow_GPflow | train |
40b7c2c047ae9763f6db39c7a5ae204d1623957b | diff --git a/skyfield/units.py b/skyfield/units.py
index <HASH>..<HASH> 100644
--- a/skyfield/units.py
+++ b/skyfield/units.py
@@ -174,24 +174,25 @@ class Angle(object):
else 'degrees')
self.signed = signed
- def __getattr__(self, name):
- if name == '_hours':
- ... | Switch Angle from __getattr__() to @reify | skyfielders_python-skyfield | train |
41ae30c228a220d88eb07c45d9d0b321fe0973e6 | diff --git a/concrete/controllers/element/navigation/dashboard_menu.php b/concrete/controllers/element/navigation/dashboard_menu.php
index <HASH>..<HASH> 100644
--- a/concrete/controllers/element/navigation/dashboard_menu.php
+++ b/concrete/controllers/element/navigation/dashboard_menu.php
@@ -33,6 +33,15 @@ class Dash... | add function that checks if dashboard panel should render a top level menu which decides whether the link to the menu item is a real link or if it should load a panel when it is clicked instead | concrete5_concrete5 | train |
f2c70d760f1d0c496bea39601ed237bc20406b94 | diff --git a/src/Notifynder/Senders/OnceSender.php b/src/Notifynder/Senders/OnceSender.php
index <HASH>..<HASH> 100644
--- a/src/Notifynder/Senders/OnceSender.php
+++ b/src/Notifynder/Senders/OnceSender.php
@@ -34,11 +34,7 @@ class OnceSender implements SenderContract
protected function getQuery(Notification $no... | Issue #<I> make sender more atomic | fenos_Notifynder | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.