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 |
|---|---|---|---|---|---|
b8ff6f41b7644f431ff10da4857c464978f35070 | diff --git a/pyrser/grammar.py b/pyrser/grammar.py
index <HASH>..<HASH> 100644
--- a/pyrser/grammar.py
+++ b/pyrser/grammar.py
@@ -147,10 +147,8 @@ class Grammar(parsing.Parser, metaclass=MetaGrammar):
"""Parse filename using the grammar"""
self.from_string = False
import os.path
- if ... | Added: with statement in parse_file | LionelAuroux_pyrser | train | py |
ad37c5b28fd4bc9b2f8d0502c791251a966cdb0e | diff --git a/Source/Form/Field/Type/ArrayOfType.php b/Source/Form/Field/Type/ArrayOfType.php
index <HASH>..<HASH> 100644
--- a/Source/Form/Field/Type/ArrayOfType.php
+++ b/Source/Form/Field/Type/ArrayOfType.php
@@ -64,10 +64,12 @@ class ArrayOfType extends FieldType
$this->buildArrayLengthValidators($process... | Only process elements of array if element field has a processor | dms-org_core | train | php |
3811e11bf0a0c956b5f8d8b019e938dbb74c8ea7 | diff --git a/lib/cequel/record/properties.rb b/lib/cequel/record/properties.rb
index <HASH>..<HASH> 100644
--- a/lib/cequel/record/properties.rb
+++ b/lib/cequel/record/properties.rb
@@ -253,6 +253,30 @@ module Cequel
end
#
+ # Read an attribute
+ #
+ # @param column_name [Symbol] the nam... | Add `[]` and `[]=` method for property access
Parity with ActiveRecord | cequel_cequel | train | rb |
16a254102695404b9ba52a67dfa7073df36d3ff9 | diff --git a/parsl/executors/high_throughput/executor.py b/parsl/executors/high_throughput/executor.py
index <HASH>..<HASH> 100644
--- a/parsl/executors/high_throughput/executor.py
+++ b/parsl/executors/high_throughput/executor.py
@@ -128,7 +128,7 @@ class HighThroughputExecutor(ParslExecutor, RepresentationMixin):
... | Change 'engines' to 'blocks'
Fixes #<I>. | Parsl_parsl | train | py |
3b5fa52c142281e709df2f4102fdcb259a97099d | diff --git a/tests/sockjs_server.js b/tests/sockjs_server.js
index <HASH>..<HASH> 100644
--- a/tests/sockjs_server.js
+++ b/tests/sockjs_server.js
@@ -60,7 +60,7 @@ server.addListener('upgrade', function(req, res){
});
sockjs_app.install({
- sockjs_url: 'http://localhost:'+port+'/lib/sockjs.js',
+ sockjs_url: '/l... | Fix tests when not running on localhost | sockjs_sockjs-client | train | js |
8f53edae3bd628e00f052182a3a5e84ee578f018 | diff --git a/integration-cli/docker_cli_network_unix_test.go b/integration-cli/docker_cli_network_unix_test.go
index <HASH>..<HASH> 100644
--- a/integration-cli/docker_cli_network_unix_test.go
+++ b/integration-cli/docker_cli_network_unix_test.go
@@ -201,7 +201,8 @@ func isNwPresent(c *check.C, name string) bool {
ou... | bug fix for test cases
Fix bug that `isNwPresent` can't distinguish network names with same
prefix. | moby_moby | train | go |
e2d20ee7fddc18d2d65ac12eb13356c60ecc704e | diff --git a/lxd/events/common.go b/lxd/events/common.go
index <HASH>..<HASH> 100644
--- a/lxd/events/common.go
+++ b/lxd/events/common.go
@@ -45,7 +45,7 @@ func (e *listenerCommon) heartbeat() {
defer e.Close()
- pingInterval := time.Second * 5
+ pingInterval := time.Second * 10
e.pongsPending = 0
e.SetPon... | lxd/events: Increase websocket pings to <I>s
Slow servers, especially when going through a cluster seem to be able to
exceed the 5s delay causing connection issues. | lxc_lxd | train | go |
db8626dc9a579246bdf1760c86a477e496203d33 | diff --git a/src/java/com/threerings/gwt/ui/Widgets.java b/src/java/com/threerings/gwt/ui/Widgets.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/gwt/ui/Widgets.java
+++ b/src/java/com/threerings/gwt/ui/Widgets.java
@@ -225,6 +225,18 @@ public class Widgets
return button;
}
+ /**
+ ... | Added newShim(). I'd like to nix WidgetUtil and move the Flash crap to
FlashUtil or SWFUtil, but I'll save that for another day. | threerings_gwt-utils | train | java |
7679cbb18a46d7635be34a532029206ba42a489c | diff --git a/kernel/classes/datatypes/ezimage/ezimagefile.php b/kernel/classes/datatypes/ezimage/ezimagefile.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/datatypes/ezimage/ezimagefile.php
+++ b/kernel/classes/datatypes/ezimage/ezimagefile.php
@@ -109,11 +109,16 @@ class eZImageFile extends eZPersistentObject
... | Fixed #<I>: (Oracle) (Webin) Clicking on "discard draft" button on "Site settings" raises a DB error | ezsystems_ezpublish-legacy | train | php |
7ca9c37bc61b6800bb578e8b3cde1832208e468a | diff --git a/lib/magic_grid/definition.rb b/lib/magic_grid/definition.rb
index <HASH>..<HASH> 100644
--- a/lib/magic_grid/definition.rb
+++ b/lib/magic_grid/definition.rb
@@ -85,7 +85,6 @@ module MagicGrid
Rails.logger.debug "#{self.class.name}: Ignoring sorting on non-AR collection"
end
- @optio... | Break backward compatibility for sake of cleaner code | rmg_magic_grid | train | rb |
92a37da6b6c7e8f7bb3311516e3789c5a9d74f87 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ setup(name='ReText',
('share/retext/locale', glob('locale/*.qm')),
('share/wpgen', glob('templates/*.css') + glob('templates/*.html'))
],
- requires=['Markups', 'Markdown', 'pyenchant... | setup.py: add docutils to requirements | retext-project_retext | train | py |
ced1c6887281bec00ec5581cf581c92933d4e6ba | diff --git a/test/signal/TickSignal.js b/test/signal/TickSignal.js
index <HASH>..<HASH> 100644
--- a/test/signal/TickSignal.js
+++ b/test/signal/TickSignal.js
@@ -252,5 +252,17 @@ define(["Test", "Tone/signal/TickSignal", "helper/Offline"],
expect(tickSignal.getDurationOfTicks(2, 1.5)).to.be.closeTo(0.6, 0.01);
... | testing that it outputs a signal | Tonejs_Tone.js | train | js |
3a6b8daf832c2b81d714b4ff9b6e5da7a3dd6ad8 | diff --git a/ravel.py b/ravel.py
index <HASH>..<HASH> 100644
--- a/ravel.py
+++ b/ravel.py
@@ -272,8 +272,13 @@ class Connection :
"for server-side use; registers the specified instance of an @interface()" \
" class for handling method calls on the specified path, and also on subpaths" \
" if... | ravel.Connection now allows registering an interface class if it can
be instantiated without arguments | ldo_dbussy | train | py |
81637cdf7a0bbe3700d8f28669e25a6f079f9300 | diff --git a/i3ipc.py b/i3ipc.py
index <HASH>..<HASH> 100644
--- a/i3ipc.py
+++ b/i3ipc.py
@@ -5,6 +5,7 @@ import json
import socket
import os
import re
+import subprocess
from enum import Enum
@@ -172,7 +173,12 @@ class Connection(object):
socket_path = os.environ.get("I3SOCK")
if not s... | Retrieve the IPC socket path directly from i3
Call i3 with the `--get-socketpath' command-line option, which is
available since <I> release, to retrieve the i3 IPC socket path.
This restores backwards compatibility after the previous commit. | acrisci_i3ipc-python | train | py |
8a01e9cda1ae33289daaac512c4dd67f3a8e8672 | diff --git a/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php b/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
+++ b/core-bundle/src/HttpKernel/Bundle/ResourceProvider.php
@@ -63,6 +63,7 @@ class ResourceProvider
... | [Core] ResourceProvider::getBundleNames should not be used
We should always use kernel.bundles from the DIC | contao_contao | train | php |
06d41fbad1d8a5df938babd734b44d1a41c68fc5 | diff --git a/examples/gaussian_process_regression.py b/examples/gaussian_process_regression.py
index <HASH>..<HASH> 100644
--- a/examples/gaussian_process_regression.py
+++ b/examples/gaussian_process_regression.py
@@ -56,6 +56,9 @@ def main(unused_argv):
def softplus(x):
return np.logaddexp(x, 0.)
+ # Note,... | Added a note about squared distances | tensorflow_probability | train | py |
6263453fd3cbaa8718937d75009cac9ab163f64c | diff --git a/buildpackrunner/runner.go b/buildpackrunner/runner.go
index <HASH>..<HASH> 100644
--- a/buildpackrunner/runner.go
+++ b/buildpackrunner/runner.go
@@ -125,7 +125,7 @@ func (runner *Runner) buildpackPath(buildpack string) (string, error) {
files, err := ioutil.ReadDir(buildpackPath)
if err != nil {
- ... | Add a bit more info to error logging when looking for buildpacks to run 'detect' with | cloudfoundry_buildpackapplifecycle | train | go |
bcaff02554548e4c6fcf3d0819f62353506a0825 | diff --git a/src/abcWalletTxLib-ETH.js b/src/abcWalletTxLib-ETH.js
index <HASH>..<HASH> 100644
--- a/src/abcWalletTxLib-ETH.js
+++ b/src/abcWalletTxLib-ETH.js
@@ -866,8 +866,8 @@ class ABCTxLibETH {
return false
}
- // synchronous
- makeSpend (abcSpendInfo:any) {
+ // ssynchronous
+ async makeSpend (abcSp... | makeSpend to async | EdgeApp_edge-currency-ethereum | train | js |
2a3162694755fae52129f5f4a45b97a1255dacd2 | diff --git a/aikif/cls_log.py b/aikif/cls_log.py
index <HASH>..<HASH> 100644
--- a/aikif/cls_log.py
+++ b/aikif/cls_log.py
@@ -246,7 +246,7 @@ class LogSummary(object):
log_3.close()
log_4.close()
- def extract_logs(fname, prg):
+ def extract_logs(self, fname, prg):
"""
re... | bug fix extract_logs had missing self param | acutesoftware_AIKIF | train | py |
255fb52d1c607170b72303fe0d5cc36a2a2e03fb | diff --git a/src/Http/MiddlewareQueue.php b/src/Http/MiddlewareQueue.php
index <HASH>..<HASH> 100644
--- a/src/Http/MiddlewareQueue.php
+++ b/src/Http/MiddlewareQueue.php
@@ -60,6 +60,18 @@ class MiddlewareQueue implements Countable
}
/**
+ * Alias for MiddlewareQueue::add().
+ *
+ * @param call... | Add back push() as alias for MiddlewareQueue::add(). | cakephp_cakephp | train | php |
6d9d9c1f496472186908389dc9421991a9f86fe0 | diff --git a/tests/Handler/FpmHandlerTest.php b/tests/Handler/FpmHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Handler/FpmHandlerTest.php
+++ b/tests/Handler/FpmHandlerTest.php
@@ -19,12 +19,14 @@ class FpmHandlerTest extends TestCase implements HttpRequestProxyTest
{
parent::setUp();
+ ... | Clean up the output of tests using output buffering | mnapoli_bref | train | php |
16f9c6ee881fa8738be90c4ebd4f2adc36f42021 | diff --git a/go/engine/pgp_encrypt.go b/go/engine/pgp_encrypt.go
index <HASH>..<HASH> 100644
--- a/go/engine/pgp_encrypt.go
+++ b/go/engine/pgp_encrypt.go
@@ -184,7 +184,7 @@ func (e *PGPEncrypt) loadSelfKey() (*libkb.PGPKeyBundle, error) {
keys := me.FilterActivePGPKeys(true, e.arg.KeyQuery)
if len(keys) == 0 {
... | Fix NoKeyError not getting its Msg through in ImportStatusAsError
Also be more descriptive when loadSelfKey in `pgp encrypt` fails,
mention that there is --no-self flag. | keybase_client | train | go,go |
cafad18fc332cb848918ec5020f10b602d912c32 | diff --git a/api-generator/components/datatable.js b/api-generator/components/datatable.js
index <HASH>..<HASH> 100644
--- a/api-generator/components/datatable.js
+++ b/api-generator/components/datatable.js
@@ -387,13 +387,13 @@ const DataTableProps = [
name: 'rowClassName',
type: 'function',
... | Attempt to improve DataTable.rowClassName and DataTable.cellClassName descriptions (#<I>) | primefaces_primereact | train | js |
1c00aaf8e3c01c613414ce9e1d555b41f3cb01c6 | diff --git a/lib/python/voltdbclient.py b/lib/python/voltdbclient.py
index <HASH>..<HASH> 100644
--- a/lib/python/voltdbclient.py
+++ b/lib/python/voltdbclient.py
@@ -301,13 +301,13 @@ class FastSerializer:
print "ERROR: Connection failed. Please check that the host and port are correct."
rais... | ENG-<I> Python client change SystemExit to RuntimeError | VoltDB_voltdb | train | py |
82986e3b95748fab6e5d372829a3d41e69970e01 | diff --git a/src/Behat/Mink/Exception/ExpectationException.php b/src/Behat/Mink/Exception/ExpectationException.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Mink/Exception/ExpectationException.php
+++ b/src/Behat/Mink/Exception/ExpectationException.php
@@ -133,8 +133,10 @@ class ExpectationException extends Exception... | Changed the handling of drivers not supporting status code
This avoids hardcoding the list of excluded drivers in the
ExpectationException but relying on the UnsupportedDriverActionException
instead. | minkphp_Mink | train | php |
770e9ff4c225bae26f631a0198c76f185785aa57 | diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Base.py
+++ b/openpnm/core/Base.py
@@ -16,9 +16,9 @@ class Base(dict):
instance = super(Base, cls).__new__(cls, *args, **kwargs)
return instance
- def __init__(self, Np=0, Nt=0, name=None, simu... | Chnage Base to accept a dict during intialization | PMEAL_OpenPNM | train | py,py |
7ec9b59182bc510420c7110ba79623b2301cb6d6 | diff --git a/lib/motion/RMXEventManager.rb b/lib/motion/RMXEventManager.rb
index <HASH>..<HASH> 100644
--- a/lib/motion/RMXEventManager.rb
+++ b/lib/motion/RMXEventManager.rb
@@ -108,7 +108,7 @@ class RMXEventManager
.distinctUntilChanged
.subscribeNext(->(s) {
NSLog("[#{className}] status=#{STATUSES[s... | switch to rmx_unsafe! where there is a rac_willDeallocSignal | joenoon_rmx | train | rb,rb |
d4697cf802e20577a0b4b6d24bad6df3fb2a070f | diff --git a/codenerix/models_people.py b/codenerix/models_people.py
index <HASH>..<HASH> 100644
--- a/codenerix/models_people.py
+++ b/codenerix/models_people.py
@@ -26,7 +26,7 @@ from functools import reduce
from django.db.models import Q
from django.db import models
from django.utils.encoding import smart_text
-f... | Changed ugettext for ugettext_lazy inside models.py | codenerix_django-codenerix | train | py |
8977df882e8146f2202307a996b4a2339057fbb9 | diff --git a/lib/cyborg/plugin/assets/svgs.rb b/lib/cyborg/plugin/assets/svgs.rb
index <HASH>..<HASH> 100644
--- a/lib/cyborg/plugin/assets/svgs.rb
+++ b/lib/cyborg/plugin/assets/svgs.rb
@@ -30,8 +30,11 @@ module Cyborg
return if find_files.empty?
@svg.read_files
+
if write_path = @svg.writ... | Also notifiy if SVG files failed to write | imathis_spark | train | rb |
02642fc8f9113df52afc4cd98d9c7b888928a35a | diff --git a/yatiml/dumper.py b/yatiml/dumper.py
index <HASH>..<HASH> 100644
--- a/yatiml/dumper.py
+++ b/yatiml/dumper.py
@@ -73,7 +73,7 @@ class Representer:
class_.yatiml_sweeten(represented_object)
-class Dumper(yaml.Dumper):
+class Dumper(yaml.SafeDumper):
"""The YAtiML Dumper class.
D... | Use SafeLoader and SafeDumper | yatiml_yatiml | train | py,py |
53136e0f35881f9eff2e5b18ba5544c79c8625a0 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -41,7 +41,7 @@ gulp.task('build:release', function () {
var majorVersion = version.match(/^(\d).(\d).(\d)/)[1]
var versionPath = './dist/' + majorVersion
- var prodPath = './dist/prod'
+ var prodPath = '.... | gulpfile change production path to root | opbeat_opbeat-react | train | js |
1529af6cb969d308be5f1bf0fab91984ca78ffe0 | diff --git a/parser.go b/parser.go
index <HASH>..<HASH> 100644
--- a/parser.go
+++ b/parser.go
@@ -4,8 +4,10 @@ import (
"bytes"
"errors"
"fmt"
+ "reflect"
d "runtime/debug"
"strconv"
+ "unsafe"
)
// Find position of next character which is not ' ', ',', '}' or ']'
@@ -319,7 +321,7 @@ func GetNumber(data ... | Avoid allocating memory in GetNumber
See #<I> | buger_jsonparser | train | go |
e20556d2a6e7892ab4870c1ad657f0ab6017a5b0 | diff --git a/lib/get-unused-file-path.js b/lib/get-unused-file-path.js
index <HASH>..<HASH> 100644
--- a/lib/get-unused-file-path.js
+++ b/lib/get-unused-file-path.js
@@ -2,6 +2,8 @@
var fs = require("fs");
var uuid = require("node-uuid");
+var recentlyUsedFileNames = [];
+var lastLength = 0;
var generateNewPath... | remove rename file race condition with a recently used file names cache | thomaspeklak_express-upload-resizer | train | js |
17f44ca79cabeb7953d0a59c9fda0f8ad1806b4b | diff --git a/server/camlistored/ui/index.js b/server/camlistored/ui/index.js
index <HASH>..<HASH> 100644
--- a/server/camlistored/ui/index.js
+++ b/server/camlistored/ui/index.js
@@ -486,7 +486,7 @@ cam.IndexPage = React.createClass({
searchSession: this.searchSession_,
searchURL: searchURL,
oldURL: oldURL,... | Fix React warning about unnecessary bind (with aspects CL as well)
Change-Id: Iff<I>cda<I>beecbdbb0bb<I>d9a0bf<I>c<I> | perkeep_perkeep | train | js |
d35132bf1d1fd84c3563f5a8f1d176d1c71e6280 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(name='django-plugins',
packages=find_packages(exclude=['sample-project']),
install_requires=[
'django>=1.6',
- 'django-dirtyfields',
+ 'django-dirtyfields<1.3',
... | Pin Django-dirtyfields to < <I>
<I> is the last build to support Django < <I> | krischer_django-plugins | train | py |
ddd6f27080422b12625844a693c7b19bcb7c6ca0 | diff --git a/spec/spec.collection.js b/spec/spec.collection.js
index <HASH>..<HASH> 100644
--- a/spec/spec.collection.js
+++ b/spec/spec.collection.js
@@ -283,7 +283,7 @@ describe 'Express'
describe '#toArray()'
it 'should return an array'
- $(['foo', 'bar']).keys().toArray().should.eql [0, 1]
... | Fixed faulty Collection#toArray() spec due to keys() returning strings | expressjs_express | train | js |
055a65f4f1b084c934a7a1fd99375f1716d8444f | diff --git a/src/Context/FeatureContext.php b/src/Context/FeatureContext.php
index <HASH>..<HASH> 100644
--- a/src/Context/FeatureContext.php
+++ b/src/Context/FeatureContext.php
@@ -498,10 +498,6 @@ class FeatureContext implements SnippetAcceptingContext {
$this->variables['DB_PASSWORD'] = getenv( 'WP_CLI_TEST_DBP... | Remove accidental duplicate
Committed in error. | wp-cli_wp-cli-tests | train | php |
01869d7377a1024572fe53ea0a95a8d9a98a8481 | diff --git a/scripts/git-precommit-hook.py b/scripts/git-precommit-hook.py
index <HASH>..<HASH> 100755
--- a/scripts/git-precommit-hook.py
+++ b/scripts/git-precommit-hook.py
@@ -7,7 +7,7 @@ import subprocess
def has_cargo_fmt():
"""Runs a quick check to see if cargo fmt is installed."""
try:
- c = su... | fix: Skip over children in precommit hook | getsentry_semaphore | train | py |
19d6b875a2fa460a58f5d445ebf3786a9c509686 | diff --git a/examples/nas/multi-trial/mnist/search.py b/examples/nas/multi-trial/mnist/search.py
index <HASH>..<HASH> 100644
--- a/examples/nas/multi-trial/mnist/search.py
+++ b/examples/nas/multi-trial/mnist/search.py
@@ -107,6 +107,7 @@ def evaluate_model(model_cls):
device = torch.device('cuda') if torch.cuda... | fix: model is not synced to device when not using CPU (#<I>) | Microsoft_nni | train | py |
70cebfd3db8d1d43c7b83bf519eb3c37a30a3801 | diff --git a/keanu-project/src/main/java/io/improbable/keanu/tensor/INDArrayShim.java b/keanu-project/src/main/java/io/improbable/keanu/tensor/INDArrayShim.java
index <HASH>..<HASH> 100644
--- a/keanu-project/src/main/java/io/improbable/keanu/tensor/INDArrayShim.java
+++ b/keanu-project/src/main/java/io/improbable/kean... | Use lambda to clean up ND4J thread workaround. | improbable-research_keanu | train | java |
20cf0b0b005ab19a8b6b1fa870b3b04fdef5abf7 | diff --git a/lib/post_install.js b/lib/post_install.js
index <HASH>..<HASH> 100644
--- a/lib/post_install.js
+++ b/lib/post_install.js
@@ -11,6 +11,7 @@ function exec(command) {
stat('dist-modules', function(error, stat) {
if (error || !stat.isDirectory()) {
+ exec('npm i babel');
exec('npm run dist-modul... | Install Babel before trying to generate `dist-modules`
Otherwise it will rely on global Babel... | Stupidism_stupid-rc-starter | train | js |
2069984357893273f806d374984ceffa95be80cf | diff --git a/views/js/ui/mediaplayer.js b/views/js/ui/mediaplayer.js
index <HASH>..<HASH> 100644
--- a/views/js/ui/mediaplayer.js
+++ b/views/js/ui/mediaplayer.js
@@ -343,7 +343,10 @@ define([
showinfo: 0,
wmode: 'transparent',
modestbranding: 1,
- ... | mediaplayer: fix pixel gap at resize | oat-sa_tao-core | train | js |
5e337a0feb53fbc674c064d1ef23947233b7177c | diff --git a/jaraco/itertools.py b/jaraco/itertools.py
index <HASH>..<HASH> 100644
--- a/jaraco/itertools.py
+++ b/jaraco/itertools.py
@@ -14,7 +14,7 @@ import math
import warnings
import six
-from six.moves import queue
+from six.moves import queue, xrange as range
import inflect
from more_itertools import mor... | Always prefer the 'range' name | jaraco_jaraco.itertools | train | py |
a1d7a9612f9dee663adf2b0c077fa4c66716df4b | diff --git a/kitty/model/high_level/graph.py b/kitty/model/high_level/graph.py
index <HASH>..<HASH> 100644
--- a/kitty/model/high_level/graph.py
+++ b/kitty/model/high_level/graph.py
@@ -190,9 +190,9 @@ class GraphModel(BaseModel):
for key in skeys:
for conn in self._graph[key]:
t... | [DataModel] GraphModel: relax debug prints of hashes | cisco-sas_kitty | train | py |
186e5251bc3f34a15319fb4d142c7ba2712c3d33 | diff --git a/drools-compiler/src/main/java/org/drools/compiler/testframework/TestingEventListener.java b/drools-compiler/src/main/java/org/drools/compiler/testframework/TestingEventListener.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/main/java/org/drools/compiler/testframework/TestingEventListener.java
+... | Remove label from code (#<I>)
This removed some comment/code fragment which happens to be valid Java syntax, but doesn't look like it really belongs here. | kiegroup_drools | train | java |
580c9399d1a9fe43678ae83273244edfb7ba07d4 | diff --git a/src/Codeception/Module/Silex.php b/src/Codeception/Module/Silex.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/Silex.php
+++ b/src/Codeception/Module/Silex.php
@@ -12,7 +12,7 @@ use Symfony\Component\HttpKernel\Client;
* Module for testing Silex applications like you would regularly do with... | Make codeblock in Silex docs uniform in <?php use (#<I>) | Codeception_base | train | php |
2a5561b39855b77411de2f29056f293d56405eef | diff --git a/ejb3/src/main/java/org/jboss/as/ejb3/remote/LocalEjbReceiver.java b/ejb3/src/main/java/org/jboss/as/ejb3/remote/LocalEjbReceiver.java
index <HASH>..<HASH> 100644
--- a/ejb3/src/main/java/org/jboss/as/ejb3/remote/LocalEjbReceiver.java
+++ b/ejb3/src/main/java/org/jboss/as/ejb3/remote/LocalEjbReceiver.java
@... | Fix issue with EJB exception cloning | wildfly_wildfly | train | java |
b718e24fd8800deb668f3c6b5ff7989f7f1be058 | diff --git a/Swat/SwatTile.php b/Swat/SwatTile.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatTile.php
+++ b/Swat/SwatTile.php
@@ -164,7 +164,7 @@ class SwatTile extends SwatCellRendererContainer
$renderer->getBaseCSSClassNames());
$classes = array_merge($classes,
- $renderer->getDataSpecificCSSClassNam... | Fix tabbing
svn commit r<I> | silverorange_swat | train | php |
b0aded1382b9dbde1e7bfb9707798e3b8621d3d7 | diff --git a/satpy/tests/test_resample.py b/satpy/tests/test_resample.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/test_resample.py
+++ b/satpy/tests/test_resample.py
@@ -90,10 +90,6 @@ class TestKDTreeResampler(unittest.TestCase):
resampler.compute(data, fill_value=fill_value)
resampler.r... | Fix kdtree resampler test to not expect _FillValue to be used | pytroll_satpy | train | py |
9eccb9bb1f4e7a0235d8ff0475d2b6b49b38a2e9 | diff --git a/src/Hamlet/Bootstraps/SwooleBootstrap.php b/src/Hamlet/Bootstraps/SwooleBootstrap.php
index <HASH>..<HASH> 100644
--- a/src/Hamlet/Bootstraps/SwooleBootstrap.php
+++ b/src/Hamlet/Bootstraps/SwooleBootstrap.php
@@ -20,15 +20,19 @@ class SwooleBootstrap
* @param string $host
* @param int $port
... | Adding initializer for swoole | vasily-kartashov_hamlet-core | train | php |
edd15adbf0f43ecc86d844fb8a40ef45ac05cc24 | diff --git a/lib/celluloid/version.rb b/lib/celluloid/version.rb
index <HASH>..<HASH> 100644
--- a/lib/celluloid/version.rb
+++ b/lib/celluloid/version.rb
@@ -1,3 +1,3 @@
module Celluloid
- VERSION = '0.17.0.pre3'
+ VERSION = '0.17.0.pre4'
end | cutting pre4 after major refactor in celluloid-supervision | celluloid_celluloid | train | rb |
8dd2d724de236c52d64a7db3743737f666af9ce6 | diff --git a/src/plugin/exec.js b/src/plugin/exec.js
index <HASH>..<HASH> 100644
--- a/src/plugin/exec.js
+++ b/src/plugin/exec.js
@@ -5,25 +5,33 @@ import {
onlyPackage,
exec as execCmd,
separator,
- log
+ log,
+ filter
} from '../util'
export const plugin = function exec (program, config, directory) {... | feat(northbrook): add option to exclude packages from exec | northbrookjs_northbrook | train | js |
3208ac51e3af59fc6d9a8023d4d249384f9601fb | diff --git a/durastore/src/main/java/org/duracloud/durastore/rest/AuditLogRest.java b/durastore/src/main/java/org/duracloud/durastore/rest/AuditLogRest.java
index <HASH>..<HASH> 100644
--- a/durastore/src/main/java/org/duracloud/durastore/rest/AuditLogRest.java
+++ b/durastore/src/main/java/org/duracloud/durastore/rest... | ensures that empty logs return a <I> rather than <I> httpcode. | duracloud_duracloud | train | java |
7efef86cdc3d952c5fec4f09d230d7b1218e9964 | diff --git a/recsql/rest_table.py b/recsql/rest_table.py
index <HASH>..<HASH> 100644
--- a/recsql/rest_table.py
+++ b/recsql/rest_table.py
@@ -18,7 +18,6 @@ the following additional restriction apply:
* All row data must be on a single line.
* Column spans are not supported.
-* Neither additional '----' separators ... | removed restriction: ignores properly empty table lines and lines with dividers
git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/RecSQL@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c | orbeckst_RecSQL | train | py |
0e20c51c7f4ca34f5034b3ddea3f28177f86a324 | diff --git a/lib/vagrant/action/builtin/provisioner_cleanup.rb b/lib/vagrant/action/builtin/provisioner_cleanup.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/action/builtin/provisioner_cleanup.rb
+++ b/lib/vagrant/action/builtin/provisioner_cleanup.rb
@@ -10,14 +10,23 @@ module Vagrant
class ProvisionerCleanu... | core: allow provisioner cleanup to happen after call | hashicorp_vagrant | train | rb |
28179541c3f2e1247ce60ac80916276042928cb4 | diff --git a/lib/publify_avatar_gravatar.rb b/lib/publify_avatar_gravatar.rb
index <HASH>..<HASH> 100644
--- a/lib/publify_avatar_gravatar.rb
+++ b/lib/publify_avatar_gravatar.rb
@@ -32,7 +32,7 @@ module PublifyPlugins
url = +"https://www.gravatar.com/avatar.php?"
url << opts.map { |key, value| "#{k... | Autocorrect Rails/ContentTag | publify_publify | train | rb,rb |
9c761fe27d747f6dbdbc3f920155fac8d6c9c004 | diff --git a/test/tools/javac/7079713/TestCircularClassfile.java b/test/tools/javac/7079713/TestCircularClassfile.java
index <HASH>..<HASH> 100644
--- a/test/tools/javac/7079713/TestCircularClassfile.java
+++ b/test/tools/javac/7079713/TestCircularClassfile.java
@@ -149,6 +149,7 @@ public class TestCircularClassfile {
... | <I>: tools/javac/<I>/TestCircularClassfile.java fails on windows
Summary: delete file before renaming another file to it
Reviewed-by: jjg | wmdietl_jsr308-langtools | train | java |
a5d361f7c10a815cd901e2644c3c607acf05bdda | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -200,6 +200,7 @@ if not ISRELEASED:
import subprocess
FULLVERSION += '.dev'
+ pipe = None
for cmd in ['git','git.cmd']:
try:
pipe = subprocess.Popen([cmd, "describe", "--always"],
@@ -... | BLD: fixup setup.py, initialize pipe variable to None | pandas-dev_pandas | train | py |
2e22b06548e22c9f276791c6d119ad11e570ac40 | diff --git a/trackhub/test/test_parentonoff/test_parentonoff.py b/trackhub/test/test_parentonoff/test_parentonoff.py
index <HASH>..<HASH> 100644
--- a/trackhub/test/test_parentonoff/test_parentonoff.py
+++ b/trackhub/test/test_parentonoff/test_parentonoff.py
@@ -69,5 +69,5 @@ def test_parentonoff():
results = hu... | Changing the trackDb.txt path in test_parentonoff.py | daler_trackhub | train | py |
b47b00e892827f578beba62a62e999b021b0efb3 | diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php
index <HASH>..<HASH> 100755
--- a/lib/Resque/Worker.php
+++ b/lib/Resque/Worker.php
@@ -493,7 +493,7 @@ class Resque_Worker
*/
public function registerWorker()
{
- Resque::redis()->sadd('workers', (string)$this);
+ Resque::redis()->lpush('workers', (st... | Store workers list in a List instead of a Set | wa0x6e_php-resque-ex | train | php |
c43bc2b3d950b8028fd8e73a7052dcec6c5e19b7 | diff --git a/src/DatabaseServiceProvider.php b/src/DatabaseServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/DatabaseServiceProvider.php
+++ b/src/DatabaseServiceProvider.php
@@ -19,14 +19,14 @@ class DatabaseServiceProvider extends \Illuminate\Database\DatabaseServiceProvid
// The connection factory i... | Replace usages of 'bindShared' with 'singleton' | bosnadev_database | train | php |
bebb2dc7189ec5aa4fef92d77285ec09aa75e4fc | diff --git a/drivers/openstack/openstack.go b/drivers/openstack/openstack.go
index <HASH>..<HASH> 100644
--- a/drivers/openstack/openstack.go
+++ b/drivers/openstack/openstack.go
@@ -384,14 +384,15 @@ func (d *Driver) Stop() error {
}
func (d *Driver) Remove() error {
- log.WithField("MachineId", d.MachineId).Info(... | show detailed messages only in debug for rackspace remove | docker_machine | train | go |
7530e9236a9e88b306587c6c497d336eadc2c4a9 | diff --git a/lib/cucumber/salad/widgets/widget.rb b/lib/cucumber/salad/widgets/widget.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/salad/widgets/widget.rb
+++ b/lib/cucumber/salad/widgets/widget.rb
@@ -90,6 +90,9 @@ module Cucumber
const_set(Salad::WidgetName.new(name).to_sym, type)
end
+ ... | [widget] Make a widget's root node publicly available. | mojotech_capybara-ui | train | rb |
2c9b25a94ac44702132a179db8380f63056841ac | diff --git a/src/FieldHandlers/BaseFileFieldHandler.php b/src/FieldHandlers/BaseFileFieldHandler.php
index <HASH>..<HASH> 100644
--- a/src/FieldHandlers/BaseFileFieldHandler.php
+++ b/src/FieldHandlers/BaseFileFieldHandler.php
@@ -30,7 +30,7 @@ class BaseFileFieldHandler extends BaseFieldHandler
/**
* Limit ... | Increasing number of file icons in the view (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
2906b5790e590a6cceb0116d89a5227994ced43b | diff --git a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRActivity.java b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRActivity.java
index <HASH>..<HASH> 100644
--- a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRActivity.java
+++ b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRActivit... | framework: fix an unlikely NPE in GVRActivity.onDestroy (#<I>) | Samsung_GearVRf | train | java |
64d0cbab9aa95fde068abebef1d5223b41ba49c1 | diff --git a/javascript/HtmlEditorField.js b/javascript/HtmlEditorField.js
index <HASH>..<HASH> 100644
--- a/javascript/HtmlEditorField.js
+++ b/javascript/HtmlEditorField.js
@@ -654,7 +654,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
.toggleClass('ui-state-disabled', !hasItems);
// Hide ... | BUGFIX: SSF-<I> hiding the insert image controls when editing an already inserted image. | silverstripe_silverstripe-framework | train | js |
39fc3782487f46095ed33cd3ab15f9ce109b84bc | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -61,6 +61,9 @@ module.exports = function(grunt) {
files: {
'tmp/yuicompress.css': ['test/fixtures/style.less']
}
+ },
+ nomatchedfiles: {
+ files: { "tmp/nomatchedf... | Fixes #<I>: Don't let async.forEachSeries overrun
asyncforEachSeries' continue() callback must be the last executed
statement or it will iterate past the last item in the collection.
This will then cause 'f' to be undefined in that iteration. | gruntjs_grunt-contrib-less | train | js,js |
fe3ca728a9aff4862dc90c7f6e6dac2e29dbf102 | diff --git a/tilde/core/api.py b/tilde/core/api.py
index <HASH>..<HASH> 100755
--- a/tilde/core/api.py
+++ b/tilde/core/api.py
@@ -11,6 +11,7 @@ import inspect
import traceback
import datetime
import importlib
+from functools import reduce
from numpy import dot, array
@@ -27,7 +28,7 @@ from sqlalchemy import ex... | workarounding binary file opening in Python3 | tilde-lab_tilde | train | py |
2b7cce384fa1de6846a4945d2a0b80de55ec8f55 | diff --git a/raven/utils/serializer/base.py b/raven/utils/serializer/base.py
index <HASH>..<HASH> 100644
--- a/raven/utils/serializer/base.py
+++ b/raven/utils/serializer/base.py
@@ -175,6 +175,6 @@ if not six.PY3:
# register all serializers
-for obj in globals().values():
+for obj in tuple(globals().values()):
... | Coerce globals to a tuple (fixes GH-<I>) | getsentry_raven-python | train | py |
95a2c127f788e8e4356de7e83e8cc9149f2cb496 | diff --git a/src/main/java/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.java b/src/main/java/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.java
+++ b/src/main/java/org/mariadb/jdbc/... | [misc] connection optimization (based on standard case) | MariaDB_mariadb-connector-j | train | java |
fcebaf5b4c1bdaf60e8c867446d30534517159bd | diff --git a/tests/Base58Test.php b/tests/Base58Test.php
index <HASH>..<HASH> 100644
--- a/tests/Base58Test.php
+++ b/tests/Base58Test.php
@@ -49,4 +49,42 @@ class Base58Tests extends PHPUnit_Framework_TestCase
$this->assertSame($string, $base58->decode($encoded), "Testing {$encoded} decodes to {$string}."... | Added exception tests to reach <I>% coverage. | stephen-hill_base58php | train | php |
777458368fb73b7ad5afcaaef857d81df03b95cb | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -130,9 +130,7 @@ v1.2.2
* Update pt_BR locale
* Add raw check on post_save signal for GoogleAddress
-v1.2.3
+v1.2.3[unreleased]
-----------
* Add #get_country_code() to GoogleAddress
-
-v1.2.4[unreleased]
---... | Add id to SkillSerializer and CauseSerializer | OpenVolunteeringPlatform_django-ovp-core | train | rst,py,py |
d831d9962282142e396f331d88cba88ef429a8ae | diff --git a/test/test_execute.py b/test/test_execute.py
index <HASH>..<HASH> 100644
--- a/test/test_execute.py
+++ b/test/test_execute.py
@@ -1372,11 +1372,11 @@ depends: 'non-existent.txt'
wf = script.workflow()
self.assertRaises(Exception, Base_Executor(wf).run)
- def testExecuteIPynb(self):
-... | Disable a test that is suspected to cause zoombie process | vatlab_SoS | train | py |
694bdb5badfe15eada80395ba64f20641c07027f | diff --git a/test/msl-client-browser/spec/MSLTestSpec.js b/test/msl-client-browser/spec/MSLTestSpec.js
index <HASH>..<HASH> 100644
--- a/test/msl-client-browser/spec/MSLTestSpec.js
+++ b/test/msl-client-browser/spec/MSLTestSpec.js
@@ -11,7 +11,7 @@ describe('Example suite', function() {
setTimeout(function()... | Added more timeout to beforeEach | FINRAOS_MSL | train | js |
5f4d7909d45739198ff2e9b9a741dbaf723a5519 | diff --git a/salt/modules/pip.py b/salt/modules/pip.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pip.py
+++ b/salt/modules/pip.py
@@ -341,9 +341,23 @@ def freeze(bin_env=None):
return __salt__['cmd.run'](cmd).split('\n')
-def list(name, bin_env=None):
+def list(prefix='', bin_env=None):
'''
- ... | adding list method for use in pip state | saltstack_salt | train | py |
f562bd5c0719ae892f5869b7e12dc94e7900c89d | diff --git a/tests/test-json-users-controller.php b/tests/test-json-users-controller.php
index <HASH>..<HASH> 100644
--- a/tests/test-json-users-controller.php
+++ b/tests/test-json-users-controller.php
@@ -6,7 +6,7 @@
* @package WordPress
* @subpackage JSON API
*/
-class WP_Test_JSON_Users_Controller extends WP_... | Users controller extends Controller testcase
And it's not yet compliant | WP-API_WP-API | train | php |
b3dd57361a07c3acfff528147b7668eb7b874a31 | diff --git a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py
+++ b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py
@@ -15,7 +15,11 @@
#
# You should have rece... | Adds indication of source of test tables
Former-commit-id: e<I>e<I>fc<I>ada<I>e8c4 | gem_oq-engine | train | py |
c4d19418820960becb2f4efc6a950f414f857f46 | diff --git a/Annis-web/src/main/webapp/javascript/annis/SearchResultWindow.js b/Annis-web/src/main/webapp/javascript/annis/SearchResultWindow.js
index <HASH>..<HASH> 100644
--- a/Annis-web/src/main/webapp/javascript/annis/SearchResultWindow.js
+++ b/Annis-web/src/main/webapp/javascript/annis/SearchResultWindow.js
@@ -2... | - disable scrolling to row when clicking on it | korpling_ANNIS | train | js |
db3bd3bc897624cfd081ef5622d019c1f976e02c | diff --git a/src/.stories/index.js b/src/.stories/index.js
index <HASH>..<HASH> 100644
--- a/src/.stories/index.js
+++ b/src/.stories/index.js
@@ -590,8 +590,6 @@ storiesOf('General | Layout / Grid', module)
});
}}
onSortEnd={({nodes}) => {
- console.log(nodes);
-
... | chore: remove console.log from grid story | clauderic_react-sortable-hoc | train | js |
5e00b76fd622f3e5dac004b5d45adeaeea47d0f2 | diff --git a/src/LiveDevelopment/Agents/RemoteFunctions.js b/src/LiveDevelopment/Agents/RemoteFunctions.js
index <HASH>..<HASH> 100644
--- a/src/LiveDevelopment/Agents/RemoteFunctions.js
+++ b/src/LiveDevelopment/Agents/RemoteFunctions.js
@@ -649,6 +649,9 @@ function RemoteFunctions(experimental) {
bre... | redraw highlights after modifying in-browser DOM | adobe_brackets | train | js |
f3db28c94b50cff322d7b74ccd08d84dfaa651ce | diff --git a/test/requestinterception.spec.js b/test/requestinterception.spec.js
index <HASH>..<HASH> 100644
--- a/test/requestinterception.spec.js
+++ b/test/requestinterception.spec.js
@@ -114,6 +114,20 @@ module.exports.addTests = function({testRunner, expect, CHROME}) {
const response = await page.goto(serve... | test: add failing test for request interception with sync XHRs (#<I>)
`Network.requestWillBeSent` is not issued for the redirect inside
sync XHRs.
References #<I>. | GoogleChrome_puppeteer | train | js |
edf9fc528277a53ec37d1bd79fb4f8608cce11ae | diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index <HASH>..<HASH> 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -132,12 +132,12 @@ class Git(MethodMissingMixin):
if len(k) == 1:
if v is True:
args.append("-%s" % k)
- else:
+ elif typ... | Git: guard against passing False to git commands
git does not accept commands of the form:
git cmd --xx=False
or
git cmd -xFalse
This patch prevents transform_kwargs from producing
command lines with those values.
This adds some flexibility/syntactic sugar for callers
since they can then assume that kwargs with ... | gitpython-developers_GitPython | train | py |
f1b5bf43f77ea78991f708f9de352444be9183f5 | diff --git a/packages/dva-core/src/createStore.js b/packages/dva-core/src/createStore.js
index <HASH>..<HASH> 100644
--- a/packages/dva-core/src/createStore.js
+++ b/packages/dva-core/src/createStore.js
@@ -35,8 +35,8 @@ export default function ({
const enhancers = [
applyMiddleware(...middlewares),
- devt... | fix: redux devtools maybe effect other enhancers.
<URL>
));
``` | dvajs_dva | train | js |
6283c0820fb536eb6474642189207295234408ce | diff --git a/src/NumPHP/Core/NumArray/Shape.php b/src/NumPHP/Core/NumArray/Shape.php
index <HASH>..<HASH> 100644
--- a/src/NumPHP/Core/NumArray/Shape.php
+++ b/src/NumPHP/Core/NumArray/Shape.php
@@ -72,7 +72,7 @@ class Shape
* @param array $data
* @return array
*/
- protected function reshapeToVect... | make reshapeToVectorRecursive and reshapeRecursive static | NumPHP_NumPHP | train | php |
56a3db6da28ea5c0f7a73657939e2279096ece7b | diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php
index <HASH>..<HASH> 100644
--- a/core/testMinimumPhpVersion.php
+++ b/core/testMinimumPhpVersion.php
@@ -76,7 +76,7 @@ if (!function_exists('Piwik_ExitWithMessage')) {
*/
function Piwik_ShouldPrintBackTraceWithMessage()
{
- ... | Output exception backtrace also if PIWIK_TRACKER_DEBUG is defined. | matomo-org_matomo | train | php |
631c78e655359526e3a71c69cf275440f0e7c6bb | diff --git a/cmd/http/listen_nix.go b/cmd/http/listen_nix.go
index <HASH>..<HASH> 100644
--- a/cmd/http/listen_nix.go
+++ b/cmd/http/listen_nix.go
@@ -27,6 +27,9 @@ import (
var cfg = &tcplisten.Config{
DeferAccept: true,
FastOpen: true,
+ // Bump up the soMaxConn value from 128 to 2048 to
+ // handle large inc... | Bump up soMaxConn backlog for listener to <I> (#<I>)
soMaxConn value is <I> on almost all linux systems,
this value is too low for Minio at times when used
against large concurrent workload e.g: spark applications
this causes a sort of SYN flooding observed by the kernel
to allow for large backlog increase this va... | minio_minio | train | go |
22c222bf75d6f1e1887e8c4ad2702d697e600141 | diff --git a/lib/model/folder.go b/lib/model/folder.go
index <HASH>..<HASH> 100644
--- a/lib/model/folder.go
+++ b/lib/model/folder.go
@@ -460,13 +460,8 @@ func (f *folder) scanSubdirs(subDirs []string) error {
continue
}
- if batch.full() {
- if err := batch.flush(); err != nil {
- return err
- }
- ... | lib/model: Partial revert of rename fix (fixes #<I>) (#<I>)
We can't just drop the snap because it's in use elsewhere. This should
be equally functional. | syncthing_syncthing | train | go |
a0c369af0d0588978afe6c38364b4350bcff0f54 | diff --git a/lib/couch_potato/persistence/persister.rb b/lib/couch_potato/persistence/persister.rb
index <HASH>..<HASH> 100644
--- a/lib/couch_potato/persistence/persister.rb
+++ b/lib/couch_potato/persistence/persister.rb
@@ -21,6 +21,10 @@ class Persister
document._rev = nil
end
+ def inspect
+ "#<Per... | changed persister inspect so it won't show the list of cached uuids | langalex_couch_potato | train | rb |
3a52676d2441101a9ee8449658a439434a3be66c | diff --git a/src/Friday/Helper/PHPParser.php b/src/Friday/Helper/PHPParser.php
index <HASH>..<HASH> 100644
--- a/src/Friday/Helper/PHPParser.php
+++ b/src/Friday/Helper/PHPParser.php
@@ -18,6 +18,8 @@
namespace Friday\Helper;
+use Exception;
+
class PHPParser
{
/** | Instantiated class Friday\Helper\Exception not found | ironphp_ironphp | train | php |
e45c5009027c4f148b7a1d8791f19f7455284d03 | diff --git a/src/MigrationTrait.php b/src/MigrationTrait.php
index <HASH>..<HASH> 100644
--- a/src/MigrationTrait.php
+++ b/src/MigrationTrait.php
@@ -145,7 +145,9 @@ trait MigrationTrait
{
$data = $this->_csvDataToCsvObj($this->_csvData(true));
- $this->setFileAssociations($config, $data);
+ ... | Set file associations only if current module has migration fields (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
2f34ee7e58c47759cb6a5d3bea8940f0e5b2ed50 | diff --git a/src/Render.php b/src/Render.php
index <HASH>..<HASH> 100644
--- a/src/Render.php
+++ b/src/Render.php
@@ -106,7 +106,12 @@ class Render
// maximum duration, otherwise a proxy/cache might keep the
// cache twice as long in the worst case scenario, and now it's
... | add in cache-control max age to go along with s-max-age directive | bolt_bolt | train | php |
f901d5497d8f324950bbb80bc8cdbb486e49a67b | diff --git a/src/main/java/com/googlecode/lanterna/terminal/swing/SwingTerminal.java b/src/main/java/com/googlecode/lanterna/terminal/swing/SwingTerminal.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/terminal/swing/SwingTerminal.java
+++ b/src/main/java/com/googlecode/lanterna/terminal/sw... | Try enabling double-buffer to reduce flickering | mabe02_lanterna | train | java |
006789763fb3a93d21003c02bb359cb480bd9cd0 | diff --git a/test/e2e/specs/wp-calypso-gutenberg-post-editor-spec.js b/test/e2e/specs/wp-calypso-gutenberg-post-editor-spec.js
index <HASH>..<HASH> 100644
--- a/test/e2e/specs/wp-calypso-gutenberg-post-editor-spec.js
+++ b/test/e2e/specs/wp-calypso-gutenberg-post-editor-spec.js
@@ -790,7 +790,8 @@ describe( `[${ host }... | Fix trash post test by ensuring saved (#<I>) | Automattic_wp-calypso | train | js |
fbb75ab5b4e581a4f081fcdb3fc58c6662e36493 | diff --git a/tests/test_test.py b/tests/test_test.py
index <HASH>..<HASH> 100644
--- a/tests/test_test.py
+++ b/tests/test_test.py
@@ -317,7 +317,7 @@ def test_follow_redirect_with_post_307():
response = Response('current url: %s' % req.url)
else:
response = redirect('http://localhost... | Fix indentation level
Probably happened when i was resolving conflicts. | pallets_werkzeug | train | py |
ca37d154b59dbfb6d778fe40eb233c35e5fb329b | diff --git a/tests/Unit/Delivery/DynamicEntryTest.php b/tests/Unit/Delivery/DynamicEntryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Delivery/DynamicEntryTest.php
+++ b/tests/Unit/Delivery/DynamicEntryTest.php
@@ -135,6 +135,13 @@ class DynamicEntryTest extends \PHPUnit_Framework_TestCase
$this->asser... | Adds more test for DynamicEntry. | contentful_contentful.php | train | php |
80fd0fa90441863886ec80486e64de45a3a70f48 | diff --git a/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java b/spring-cloud-config-client/src/main/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocator.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-config-client/sr... | Log more detailed error info when failfast=true and error happened (#<I>)
* when failfast=true, client can log detailed error info | spring-cloud_spring-cloud-config | train | java |
35e40d95b7c1b46a6da0d80f1e7c62bd914d52d8 | diff --git a/twine/repository.py b/twine/repository.py
index <HASH>..<HASH> 100644
--- a/twine/repository.py
+++ b/twine/repository.py
@@ -77,12 +77,19 @@ class Repository:
@staticmethod
def _make_adapter_with_retries() -> adapters.HTTPAdapter:
- retry = urllib3.Retry(
+ retry_kwargs = dict(
... | Avoid DeprecationWarning from urllib3 (#<I>)
* Avoid DeprecationWarning from urllib3
* Don't use a version check
* Add coverage of deprecated kwarg
* Skip deprecation coverage | pypa_twine | train | py |
75f14720738c16778e2d5671dc11ff6c99483ec3 | diff --git a/gsheets/backend.py b/gsheets/backend.py
index <HASH>..<HASH> 100644
--- a/gsheets/backend.py
+++ b/gsheets/backend.py
@@ -36,7 +36,8 @@ def iterfiles(service, name=None, mimeType=SHEET, order=FILEORDER): # noqa: N80
params['q'] = ' and '.join(q)
while True:
- response = service.file... | assign request object to facilitate debugging | xflr6_gsheets | train | py |
3ef316bbb4a60b4d44fa7533a1a76113d127fdfd | diff --git a/src/org/jgroups/jmx/ResourceDMBean.java b/src/org/jgroups/jmx/ResourceDMBean.java
index <HASH>..<HASH> 100755
--- a/src/org/jgroups/jmx/ResourceDMBean.java
+++ b/src/org/jgroups/jmx/ResourceDMBean.java
@@ -19,7 +19,7 @@ import java.util.Vector;
*
* @author Chris Mills
* @author Vladimir Blagojevic
-... | limit field traversal to annotated beans | belaban_JGroups | train | java |
3b44677bff3541723b0c3d5e9e4e9f48416e1ff4 | diff --git a/src/Foundation/Providers/MenuServiceProvider.php b/src/Foundation/Providers/MenuServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Foundation/Providers/MenuServiceProvider.php
+++ b/src/Foundation/Providers/MenuServiceProvider.php
@@ -88,7 +88,6 @@ class MenuServiceProvider extends ServiceProvider
... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | orchidsoftware_platform | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.