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 |
|---|---|---|---|---|---|
203a5f0075c4377bfee6006af77dcdd14f3da6aa | diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/util/platform.rb
+++ b/lib/vagrant/util/platform.rb
@@ -554,6 +554,7 @@ module Vagrant
# Get list of local mount paths that are DrvFs file systems
#
# @return [Array<String>]... | Update filesystem type match for WSL2
Fixes shared folder on WSL2 based on #<I> | hashicorp_vagrant | train | rb |
cbd689f106d41e9856c0644d4f4e16d5507a67ae | diff --git a/tests/pytests/scenarios/compat/test_with_versions.py b/tests/pytests/scenarios/compat/test_with_versions.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/scenarios/compat/test_with_versions.py
+++ b/tests/pytests/scenarios/compat/test_with_versions.py
@@ -43,7 +43,7 @@ def _get_test_versions_ids(value):
... | Needs to be <I> | saltstack_salt | train | py |
25b4c3c2cd2cd55b5cd74312099599100a5f31da | diff --git a/src/input/device.js b/src/input/device.js
index <HASH>..<HASH> 100644
--- a/src/input/device.js
+++ b/src/input/device.js
@@ -19,15 +19,15 @@
/**
* Device Orientation. Stores angle in degrees for each axis.
- * properties : tiltLeftRight, tiltFrontBack, direction
+ * properties : gamma, beta,... | renamed properties to match that of the browser API. | melonjs_melonJS | train | js |
05cc5d063918d0305e6e5ceb96f437b5502a2fd9 | diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py
index <HASH>..<HASH> 100644
--- a/nosedjango/nosedjango.py
+++ b/nosedjango/nosedjango.py
@@ -167,16 +167,6 @@ class NoseDjango(Plugin):
# short circuit if no settings file can be found
return
- # This is a distinctive d... | Remove a false comment (thanks to Karen Tracey) | nosedjango_nosedjango | train | py |
cd2a77a95b0fbe23f5bf1d3be9c525fc0ba74cbc | diff --git a/plugins/inputs/net_response/net_response.go b/plugins/inputs/net_response/net_response.go
index <HASH>..<HASH> 100644
--- a/plugins/inputs/net_response/net_response.go
+++ b/plugins/inputs/net_response/net_response.go
@@ -223,9 +223,6 @@ func (n *NetResponse) Gather(acc telegraf.Accumulator) error {
} el... | Remove duplicate loop in net_response plugin (#<I>) | influxdata_telegraf | train | go |
b1c11d807925572661d1946cf4580b11ef147dcb | diff --git a/test/basic/points.js b/test/basic/points.js
index <HASH>..<HASH> 100644
--- a/test/basic/points.js
+++ b/test/basic/points.js
@@ -116,6 +116,9 @@ describe( 'Point', () => {
assert.equal(point.collide, false);
});
+ it('should have order 0 by default', () => {
+ assert.equal(point.orde... | Add test checking the existence of order field | CartoDB_tangram-cartocss | train | js |
9f248776cc31bdd8c357ea34753d4256ae2ba652 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,11 +54,6 @@ class CompileContracts(Command):
# This is a workaround to stop a possibly existing invalid
# precompiled `contracts.json` from preventing us from compiling a new one
os.environ['_RAI... | Skip contract compilation if solc is unavailable | raiden-network_raiden-contracts | train | py |
b597bf4bfd11e751dddad5e6d38dc8e1ebbeedd2 | diff --git a/test/common/http_admin.py b/test/common/http_admin.py
index <HASH>..<HASH> 100644
--- a/test/common/http_admin.py
+++ b/test/common/http_admin.py
@@ -427,7 +427,7 @@ class ClusterAccess(object):
def add_namespace(self, protocol = "memcached", name = None, port = None, primary = None, affinities = { ... | Use low port numbers for randomly-generated namespaces to avoid overflowing a <I>-bit int when added with port_offset. | rethinkdb_rethinkdb | train | py |
cf06dca5ed05bb3e8e095a3c4667f91f2802a8ad | diff --git a/arcrest/gptypes.py b/arcrest/gptypes.py
index <HASH>..<HASH> 100644
--- a/arcrest/gptypes.py
+++ b/arcrest/gptypes.py
@@ -29,7 +29,7 @@ class GPMultiValue(object):
return cls
@property
def _json_struct(self):
- return [x._json_struct for x in self._values]
+ return [get... | Allow bare values in multivalue (such as float) | jasonbot_arcrest | train | py |
8eca1eaf7ecba7131e0525b7ae43f6678653f956 | diff --git a/src/main/java/hu/kazocsaba/imageviewer/ImageComponent.java b/src/main/java/hu/kazocsaba/imageviewer/ImageComponent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hu/kazocsaba/imageviewer/ImageComponent.java
+++ b/src/main/java/hu/kazocsaba/imageviewer/ImageComponent.java
@@ -467,7 +467,12 @@ class Im... | Fix synthetic mouse events when image has overlay.
Due to the presence of the overlay, the code used to think that the mouse exited the component because getMousePosition returned null for the image component. (The overlay basically covered up the image.) Now we use the parent container (which contains the image and a... | kazocsaba_imageviewer | train | java |
025d5f88381d8019817b72b588fe55647f710235 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,14 @@
#!/usr/bin/env python
import os
-from setuptools import setup, find_packages
+from setuptools import setup
# allow setup.py to be ran from anywhere
os.chdir(os.path.dirname(os.path.abspath(__file__)))
... | have to use py_modules for single file modules | anlutro_diay.py | train | py |
24add2d3932e1d03123f0e1d699a44c0b23b839c | diff --git a/src/scripts/chartist-plugin-axistitle.js b/src/scripts/chartist-plugin-axistitle.js
index <HASH>..<HASH> 100644
--- a/src/scripts/chartist-plugin-axistitle.js
+++ b/src/scripts/chartist-plugin-axistitle.js
@@ -56,17 +56,18 @@
);
}
- var xPos;
- ... | Normalize the padding
This changeset normalizes the chart padding before trying to access the object's properties since it is possible to pass in an integer and not an object as the padding option. | alexstanbury_chartist-plugin-axistitle | train | js |
85ae73d98ed31ead1a9d123c30c9dcb4fa72212f | diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -445,6 +445,7 @@ public class NodeCmd
outs.printl... | Add CFS.estimatedKeys to cfstats output.
Patch by Joe Stein, reviewed by brandonwilliams for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
a017d01fee4fac0da855f42c1c835bdfaec897ea | diff --git a/lib/vanity/autoconnect.rb b/lib/vanity/autoconnect.rb
index <HASH>..<HASH> 100644
--- a/lib/vanity/autoconnect.rb
+++ b/lib/vanity/autoconnect.rb
@@ -24,6 +24,7 @@ module Vanity
'db:seed',
'db:setup',
'db:structure:dump',
+ 'db:test:load',
'db:version',
'doc:app',
... | Include `db:test:load` in list of blacklisted autoconnect rake tasks.
This is deprecated as of Rails <I>, but may still be used (especially
by rails 3 projects). | assaf_vanity | train | rb |
138b2a428927991f65c31ac03285a8f999e793d6 | diff --git a/pkg/engine/plan.go b/pkg/engine/plan.go
index <HASH>..<HASH> 100644
--- a/pkg/engine/plan.go
+++ b/pkg/engine/plan.go
@@ -245,10 +245,8 @@ func stepParentIndent(b *bytes.Buffer, step deploy.Step,
// least, it would be ideal to preserve the indentation.
break
}
- if print && !shown[p] {
- ... | Replace possible dead code with an assert
I believe because of the way we have structured the code, it is
impossible to know a resource's parent but not printed it. I've
changed the test which would print the parent resource to an assert
that ensure we have printed it.
The next commit is going to remove the shown arr... | pulumi_pulumi | train | go |
00c9c91ba2b46745a1b2d2278aff088568f3c455 | diff --git a/src/javascript/file/FileDrop.js b/src/javascript/file/FileDrop.js
index <HASH>..<HASH> 100644
--- a/src/javascript/file/FileDrop.js
+++ b/src/javascript/file/FileDrop.js
@@ -83,7 +83,7 @@ define('moxie/file/FileDrop', [
});
}, 999);
- runtime.exec.call(self, 'FileDrop', 'init');
+ ru... | FileDrop: Pass options to runtime extensions in init(). | moxiecode_moxie | train | js,js |
f27b09f02486e22f4180dc9c7a717f8e307a5ff6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,3 @@
-// const bboxPolygon = require('@turf/bbox-polygon')
-// const explode = require('@turf/explode')
-// const inside = require('@turf/inside')
const turfBBox = require('@turf/bbox')
const {hash, range, lngLatToTi... | hopefully fix slippy-grid | DenisCarriere_slippy-grid | train | js,js |
94c76f6a5a90d3ea1fa263ab82110a34b2c6c150 | diff --git a/lxd/storage/utils.go b/lxd/storage/utils.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/utils.go
+++ b/lxd/storage/utils.go
@@ -526,7 +526,7 @@ var StorageVolumeConfigKeys = map[string]func(value string) ([]string, error){
// VolumeValidateConfig validations volume config.
func VolumeValidateConfig(nam... | lxd/storage/utils: Updates VolumeValidateConfig to use update driver loader | lxc_lxd | train | go |
34910765fbafb53bec6604b730875d010a863ae2 | diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -138,7 +138,7 @@ class test(Command):
if self.distribution.tests_require:
self.distribution.fetch_build_eggs(self.distribution.tests... | Always execute tests, even if no test_suite is supplied. Fixes #<I>. | pypa_setuptools | train | py |
1ac8ed68400b04b53e0f83dc00446fcdaa70dc49 | diff --git a/lfs/pointer_smudge.go b/lfs/pointer_smudge.go
index <HASH>..<HASH> 100644
--- a/lfs/pointer_smudge.go
+++ b/lfs/pointer_smudge.go
@@ -12,6 +12,7 @@ import (
)
func PointerSmudgeToFile(filename string, ptr *Pointer, cb CopyCallback) error {
+ os.MkdirAll(filepath.Dir(filename), 0755)
file, err := os.C... | Be sure to create all folders required to smudge a file | git-lfs_git-lfs | train | go |
fc6f5a108b0912d8c0504c2e335bd67be8599623 | diff --git a/hypercorn/trio/server.py b/hypercorn/trio/server.py
index <HASH>..<HASH> 100644
--- a/hypercorn/trio/server.py
+++ b/hypercorn/trio/server.py
@@ -117,7 +117,7 @@ class Server:
with trio.CancelScope() as cancel_scope:
cancel_scope.shield = True
... | Bugfix Catch ClosedResourceError as well | pgjones_hypercorn | train | py |
7516eb27bf6ad473164480cc6c5553955ed8fc66 | diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/googlefonts.py
+++ b/Lib/fontbakery/specifications/googlefonts.py
@@ -1141,7 +1141,7 @@ def check_with_msfontvalidator(font):
"-file",... | correct FVal attribute is actually +raster-tests :-)
(issue #<I>) | googlefonts_fontbakery | train | py |
6afb2d75f4d4e7a40965e59d059226ab44088aa0 | diff --git a/graphite_api/render/glyph.py b/graphite_api/render/glyph.py
index <HASH>..<HASH> 100644
--- a/graphite_api/render/glyph.py
+++ b/graphite_api/render/glyph.py
@@ -1751,8 +1751,6 @@ class LineGraph(Graph):
labels = self.yLabelValuesL
else:
labels = self.yLabelValues
- ... | Remove superfluous grid line for log scale | brutasse_graphite-api | train | py |
c8ce42c8e3553a4a5e2adb7d1bf9cddf753c28db | diff --git a/modules/ve/ce/nodes/ve.ce.ListNode.js b/modules/ve/ce/nodes/ve.ce.ListNode.js
index <HASH>..<HASH> 100644
--- a/modules/ve/ce/nodes/ve.ce.ListNode.js
+++ b/modules/ve/ce/nodes/ve.ce.ListNode.js
@@ -71,6 +71,16 @@ ve.ce.ListNode.prototype.onSplice = function() {
this.$.css( 'height' );
};
+ve.ce.ListNo... | Do not put slugs after nested lists
But still put slugs before them. Done by overriding canHaveSlugAfter()
in ve.ce.ListNode.
Eventually this should be configurable and MediaWiki-specific
Change-Id: I5ad<I>ca<I>a2d<I>add<I>acbea<I>b<I> | wikimedia_parsoid | train | js |
9cf8eb2591234b2955afd00c5b33b191f3d315fa | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,20 +32,25 @@ _classifiers = (
)
-if sys.version_info < (2, 7):
- # pylint 1.4 dropped support for Python 2.6
- _pylint = 'pylint>=1.0,<1.4'
-else:
- _pylint = 'pylint>=1.0'
-
-
_install_requires = [
- _py... | Conditionally excluding pylint <I>+ when using Python<I>; also astroid and logilab versions | PyCQA_pylint-django | train | py |
c0e3cb183356b038f2d70983ae07af3b28ca2eb5 | diff --git a/framework/core/src/Http/Controller/AbstractClientController.php b/framework/core/src/Http/Controller/AbstractClientController.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Http/Controller/AbstractClientController.php
+++ b/framework/core/src/Http/Controller/AbstractClientController.php
@@ -312,1... | Don't use array_filter flag (PHP <I> only) | flarum_core | train | php |
e3f1905d694e4afc2bd0c77d6620c1ac68eecdd4 | diff --git a/Replicapool.php b/Replicapool.php
index <HASH>..<HASH> 100644
--- a/Replicapool.php
+++ b/Replicapool.php
@@ -19,8 +19,8 @@
* Service definition for Replicapool (v1beta2).
*
* <p>
- * The Google Compute Engine Instance Group Manager API provides groups of
- * homogenous Compute Engine Instances.</p>
... | Autogenerated update for replicapool version v1beta2 (<I>-<I>-<I>) | googleapis_google-api-php-client-services | train | php |
8eaca9ddbfd0ce6a0ed9ad63acec82f6deb7efd3 | diff --git a/profiling/viewer.py b/profiling/viewer.py
index <HASH>..<HASH> 100644
--- a/profiling/viewer.py
+++ b/profiling/viewer.py
@@ -60,10 +60,9 @@ class Formatter(object):
ratio /= float(denom)
except ZeroDivisionError:
ratio = 0
- ratio = round(ratio, 4)
- if rat... | Don't format to <I>% instead of <I>% | what-studio_profiling | train | py,py |
1590d813f45874334072ad183d6fdc69b6c41414 | diff --git a/definitions/npm/jest_v18.x.x/flow_v0.33.x-/jest_v18.x.x.js b/definitions/npm/jest_v18.x.x/flow_v0.33.x-/jest_v18.x.x.js
index <HASH>..<HASH> 100644
--- a/definitions/npm/jest_v18.x.x/flow_v0.33.x-/jest_v18.x.x.js
+++ b/definitions/npm/jest_v18.x.x/flow_v0.33.x-/jest_v18.x.x.js
@@ -431,6 +431,7 @@ declare v... | Update Jest Jasmine type declaration (#<I>) | flow-typed_flow-typed | train | js |
8d06f026264d1cfbfdc43393b8f9b287e81b7855 | diff --git a/lib/native-client.js b/lib/native-client.js
index <HASH>..<HASH> 100644
--- a/lib/native-client.js
+++ b/lib/native-client.js
@@ -57,6 +57,11 @@ class NativeClient extends EventEmitter {
}
debug('connected!');
this.database = database;
+ this.readPreferenceOption = {
+ // h... | Refactor readPreference for reusability (#<I>)
* Abstract to NativeClient.readPreferenceOption
Note: With and without the {mode: …} object both work, so let’s use the version without mode which is closer to documented one:
<URL>, not seconds even though seconds is the more appropriate (and documented) measurement. | mongodb-js_data-service | train | js |
1318d7f0caf63fed2ccf860fface1b19be183609 | diff --git a/tests/test_watch.py b/tests/test_watch.py
index <HASH>..<HASH> 100644
--- a/tests/test_watch.py
+++ b/tests/test_watch.py
@@ -137,6 +137,26 @@ def test_watch(mocker):
assert next(iter_) == {'r2'}
+def test_watch_watcher_args(mocker):
+ class FakeWatcher:
+ def __init__(self, path, arg1, ... | Add test of watch with watcher_args | samuelcolvin_watchgod | train | py |
c22e59f0d7f70a6c72f24471ea38188d5e22d85a | diff --git a/vent/core/rq_worker/watch.py b/vent/core/rq_worker/watch.py
index <HASH>..<HASH> 100644
--- a/vent/core/rq_worker/watch.py
+++ b/vent/core/rq_worker/watch.py
@@ -13,7 +13,7 @@ def gpu_queue(options):
if os.path.isdir("/root/.vent"):
path_dir = "/root/.vent"
else:
- path_dir = "/ve... | paths are wrong for rq_worker | CyberReboot_vent | train | py |
db46099f911c3514c6769a7314f1c0fb5d8074af | diff --git a/sbe-tool/src/main/resources/java/interfaces/CompositeDecoderFlyweight.java b/sbe-tool/src/main/resources/java/interfaces/CompositeDecoderFlyweight.java
index <HASH>..<HASH> 100644
--- a/sbe-tool/src/main/resources/java/interfaces/CompositeDecoderFlyweight.java
+++ b/sbe-tool/src/main/resources/java/interfa... | [Java] Remove redundant extends clause. | real-logic_simple-binary-encoding | train | java |
08045bfc870ce718f3ee78327346ab6fbf7b2bcb | diff --git a/src/function/overload.js b/src/function/overload.js
index <HASH>..<HASH> 100644
--- a/src/function/overload.js
+++ b/src/function/overload.js
@@ -81,7 +81,7 @@ define(
}
if (!implementationSignature) {
- implementationSignature = list("*", implementation.length);
+ implementationSignature =... | changing "*" to "any" when building a implementation signature by length with list() | bob-gray_solv | train | js |
d3e7914915c800d33f536cdb40190b1f74bed463 | diff --git a/src/Radio/Radio.js b/src/Radio/Radio.js
index <HASH>..<HASH> 100644
--- a/src/Radio/Radio.js
+++ b/src/Radio/Radio.js
@@ -14,7 +14,7 @@ export const styleSheet = createStyleSheet('MuiRadio', (theme) => {
color: theme.palette.text.secondary,
},
checked: {
- color: theme.palette.accent[... | [Radio] Change checked color to primary. (#<I>) | mui-org_material-ui | train | js |
3543d65943687dbaaf969172751db0a4c8cfd8d6 | diff --git a/src/tracing/importer/trace_event_importer.js b/src/tracing/importer/trace_event_importer.js
index <HASH>..<HASH> 100644
--- a/src/tracing/importer/trace_event_importer.js
+++ b/src/tracing/importer/trace_event_importer.js
@@ -606,6 +606,8 @@ base.exportTo('tracing.importer', function() {
throw new... | Recover when fieldValue is undefined | catapult-project_catapult | train | js |
b3a0b1c97b336e202423d0194fb0642e26915395 | diff --git a/src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java b/src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java
+++ b/src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java
@@ -109,8 +109,9 @@ p... | Modified UserInfoRequestHandler to return "<I> Bad Request" instead of
"<I> Unauthorized" when an access token is not available in handle(). | authlete_authlete-java-jaxrs | train | java |
244919c305f910c64d13d2f75fef7328c59e88b8 | diff --git a/src/DataSource/ArrayDataSource.php b/src/DataSource/ArrayDataSource.php
index <HASH>..<HASH> 100644
--- a/src/DataSource/ArrayDataSource.php
+++ b/src/DataSource/ArrayDataSource.php
@@ -340,7 +340,11 @@ class ArrayDataSource implements IDataSource
$data = [];
foreach ($this->data as $item) {
- ... | Fix sorting by date (#<I>)
Use instanceof instead of is_a | contributte_datagrid | train | php |
26e2d97c1b64157633d5e732c13ee122f43f1a77 | diff --git a/src/org/jenetics/TruncationSelector.java b/src/org/jenetics/TruncationSelector.java
index <HASH>..<HASH> 100644
--- a/src/org/jenetics/TruncationSelector.java
+++ b/src/org/jenetics/TruncationSelector.java
@@ -28,12 +28,12 @@ import org.jenetics.util.Validator;
* In truncation selection individuals are s... | Fix Wikipedia link for Trunctation selection. | jenetics_jenetics | train | java |
8088519f67763b84220943c99c9c369f5c38fbf2 | diff --git a/src/Test/WebTest/WebTestBase.php b/src/Test/WebTest/WebTestBase.php
index <HASH>..<HASH> 100644
--- a/src/Test/WebTest/WebTestBase.php
+++ b/src/Test/WebTest/WebTestBase.php
@@ -67,14 +67,23 @@ class WebTestBase extends WebTestCase
} elseif ($newClient) {
self::$client->restart();
... | [Test] split out method for preparing a request, in WebTestBase | EmchBerger_cube-common-develop | train | php |
c2be2d95f907e91b4780007f1bc7fd9adcd8e595 | diff --git a/Classes/Updates/ConvertTemplatesToUppercase.php b/Classes/Updates/ConvertTemplatesToUppercase.php
index <HASH>..<HASH> 100644
--- a/Classes/Updates/ConvertTemplatesToUppercase.php
+++ b/Classes/Updates/ConvertTemplatesToUppercase.php
@@ -57,7 +57,7 @@ class ConvertTemplatesToUppercase implements UpgradeWiz... | [BUGFIX] Prevent ConvertTemplates wizard from renaming every file
There is now a check, to verify the template path
is not empty. If it is empty, there is nothing to
do for the Update Wizard.
Fixes: #<I> | Gernott_mask | train | php |
5422c2f10a473153951c13c58aa039cc2a71891a | diff --git a/src/discoursegraphs/readwrite/generic.py b/src/discoursegraphs/readwrite/generic.py
index <HASH>..<HASH> 100644
--- a/src/discoursegraphs/readwrite/generic.py
+++ b/src/discoursegraphs/readwrite/generic.py
@@ -7,7 +7,7 @@ import sys
import argparse
from networkx import write_dot
-from discoursegraphs.u... | readwrite.generic: fixed import | arne-cl_discoursegraphs | train | py |
ef4529e504693d45ef04e2ebb9958b2a62f1c68f | diff --git a/nexus/sites.py b/nexus/sites.py
index <HASH>..<HASH> 100644
--- a/nexus/sites.py
+++ b/nexus/sites.py
@@ -97,7 +97,7 @@ class NexusSite(object):
def inner(request, *args, **kwargs):
if not self.has_permission(request, extra_permission):
# show login pane
- ... | Removes args and kwargs to self.login in as_view
If you visited a nexus url that has args or kwargs while not logged in as a user with permission, those args or kwargs were getting passed to self.login, which doesn't accept arbitrary args and kwargs, leading to a <I>, so I removed them from the call to self.login | disqus_nexus | train | py |
5c0bef5d4632fca9fd5dfbaff95a4773cc2cf6d7 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -437,11 +437,14 @@ function get_records_sql($sql) {
if (!$rs) return false;
if ( $rs->RecordCount() > 0 ) {
- $records = $rs->GetAssoc(true);
- foreach ($records as... | Fixed buglets in get_records_sql and insert_record | moodle_moodle | train | php |
6a45cc488e0a997e97be581f0e97dd59b92ab6c8 | diff --git a/thoth/solver/python/python.py b/thoth/solver/python/python.py
index <HASH>..<HASH> 100644
--- a/thoth/solver/python/python.py
+++ b/thoth/solver/python/python.py
@@ -201,7 +201,8 @@ def _do_resolve_index(solver: PythonSolver, all_solvers: typing.List[PythonSolve
_LOGGER.warning("No versions we... | Unresolvable packages have also index assigned | thoth-station_solver | train | py |
d0334b8f017eb63b37359c738860046fb4daa710 | diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/application.rb
+++ b/railties/lib/rails/application.rb
@@ -409,7 +409,8 @@ module Rails
# The secret_key_base is used as the input secret to the application's key generator, which... | Update comment for how secret key is calculated
This updates the comment to reflect how the secret key is generated
since 4c<I>ad6a<I>ab<I>e<I>d<I>d<I>e<I>
Fixes #<I> | rails_rails | train | rb |
e8000597671f2e81db664f504c7d0fc25d32cf12 | diff --git a/jplephem/jplephem/test.py b/jplephem/jplephem/test.py
index <HASH>..<HASH> 100644
--- a/jplephem/jplephem/test.py
+++ b/jplephem/jplephem/test.py
@@ -11,7 +11,10 @@ smaller and more feature-oriented suite can be run with::
import numpy as np
from functools import partial
from jplephem import Ephemeris, ... | Try to make tests importable under Python <I> | brandon-rhodes_python-jplephem | train | py |
3c0046437a2d43900888cd65c7d6f3dd9786629d | diff --git a/ui/src/components/stepper/QStep.js b/ui/src/components/stepper/QStep.js
index <HASH>..<HASH> 100644
--- a/ui/src/components/stepper/QStep.js
+++ b/ui/src/components/stepper/QStep.js
@@ -70,7 +70,7 @@ export default createComponent({
const isActive = computed(() => $stepper.value.modelValue === props.n... | fix(QStepper): prevent dot line to create scrollable panels - firefox #<I>, #<I> (#<I>)
#<I>, #<I> | quasarframework_quasar | train | js |
2fac1973aa77381813e35ba22d326d2db2f4df35 | diff --git a/test/unit/TypesFinder/FindPropertyTypeTest.php b/test/unit/TypesFinder/FindPropertyTypeTest.php
index <HASH>..<HASH> 100644
--- a/test/unit/TypesFinder/FindPropertyTypeTest.php
+++ b/test/unit/TypesFinder/FindPropertyTypeTest.php
@@ -101,11 +101,23 @@ class FindPropertyTypeTest extends \PHPUnit_Framework_T... | restore previous test and add new one to test absence of doc block | Roave_BetterReflection | train | php |
7d7deca1b355103944a0249de6833367ab2df9c0 | diff --git a/examples/with-redux/store.js b/examples/with-redux/store.js
index <HASH>..<HASH> 100644
--- a/examples/with-redux/store.js
+++ b/examples/with-redux/store.js
@@ -32,7 +32,7 @@ export const serverRenderClock = (isServer) => dispatch => {
}
export const startClock = () => dispatch => {
- return setInter... | With redux example clock interval fix (#<I>) | zeit_next.js | train | js |
027f29f689814219f8223df4cb379c6d19e5c1eb | diff --git a/lib/nexpose/device.rb b/lib/nexpose/device.rb
index <HASH>..<HASH> 100644
--- a/lib/nexpose/device.rb
+++ b/lib/nexpose/device.rb
@@ -109,6 +109,21 @@ module Nexpose
end
end
+ # Retrieve a list of assets which are incomplete in a given scan. If called
+ # during a scan, this method retu... | Add incomplete_assets method
Use this method to get some information about assets currently being scanned, or were not completed in a past scan. | rapid7_nexpose-client | train | rb |
9023ff972d84599c2f73220ead8026ccafd10df9 | diff --git a/collection.go b/collection.go
index <HASH>..<HASH> 100644
--- a/collection.go
+++ b/collection.go
@@ -132,6 +132,9 @@ type CollectionProperties struct {
// This attribute specifies the name of the sharding strategy to use for the collection.
// Can not be changed after creation.
ShardingStrategy Shar... | Add property DistributeShardsLike to Collection Properties. | arangodb_go-driver | train | go |
22330e955b4dd7517cd960fadf5850e855411fdc | diff --git a/src/main/java/com/threerings/presents/dobj/CompoundEvent.java b/src/main/java/com/threerings/presents/dobj/CompoundEvent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/threerings/presents/dobj/CompoundEvent.java
+++ b/src/main/java/com/threerings/presents/dobj/CompoundEvent.java
@@ -53,6 +53,12 @... | The CompoundEvent needs a zero-arg ctor, as its non-zero-arg ctor does lots of
crazy stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
53e69e0be18037ee144130b25cceeeaf48847d41 | diff --git a/deployutils/__init__.py b/deployutils/__init__.py
index <HASH>..<HASH> 100644
--- a/deployutils/__init__.py
+++ b/deployutils/__init__.py
@@ -22,4 +22,4 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-__version__ = '0.6.2'
+__ver... | bumps version number to <I>-dev | djaodjin_djaodjin-deployutils | train | py |
8aaa736bf24b657aa002d714bfe793ea3add1bde | diff --git a/lib/logger.js b/lib/logger.js
index <HASH>..<HASH> 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -289,7 +289,7 @@ var proto = {
trace: function trace(msg) {
var args;
if (this.isEnabledFor(LEVELS.TRACE)) {
- var obj = new Error();
+ var obj = {};
Error.captureStackTrace(ob... | fix: logger.trace() should not set record.exception | seanmonstar_intel | train | js,js |
5b8c21e1cede001c60b3e68dad34f79f77603626 | diff --git a/src/org/nutz/mvc/upload/Uploads.java b/src/org/nutz/mvc/upload/Uploads.java
index <HASH>..<HASH> 100644
--- a/src/org/nutz/mvc/upload/Uploads.java
+++ b/src/org/nutz/mvc/upload/Uploads.java
@@ -67,7 +67,10 @@ public abstract class Uploads {
* 请求对象
*/
public static void removeI... | fix:UploadInfo should remove from session not from request | nutzam_nutz | train | java |
85aabf734b1f129a935b7970945be763f3d7f1eb | diff --git a/internal/ui/window_glfw.go b/internal/ui/window_glfw.go
index <HASH>..<HASH> 100644
--- a/internal/ui/window_glfw.go
+++ b/internal/ui/window_glfw.go
@@ -113,10 +113,11 @@ func (w *glfwWindow) IsMaximized() bool {
func (w *glfwWindow) Maximize() {
// Do not allow maximizing the window when the window is... | internal/ui: remove panic at (*glfwWindow).Maximize
Just doing nothing is more consistent with other functions.
Updates #<I> | hajimehoshi_ebiten | train | go |
f9c650c34455d1f3ec2fbdd89fedcf392f618ced | diff --git a/test/integration/options.spec.js b/test/integration/options.spec.js
index <HASH>..<HASH> 100644
--- a/test/integration/options.spec.js
+++ b/test/integration/options.spec.js
@@ -505,14 +505,12 @@ describe('options', function() {
});
});
- describe('--watch', function() {
- describe('with watc... | only run test on non-windws | mochajs_mocha | train | js |
1bca28ad12478dc2bbefb759bde00c337e0783f9 | diff --git a/pkg/api/dtos/apps.go b/pkg/api/dtos/apps.go
index <HASH>..<HASH> 100644
--- a/pkg/api/dtos/apps.go
+++ b/pkg/api/dtos/apps.go
@@ -31,6 +31,7 @@ func NewAppSettingsDto(def *plugins.AppPlugin, data *models.AppSettings) *AppSet
dto.Enabled = data.Enabled
dto.Pinned = data.Pinned
dto.Info = &def.Info
... | include the jsonData in the AppSettings DTO | grafana_grafana | train | go |
e8798c4dd4d0f52bbc88a858545389260cf9c941 | diff --git a/test/support/configs.js b/test/support/configs.js
index <HASH>..<HASH> 100644
--- a/test/support/configs.js
+++ b/test/support/configs.js
@@ -118,4 +118,4 @@ module.exports.merged = {
},
target2 : passedin.task2.target2
}
-}
\ No newline at end of file
+};
\ No newline at end of file | chore: jshint complains about missing ; | creynders_load-grunt-configs | train | js |
596df14a2faf7f3a24152d5382da29036bc4ee29 | diff --git a/tests/framework/validators/FileValidatorTest.php b/tests/framework/validators/FileValidatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/validators/FileValidatorTest.php
+++ b/tests/framework/validators/FileValidatorTest.php
@@ -417,7 +417,7 @@ class FileValidatorTest extends TestCase
... | Fixed tests for PHP <I> #<I> (#<I>) | yiisoft_yii-core | train | php |
4ded2206847297afcd2e30899958b1fe88d177f8 | diff --git a/tests/Probability/Distribution/Continuous/StudentTTest.php b/tests/Probability/Distribution/Continuous/StudentTTest.php
index <HASH>..<HASH> 100644
--- a/tests/Probability/Distribution/Continuous/StudentTTest.php
+++ b/tests/Probability/Distribution/Continuous/StudentTTest.php
@@ -69,4 +69,23 @@ class Stud... | Add unit tests for StudentT mean. | markrogoyski_math-php | train | php |
f2ec2f1d1e73d49d44322697f2042b6aff88b4b2 | diff --git a/test/end.js b/test/end.js
index <HASH>..<HASH> 100644
--- a/test/end.js
+++ b/test/end.js
@@ -43,7 +43,7 @@ test('End function processes Esri Failure', function (t) {
t.plan(1)
var promise = esriFail()
end(promise).catch(function (err) {
- t.throws(err)
+ t.ok(err, 'End promise should catch ... | change throws to check if error catches | Esri_node-arcgis | train | js |
72b4904652c3329776c39fd87876ddc601e46ad4 | diff --git a/functions.go b/functions.go
index <HASH>..<HASH> 100644
--- a/functions.go
+++ b/functions.go
@@ -91,7 +91,7 @@ func isLinted() bool {
}
func isVetted() bool {
- _, err := exec.Command("go", "vet", sourcePath).Output()
+ _, err := exec.Command("go", "vet", sourceGoPath).Output()
return err == nil
}
... | Fix issues with go vet when used as a library (#<I>)
* Export JSON fields in lowercase
* Added structs annotation (json not supported)
* Fix issues with go vet when used as a library | karolgorecki_goprove | train | go,go |
5e02fa945c339d3c80ff544dfb7d5220c12b0aa6 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -1342,7 +1342,7 @@ function runTests(options) {
changeSpy.should.have.been.calledWith(testPath);
done();
});
- }, 1500);
+ }, 2000);
})(... | Increase delay on await test
Trying to knock out annoying sporadic failure on this test that’s been
occurring only on appveyor, node <I>, in polling mode | paulmillr_chokidar | train | js |
7a4b1c064f9adf7de29d63a47363b4ceba141c0e | diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/MiniClusterResource.java b/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/MiniClusterResource.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/MiniClusterResource.java
+++ b/f... | [hotfix][tests] Delete tmp directory after cluster has shut down | apache_flink | train | java |
041d5ee194389cb3f4454547d024a0b10c23d013 | diff --git a/odl/test/space/tensors_test.py b/odl/test/space/tensors_test.py
index <HASH>..<HASH> 100644
--- a/odl/test/space/tensors_test.py
+++ b/odl/test/space/tensors_test.py
@@ -212,6 +212,24 @@ def test_properties(odl_tspace_impl):
assert x.nbytes == 4 * 3 * 4
+def test_size(odl_tspace_impl):
+ """Tes... | ENH: Add test for size of tensor | odlgroup_odl | train | py |
8bfe7ddad220e9da208c907bcf3542fbc44650c2 | diff --git a/adclient.py b/adclient.py
index <HASH>..<HASH> 100644
--- a/adclient.py
+++ b/adclient.py
@@ -177,6 +177,11 @@ class ADClient:
"""
_adclient.CreateUser_adclient(self.obj, cn, container, short_name)
+ def CreateGroup(self, cn, container, short_name):
+ """ It creates us... | added CreateGroup to python | paleg_libadclient | train | py |
7aa5b911cfc1c23ea4a24216238fbc78b6fa0bfa | diff --git a/lib/iseq_rails_tools/railtie.rb b/lib/iseq_rails_tools/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/iseq_rails_tools/railtie.rb
+++ b/lib/iseq_rails_tools/railtie.rb
@@ -15,7 +15,7 @@ module IseqRailsTools
end
directories =
- app.config.iseq_compile_paths.map { |path| [path, 'r... | If the autoload paths are pathnames, cast to string | kddeisz_iseq-rails-tools | train | rb |
eb65e4ef9d15beffc87abd861f4ab5860dbd3d42 | diff --git a/src/ondrs/UploadManager/Utils.php b/src/ondrs/UploadManager/Utils.php
index <HASH>..<HASH> 100644
--- a/src/ondrs/UploadManager/Utils.php
+++ b/src/ondrs/UploadManager/Utils.php
@@ -70,7 +70,7 @@ class Utils
$path .= $subDir;
- if (!is_dir($path)) {
+ if (!@is_dir($pa... | makeDirectoryRecursive: suppress warning from is_dir
Can raise PHP Warning: is_dir(): open_basedir restriction in effect | ondrs_upload-manager | train | php |
1374e9c4933735f11a76d57f05f52fcdcadb639d | diff --git a/src/Nymph.php b/src/Nymph.php
index <HASH>..<HASH> 100644
--- a/src/Nymph.php
+++ b/src/Nymph.php
@@ -45,7 +45,7 @@ class Nymph {
* @return boolean Whether the entity data passes the given selectors.
*/
public static function checkData(&$data, &$sdata, $selectors, $guid = null, $tags = null, $types... | Removed accidental call time pass by reference. | sciactive_nymph-server | train | php |
1f11da2f2c55bbe13d4c54f71c998ffedf01737c | diff --git a/kitchen-tests/cookbooks/end_to_end/metadata.rb b/kitchen-tests/cookbooks/end_to_end/metadata.rb
index <HASH>..<HASH> 100644
--- a/kitchen-tests/cookbooks/end_to_end/metadata.rb
+++ b/kitchen-tests/cookbooks/end_to_end/metadata.rb
@@ -15,7 +15,6 @@ depends "resolver"
depends "selinux"
de... | Replace cron cookbook with new cron resources
Test chef not the cookbook | chef_chef | train | rb,rb |
905c4567a2bfb7a0f0c3103cc3f024c053359771 | diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php
index <HASH>..<HASH> 100644
--- a/blocks/admin/block_admin.php
+++ b/blocks/admin/block_admin.php
@@ -207,11 +207,6 @@ class block_admin extends block_list {
$this->content->items[]='<a href="http://docs.moodle.org/'.$lang.'/Teacher_d... | Removed forum_get_course_forum for forum type teacher. | moodle_moodle | train | php |
cdfbc4a032d97af2a59361e6cb88162ec2f5e167 | diff --git a/visidata/addons/editlog.py b/visidata/addons/editlog.py
index <HASH>..<HASH> 100644
--- a/visidata/addons/editlog.py
+++ b/visidata/addons/editlog.py
@@ -83,7 +83,9 @@ class EditLog(Sheet):
EditLog.currentReplayRow = r
if beforeSheet:
- vs = self.sheetmap[beforeSheet]
+ ... | Use existing sheet by name when replaying | saulpw_visidata | train | py,py |
8cd7936ab0548008042d44367af5b3c3bf0d631f | diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/timeseries.py
+++ b/gwpy/timeseries/timeseries.py
@@ -1474,9 +1474,7 @@ class TimeSeries(TimeSeriesBase):
iend = istart + stridesamp
idx = numpy.arange(istart, iend)
... | timesseries.py: try reducing complexity of heterodyne method | gwpy_gwpy | train | py |
e4bce8c1a4e2f5795f741dad6ef58e7c9c62fc6d | diff --git a/swauth/middleware.py b/swauth/middleware.py
index <HASH>..<HASH> 100644
--- a/swauth/middleware.py
+++ b/swauth/middleware.py
@@ -151,9 +151,10 @@ class Swauth(object):
# user's key
self.auth_type = conf.get('auth_type', 'Plaintext').title()
self.auth_encoder = getattr(swauth.aut... | Raise an exception when the user-specified auth_type is not found | openstack_swauth | train | py |
02a313b025cd1d4d426c73f9a4b041ab4f8e95ba | diff --git a/js/exmo.js b/js/exmo.js
index <HASH>..<HASH> 100644
--- a/js/exmo.js
+++ b/js/exmo.js
@@ -348,6 +348,8 @@ module.exports = class exmo extends Exchange {
parseOrder (order, market = undefined) {
let id = this.safeString (order, 'order_id');
let timestamp = this.safeInteger (order, 'cr... | updated open order timestamp calculation @ exmo.parseOrder | ccxt_ccxt | train | js |
237040752f74e41ece96641620ce3c1a704d6874 | diff --git a/spyder/widgets/reporterror.py b/spyder/widgets/reporterror.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/reporterror.py
+++ b/spyder/widgets/reporterror.py
@@ -142,6 +142,7 @@ class SpyderErrorDialog(QDialog):
self.main_label.setOpenExternalLinks(True)
self.main_label.setWordWrap(Tr... | Make error dialog and paste clipboard text even harder to miss | spyder-ide_spyder | train | py |
1b9a356a07f2bf1a35664113570f00ae03552156 | diff --git a/DbalProducer.php b/DbalProducer.php
index <HASH>..<HASH> 100644
--- a/DbalProducer.php
+++ b/DbalProducer.php
@@ -75,10 +75,11 @@ class DbalProducer implements PsrProducer
));
}
+ $hasNativeGuid = $this->context->getDbalConnection()->getDatabasePlatform()->hasNativeGuidType()... | [dbal] store string if dbal supports guid natively. | php-enqueue_dbal | train | php |
c0e445ac51b5936300095922464b60f68aa2ee91 | diff --git a/resources/views/dashboard/templates/add.blade.php b/resources/views/dashboard/templates/add.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/dashboard/templates/add.blade.php
+++ b/resources/views/dashboard/templates/add.blade.php
@@ -9,13 +9,14 @@
<script src="https://cdnjs.cloudflare.com/ajax... | Makes the editor focusable.
It's related to CachetHQ/Cachet#<I>
On the incident template creation the editor was not focusable, now it
is.
The problem was the initialization of the editor that was done before
the DOM is fully loaded.
Using addEventListener and DOMContentListener fixes the problem and is
compatible fro... | CachetHQ_Cachet | train | php |
983c36c08510bfe062f6ac6d8047d40f7f4cfb97 | diff --git a/function/function.go b/function/function.go
index <HASH>..<HASH> 100644
--- a/function/function.go
+++ b/function/function.go
@@ -782,7 +782,10 @@ func (f *Function) configChanged(config *lambda.GetFunctionOutput) bool {
Role: *config.Configuration.Role,
Runtime: *config.Configuration.Runt... | Fix KMS Bug (#<I>) | apex_apex | train | go |
696149ad6977f5bbe618bd38d95f3028d96a8342 | diff --git a/spec/docker_connection_spec.rb b/spec/docker_connection_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/docker_connection_spec.rb
+++ b/spec/docker_connection_spec.rb
@@ -14,10 +14,10 @@ describe Percheron::DockerConnection do
describe '#setup!' do
context "when ENV['DOCKER_CERT_PATH'] is defined"... | Fixed DockerConnection non deterministic pathing | ashmckenzie_percheron | train | rb |
97b315f2ec993e8c636469766415d493936b54f5 | diff --git a/modules/orionode/lib/update.js b/modules/orionode/lib/update.js
index <HASH>..<HASH> 100644
--- a/modules/orionode/lib/update.js
+++ b/modules/orionode/lib/update.js
@@ -34,7 +34,7 @@ module.exports.router = function(options) {
.use(responseTime({digits: 2, header: "X-Update-Response-Time", suffix: true}... | Bug <I> - Electron app update not working in latest
fix update channel | eclipse_orion.client | train | js |
892f7c890526055cd63055446f32144f0fbc618e | diff --git a/salt/renderers/jinja.py b/salt/renderers/jinja.py
index <HASH>..<HASH> 100644
--- a/salt/renderers/jinja.py
+++ b/salt/renderers/jinja.py
@@ -130,15 +130,20 @@ strftime
Converts any time related object into a time based string. It requires a
valid :ref:`strftime directives <python2:strftime-strptime-... | Separated fuzzy dates from non-fuzzy in strftime Jinja example | saltstack_salt | train | py |
41c399e63c1c1ec7ca189806eef722dab6597c84 | diff --git a/proxy_mount.go b/proxy_mount.go
index <HASH>..<HASH> 100644
--- a/proxy_mount.go
+++ b/proxy_mount.go
@@ -128,8 +128,8 @@ func (self *ProxyMount) OpenWithType(name string, req *http.Request, requestBody
} else if err == io.EOF {
log.Debugf(" fixed-length request body (%d bytes)", buf.Len())
... | proxy: Fixing transfer-encoding/content-length | ghetzel_diecast | train | go |
41d438b47e8ee83a66705f6c04106662e6ea922f | diff --git a/lib/linguist/repository.rb b/lib/linguist/repository.rb
index <HASH>..<HASH> 100644
--- a/lib/linguist/repository.rb
+++ b/lib/linguist/repository.rb
@@ -126,12 +126,13 @@ module Linguist
end
protected
+ MAX_TREE_SIZE = 100_000
def compute_stats(old_commit_oid, cache = nil)
- old... | repository: Do not attempt to scan large repos | github_linguist | train | rb |
45c597309274bd4502c66e75087ac9a2108d89ce | diff --git a/concrete/config/concrete.php b/concrete/config/concrete.php
index <HASH>..<HASH> 100644
--- a/concrete/config/concrete.php
+++ b/concrete/config/concrete.php
@@ -1140,4 +1140,12 @@ return [
'class' => Concrete\Core\System\Mutex\FileLockMutex::class,
],
],
+
+ 'social' => [
+ ... | Add some comments about how to add/customize Social links | concrete5_concrete5 | train | php |
1926f8c9307ea4b24882afc71a096a74b9e376d4 | diff --git a/src/Visitor/Polyfill/CustomOperators.php b/src/Visitor/Polyfill/CustomOperators.php
index <HASH>..<HASH> 100644
--- a/src/Visitor/Polyfill/CustomOperators.php
+++ b/src/Visitor/Polyfill/CustomOperators.php
@@ -52,7 +52,7 @@ trait CustomOperators
private function getOperator($operator)
{
... | Fix CustomOperators when the operator isn't found | K-Phoen_rulerz | train | php |
bb8990e8d0373b3b8b723a0d02539da084c96a38 | diff --git a/redisson/src/main/java/org/redisson/misc/URIBuilder.java b/redisson/src/main/java/org/redisson/misc/URIBuilder.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/misc/URIBuilder.java
+++ b/redisson/src/main/java/org/redisson/misc/URIBuilder.java
@@ -70,10 +70,17 @@ public class URIB... | Fix URIBuilder compare method for IPv6 hosts | redisson_redisson | train | java |
ef95387fedbd634c730ffd5fc813a75fcfee2e88 | diff --git a/src/main/java/org/jfrog/hudson/release/gradle/GradleReleaseAction.java b/src/main/java/org/jfrog/hudson/release/gradle/GradleReleaseAction.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/release/gradle/GradleReleaseAction.java
+++ b/src/main/java/org/jfrog/hudson/release/gradle/Gradle... | HAP-<I>: Properties should be split to release and next development properties | jenkinsci_artifactory-plugin | train | java |
20c012c9accec67957447dc50bffb7b2c1427f77 | diff --git a/spyderlib/widgets/browser.py b/spyderlib/widgets/browser.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/browser.py
+++ b/spyderlib/widgets/browser.py
@@ -107,9 +107,8 @@ class WebBrowser(QWidget):
self.find_widget.set_editor(self.webview)
self.find_widget.hide()
- find... | Web browser widget/bugfix with Spyder's main window: solved shortcut conflict | spyder-ide_spyder | train | py |
818d737f0c1a308fe29d1c81dcb1aff31b852761 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -110,10 +110,13 @@ todo_include_todos = False
# -- Options for HTML output ----------------------------------------------
+# docs say setting this will enable the standard RTD theme and that it
+# doesn't ... | Enhancement: Default RTD theming | TestInABox_stackInABox | train | py |
f8dedd53b04304234199505855f7e958d0a94c02 | diff --git a/sharding-core/src/main/java/io/shardingjdbc/core/parsing/parser/sql/dml/insert/InsertStatement.java b/sharding-core/src/main/java/io/shardingjdbc/core/parsing/parser/sql/dml/insert/InsertStatement.java
index <HASH>..<HASH> 100644
--- a/sharding-core/src/main/java/io/shardingjdbc/core/parsing/parser/sql/dml... | for #<I>, add toString with super with InsertStatement | apache_incubator-shardingsphere | train | java |
e6a09567cc2755976eda3a55599c4d50d28a29ad | diff --git a/docs/components/Header.js b/docs/components/Header.js
index <HASH>..<HASH> 100644
--- a/docs/components/Header.js
+++ b/docs/components/Header.js
@@ -13,6 +13,7 @@ class Header extends React.Component {
<nav style={styles.nav}>
<Link style={styles.navLink} to='/'>Home</Link>
+ ... | Adds link to Change log in header | mxenabled_mx-react-components | train | js |
4111de4e152d678de30afb7f87dcec9d65ab0756 | diff --git a/activerecord/lib/active_record/type/value.rb b/activerecord/lib/active_record/type/value.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/type/value.rb
+++ b/activerecord/lib/active_record/type/value.rb
@@ -3,8 +3,7 @@ module ActiveRecord
class Value # :nodoc:
attr_reader :pr... | Remove incorrect comment in ActiveRecord::Type::Value
Says it's only used for the schema, but they are in fact used for
other things. Integer verifies against the limit during casting,
and Decimal uses precision during casting. It may be true that
scale is only used for the schema. | rails_rails | train | rb |
73c53299dd5f60198faf49fc882af3d586e4a8d7 | diff --git a/gormigrate_test.go b/gormigrate_test.go
index <HASH>..<HASH> 100644
--- a/gormigrate_test.go
+++ b/gormigrate_test.go
@@ -7,6 +7,7 @@ import (
"github.com/jinzhu/gorm"
_ "github.com/joho/godotenv/autoload"
"github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
)
var database... | Require a connection to the DB in tests | go-gormigrate_gormigrate | train | go |
ca499633d40478535e9a605ddae3a63badd0b63f | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -3032,6 +3032,14 @@ class Instrument(object):
kwargs["start"] = start
kwargs["stop"] = stop
+ # Add the user-supplied kwargs
+ rtn_key = 'list_r... | BUG: re-added application of user kwargs
Re-added the assignment of user kwargs at the Instrument level to the downstream methods. | rstoneback_pysat | train | py |
6a755548e97362d781b1f154607c02fd03fc5727 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ extras = {
setup(
name="AtomicPuppy",
- version="0.4.1",
+ version="0.5.0",
packages=find_packages(),
dependency_links=[
"git+https://github.com/OddBloke/HTTPretty.git@f899d1bda8... | Bumping version for the unclosed session error fix by palankai | madedotcom_atomicpuppy | train | py |
db74e4785e2982d0a66f3c740490fabe00888c30 | diff --git a/Library/Call.php b/Library/Call.php
index <HASH>..<HASH> 100644
--- a/Library/Call.php
+++ b/Library/Call.php
@@ -249,7 +249,8 @@ class Call
throw new CompilerException('Named parameter "' . $parameter['name'] . '" is not a valid parameter name, available: ' . join(', ', array_... | Improves performance of the getResolveParamsAsExp method | phalcon_zephir | train | php |
feee0b2f69aee89ff6992cfcb66273129238b477 | diff --git a/lib/whiskers.js b/lib/whiskers.js
index <HASH>..<HASH> 100644
--- a/lib/whiskers.js
+++ b/lib/whiskers.js
@@ -27,17 +27,26 @@ var whiskers = (function() {
return getValue(obj, key) || [];
};
+ var getPartial = function(partials, key) {
+ // drop trailing whitespace in partial
+ var partial... | Deep partials supported, but recursion not so much | gsf_whiskers.js | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.