hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
95ec53662a6bf47182f69faa372c6d86d3cab630 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -3561,7 +3561,7 @@
var after = i ? computeSelAfterChange(doc, change) : lst(source);
makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));
- if (!i && doc... | Scroll correct positions into view after undo/redo
Issue #<I> | codemirror_CodeMirror | train | js |
678a0716c48840cdfbb711dbcc27653cef443822 | diff --git a/lib/ronin/ui/cli/commands/net/proxy.rb b/lib/ronin/ui/cli/commands/net/proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/ui/cli/commands/net/proxy.rb
+++ b/lib/ronin/ui/cli/commands/net/proxy.rb
@@ -158,6 +158,11 @@ module Ronin
:usage => '/REGEXP/ [...]',
... | Added example commands to the net:proxy command. | ronin-ruby_ronin | train | rb |
15cdcf0a174867013087dddcc89f77352854690f | diff --git a/src/Element/TaskBarIcon.php b/src/Element/TaskBarIcon.php
index <HASH>..<HASH> 100644
--- a/src/Element/TaskBarIcon.php
+++ b/src/Element/TaskBarIcon.php
@@ -22,4 +22,18 @@ class TaskBarIcon implements ElementInterface
{
$this->element = new RawTaskBarIcon;
}
+
+ /**
+ * Add a chi... | When adding a child element to TaskBarIcon, if its a menu, set this on our raw object | encorephp_wxwidgets | train | php |
529feb274e9eb2cd16ecf5544e0c7ca9c300304e | diff --git a/src/server/pkg/deploy/cmds/cmds.go b/src/server/pkg/deploy/cmds/cmds.go
index <HASH>..<HASH> 100644
--- a/src/server/pkg/deploy/cmds/cmds.go
+++ b/src/server/pkg/deploy/cmds/cmds.go
@@ -21,7 +21,7 @@ import (
"go.pedge.io/pkg/cobra"
)
-var defaultDashImage = "pachyderm/dash:0.5.0"
+var defaultDashImag... | Bump dash version to <I> | pachyderm_pachyderm | train | go |
8f7b7b3ea5ab02fac299974588f7756c0af596d5 | diff --git a/pymc/distributions.py b/pymc/distributions.py
index <HASH>..<HASH> 100755
--- a/pymc/distributions.py
+++ b/pymc/distributions.py
@@ -2799,11 +2799,12 @@ def _inject_dist(distname, kwargs={}, ns=locals()):
Reusable function to inject Stochastic subclasses into module
namespace
"""
- dist_... | Fixed bug in _inject_dist | pymc-devs_pymc | train | py |
8229e787ef9e2e2562eb25a5401091af602968d1 | diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.9.12"
+__version__ = "0.9.13" | Update version number to <I> | chaoss_grimoirelab-perceval | train | py |
84f1cc3cbd4ac0b32523b73f1d4e55955e466a42 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ def list_files(d, root):
with open('README.rst') as fp:
description = fp.read()
setup(name='usagestats',
- version='0.1',
+ version='0.2',
py_modules=['usagestats'],
description="A... | Changes version to '<I>' | remram44_usagestats | train | py |
99ca90c9644e2835051d04c0577379ce0e318319 | diff --git a/lib/Sabre/CalDAV/Backend/PDO.php b/lib/Sabre/CalDAV/Backend/PDO.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/CalDAV/Backend/PDO.php
+++ b/lib/Sabre/CalDAV/Backend/PDO.php
@@ -93,7 +93,7 @@ class Sabre_CalDAV_Backend_PDO extends Sabre_CalDAV_Backend_Abstract {
// Making fields a comma-delimite... | list of calendars should be ordered by calendarorder | sabre-io_dav | train | php |
1a531dc4f6aaec03ab23c579b71b0aed490b2c94 | diff --git a/src/Phantoman.php b/src/Phantoman.php
index <HASH>..<HASH> 100644
--- a/src/Phantoman.php
+++ b/src/Phantoman.php
@@ -79,13 +79,13 @@ class Phantoman extends \Codeception\Platform\Extension
$command = $this->getCommand();
- $descriptorSpec = [
- ['pipe', 'r'],
- ['... | Changed array notation from short to long | grantlucas_phantoman | train | php |
1c1ba480f7b35df9b7e50fa1a60fed063929a9ee | diff --git a/tests/integration/setup/test_bdist.py b/tests/integration/setup/test_bdist.py
index <HASH>..<HASH> 100644
--- a/tests/integration/setup/test_bdist.py
+++ b/tests/integration/setup/test_bdist.py
@@ -3,26 +3,20 @@
tests.integration.setup.test_bdist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
-
-# Import python... | We do not need to be root to run this test | saltstack_salt | train | py |
ab1d165bba1ea77c723295cfff3c11772c057218 | diff --git a/spacy/cli/train.py b/spacy/cli/train.py
index <HASH>..<HASH> 100644
--- a/spacy/cli/train.py
+++ b/spacy/cli/train.py
@@ -102,9 +102,9 @@ def train(
if resume_components:
with nlp.select_pipes(enable=resume_components):
msg.info(f"Resuming training for: {resume_components}")
- ... | Pass optimizer defined in config to resume/begin_training
Otherwise, this would create a default optimizer, which isn't what we want? | explosion_spaCy | train | py |
61712dbd67e47597d5b7f988d1e64958a4a16e41 | diff --git a/bitshares/storage.py b/bitshares/storage.py
index <HASH>..<HASH> 100644
--- a/bitshares/storage.py
+++ b/bitshares/storage.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from graphenestorage import (
InRamConfigurationStore,
InRamEncryptedKeyStore,
@@ -10,8 +11,8 @@ from graphenestorage import (
... | Ensure we do have a default expiration time for new orders | bitshares_python-bitshares | train | py |
67ecbba4ff24895389b347977be6342b544da8e7 | diff --git a/libnetwork/drivers/bridge/bridge.go b/libnetwork/drivers/bridge/bridge.go
index <HASH>..<HASH> 100644
--- a/libnetwork/drivers/bridge/bridge.go
+++ b/libnetwork/drivers/bridge/bridge.go
@@ -313,11 +313,7 @@ func (n *bridgeNetwork) isolateNetwork(others []*bridgeNetwork, enable bool) err
}
// Install ... | bridge: fix lint issue | moby_moby | train | go |
a253f95437f3c40e06c72899e3f1e9f1e4582d7c | diff --git a/lib/mittsu/renderers/opengl/opengl_geometry_group.rb b/lib/mittsu/renderers/opengl/opengl_geometry_group.rb
index <HASH>..<HASH> 100644
--- a/lib/mittsu/renderers/opengl/opengl_geometry_group.rb
+++ b/lib/mittsu/renderers/opengl/opengl_geometry_group.rb
@@ -172,19 +172,5 @@ module Mittsu
def implement... | patch: remove unnecessary private methods from geometry_group | jellymann_mittsu | train | rb |
7db982e8ba5f0ac76089db33f270144b93648930 | diff --git a/src/wappalyzer.js b/src/wappalyzer.js
index <HASH>..<HASH> 100644
--- a/src/wappalyzer.js
+++ b/src/wappalyzer.js
@@ -9,7 +9,7 @@ const Wappalyzer = {
.toLowerCase()
.replace(/[^a-z0-9-]/g, '-')
.replace(/--+/g, '-')
- .replace(/(?:^-|-$)/, '')
+ .replace(/(?:^-|-$)/g, '')
... | Fixed regex in slugify method. | AliasIO_Wappalyzer | train | js |
810584243ad9c5365d9e5c270520db1ab50e4eda | diff --git a/lib/maruku/input/parse_doc.rb b/lib/maruku/input/parse_doc.rb
index <HASH>..<HASH> 100644
--- a/lib/maruku/input/parse_doc.rb
+++ b/lib/maruku/input/parse_doc.rb
@@ -18,10 +18,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#++
-
-require 'iconv'
-
-
module MaRuKu; ... | Switch to ruby <I> String#encode with backward <I> compatibility (Iconv) | bhollis_maruku | train | rb |
3b4e8b9b6c8ce84e2c14378e227a582d00fe8eb9 | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -9063,6 +9063,23 @@ const devices = [
},
},
{
+ fingerprint: [{modelID: 'RC-EM', manufacturerName: 'HEIMAN'}],
+ model: 'HS1RC-EM',
+ vendor: 'HEIMAN',
+ description: 'Sma... | Add Heiman HS1RC-EM support (#<I>)
* Add Heiman HS1RC-EM support
* Trailing space removed | Koenkk_zigbee-shepherd-converters | train | js |
fdd64b95f9cbdd9fecdb8d4b9f216e0af8b80145 | diff --git a/test/src/Validator/MaxTest.php b/test/src/Validator/MaxTest.php
index <HASH>..<HASH> 100644
--- a/test/src/Validator/MaxTest.php
+++ b/test/src/Validator/MaxTest.php
@@ -54,7 +54,7 @@ class MaxTest extends \PHPUnit_Framework_TestCase {
}
/**
- * @covers Wellid\Validator\FloatingPoint::v... | Fix PHPDocs in Tests | broeser_wellid | train | php,php |
b35ad1e611268b648595949bd6b51dcb43dddb15 | diff --git a/pyemma/coordinates/transform/transformer.py b/pyemma/coordinates/transform/transformer.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/transform/transformer.py
+++ b/pyemma/coordinates/transform/transformer.py
@@ -183,7 +183,7 @@ class Transformer(six.with_metaclass(ABCMeta, DataSource, Estimator, ... | [transformer] fix deprecated call | markovmodel_PyEMMA | train | py |
8d5bf11c706f2fe2bcc3af7fc5d337d20ca6add2 | diff --git a/param/parameterized.py b/param/parameterized.py
index <HASH>..<HASH> 100644
--- a/param/parameterized.py
+++ b/param/parameterized.py
@@ -1392,6 +1392,8 @@ class Parameterized(object):
# a later-overridden parent class's parameter)
params_to_instantiate = {}
for class_ in classl... | Skip processing non-parameterized classes in setup_param
Easy 5-<I>% speedup in creating Parameterized objects | pyviz_param | train | py |
5560de72d51b868912d82691b6f7a28ba1ea5d8c | diff --git a/scripts/release.js b/scripts/release.js
index <HASH>..<HASH> 100644
--- a/scripts/release.js
+++ b/scripts/release.js
@@ -83,9 +83,12 @@ async function publishCanary(opts) {
if (!opts.dry) {
exec(`
- ${lernaBin} exec
- -- cd dist && npm pack --dry-run
+ ${lernaBin} exec --concurr... | cli: show package.json before publish prompt | react-spring_react-spring | train | js |
9ca1489a41eb973c84d728645609d4d0bd6e2840 | diff --git a/drizzlepac/alignimages.py b/drizzlepac/alignimages.py
index <HASH>..<HASH> 100644
--- a/drizzlepac/alignimages.py
+++ b/drizzlepac/alignimages.py
@@ -1110,6 +1110,8 @@ if __name__ == '__main__':
output = convert_string_tf_to_boolean(ARGS.output)
# Get to it!
- return_value = perform_align(in... | drizzlepac/alignimages.py: fixed perform_align() subroutine call so all input arguments are included now. (#<I>) | spacetelescope_drizzlepac | train | py |
52a650ed7bf593be46614737b3e6456cf09977a5 | diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/initializer.rb
+++ b/railties/lib/initializer.rb
@@ -837,7 +837,8 @@ Run `rake gems:install` to install the missing gems.
# Enable threaded mode. Allows concurrent requests to controller actions ... | Add some clarification of the side effects of threadsafe! | rails_rails | train | rb |
f7313aa6d2e86015a0520ff599bec1fdcad605ce | diff --git a/src/NinjaMutex/Mutex.php b/src/NinjaMutex/Mutex.php
index <HASH>..<HASH> 100644
--- a/src/NinjaMutex/Mutex.php
+++ b/src/NinjaMutex/Mutex.php
@@ -94,7 +94,7 @@ class Mutex
*/
public function __destruct()
{
- if ($this->isAcquired()) {
+ while ($this->isAcquired()) {
... | Ups, don't push dev code | arvenil_ninja-mutex | train | php |
2164143555d1b7c33658be02aa59580b4670e57b | diff --git a/algoliasearch/Client.go b/algoliasearch/Client.go
index <HASH>..<HASH> 100644
--- a/algoliasearch/Client.go
+++ b/algoliasearch/Client.go
@@ -111,6 +111,10 @@ func (c *Client) GenerateSecuredApiKey(apiKey string, public interface{}, userTo
return hex.EncodeToString(h.Sum(nil)), nil
}
+func (c *Client... | Expose encode param for the generate secured api key | algolia_algoliasearch-client-go | train | go |
f6552753135f34969544f354d4df831ad5ed4958 | diff --git a/BoundingBox.js b/BoundingBox.js
index <HASH>..<HASH> 100644
--- a/BoundingBox.js
+++ b/BoundingBox.js
@@ -54,6 +54,13 @@ function BoundingBox (bounds) {
this.maxlon = bounds.lon
}
+ if (Array.isArray(bounds)) {
+ this.minlat = bounds[0]
+ this.maxlat = bounds[0]
+ this.minlon = bounds[1... | Accept [ lat, lon ] as input | plepe_boundingbox | train | js |
8420bf82623e77f35d6b5533bf23874173901620 | diff --git a/bcbio/variation/population.py b/bcbio/variation/population.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/population.py
+++ b/bcbio/variation/population.py
@@ -85,7 +85,7 @@ def _annotate_somatic(data):
paired = vcfutils.get_paired([data])
if paired:
r = dd.get_variatio... | vcfanno: safe check for cosmic VCF, allowing None | bcbio_bcbio-nextgen | train | py |
edf935ca8ec50a2b1a35c454d1bffd60c994a1f0 | diff --git a/connectionpool.go b/connectionpool.go
index <HASH>..<HASH> 100644
--- a/connectionpool.go
+++ b/connectionpool.go
@@ -291,7 +291,10 @@ func (c *SimplePool) HandleError(conn *Conn, err error, closed bool) {
return
}
c.removeConn(conn)
- if !c.quit {
+ c.mu.Lock()
+ poolClosed := c.quit
+ c.mu.Unlock(... | lock mu when checking if the pool is closed | gocql_gocql | train | go |
64ba71e18104cfebd3b4da9e2e79e8b9019a6ff7 | diff --git a/lib/vigia/sail/example.rb b/lib/vigia/sail/example.rb
index <HASH>..<HASH> 100644
--- a/lib/vigia/sail/example.rb
+++ b/lib/vigia/sail/example.rb
@@ -22,9 +22,10 @@ module Vigia
instance = self
rspec.it instance do
skip if instance.skip?(self) || (respond_to?(:... | dont run the expectation if it is disabled | nogates_vigia | train | rb |
4daf0371465357036078caf123666697e6fa3622 | diff --git a/lib/webrat/selenium/location_strategy_javascript/label.js b/lib/webrat/selenium/location_strategy_javascript/label.js
index <HASH>..<HASH> 100644
--- a/lib/webrat/selenium/location_strategy_javascript/label.js
+++ b/lib/webrat/selenium/location_strategy_javascript/label.js
@@ -1,8 +1,7 @@
var allLabels = ... | make label location strategy work with unescaped strings | brynary_webrat | train | js |
1f2f8d7e23709386c8622d4f5037c6c6bcd1a5f5 | diff --git a/juju/conn.go b/juju/conn.go
index <HASH>..<HASH> 100644
--- a/juju/conn.go
+++ b/juju/conn.go
@@ -13,7 +13,7 @@ var (
// Conn holds a connection to a juju.
type Conn struct {
// TODO extend to hold a *state.State.
- Environ environs.Environ
+ environ environs.Environ
}
// NewConn returns a Conn poi... | juju: no need to export Conn.Environ | juju_juju | train | go |
06cb1faa5b17055fa540465518aa3d8cee20ee5b | diff --git a/mem/meminfo.go b/mem/meminfo.go
index <HASH>..<HASH> 100644
--- a/mem/meminfo.go
+++ b/mem/meminfo.go
@@ -89,7 +89,6 @@ func (d *Info) String() string {
func GetInfo() (*Info, error) {
var l, i int
var name string
- var err error
var v byte
t := time.Now().UTC().UnixNano()
f, err := os.Open("/pr... | elide unnecessary creation of line buffer in meminfo ticker | mohae_joefriday | train | go |
7fc022c13fe107886d43109ac3c267a8bec89a57 | diff --git a/src/MainGrid.js b/src/MainGrid.js
index <HASH>..<HASH> 100644
--- a/src/MainGrid.js
+++ b/src/MainGrid.js
@@ -330,7 +330,8 @@ MainGrid.prototype.computeCoordinates = function () {
x2: function(d) { return d.x; },
y2: _self.height,
'class': _self.prefix + '... | pointer-events for grid lines | oncojs_oncogrid | train | js |
5d65fc8da0fa8e01c318113ed51d2007581fcaf6 | diff --git a/smoketests/helpers.js b/smoketests/helpers.js
index <HASH>..<HASH> 100644
--- a/smoketests/helpers.js
+++ b/smoketests/helpers.js
@@ -98,7 +98,7 @@ const runTestStdout = ({ packageName, cliArgs, logMessage, isSubPackage } = {})
const timeout = setTimeout(() => {
console.log(" timeout: killing... | test: increase timeout (#<I>) | webpack_webpack-cli | train | js |
6c901ea0d5eeb6c85872423349985efe738af582 | diff --git a/cluster/manager/pair.go b/cluster/manager/pair.go
index <HASH>..<HASH> 100644
--- a/cluster/manager/pair.go
+++ b/cluster/manager/pair.go
@@ -306,15 +306,15 @@ func (c *ClusterManager) GetPairToken(
)
updateCallbackFn := func(db *cluster.ClusterInfo) (bool, error) {
+ pairToken = db.PairToken
// ... | set the pair token by default (#<I>) | libopenstorage_openstorage | train | go |
556a0cb6d396f374e0f6c2a134e02350019dcaac | diff --git a/arff.py b/arff.py
index <HASH>..<HASH> 100644
--- a/arff.py
+++ b/arff.py
@@ -366,21 +366,16 @@ class BadLayout(ArffException):
if msg:
self.message = BadLayout.message + ' ' + msg.replace('%', '%%')
-class BadObject(ArffException):
- '''Error raised when the object representing ... | Remove redundant class (#<I>) | renatopp_liac-arff | train | py |
0c5e1c138d41ee96e5e52951536f428c35e93e23 | diff --git a/src/api/index.js b/src/api/index.js
index <HASH>..<HASH> 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -114,6 +114,11 @@ export function update(links, id, value, name, config) {
export function submit(href) {
const data = state.get().drafts[href]
- requestResource({ data, href, method: 'po... | fix: Clear submit draft after successful request | cignium_hypermedia-client | train | js |
dc65cd7a7a360b1d6a61cb05386b8e7f0c749e6b | diff --git a/src/processor/intents/invader-core/stronghold/stronghold.js b/src/processor/intents/invader-core/stronghold/stronghold.js
index <HASH>..<HASH> 100644
--- a/src/processor/intents/invader-core/stronghold/stronghold.js
+++ b/src/processor/intents/invader-core/stronghold/stronghold.js
@@ -77,6 +77,7 @@ const d... | fix(processor): stronghold deploying move fix
DEV-<I> | screeps_engine | train | js |
a893274bb729b6f6c363f002cbb37aacbfc46b4d | diff --git a/ssbio/protein/structure/structprop.py b/ssbio/protein/structure/structprop.py
index <HASH>..<HASH> 100644
--- a/ssbio/protein/structure/structprop.py
+++ b/ssbio/protein/structure/structprop.py
@@ -89,7 +89,7 @@ class StructProp(Object):
@property
def structure_dir(self):
if not self._st... | Fix typo in structure_dir
(cherry picked from commit e<I>e<I>f) | SBRG_ssbio | train | py |
134d981047dcd0ffec7469d71b9c68d0d989ba55 | diff --git a/src/Migrations/Version/Version20200905191956.php b/src/Migrations/Version/Version20200905191956.php
index <HASH>..<HASH> 100644
--- a/src/Migrations/Version/Version20200905191956.php
+++ b/src/Migrations/Version/Version20200905191956.php
@@ -35,4 +35,12 @@ final class Version20200905191956 extends Abstract... | set to false in case there is no transaction | apioo_fusio-impl | train | php |
4838eec6c39c5c985a5df2c49bc4e8c1e3bec7be | diff --git a/SoftLayer/managers/hardware.py b/SoftLayer/managers/hardware.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/managers/hardware.py
+++ b/SoftLayer/managers/hardware.py
@@ -604,12 +604,13 @@ def _get_port_speed_price_id(items, port_speed, no_public):
"""Choose a valid price id for port speed."""
f... | Since not everything has a capacity, the check for a port speed needs to happen first | softlayer_softlayer-python | train | py |
efb54784c8ac5378e70cebfd17dcdd36f6f50711 | diff --git a/blockmanager.go b/blockmanager.go
index <HASH>..<HASH> 100644
--- a/blockmanager.go
+++ b/blockmanager.go
@@ -283,7 +283,7 @@ func (b *blockManager) handleBlockMsg(bmsg *blockMsg) {
// it as such. Otherwise, something really did go wrong, so log
// it as an actual error.
if _, ok := err.(btcchain... | Log rejected blocks and transactions as info.
Rather than logging these as warnings which implies something is wrong
that might require user action, log them as info. | btcsuite_btcd | train | go,go |
56a44661b6101cef4449b22ec2adc97d622bc68c | diff --git a/core/src/main/java/org/bitcoinj/script/ScriptPattern.java b/core/src/main/java/org/bitcoinj/script/ScriptPattern.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/script/ScriptPattern.java
+++ b/core/src/main/java/org/bitcoinj/script/ScriptPattern.java
@@ -205,7 +205,6 @@ public class ... | ScriptPattern: Remove redundant opcode check in isSentToMultisig().
The following line has a check that is strictly stronger. | bitcoinj_bitcoinj | train | java |
491538b61cce997ae5ffc537218397707a6a8b89 | diff --git a/anchore/anchore_utils.py b/anchore/anchore_utils.py
index <HASH>..<HASH> 100644
--- a/anchore/anchore_utils.py
+++ b/anchore/anchore_utils.py
@@ -1278,7 +1278,7 @@ def get_distro_flavor(distro, version, likedistro=None):
'likeversion':version
}
- if distro in ['centos', 'rhel', 'fedora']... | adding mapping between OSes that identify as redhat to the RHEL/centos flavor | anchore_anchore | train | py |
16af1ca471aaa19f524d096024415648c3ca9c49 | diff --git a/virtualbox/library_ext/guest.py b/virtualbox/library_ext/guest.py
index <HASH>..<HASH> 100644
--- a/virtualbox/library_ext/guest.py
+++ b/virtualbox/library_ext/guest.py
@@ -25,7 +25,7 @@ class IGuest(library.IGuest):
if timeout_ms != 0:
# There is probably a better way to to this?
... | Check for calc.exe instead of autoexec.bat when waiting for a windows guest to come online | sethmlarson_virtualbox-python | train | py |
18906bce8b74497d9f3fe2d9661ea812d9e3b83f | diff --git a/pkg/client/s3/client.go b/pkg/client/s3/client.go
index <HASH>..<HASH> 100644
--- a/pkg/client/s3/client.go
+++ b/pkg/client/s3/client.go
@@ -141,7 +141,7 @@ func newReq(url string) *http.Request {
return req
}
-func parseListAllMyBuckets(r io.ReadCloser) ([]*client.Bucket, error) {
+func parseListAll... | Build fix erroneous change in previous commit | minio_mc | train | go |
10179d5b36c1c0db94077cdd0565c00fdd231dce | diff --git a/lib/pg_search.rb b/lib/pg_search.rb
index <HASH>..<HASH> 100644
--- a/lib/pg_search.rb
+++ b/lib/pg_search.rb
@@ -21,7 +21,14 @@ module PgSearch
module ClassMethods
def pg_search_scope(name, options)
scope = PgSearch::Scope.new(name, self, options)
- define_singleton_method name, &scope... | Ruby <I> doesn't have define_singleton_method | Casecommons_pg_search | train | rb |
7d720171567c6dec0271c7962bb6b4ad2da6d150 | diff --git a/core/xml.js b/core/xml.js
index <HASH>..<HASH> 100644
--- a/core/xml.js
+++ b/core/xml.js
@@ -213,7 +213,13 @@ Blockly.Xml.blockToDom = function(block, opt_noId) {
}
var shadow = input.connection.getShadowDom();
if (shadow && (!childBlock || !childBlock.isShadow())) {
- containe... | When opt_noId is specified to true, shadow ids should also be removed. | LLK_scratch-blocks | train | js |
fce88def9f73e41a0620f7a6347d69af8e46f1e5 | diff --git a/src/Filters/FiltersPartial.php b/src/Filters/FiltersPartial.php
index <HASH>..<HASH> 100644
--- a/src/Filters/FiltersPartial.php
+++ b/src/Filters/FiltersPartial.php
@@ -16,9 +16,9 @@ class FiltersPartial extends FiltersExact implements Filter
$sql = "LOWER({$wrappedProperty}) LIKE ?";
- ... | Eliminates empty value on partial match filter (#<I>)
Fixes issue where /api/resource?filter[status]=1,2,3, would return everything because of the trailing slash. A partial match on empty value does not make sense and should be avoided. | spatie_laravel-query-builder | train | php |
35a03e899118bc30fd11c312f81c0339f81deeea | diff --git a/lib/racecar/config.rb b/lib/racecar/config.rb
index <HASH>..<HASH> 100644
--- a/lib/racecar/config.rb
+++ b/lib/racecar/config.rb
@@ -43,6 +43,9 @@ module Racecar
desc "How long to allow the Kafka brokers to wait before returning messages"
float :max_wait_time, default: 1
+ desc "The maximum... | Allow configuring `max_bytes`
The max size of fetch responses. Used to avoid blowing out the memory of
consumers. | zendesk_racecar | train | rb,rb |
7eb6c8cfefc5c800ed773dcb94bdbac52dfc1180 | diff --git a/src/core/util/debug.js b/src/core/util/debug.js
index <HASH>..<HASH> 100644
--- a/src/core/util/debug.js
+++ b/src/core/util/debug.js
@@ -1,6 +1,7 @@
import config from '../config'
+import { noop } from 'shared/util'
-let warn
+let warn = noop
let formatComponentName
if (process.env.NODE_ENV !== 'pr... | expose warn as noop in production builds | IOriens_wxml-transpiler | train | js |
fb812d1108300fa2e017e138f148e961db65deaf | diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/aiohttp/__init__.py
+++ b/aiohttp/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '2.3.0a3'
+__version__ = '2.3.0a4'
# This relies on each of the submodules having an __all__ variable. | Bump to <I>a4 | aio-libs_aiohttp | train | py |
a2f7f132f241936057b890907be6d69695e0bb0a | diff --git a/packages/graphiql/src/utility/commonKeys.js b/packages/graphiql/src/utility/commonKeys.js
index <HASH>..<HASH> 100644
--- a/packages/graphiql/src/utility/commonKeys.js
+++ b/packages/graphiql/src/utility/commonKeys.js
@@ -1,4 +1,8 @@
-const isMacOs = window.navigator.platform === 'MacIntel';
+let isMacOs =... | fix:(graphiql) - for SSR, regression from extraKeys bugfix, fixes #<I>
- dont expect window to be present for extraKeys MacOs detection logic
- use existing graphiql convention for detecting the presence of window | graphql_graphiql | train | js |
e03cc0ee2a1c373ae0059cecf4948eca41768de8 | diff --git a/modules/mainRequest/mainRequest.js b/modules/mainRequest/mainRequest.js
index <HASH>..<HASH> 100644
--- a/modules/mainRequest/mainRequest.js
+++ b/modules/mainRequest/mainRequest.js
@@ -5,21 +5,22 @@ exports.version = '0.1';
exports.module = function (phantomas) {
var isMainRequest = true;
-
- p... | Capturing the metric only once as a comma-separated string | macbre_phantomas | train | js |
3d1b22aabc684d8462d1935cc6ac48dde7c5f6be | diff --git a/src/test/java/io/github/bonigarcia/test/basic/EdgeJupiterTest.java b/src/test/java/io/github/bonigarcia/test/basic/EdgeJupiterTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/github/bonigarcia/test/basic/EdgeJupiterTest.java
+++ b/src/test/java/io/github/bonigarcia/test/basic/EdgeJupiterTest.ja... | Include message to disabled tests (not available on Travis) | bonigarcia_selenium-jupiter | train | java |
6c7c9f5cea30b6eed6d1bf33ee1322366fe4b328 | diff --git a/holoviews/element/comparison.py b/holoviews/element/comparison.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/comparison.py
+++ b/holoviews/element/comparison.py
@@ -154,6 +154,7 @@ class Comparison(ComparisonInterface):
cls.equality_type_funcs[Trisurface] = cls.compare_trisurface
... | Added Spikes Element comparison | pyviz_holoviews | train | py |
a3403b335841fc43e29a42aff383299df16519d8 | diff --git a/tasks/modernizr.js b/tasks/modernizr.js
index <HASH>..<HASH> 100644
--- a/tasks/modernizr.js
+++ b/tasks/modernizr.js
@@ -72,7 +72,7 @@ module.exports = function(grunt) {
grunt.registerTask("modernizr", "Build out a lean, mean Modernizr machine.", function () {
// Require a config object
- this.req... | Remove requirements for modernizr.devFile, modernizr.outputFile.
Instead, running the task without these settings will output a warning. | Modernizr_grunt-modernizr | train | js |
65aeda758fac94ffab1fdf51e395d310330f84fd | diff --git a/src/runner_panel.js b/src/runner_panel.js
index <HASH>..<HASH> 100644
--- a/src/runner_panel.js
+++ b/src/runner_panel.js
@@ -354,7 +354,13 @@ define(function main(require, exports, module) {
};
}
var selected_run_configuration = $runner_panel.find('.nodejs-integration-tab-pa... | fixed gulp icon switch in runner selector | yacut_brackets-nodejs-integration | train | js |
29c8a9a5c05332c4dfeec337f500ef4917ae9115 | diff --git a/lib/BlockCypher/Builder/TXInputBuilder.php b/lib/BlockCypher/Builder/TXInputBuilder.php
index <HASH>..<HASH> 100644
--- a/lib/BlockCypher/Builder/TXInputBuilder.php
+++ b/lib/BlockCypher/Builder/TXInputBuilder.php
@@ -61,6 +61,7 @@ class TXInputBuilder
$txInput = new TXInput();
$txInput... | Fixed bug in TXInputBuilder and sample | blockcypher_php-client | train | php,php |
e36e5edad01ddf74a25d49096f1ee6b8271d3cb9 | diff --git a/src/main/java/org/jinstagram/model/Methods.java b/src/main/java/org/jinstagram/model/Methods.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jinstagram/model/Methods.java
+++ b/src/main/java/org/jinstagram/model/Methods.java
@@ -25,7 +25,7 @@ public final class Methods {
*
* Required scope :... | Remove trailing slash from URLs
Fails signature validation with trailing slash:
<URL> | sachin-handiekar_jInstagram | train | java |
579e350842dca20e9296224d837dae451324d16a | diff --git a/holoviews/plotting/plotly/raster.py b/holoviews/plotting/plotly/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/plotly/raster.py
+++ b/holoviews/plotting/plotly/raster.py
@@ -2,7 +2,7 @@ import numpy as np
import plotly.graph_objs as go
from ...core.options import SkipRendering
-from ...... | Update plotly/raster.py to fix Raster for plotly (#<I>) | pyviz_holoviews | train | py |
fec602b7c3f0896ba921c58b80ebb958efe0e4a1 | diff --git a/object-filter/src/test/java/org/infinispan/objectfilter/impl/hql/ProtobufParsingTest.java b/object-filter/src/test/java/org/infinispan/objectfilter/impl/hql/ProtobufParsingTest.java
index <HASH>..<HASH> 100644
--- a/object-filter/src/test/java/org/infinispan/objectfilter/impl/hql/ProtobufParsingTest.java
+... | Replace ignore tests with empty test to avoid false alarms | infinispan_infinispan | train | java |
be9a43a28ea7c113e018ec6bcb033f2fb9977ccb | diff --git a/src/main/java/ratpack/zipkin/internal/ZipkinHttpClientImpl.java b/src/main/java/ratpack/zipkin/internal/ZipkinHttpClientImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/ratpack/zipkin/internal/ZipkinHttpClientImpl.java
+++ b/src/main/java/ratpack/zipkin/internal/ZipkinHttpClientImpl.java
@@ -108,7... | Invoke Action using "execute" instead of "with'.
Wasn't using the return value of "with". | hyleung_ratpack-zipkin | train | java |
1de0d5864598a586b8f3cf2caefb3eb8e7db40a0 | diff --git a/celery_progress/backend.py b/celery_progress/backend.py
index <HASH>..<HASH> 100644
--- a/celery_progress/backend.py
+++ b/celery_progress/backend.py
@@ -1,3 +1,4 @@
+import datetime
from abc import ABCMeta, abstractmethod
from decimal import Decimal
@@ -66,6 +67,20 @@ class Progress(object):
... | Add RETRY state to get_info() | czue_celery-progress | train | py |
6b7a2881dd351ac5711f8993384c5b01ae0305ac | diff --git a/lib/helper.js b/lib/helper.js
index <HASH>..<HASH> 100644
--- a/lib/helper.js
+++ b/lib/helper.js
@@ -57,6 +57,11 @@ function shallowClone(obj) {
;
if (obj === null || typeof obj !== 'object') return obj;
+ if (obj.constructor === Array)
+ output = [];
+ else
+ output = {};
+
for (key ... | Do not convert arrays to objects on shallowClone | matthewmatician_xml-flow | train | js,js |
298d4e116fd2dc3ff04f47c891305f31cadbb6dd | diff --git a/bench/deuces-long-message-bench.js b/bench/deuces-long-message-bench.js
index <HASH>..<HASH> 100644
--- a/bench/deuces-long-message-bench.js
+++ b/bench/deuces-long-message-bench.js
@@ -35,7 +35,7 @@ var count = function () {
log( '-> subscribers (clients):', tclients );
log( '-> publishe... | msg correction in benchs
On branch master
modified: bench/deuces-long-message-bench.js | rootslab_deuces | train | js |
72b7324ebda9f1feab02751ac04bb5bc6a780606 | diff --git a/src/components/VStepper/VStepper.js b/src/components/VStepper/VStepper.js
index <HASH>..<HASH> 100644
--- a/src/components/VStepper/VStepper.js
+++ b/src/components/VStepper/VStepper.js
@@ -75,10 +75,9 @@ export default {
this.content = []
for (let index = 0; index < this.$children.length; in... | fix(VStepper): Use name instead of tag name (#<I>) | vuetifyjs_vuetify | train | js |
991c3eb911b997afa55201d1d3c71bc3d87c6d19 | diff --git a/lib/rules/no-fallthrough.js b/lib/rules/no-fallthrough.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-fallthrough.js
+++ b/lib/rules/no-fallthrough.js
@@ -17,6 +17,7 @@ module.exports = function(context) {
var cases = node.cases,
consequent,
i,
+ ... | Globals are not good, declare len | eslint_eslint | train | js |
038063c6f2e1b6577f8d674ad2df1420032c85f6 | diff --git a/FbBotApp.php b/FbBotApp.php
index <HASH>..<HASH> 100755
--- a/FbBotApp.php
+++ b/FbBotApp.php
@@ -47,6 +47,10 @@ class FbBotApp
*/
protected $token = null;
+ /**
+ * @var null|string
+ */
+ protected $appsecret_proof = null;
/**
* Contains the last cURL error for the... | add appsecret_proof support, useful for post <I> api version | pimax_fb-messenger-php | train | php |
7a95f8f8399579673d23c91c57fb637292324cfe | diff --git a/tests/reports/commands_tests.py b/tests/reports/commands_tests.py
index <HASH>..<HASH> 100644
--- a/tests/reports/commands_tests.py
+++ b/tests/reports/commands_tests.py
@@ -806,9 +806,9 @@ def test_report_schedule_working_timeout(create_report_slack_chart_working):
logs = db.session.query(ReportExecu... | fix: flaky test on reports (#<I>) | apache_incubator-superset | train | py |
ec595d5f7e93e2a7bbb92ba3143308a6c4c9a626 | diff --git a/src/main/java/com/github/jsonj/tools/JsonBuilder.java b/src/main/java/com/github/jsonj/tools/JsonBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/jsonj/tools/JsonBuilder.java
+++ b/src/main/java/com/github/jsonj/tools/JsonBuilder.java
@@ -27,7 +27,7 @@ import com.github.jsonj.JsonEle... | generalize fromObject to work on Collection instead of just List | jillesvangurp_jsonj | train | java |
b1ec2b2442112ed6a70ad00c2e7fe3811b6d778f | diff --git a/src/main/java/io/evanwong/oss/hipchat/v2/HipChatClient.java b/src/main/java/io/evanwong/oss/hipchat/v2/HipChatClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/evanwong/oss/hipchat/v2/HipChatClient.java
+++ b/src/main/java/io/evanwong/oss/hipchat/v2/HipChatClient.java
@@ -123,6 +123,14 @@ publ... | Added client methods for set room topic. | evanwong_hipchat-java | train | java |
4b4a8ecf556a47c2e8974fd5c9c366450f532035 | diff --git a/src/main/java/org/jooq/lambda/SQL.java b/src/main/java/org/jooq/lambda/SQL.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jooq/lambda/SQL.java
+++ b/src/main/java/org/jooq/lambda/SQL.java
@@ -183,6 +183,9 @@ public final class SQL {
hasNext = rs().next();
}
... | [#3] ResultSet resource leak | jOOQ_jOOL | train | java |
3d6d4b482e25443f5a47eb93434ca3658400cb74 | diff --git a/Form/Type/EWZRecaptchaType.php b/Form/Type/EWZRecaptchaType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/EWZRecaptchaType.php
+++ b/Form/Type/EWZRecaptchaType.php
@@ -47,12 +47,12 @@ class EWZRecaptchaType extends AbstractType
protected $localeResolver;
/**
- * @param string $publicKey ... | use type hint for LocaleResolver and fixed PHPDoc | excelwebzone_EWZRecaptchaBundle | train | php |
cb024577bf7ce3c98fb179565489d2305105dfcb | diff --git a/src/Palladium/Service/Search.php b/src/Palladium/Service/Search.php
index <HASH>..<HASH> 100644
--- a/src/Palladium/Service/Search.php
+++ b/src/Palladium/Service/Search.php
@@ -8,7 +8,6 @@ namespace Palladium\Service;
*/
use Palladium\Entity as Entity;
-use Palladium\Exception\UserNotFound;
use Pall... | Minor: cleaning up type-hints and aliases | teresko_palladium | train | php |
ab90f63f43ad7779242c24bea9404dc1729a4f44 | diff --git a/packages/swagger2openapi/index.js b/packages/swagger2openapi/index.js
index <HASH>..<HASH> 100644
--- a/packages/swagger2openapi/index.js
+++ b/packages/swagger2openapi/index.js
@@ -262,7 +262,7 @@ function processParameter(param,op,path,index,openapi,options) {
singularRequestBody = false;
result.co... | Improve detection of multipart/form-data type | Mermade_oas-kit | train | js |
dd4a17ef1ba6ad2d01299a09a6b8bd4837ee461c | diff --git a/highton/classes/person.py b/highton/classes/person.py
index <HASH>..<HASH> 100644
--- a/highton/classes/person.py
+++ b/highton/classes/person.py
@@ -37,7 +37,7 @@ class Person(Contact):
'title',
'background',
'linkedin-url',
- 'avatar-url',
+ 'a... | Update person.py
Change in the API broke this. Had to change avatar-url to avatar_url. | seibert-media_Highton | train | py |
ebc6d18e6436d1842d76fa0f78817785c9672b1d | diff --git a/future.go b/future.go
index <HASH>..<HASH> 100644
--- a/future.go
+++ b/future.go
@@ -458,7 +458,11 @@ func start(act interface{}, canCancel bool) *Future {
func Wrap(value interface{}) *Future {
fu := NewPromise()
- fu.Reslove(value)
+ if values, ok := value.([]interface{}); ok {
+ fu.Reslove(v... | let wrap method can expand the slice arg | fanliao_go-promise | train | go |
7a042adaa12b285fa0a0783f417f06465c6ed53a | diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -1014,16 +1014,6 @@ EOT
by `puppet`, and should only be set if you're writing your own Puppet
executable.",
},
- :masterlog => {
- :default => ... | (PUP-<I>) Remove masterlog option
Pull the `masterlog` configuration option as it is unused and causes confusion. | puppetlabs_puppet | train | rb |
b76925dc98a86e885aac243e763a35aea846e593 | diff --git a/rb/lib/selenium/webdriver/firefox/binary.rb b/rb/lib/selenium/webdriver/firefox/binary.rb
index <HASH>..<HASH> 100644
--- a/rb/lib/selenium/webdriver/firefox/binary.rb
+++ b/rb/lib/selenium/webdriver/firefox/binary.rb
@@ -170,6 +170,7 @@ module Selenium
def macosx_path
path = "/Ap... | rb - osx to also look for firefox binary in homebrew cask default directory (issue #<I>) | SeleniumHQ_selenium | train | rb |
3191c704a12a7afdc037f89da5a60590ebda59d7 | diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php
+++ b/src/Symfony/Component/Validator/Tests/Const... | [Validator] fixed tests, ICU <I> (Travis version) does not have the "my" locale | symfony_symfony | train | php |
db51bd8f1bff39d62e63a8526713aeafe77a311d | diff --git a/view/frontend/requirejs-config.js b/view/frontend/requirejs-config.js
index <HASH>..<HASH> 100644
--- a/view/frontend/requirejs-config.js
+++ b/view/frontend/requirejs-config.js
@@ -5,6 +5,5 @@ var config = {
Klarna: 'https://x.klarnacdn.net/kp/lib/v1/api.js',
googlepayjs: 'https:... | Removed the cache buster from requirejs | checkout_checkout-magento2-plugin | train | js |
7d5cbf842465e2bacee229a44b9956348834099f | diff --git a/lib/cinch/plugin.rb b/lib/cinch/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/cinch/plugin.rb
+++ b/lib/cinch/plugin.rb
@@ -87,10 +87,16 @@ module Cinch
@__cinch_name = name
end
+ # @return [String]
+ # @api private
+ def __plugin_name
+ @__cinch_name || self.name.... | added helper method for getting plugin name | cinchrb_cinch | train | rb |
5a2eeff932e162bdfef44ba742209efe9174e195 | diff --git a/spyder/widgets/findreplace.py b/spyder/widgets/findreplace.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/findreplace.py
+++ b/spyder/widgets/findreplace.py
@@ -571,12 +571,20 @@ class FindReplace(QWidget):
replacement = re_pattern.sub(replace_text, selected_text)
if replace... | Restored selection after replaced in selection | spyder-ide_spyder | train | py |
da8c307977821dd92e1a0b5940c63c85c345d0b1 | diff --git a/lib/validators/omnivore.js b/lib/validators/omnivore.js
index <HASH>..<HASH> 100644
--- a/lib/validators/omnivore.js
+++ b/lib/validators/omnivore.js
@@ -17,7 +17,7 @@ module.exports = function validateOmnivore(opts, callback) {
sniffer.quaff(opts.filepath, function(err, filetype) {
if (err) return... | set tifsize to 4GB | mapbox_mapbox-upload-validate | train | js |
76ecde6a2c251827e852e1f8b08a01f698d45f46 | diff --git a/packages/react-router/modules/Route.js b/packages/react-router/modules/Route.js
index <HASH>..<HASH> 100644
--- a/packages/react-router/modules/Route.js
+++ b/packages/react-router/modules/Route.js
@@ -25,7 +25,7 @@ class Route extends React.Component {
PropTypes.func,
PropTypes.node
]),... | Remove some warnings emitted during tests (#<I>) | ReactTraining_react-router | train | js,js |
1240024f4798a8ec9fa782ca4ab14abcfe3701b8 | diff --git a/src/commands/start-server.js b/src/commands/start-server.js
index <HASH>..<HASH> 100644
--- a/src/commands/start-server.js
+++ b/src/commands/start-server.js
@@ -86,11 +86,18 @@ function startPM2 (scriptPath, name) {
*/
process.on("SIGINT", () => {
logger.info(`Stopping pm2 instance: ${highligh... | Better handle issue when stopping pm2 before start | TrueCar_gluestick | train | js |
c6bb82e8bca9033d597c0c54d89cba17e8737008 | diff --git a/Tests/App/AppKernel.php b/Tests/App/AppKernel.php
index <HASH>..<HASH> 100644
--- a/Tests/App/AppKernel.php
+++ b/Tests/App/AppKernel.php
@@ -8,6 +8,19 @@ use Symfony\Component\HttpKernel\Kernel;
class AppKernel extends Kernel
{
+ /**
+ * @param string $environment
+ * @param bool $debug
+... | Set timezone in “AppKernel” to avoid Behat warning on CircleCI | alexislefebvre_AsyncTweetsBundle | train | php |
00658e8cf305f29cac33d993808d9bbd10093afb | diff --git a/mmcv/runner/iter_based_runner.py b/mmcv/runner/iter_based_runner.py
index <HASH>..<HASH> 100644
--- a/mmcv/runner/iter_based_runner.py
+++ b/mmcv/runner/iter_based_runner.py
@@ -212,7 +212,7 @@ class IterBasedRunner(BaseRunner):
if platform.system() != 'Windows':
mmcv.symlink(... | Fix copy source file path (#<I>) | open-mmlab_mmcv | train | py |
fb05e7fd76158ae48fbecef36dcdd9a6bd13efef | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -535,8 +535,8 @@ func (c *Client) Join(channels ...string) []string {
c.channelUserlistMutex.Lock()
c.channelUserlist[channel] = map[string]bool{}
c.channelUserlistMutex.Unlock()
- c.channelsMtx.Unlock()
}
+ c.... | Unlock channelsMtx once all channels updated | gempir_go-twitch-irc | train | go |
dd376154d032642a42742d3b94c791ca81aea98c | diff --git a/test/functional/id-unique.js b/test/functional/id-unique.js
index <HASH>..<HASH> 100644
--- a/test/functional/id-unique.js
+++ b/test/functional/id-unique.js
@@ -1,17 +1,17 @@
module.exports = [
{
desc: 'should pass html with no duplicate ids',
- input: '<div id="div1"></div><div id="... | Add testing for id-unique on non-tags | htmllint_htmllint | train | js |
5d34d31739e812153d530bfc65eec63e9834660c | diff --git a/docs/storage/driver/oss/oss.go b/docs/storage/driver/oss/oss.go
index <HASH>..<HASH> 100644
--- a/docs/storage/driver/oss/oss.go
+++ b/docs/storage/driver/oss/oss.go
@@ -8,8 +8,7 @@
// time for directories (directories are an abstraction for key, value stores)
//
// Keep in mind that OSS guarantees only... | Update the comments for consistence model
Change-Id: I<I>ee<I>f<I>fb<I>e<I>b<I>bd<I>e<I>e8 | docker_distribution | train | go |
58aef7d5ad6861a896ee307bdfc9ed3a144c645a | diff --git a/tests/contrib/hahelpers/test_ceph_utils.py b/tests/contrib/hahelpers/test_ceph_utils.py
index <HASH>..<HASH> 100644
--- a/tests/contrib/hahelpers/test_ceph_utils.py
+++ b/tests/contrib/hahelpers/test_ceph_utils.py
@@ -5,6 +5,7 @@ from tempfile import mkdtemp
from threading import Timer
from testtools imp... | Added nose slow attribute to the slow tests | juju_charm-helpers | train | py |
f6950633075ea336af68a5a08857dffd17ffbc96 | diff --git a/lib/svtplay_dl/__init__.py b/lib/svtplay_dl/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/__init__.py
+++ b/lib/svtplay_dl/__init__.py
@@ -77,6 +77,8 @@ def get_media(url, options):
try:
stream.get(options)
except UIException as e:
+ if options.verbose:
+ ... | Reraise UIExceptions when called with --verbose | spaam_svtplay-dl | train | py |
4eebb54681963bc5fc410a7a941d48f5493d385a | diff --git a/src/components/timeslider/timeslider.js b/src/components/timeslider/timeslider.js
index <HASH>..<HASH> 100644
--- a/src/components/timeslider/timeslider.js
+++ b/src/components/timeslider/timeslider.js
@@ -529,7 +529,7 @@ const TimeSlider = Component.extend({
return function() {
if (_this.mod... | Replace time.pause with settings playing to false to prevent setting current time to url when we click on timeslider | vizabi_vizabi | train | js |
a6393d0dcad29e1eee81243f4c62e620fa2b8388 | diff --git a/views/category/partials/form-create.blade.php b/views/category/partials/form-create.blade.php
index <HASH>..<HASH> 100644
--- a/views/category/partials/form-create.blade.php
+++ b/views/category/partials/form-create.blade.php
@@ -19,7 +19,7 @@
<div class="form-group">
... | fixed: category not showing when created without parent | Riari_laravel-forum-frontend | train | php |
e5a4fae467e9afe4077ced6dcda2642aec397ce6 | diff --git a/src/Validate.php b/src/Validate.php
index <HASH>..<HASH> 100644
--- a/src/Validate.php
+++ b/src/Validate.php
@@ -22,6 +22,11 @@ class Validate
return $expiration >= time();
}
+ public function notBefore(int $notBefore): bool
+ {
+ return $notBefore <= time();
+ }
+
pub... | Added notBefore validation method and tests to Validate class. | RobDWaller_ReallySimpleJWT | train | php,php |
1aa3e507aea57a7a47739f5e38709451c3d7f930 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -302,7 +302,7 @@ class ClassicalCalculator(base.HazardCalculator):
avail = min(psutil.virtual_memory().available,... | Fixed logging [ci skip] | gem_oq-engine | train | py |
81762cd68ecc9496d42785296323f6337bb7e6a2 | diff --git a/test/src/pops/test/testcase.php b/test/src/pops/test/testcase.php
index <HASH>..<HASH> 100644
--- a/test/src/pops/test/testcase.php
+++ b/test/src/pops/test/testcase.php
@@ -18,12 +18,12 @@ use Pops\ProxyClass;
class TestCase extends PHPUnit_Framework_TestCase
{
/**
- * @param Proxy|ProxyClass $prox... | tightened up test case with new interface | eloquent_pops | train | php |
e4585adb55f99aa98368cddc8c744c1defa6131a | diff --git a/src/ca/eandb/jdcp/server/TemporaryJobServer.java b/src/ca/eandb/jdcp/server/TemporaryJobServer.java
index <HASH>..<HASH> 100644
--- a/src/ca/eandb/jdcp/server/TemporaryJobServer.java
+++ b/src/ca/eandb/jdcp/server/TemporaryJobServer.java
@@ -553,8 +553,10 @@ public final class TemporaryJobServer implements... | Synchronized calls to submitTaskResults. | bwkimmel_jdcp | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.