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 |
|---|---|---|---|---|---|
fa34c32b0766a2bec6bada967c98f80784382d19 | diff --git a/swarm-bat/src/BatMux.js b/swarm-bat/src/BatMux.js
index <HASH>..<HASH> 100644
--- a/swarm-bat/src/BatMux.js
+++ b/swarm-bat/src/BatMux.js
@@ -169,13 +169,12 @@ BatMux.prototype.drain = function () {
}
}
if (!this.data.length && this.end) {
- this.onTrunkDataEnd();
+ for(var... | fix(bat): emit `end` after all streams' data is sent | gritzko_swarm | train | js |
45867de745531bb013ac9fd4a1a36423800b2580 | diff --git a/lib/puppetserver/ca/action/migrate.rb b/lib/puppetserver/ca/action/migrate.rb
index <HASH>..<HASH> 100644
--- a/lib/puppetserver/ca/action/migrate.rb
+++ b/lib/puppetserver/ca/action/migrate.rb
@@ -18,8 +18,9 @@ Usage:
Description:
Migrate an existing CA directory to #{PUPPETSERVER_CA_DIR}. This is f... | (maint) Clarify that --config is optional to migrate | puppetlabs_puppetserver-ca-cli | train | rb |
84829b3e4141434fcc4b2cabd89418555fa944f0 | diff --git a/src/com/google/javascript/jscomp/CompilerOptions.java b/src/com/google/javascript/jscomp/CompilerOptions.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CompilerOptions.java
+++ b/src/com/google/javascript/jscomp/CompilerOptions.java
@@ -2012,15 +2012,6 @@ public class CompilerOptio... | Remove unused method
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
4cde50b2d5123e0c7920e40c563981bdc0ec9f03 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -19,10 +19,14 @@ function RenderRegion(fullWidth, fullHeight, x, y, w, h) {
var onChangeSignal = new Signal();
var _this = this;
- function update() {
+ function update(optionalSpecificCallback) {
_isFullscreen = _x =... | option to only bump a specific callback for optimization | bunnybones1_threejs-render-region | train | js |
3311047de4aefb26b462a598a2a6015674fcc323 | diff --git a/src/Nelmio/Alice/Loader/Base.php b/src/Nelmio/Alice/Loader/Base.php
index <HASH>..<HASH> 100644
--- a/src/Nelmio/Alice/Loader/Base.php
+++ b/src/Nelmio/Alice/Loader/Base.php
@@ -452,7 +452,6 @@ class Base implements LoaderInterface
}
}
- $this->references['self'] = null;
... | No need to set to null before unsetting, refs #<I> | nelmio_alice | train | php |
5037fac57481136af2c11375e6fce896374cba6b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ import codecs
import os
-VERSION = '1.4.3'
+VERSION = '1.4.4'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
GITHUB = 'https://github.com/mathandy/svgpathtools'
diff --git a/svgpathtools/pa... | fix issue with filenames with no directory causing error | mathandy_svgpathtools | train | py,py |
40633a335b112d3cec5c8be5a8f3bfa284404b33 | diff --git a/src/EngineWindow.js b/src/EngineWindow.js
index <HASH>..<HASH> 100644
--- a/src/EngineWindow.js
+++ b/src/EngineWindow.js
@@ -97,20 +97,19 @@ class EngineWindow {
const heightRatio = container.clientHeight / targetHeight
const currRatio = (widthRatio < heightRatio) ? widthRatio : heightRatio
- le... | fix: setup screen ratio when its changed | tenjou_meta2d | train | js |
1f7d7a65cab77ed4d155e09dd0a9b9a9939ca79a | diff --git a/djmongo/write/views.py b/djmongo/write/views.py
index <HASH>..<HASH> 100644
--- a/djmongo/write/views.py
+++ b/djmongo/write/views.py
@@ -263,11 +263,9 @@ def edit_httpauth_write_api(request, slug):
msg = _('The HTTP Auth API for %s was updated.') % (slug)
messages.success(request... | Redirect API edit success to API dashboard | videntity_django-djmongo | train | py |
f9edfe28cb4ab2deb3e17a5f5f29201d753c1948 | diff --git a/lib/pyfrc/mains/cli_sim.py b/lib/pyfrc/mains/cli_sim.py
index <HASH>..<HASH> 100644
--- a/lib/pyfrc/mains/cli_sim.py
+++ b/lib/pyfrc/mains/cli_sim.py
@@ -5,9 +5,6 @@ from os.path import abspath, dirname, exists, join
from ..test_support import pyfrc_fake_hooks
-from ..physics.core import PhysicsInitEx... | Load the sim directory after it has been selected | robotpy_pyfrc | train | py |
596ad8721b3f2e28dc25a1b0f1bac5880c00136b | diff --git a/tests/DefinitionTest.php b/tests/DefinitionTest.php
index <HASH>..<HASH> 100644
--- a/tests/DefinitionTest.php
+++ b/tests/DefinitionTest.php
@@ -313,7 +313,7 @@ class DefinitionTest extends AbstractTestCase
$obj = static::$fm->instance('UserModelStub', [
'profile' => function () {
... | Added a missing comma | thephpleague_factory-muffin | train | php |
519d0ae0df1b3cba59446b3f712547986556c03b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ license: GNU-GPL2
from setuptools import setup
setup(name='arguments',
- version='16',
+ version='18',
description='Argument parser based on docopt',
url='https://github.com/erikdejonge... | pip
Friday <I> March <I> (week:9 day:<I>), <I>:<I>:<I> | erikdejonge_arguments | train | py |
c0d23bb17705e7c7dbffcd72b1350ac487292f44 | diff --git a/src/dom.js b/src/dom.js
index <HASH>..<HASH> 100644
--- a/src/dom.js
+++ b/src/dom.js
@@ -119,7 +119,12 @@ export const PDFDownloadLink = ({
return (
<InternalBlobProvider document={element}>
{params => (
- <a download={fileName} href={params.url}>
+ <a
+ className={cl... | Pass style and classname to PDFDownloadLink | diegomura_react-pdf | train | js |
92c77bad1941ed928291e6258ba10f4b286955f1 | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -27,7 +27,7 @@ import six
if six.PY2:
- import mock
+ import mock # pylint: disable=import-error
unittest.mock = mock
sys.modules['unittest.mock'] = unittest.mock | Ignoring the failed import of `mock` with Pylint.
See: <URL> | dhermes_bezier | train | py |
d0a3ceb730d2d2d54d519d157460dadaf89eae12 | diff --git a/application/geomajas-puregwt-example/src/main/java/org/geomajas/puregwt/client/rendering/WorldSpaceRenderingPanel.java b/application/geomajas-puregwt-example/src/main/java/org/geomajas/puregwt/client/rendering/WorldSpaceRenderingPanel.java
index <HASH>..<HASH> 100644
--- a/application/geomajas-puregwt-exam... | PURE-<I>: added rectangle button | geomajas_geomajas-project-client-gwt2 | train | java |
ebba16985c0adc83a30a89a4800091895c27cecd | diff --git a/admin/index.php b/admin/index.php
index <HASH>..<HASH> 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -40,7 +40,9 @@ if (version_compare(phpversion(), '5.2.0') < 0) {
// try to flush everything all the time
@ob_implicit_flush(true);
-while(@ob_end_clean()); // ob_end_flush prevents sending of he... | MDL-<I> fixed hidden error preventing proper redirects during install, yay! | moodle_moodle | train | php,php |
9a438a191a87eb3098545c6501a8838269fb4233 | diff --git a/sunspot/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb b/sunspot/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb
index <HASH>..<HASH> 100644
--- a/sunspot/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb
+++ b/sunspot/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb
@@ -33,7 +33,7 @@ mod... | coerce status to an int and match against a range | sunspot_sunspot | train | rb |
be3209095c58d74f59e57cdbfb3c8b8393858c3f | diff --git a/src/shard/shard.go b/src/shard/shard.go
index <HASH>..<HASH> 100644
--- a/src/shard/shard.go
+++ b/src/shard/shard.go
@@ -19,8 +19,10 @@ import (
"github.com/satori/go.uuid"
)
-var jobDir string = "job"
-var pipelineDir string = "pipeline"
+const (
+ jobDir = "job"
+ pipelineDir = "pipeline"
+)
... | replace var constants with const in shard.go | pachyderm_pachyderm | train | go |
63c71d0959758e82cc1c6cb6edc1dd30ae25c083 | diff --git a/src/cc/application/ApplicationRenderer.php b/src/cc/application/ApplicationRenderer.php
index <HASH>..<HASH> 100644
--- a/src/cc/application/ApplicationRenderer.php
+++ b/src/cc/application/ApplicationRenderer.php
@@ -95,7 +95,7 @@ class ApplicationRenderer
{
$isCachable = ($sitemapItem->obje... | Fixed a typo resulting in bitwise operator instead of OR | jenskooij_cloudcontrol | train | php |
748e8b3fa946457079a59b7c15b359a7f3208646 | diff --git a/lib/storage_room/identity_map.rb b/lib/storage_room/identity_map.rb
index <HASH>..<HASH> 100644
--- a/lib/storage_room/identity_map.rb
+++ b/lib/storage_room/identity_map.rb
@@ -8,7 +8,7 @@ module StorageRoom
end
def self.models
- @models ||= Set.new
+ @models ||= ::Set.new
e... | Fix a problem with the identity map | thriventures_storage_room_gem | train | rb,rb |
44fbf00843cebd98aef254002ffe55e7117fc3f4 | diff --git a/src/plugin/regions.js b/src/plugin/regions.js
index <HASH>..<HASH> 100644
--- a/src/plugin/regions.js
+++ b/src/plugin/regions.js
@@ -56,10 +56,16 @@ class Region {
params.channelIdx == null ? -1 : parseInt(params.channelIdx);
this.regionHeight = '100%';
this.marginTop = '0px... | Regions plugin: fix channelCount assignment (#<I>)
* regions plugin: handle position fix while using with channelIdx param
* regions plugin: channelCount assignment source fix
* fix lint error | katspaugh_wavesurfer.js | train | js |
53f3ebfadd4192cadb549ebf39947dd9dadd63da | diff --git a/symphony/lib/toolkit/email-gateways/email.smtp.php b/symphony/lib/toolkit/email-gateways/email.smtp.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/email-gateways/email.smtp.php
+++ b/symphony/lib/toolkit/email-gateways/email.smtp.php
@@ -317,15 +317,9 @@ class SMTPGateway extends EmailGateway
... | Output password and email even when auth == 0
This will prevent overwriting the previous values
Picked from <I>c<I>fa | symphonycms_symphony-2 | train | php |
aa356b6994dd056e1fb5c1186b0ba517ee495b70 | diff --git a/lib/Psc/CMS/ProjectMain.php b/lib/Psc/CMS/ProjectMain.php
index <HASH>..<HASH> 100644
--- a/lib/Psc/CMS/ProjectMain.php
+++ b/lib/Psc/CMS/ProjectMain.php
@@ -512,6 +512,10 @@ class ProjectMain extends \Psc\Object implements DropContentsListCreater{
$authController->setHTMLPage($this->createHTMLPage())... | set logged in user to requesthandler context per default | webforge-labs_psc-cms | train | php |
ea48a79889decc79752d9e3c9833682e16851ba0 | diff --git a/simplenote/simplenote.py b/simplenote/simplenote.py
index <HASH>..<HASH> 100644
--- a/simplenote/simplenote.py
+++ b/simplenote/simplenote.py
@@ -28,7 +28,7 @@ except ImportError:
AUTH_URL = 'https://simple-note.appspot.com/api/login'
DATA_URL = 'https://simple-note.appspot.com/api2/data'
INDX_URL = 'ht... | Increase qty to max allowable by API to speed up retrieval
especially when there is a large number of notes | mrtazz_simplenote.py | train | py |
3b300b82787f9ff5e557e8fa0ffdccfcd3c5353d | diff --git a/test/express.spec.js b/test/express.spec.js
index <HASH>..<HASH> 100644
--- a/test/express.spec.js
+++ b/test/express.spec.js
@@ -290,7 +290,8 @@ describe("Express Integration Tests", function() {
app.use(
require("http-proxy-middleware")({
target: "http://local... | Silence the HTTP Proxy middleware in tests | gustavnikolaj_hijackresponse | train | js |
b5d5fe19b1df13608a2a04514cffaa9dcf7548d7 | diff --git a/src/main/java/io/minio/MinioClient.java b/src/main/java/io/minio/MinioClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/minio/MinioClient.java
+++ b/src/main/java/io/minio/MinioClient.java
@@ -1180,7 +1180,7 @@ public final class MinioClient {
String tempFileName = fileName + "." + etag... | fix: temp file existence checking is wrong getObject method (#<I>)
Previously in getObject method, temp file existence check is wrongly
with actual file name. This causes exception when the destination file
exists.
This patch fixes the issue. | minio_minio-java | train | java |
8ef885c00a392ad5610f4985448f2885a034674a | diff --git a/lib/twitter/tweet.rb b/lib/twitter/tweet.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter/tweet.rb
+++ b/lib/twitter/tweet.rb
@@ -27,7 +27,9 @@ module Twitter
# @return [Boolean]
def entities?
- !@attrs[:entities].nil?
+ return false if @attrs[:entities].nil?
+
+ @attrs[:entities... | Fix behavior of Twitter::Tweet.entities? method.
Previously, this method returned true when inflating a
tweet that has no entities because the inflated model
does not set @attrs[:entities] to nil, but to a hash of
empty lists. | sferik_twitter | train | rb,rb |
c1cc299762eb3eb6541cdd96f217c262162785b8 | diff --git a/aws-sdk-resources/lib/aws-sdk-resources.rb b/aws-sdk-resources/lib/aws-sdk-resources.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-resources/lib/aws-sdk-resources.rb
+++ b/aws-sdk-resources/lib/aws-sdk-resources.rb
@@ -34,7 +34,9 @@ module Aws
# @api private
def definition(options)
na... | Now reading resource definitions files with utf-8 encoding. | aws_aws-sdk-ruby | train | rb,rb |
64780924925cceabb7d00f16cdb017f2150938cb | diff --git a/mithril.js b/mithril.js
index <HASH>..<HASH> 100644
--- a/mithril.js
+++ b/mithril.js
@@ -1629,7 +1629,7 @@ void (function (global, factory) { // eslint-disable-line
function routeUnobtrusive(e) {
e = e || event
- if (e.ctrlKey || e.metaKey || e.which === 2) return
+ if (e.ctrlKey || e.metaKey || ... | Allow m.route links to be opened in a new window using the shift key | MithrilJS_mithril.js | train | js |
9294a3804c16f5a81fffbf5179ce7d9c9fdc3af1 | diff --git a/qiskit/__init__.py b/qiskit/__init__.py
index <HASH>..<HASH> 100644
--- a/qiskit/__init__.py
+++ b/qiskit/__init__.py
@@ -12,4 +12,4 @@ from ._quantumprogram import Result
#from .simulators import UnitarySimulator
-__version__ = '0.3.11'
+__version__ = '0.3.12'
diff --git a/setup.py b/setup.py
in... | pip release: <I> | Qiskit_qiskit-terra | train | py,py |
e0c07f2710e0b250e728f250e9d7bc773b4c503f | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -102,10 +102,11 @@ function processFile(filename, config) {
eslint.reset();
var filePath = path.resolve(filename),
+ existsSync = fs.existsSync || path.existsSync,
text,
messages;
... | Fixes issue with fs.existsSync on NodeJS <I>
Fixes an issue where`lib/cli.js` was using `fs.existsSync`, which prior to NodeJS <I> was `path.existsSync`. So, on NodeJS <I>, the CLI would throw an error. | eslint_eslint | train | js |
2fdb2ceeb890ad524df5e52db3dca101e9514441 | diff --git a/tests/unit/modules/test_file.py b/tests/unit/modules/test_file.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_file.py
+++ b/tests/unit/modules/test_file.py
@@ -1,5 +1,3 @@
-# Import python libs
-
import os
import shutil
import tempfile
@@ -15,15 +13,11 @@ import salt.utils.files
import sa... | run pre-commit: remove import comments | saltstack_salt | train | py |
47d49e67bdaf26142798fed5fe03cc1438e097df | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -650,7 +650,7 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializab
$key = $this->getKeyName();
- return static::with($with)->where($key... | Allow models omitted by global scopes to be refreshed (#<I>) | illuminate_database | train | php |
4c46f08c8099a3eaa0b8a0dfc906547832ea9abc | diff --git a/airflow/www/views.py b/airflow/www/views.py
index <HASH>..<HASH> 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2110,6 +2110,7 @@ class ConnectionModelView(wwwutils.SuperUserMixin, AirflowModelView):
('s3', 'S3',),
('samba', 'Samba',),
('sqlite', 'Sq... | Adding ssh connection type to webform | apache_airflow | train | py |
7e57a64967e11e67d2727f2bd56e9a2e45e68483 | diff --git a/src/VCS/Mercurial.php b/src/VCS/Mercurial.php
index <HASH>..<HASH> 100644
--- a/src/VCS/Mercurial.php
+++ b/src/VCS/Mercurial.php
@@ -10,7 +10,7 @@ class Mercurial extends Base
*/
public function getCommits()
{
- $log = $this->execute('hg log');
+ $log = $this->execute('hg log... | fix 'hg log' to explicitely disable verbosity as if it is activated globally on the server, we break parsing | pascalchevrel_vcs | train | php |
1c3d68db74a2e921443cfbbec541106b1a5e2491 | diff --git a/example_popular.py b/example_popular.py
index <HASH>..<HASH> 100644
--- a/example_popular.py
+++ b/example_popular.py
@@ -33,7 +33,7 @@ class Player(object):
def __init__(self):
self._client = grooveshark.Client()
self._client.init()
- self._popular = [song for song in self._c... | fixing some terrible python converting generator to list | koehlma_pygrooveshark | train | py |
dc59cd729d964445fdc27ce77a11d228056abc6b | diff --git a/marshmallow/validate.py b/marshmallow/validate.py
index <HASH>..<HASH> 100644
--- a/marshmallow/validate.py
+++ b/marshmallow/validate.py
@@ -198,7 +198,7 @@ class Range(Validator):
return value
-class Length(Range):
+class Length(Validator):
"""Validator which succeeds if the value passe... | Subclass Length from Validator not Range | marshmallow-code_marshmallow | train | py |
7ecb59ce4af2d21113ff0648d83c2414c9535dec | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ def recursively_include(results, directory, patterns):
results[directory].append(join(*filename.split(sep)[1:]))
recursively_include(package_data, 'pythonforandroid/recipes',
- ... | Added .c and .h files in recipe dirs to bdists | kivy_python-for-android | train | py |
7ddc41c97cd2c9c1f6d9a5e77d899d84acf77519 | diff --git a/webroot/js/ajax.js b/webroot/js/ajax.js
index <HASH>..<HASH> 100644
--- a/webroot/js/ajax.js
+++ b/webroot/js/ajax.js
@@ -58,6 +58,8 @@
ajax('#fetch-menu-items', url);
});
- //Run on load.
- ajax('#fetch-menu-items', getUrl());
+ if ($('#fetch-menu-items').length) {
+ //Run ... | Run when it exists (task #<I>) | QoboLtd_cakephp-menu | train | js |
b360880985a3d0952c7e4ecd726e7039fff45e11 | diff --git a/auto_lens/profile.py b/auto_lens/profile.py
index <HASH>..<HASH> 100644
--- a/auto_lens/profile.py
+++ b/auto_lens/profile.py
@@ -484,6 +484,7 @@ class EllipticalIsothermalMassProfile(EllipticalPowerLawMassProfile):
----------
The deflection angles at these coordinates
"""
+ ... | Added to do to SIE deflection method | Jammy2211_PyAutoLens | train | py |
82cc52ecf5ac8bb32fe67e98e37de5ba9015c723 | diff --git a/leancloud/object_.py b/leancloud/object_.py
index <HASH>..<HASH> 100644
--- a/leancloud/object_.py
+++ b/leancloud/object_.py
@@ -527,7 +527,7 @@ class Object(object):
self._merge_magic_field(server_data)
self._rebuild_attributes()
- def _finish_fetch(self, server_data, has_data):
+ ... | fix: wrong existed value when object is fetched from server | leancloud_python-sdk | train | py |
4e6cedb90af6e1c028a3dff5a65d257020c3b785 | diff --git a/lib/bugsnag/middleware/rails3_request.rb b/lib/bugsnag/middleware/rails3_request.rb
index <HASH>..<HASH> 100644
--- a/lib/bugsnag/middleware/rails3_request.rb
+++ b/lib/bugsnag/middleware/rails3_request.rb
@@ -15,15 +15,15 @@ module Bugsnag::Middleware
# Augment the request tab
noti... | Move request id out of params check | bugsnag_bugsnag-ruby | train | rb |
8f3143213c7b6fc9df4edd85d39d57b71e173eb4 | diff --git a/qingstor/sdk/utils/file_chunk.py b/qingstor/sdk/utils/file_chunk.py
index <HASH>..<HASH> 100644
--- a/qingstor/sdk/utils/file_chunk.py
+++ b/qingstor/sdk/utils/file_chunk.py
@@ -94,8 +94,7 @@ class EncryptionFileChunk(FileChunk):
def __init__(self, fd, encrypt_key, iv, encrypt_algo="AES256"):
... | Use encryptor instead of cryptor for encryption | yunify_qingstor-sdk-python | train | py |
8d899d6e8f50100dcbfd0ac640cd9977e5b7970d | diff --git a/bosh_aws_cpi/lib/cloud/aws/helpers.rb b/bosh_aws_cpi/lib/cloud/aws/helpers.rb
index <HASH>..<HASH> 100644
--- a/bosh_aws_cpi/lib/cloud/aws/helpers.rb
+++ b/bosh_aws_cpi/lib/cloud/aws/helpers.rb
@@ -87,13 +87,15 @@ module Bosh::AwsCloud
rescue AWS::EC2::Errors::InvalidAMIID::NotFound,
AWS::EC2... | when you first don't succeed, try, try again... | cloudfoundry_bosh | train | rb |
dee8382ec8a16fc53837c42488ea056282d72f84 | diff --git a/source/rafcon/gui/controllers/state_machines_editor.py b/source/rafcon/gui/controllers/state_machines_editor.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/state_machines_editor.py
+++ b/source/rafcon/gui/controllers/state_machines_editor.py
@@ -309,7 +309,8 @@ class StateMachinesEditor... | force close state machine editor tabs: fix condition to be more robust
- before it was causing problems if used in the right-click menu | DLR-RM_RAFCON | train | py |
a32ffba26dd54a7d1015fbcb8488794177e7b62a | diff --git a/notification-portlet-api/src/main/java/org/jasig/portlet/notice/NotificationEntry.java b/notification-portlet-api/src/main/java/org/jasig/portlet/notice/NotificationEntry.java
index <HASH>..<HASH> 100644
--- a/notification-portlet-api/src/main/java/org/jasig/portlet/notice/NotificationEntry.java
+++ b/noti... | NOTIFPLT-<I>: Add an optional, strongly-typed id field for use with notices upon which actions may be performed | Jasig_NotificationPortlet | train | java |
493abc121dd6ede88551b236a821cfbbd9a3283d | diff --git a/src/Codeception/Module/WebDriver.php b/src/Codeception/Module/WebDriver.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/WebDriver.php
+++ b/src/Codeception/Module/WebDriver.php
@@ -785,7 +785,7 @@ class WebDriver extends CodeceptionModule implements
// wide
$xpath = Locator... | [WebDriver] Click link by title attribute | Codeception_base | train | php |
c5e4c51260b590e47607be10e805b0b46928da18 | diff --git a/timeside/plugins/analyzer/externals/vamp_spectral_kurtosis.py b/timeside/plugins/analyzer/externals/vamp_spectral_kurtosis.py
index <HASH>..<HASH> 100644
--- a/timeside/plugins/analyzer/externals/vamp_spectral_kurtosis.py
+++ b/timeside/plugins/analyzer/externals/vamp_spectral_kurtosis.py
@@ -45,6 +45,8 @@... | [analyzers] set VampSpectralKurtosis blocksize to <I> (see #<I>) | Parisson_TimeSide | train | py |
1ff6e6e22017b16a22fcef0e23535d5c41c617cc | diff --git a/raiden/network/transport/matrix/transport.py b/raiden/network/transport/matrix/transport.py
index <HASH>..<HASH> 100644
--- a/raiden/network/transport/matrix/transport.py
+++ b/raiden/network/transport/matrix/transport.py
@@ -196,14 +196,10 @@ class _RetryQueue(Runnable):
status=status,
... | Don't priotize unordered messages.
Unordered messages by definition don't care about the order they are
sent, there is no need to prioritize these messages. | raiden-network_raiden | train | py |
c1bb743cf831045ec1b2cba9bd8d7a2d0a1da272 | diff --git a/vincent/vega.py b/vincent/vega.py
index <HASH>..<HASH> 100644
--- a/vincent/vega.py
+++ b/vincent/vega.py
@@ -75,7 +75,7 @@ class KeyedList(list):
if isinstance(key, str):
keys = self.__get_keys()
if key not in keys:
- raise KeyError('invalid key %s' % key)... | Small format change to KeyedList KeyError | wrobstory_vincent | train | py |
f692bc26e4633dcd125c5fba4f674c8e7f3f3267 | diff --git a/src/RestGalleries/Auth/Auth.php b/src/RestGalleries/Auth/Auth.php
index <HASH>..<HASH> 100644
--- a/src/RestGalleries/Auth/Auth.php
+++ b/src/RestGalleries/Auth/Auth.php
@@ -63,7 +63,9 @@ abstract class Auth implements AuthAdapter
{
if ($this->protocol == 1) {
foreach ($tokenCred... | AuthTest::filterToken fixes | estebanmatias92_RestGalleries | train | php |
e574148c506f67e9dbc280a80c400e9634a4575e | diff --git a/question/type/calculated/tests/variablesubstituter_test.php b/question/type/calculated/tests/variablesubstituter_test.php
index <HASH>..<HASH> 100644
--- a/question/type/calculated/tests/variablesubstituter_test.php
+++ b/question/type/calculated/tests/variablesubstituter_test.php
@@ -65,6 +65,17 @@ class ... | MDL-<I>: qtype_calculated: Adding division by zero test | moodle_moodle | train | php |
628758b06e3ab69efb7f85bf0d1b786ec89a39a6 | diff --git a/src/Cart.php b/src/Cart.php
index <HASH>..<HASH> 100644
--- a/src/Cart.php
+++ b/src/Cart.php
@@ -118,7 +118,10 @@ class Cart
protected function generateHash(CartItem $cartItem)
{
$cartItemArray = (array) $cartItem;
- ksort($cartItemArray['options']);
+
+ if(empty($cartItem... | Putting additonal checks on the data | lukepolo_laracart | train | php,php |
dca85d6a85819142e0e09dbbac9276ea0fd223b1 | diff --git a/lib/baby_erubis.rb b/lib/baby_erubis.rb
index <HASH>..<HASH> 100644
--- a/lib/baby_erubis.rb
+++ b/lib/baby_erubis.rb
@@ -40,7 +40,9 @@ module BabyErubis
end
def from_file(filename, encoding='utf-8')
- input = File.open(filename, "rb:#{encoding}") {|f| f.read() }
+ mode = "rb:#{encodi... | ruby: change 'Template#from_file()' to support Ruby <I> | kwatch_baby_erubis | train | rb |
bca01a9ed27dcbc4b9eab2efb211b431585f82fe | diff --git a/src/serialization/sb2.js b/src/serialization/sb2.js
index <HASH>..<HASH> 100644
--- a/src/serialization/sb2.js
+++ b/src/serialization/sb2.js
@@ -918,6 +918,12 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension
if (shadowObscured) {
fie... | rename Stage to _stage_ when its the OBJECT input for getAttributeOf | LLK_scratch-vm | train | js |
e498630e6ffc139985a1be5de2b634d162aa97e3 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/ClientCommandAdapter.java b/aeron-driver/src/main/java/io/aeron/driver/ClientCommandAdapter.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/ClientCommandAdapter.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/ClientCommandAd... | [Java] Record error in driver before notifying client. | real-logic_aeron | train | java |
ea9ebefcbf336e9cb5872320bc68150b339606ce | diff --git a/src/Runner.php b/src/Runner.php
index <HASH>..<HASH> 100644
--- a/src/Runner.php
+++ b/src/Runner.php
@@ -19,7 +19,28 @@ use RuntimeException;
*/
class Runner extends RoboRunner
{
- private $lastErrno = null;
+ private static $lastErrno = null;
+
+ /**
+ * Last error setter
+ *
+ *... | Workaround fix for the custom error handler
Since we are using our own Runner with the error handling, we
need a way to preserve or reset the last error. This is especially
useful for ignore errors which were triggered and resetting them
to success (0). | QoboLtd_qobo-robo | train | php |
1749d6ea53060436e5017f833964f40825ad8002 | diff --git a/src/main/java/io/katharsis/rs/controller/hk2/factory/RequestDispatcherFactory.java b/src/main/java/io/katharsis/rs/controller/hk2/factory/RequestDispatcherFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/katharsis/rs/controller/hk2/factory/RequestDispatcherFactory.java
+++ b/src/main/java/io... | fixed RequestDispatcherBuilder usage | katharsis-project_katharsis-framework | train | java |
fb5e56635c6d4160708ae8605ad1e62ef24ab11b | diff --git a/ui/front/pagination/advanced.php b/ui/front/pagination/advanced.php
index <HASH>..<HASH> 100644
--- a/ui/front/pagination/advanced.php
+++ b/ui/front/pagination/advanced.php
@@ -69,7 +69,7 @@
<a href="<?php echo pods_var_update( array( $params->page_var => ( $params->page + 1 ) ) ); ?>" class=... | Fix a typo for the last text on advanced pagination. | pods-framework_pods | train | php |
cf0150c31c28d0d8fd9fa0b5ed5b2e412a23fb79 | diff --git a/packages/roc-plugin-style-css/src/css/index.js b/packages/roc-plugin-style-css/src/css/index.js
index <HASH>..<HASH> 100644
--- a/packages/roc-plugin-style-css/src/css/index.js
+++ b/packages/roc-plugin-style-css/src/css/index.js
@@ -18,8 +18,8 @@ export default ({ settings, previousValue: rocBuilder }) =>... | Changed assets to resources to match with change in Webpack Web | rocjs_extensions | train | js |
4f6eabf09acd39158e9b3eb866697694c1eaa5c7 | diff --git a/lib/manifest.js b/lib/manifest.js
index <HASH>..<HASH> 100644
--- a/lib/manifest.js
+++ b/lib/manifest.js
@@ -20,7 +20,12 @@ function writeManifest (archive, manifest, cb) {
// helper to write updates to a manifest object
function updateManifest (archive, updates, cb) {
return maybe(cb, async function... | Create a new manifest if the old manifest DNE | beakerbrowser_pauls-dat-api | train | js |
9e93eeab53cb845ae9cd1e91377f9327146c5c2d | diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Log/LogManager.php
+++ b/src/Illuminate/Log/LogManager.php
@@ -336,11 +336,15 @@ class LogManager implements LoggerInterface
);
}
- $handlers = [$this->prepa... | Added formatter option to monolog log factory | laravel_framework | train | php |
78e3fbd90a20b03ac32025a314bf6147514a7d79 | diff --git a/execute.go b/execute.go
index <HASH>..<HASH> 100644
--- a/execute.go
+++ b/execute.go
@@ -132,11 +132,11 @@ func runLinters(linters map[string]*Linter, paths []string, concurrency int, exc
}
for _, args := range partitions {
wg.Add(1)
+ concurrencych <- true
// Call the goroutine with a cop... | Block on concurrency before launching goroutines. | alecthomas_gometalinter | train | go |
9fa9fc7f7c1f1eaebcae71407f48505e043d867d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
keywords=["breakpoint graph", "data structures", "python"],
url="https://github.com/aganezov/bg",
classifiers=[
- "Development status :: 5 - Production/Stable",
+ "Development... | typo correction for the pypi classifier | aganezov_bg | train | py |
6a880ba91a5b2acce69c3ee17d45469ee937ca23 | diff --git a/pyprophet/levels_contexts.py b/pyprophet/levels_contexts.py
index <HASH>..<HASH> 100644
--- a/pyprophet/levels_contexts.py
+++ b/pyprophet/levels_contexts.py
@@ -603,7 +603,7 @@ def backpropagate_oswr(infile, outfile, apply_scores):
script.append(create_table_fmt.format('SCORE_PROTEIN'))
# ... | [FIX] Compatibility issues | PyProphet_pyprophet | train | py |
ea13daf9ee746eb09639ce640caa955ace44d949 | diff --git a/gtkmvco/examples/adapters/arrow.py b/gtkmvco/examples/adapters/arrow.py
index <HASH>..<HASH> 100644
--- a/gtkmvco/examples/adapters/arrow.py
+++ b/gtkmvco/examples/adapters/arrow.py
@@ -26,7 +26,6 @@
import _importer
from gtkmvc import Model, Controller, View
-from gtkmvc.adapters.containers import Sta... | COSMETIC removed unused imports.
They were messing up my search results ;) | roboogle_gtkmvc3 | train | py,py |
53878fde2d46ac9c2d547de0212cdb13b5cb2b09 | diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index <HASH>..<HASH> 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -261,7 +261,7 @@ def get_engines_stats():
for engine in errors:
if max_errors:
- engine['percentage'] = int(engine['avg']/max_error... | [fix] error percentage @ stats page | asciimoo_searx | train | py |
5b3b63241474160c300895a0a7013b5d7f417373 | diff --git a/coeus-api-all/src/main/java/org/kuali/coeus/common/api/person/attr/CitizenshipType.java b/coeus-api-all/src/main/java/org/kuali/coeus/common/api/person/attr/CitizenshipType.java
index <HASH>..<HASH> 100644
--- a/coeus-api-all/src/main/java/org/kuali/coeus/common/api/person/attr/CitizenshipType.java
+++ b/c... | RESKC-<I>: adding new citizen types for PHS <I> Career Development Award Supplemental Form <I> | kuali_kc-api | train | java |
7e3e3359dce8e55bbaa171131bf10c6d752c5bcf | diff --git a/tests/SagTest.php b/tests/SagTest.php
index <HASH>..<HASH> 100644
--- a/tests/SagTest.php
+++ b/tests/SagTest.php
@@ -732,13 +732,30 @@ class SagTest extends PHPUnit_Framework_TestCase
}
}
- public function test_setAndGetCookie()
- {
+ public function test_setAndGetCookie() {
$this->couch... | Full test coverage on setCookie(). | sbisbee_sag | train | php |
e27de33c5c05002f374018126c100ad1be44f313 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -517,6 +517,10 @@ exports.connect = function(config, intern, callback) {
mongoString += host + '/' + config.database;
+ if (config.ssl) {
+ mongoString += '?ssl=true';
+ }
+
db = config.db || new MongoClient(new... | support ssl config option | db-migrate_mongodb | train | js |
6fce87c46f32eeccbb44c934abe6f73ae53c742d | diff --git a/lib/gcli/canon.js b/lib/gcli/canon.js
index <HASH>..<HASH> 100644
--- a/lib/gcli/canon.js
+++ b/lib/gcli/canon.js
@@ -192,6 +192,13 @@ function Parameter(paramSpec, command, groupName) {
if (this.defaultValue === undefined) {
this.defaultValue = this.type.getBlank().value;
}
+
+ // All paramete... | Bug <I> (optmenu): Add checks for defaultValue
Optional parameters must have a defaultValue (unless they are boolean), which
is a check that we didn't make explicit before. | joewalker_gcli | train | js |
c1294e1d0218322a1e3457897198837a071f2271 | diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -10,17 +10,17 @@ class install(_install):
('single-version-externally-managed', None,
"used by system package builders t... | Support Python <I>, which now includes its own install_egg_info command.
--HG--
branch : setuptools
extra : convert_revision : svn%3A<I>fed2-<I>-<I>-9fe1-9d<I>cc<I>/sandbox/trunk/setuptools%<I> | pypa_setuptools | train | py |
9d0f0128c08cfa436ad71ebb7ea39f69dd6f6b2c | diff --git a/lib/cli-engine.js b/lib/cli-engine.js
index <HASH>..<HASH> 100644
--- a/lib/cli-engine.js
+++ b/lib/cli-engine.js
@@ -237,6 +237,7 @@ CLIEngine.prototype = {
messages: [
{
fatal: false,
+ ... | Fix: add severity flag for ignored file warning (fixes #<I>) | eslint_eslint | train | js,js |
0bff5505870a4ad1783bec85073abfd0d391ca24 | diff --git a/mordred/task_identities.py b/mordred/task_identities.py
index <HASH>..<HASH> 100644
--- a/mordred/task_identities.py
+++ b/mordred/task_identities.py
@@ -165,10 +165,10 @@ class TaskIdentitiesExport(Task):
cfg = self.config.get_conf()
- if 'identities_export_url' not in cfg['sortinghat'... | [task_identites] Fix checking if params are defined to do identities export to GitHub | chaoss_grimoirelab-sirmordred | train | py |
5ac058c4899684f64d32259777270cb11132cc97 | diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js
index <HASH>..<HASH> 100644
--- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js
+++ b/packages/reac... | patch story for add cell.onStartEdit(#<I>) | react-bootstrap-table_react-bootstrap-table2 | train | js |
c0acbe2bc11745732480d6ebfe1ed8cd90b965c1 | diff --git a/zipline/finance/risk.py b/zipline/finance/risk.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/risk.py
+++ b/zipline/finance/risk.py
@@ -615,10 +615,10 @@ class RiskMetricsIterative(RiskMetricsBase):
def update(self, dt, algorithm_returns, benchmark_returns):
self.algorithm_returns_con... | MAINT: Revert slice into returns containers instead of using .valid()
Backing out slice vs. valid(), because of an incompatiblity with
starting a minutely emitted session mid-day, since the midday start
date is not yet wired through SimulationParameters. | quantopian_zipline | train | py |
4841b41b9a3b08a5c0f44d46c77d98fd6b4b88f5 | diff --git a/worker_test.go b/worker_test.go
index <HASH>..<HASH> 100644
--- a/worker_test.go
+++ b/worker_test.go
@@ -161,22 +161,23 @@ func Test_Echo_Slow(t *testing.T) {
func Test_Broken(t *testing.T) {
cmd := exec.Command("php", "tests/client.php", "broken", "pipes")
- w, _ := NewPipeFactory().SpawnWorker(cmd)... | Remove defer from Test_Broken test (put statement at the end of the
func) | spiral_roadrunner | train | go |
41e42e66e5557c453987ef15573dcd2d47fa087d | diff --git a/ship/subversion.py b/ship/subversion.py
index <HASH>..<HASH> 100644
--- a/ship/subversion.py
+++ b/ship/subversion.py
@@ -13,6 +13,11 @@ class Subversion:
self.version = version
self.logger = ShipLogger()
+ def get_tags(self):
+ tagsList= local("svn list " + self.url + "/tags"... | Added the get_tags from the subversion repository of a project | universitatjaumei_ship | train | py |
d3b5338bf0de1b4fcc0b7218bb72d7cb70da7cc8 | diff --git a/piazza_api/piazza.py b/piazza_api/piazza.py
index <HASH>..<HASH> 100644
--- a/piazza_api/piazza.py
+++ b/piazza_api/piazza.py
@@ -79,7 +79,7 @@ class Piazza(object):
classes = []
for rawc in raw_classes:
c = {k: rawc[k] for k in ['name', 'term']}
- c['num'] = rawr.... | fix(devel): Fixed typo introduced in commit for "get_user_classes"! | hfaran_piazza-api | train | py |
b649c2ee2ec0327a20ff07ebb8598c01ead6900e | diff --git a/lib/Socket.php b/lib/Socket.php
index <HASH>..<HASH> 100644
--- a/lib/Socket.php
+++ b/lib/Socket.php
@@ -169,7 +169,7 @@ abstract class Socket {
*
* @return resource The underlying socket descriptor
*/
- public function socket() {
+ public function resource() {
return $thi... | Rename Socket->socket() to Socket->resource() to prevent duplicate
constructors. | koraktor_steam-condenser-php | train | php |
bbf1a278291157cf70c2d99a4072c247ede452a9 | diff --git a/anyconfig/schema.py b/anyconfig/schema.py
index <HASH>..<HASH> 100644
--- a/anyconfig/schema.py
+++ b/anyconfig/schema.py
@@ -149,16 +149,13 @@ def gen_schema(node, **options):
:return: A dict represents JSON schema of this node
"""
- typemap = options.get("ac_schema_typemap", _SIMPLETYPE_MA... | refactor: code moves into cond. blocks to make objects lazily | ssato_python-anyconfig | train | py |
a74b3dc464fbd0ff4ce08d6dbf34c30630f9ad39 | diff --git a/lib/discordrb/errors.rb b/lib/discordrb/errors.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/errors.rb
+++ b/lib/discordrb/errors.rb
@@ -32,6 +32,11 @@ module Discordrb
def initialize(message)
@message = message
end
+
+ # @return [Integer] The error code represented by this... | Add a code reader to CodeError itself to be called on its subclasses' instances | meew0_discordrb | train | rb |
5723267e331359958f5d6753a4419ea393cf7eb6 | diff --git a/semantic_release/__init__.py b/semantic_release/__init__.py
index <HASH>..<HASH> 100644
--- a/semantic_release/__init__.py
+++ b/semantic_release/__init__.py
@@ -1,6 +1,6 @@
"""Semantic Release
"""
-__version__ = '4.5.1'
+__version__ = '4.6.0'
from .errors import UnknownCommitMessageStyleError # no... | <I>
Automatically generated by python-semantic-release | relekang_python-semantic-release | train | py |
dcf7a82b9bde79a72962d56a37c30ed470c1cb7d | diff --git a/src/wavesurfer.js b/src/wavesurfer.js
index <HASH>..<HASH> 100755
--- a/src/wavesurfer.js
+++ b/src/wavesurfer.js
@@ -895,6 +895,16 @@ export default class WaveSurfer extends util.Observer {
}
/**
+ * Get the current ready status.
+ *
+ * @example const isReady = wavesurfer.isReady(... | Add isReady method (#<I>)
* Add isReady method | katspaugh_wavesurfer.js | train | js |
c383075bea5fc82907460e44486f1713c0899d5b | diff --git a/src/FieldEmail.php b/src/FieldEmail.php
index <HASH>..<HASH> 100644
--- a/src/FieldEmail.php
+++ b/src/FieldEmail.php
@@ -8,7 +8,7 @@ namespace hemio\form;
class FieldEmail extends FieldText {
public function getInputType() {
- return 'text';
+ return 'email';
}
public fun... | Fixes email field not type email | hemio-ev_form | train | php |
6d6212b75efc1ec0467fdc39bc26003613f89fec | diff --git a/builder/lxd/step_lxd_launch.go b/builder/lxd/step_lxd_launch.go
index <HASH>..<HASH> 100644
--- a/builder/lxd/step_lxd_launch.go
+++ b/builder/lxd/step_lxd_launch.go
@@ -26,7 +26,7 @@ func (s *stepLxdLaunch) Run(_ context.Context, state multistep.StateBag) multist
}
for k, v := range config.LaunchCon... | Fix issue #<I> - Pass "--config" option correctly to "lxc launch" | hashicorp_packer | train | go |
9d739f807351fd9e430a193eca853f5f2171a82a | diff --git a/textract/parsers/__init__.py b/textract/parsers/__init__.py
index <HASH>..<HASH> 100755
--- a/textract/parsers/__init__.py
+++ b/textract/parsers/__init__.py
@@ -86,6 +86,8 @@ def _get_available_extensions():
# from filenames
parsers_dir = os.path.join(os.path.dirname(__file__))
glob_filenam... | fix CLI on windows (#<I>) | deanmalmgren_textract | train | py |
542e593395daff171cfb5567d0d7d16a755d83c1 | diff --git a/readonly/__init__.py b/readonly/__init__.py
index <HASH>..<HASH> 100644
--- a/readonly/__init__.py
+++ b/readonly/__init__.py
@@ -55,7 +55,7 @@ class ReadOnlyCursorWrapper(object):
# Data Definition
'CREATE', 'ALTER', 'RENAME', 'DROP', 'TRUNCATE',
# Data Manipulation
- 'IN... | Fixed bug that allows you to write on non-writable database. | streeter_django-db-readonly | train | py |
5518d351c11ae5a90315fa8d91edf8b822ea7ca2 | diff --git a/lib/secure_headers/view_helper.rb b/lib/secure_headers/view_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/secure_headers/view_helper.rb
+++ b/lib/secure_headers/view_helper.rb
@@ -83,7 +83,7 @@ module SecureHeaders
end
end
- SecureHeaders.append_content_security_policy_directives(r... | because hashes are already an array | twitter_secure_headers | train | rb |
eecbd02419b3115787dac6efc3cab9edf95b767a | diff --git a/tests/scripts/selenium/selenium_adapter.rb b/tests/scripts/selenium/selenium_adapter.rb
index <HASH>..<HASH> 100644
--- a/tests/scripts/selenium/selenium_adapter.rb
+++ b/tests/scripts/selenium/selenium_adapter.rb
@@ -134,10 +134,11 @@ class SeleniumAdapter
def type_text(text)
keys = split_text(t... | Bug fix, closes issue #<I>. | quilljs_quill | train | rb |
547f44043c0f9d77257ac0d6234640e9ecdd58cc | diff --git a/src/services/providers/helpers/googleHelper.js b/src/services/providers/helpers/googleHelper.js
index <HASH>..<HASH> 100644
--- a/src/services/providers/helpers/googleHelper.js
+++ b/src/services/providers/helpers/googleHelper.js
@@ -113,7 +113,7 @@ export default {
{
client_id: clientId,
... | Ensuring profile data is accessible for all Google users | benweet_stackedit | train | js |
73437f1a00ad05c03ae2a38ca6587439bb76d770 | diff --git a/ezp/Persistence/Tests/InMemoryEngine/Backend.php b/ezp/Persistence/Tests/InMemoryEngine/Backend.php
index <HASH>..<HASH> 100644
--- a/ezp/Persistence/Tests/InMemoryEngine/Backend.php
+++ b/ezp/Persistence/Tests/InMemoryEngine/Backend.php
@@ -156,6 +156,9 @@ class Backend
if ( !is_scalar($type) || ... | Change: Backend to unset id on update to avoid id change | ezsystems_ezpublish-kernel | train | php |
aaa96449fb860d497de3542e7bb0ffb09ea3204c | diff --git a/moco-core/src/test/java/com/github/dreamhead/moco/util/IterablesTest.java b/moco-core/src/test/java/com/github/dreamhead/moco/util/IterablesTest.java
index <HASH>..<HASH> 100644
--- a/moco-core/src/test/java/com/github/dreamhead/moco/util/IterablesTest.java
+++ b/moco-core/src/test/java/com/github/dreamhea... | added test for tail with null in iterables | dreamhead_moco | train | java |
0ca374beb47fa7ffe263445248cace5f02c4493e | diff --git a/eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/BuzzDriver.php b/eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/BuzzDriver.php
index <HASH>..<HASH> 100644
--- a/eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/BuzzDriver.php
+++ b/eZ/Bundle/EzPublishRestBundle/Features/Context... | [BDD] Increase timeout used for REST tests | ezsystems_ezpublish-kernel | train | php |
5b1b57850cfd4c92a4f9231581dff7faac489566 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -751,7 +751,7 @@ jQuery.extend({
return undefined;
}
- if ( jQuery.isFunction( Function.prototype.bind ) ) {
+ if ( jQuery.support.nativeBind ) {
// Native bind
args = slice.call( arguments, 1 );... | Add a quick test to $.support for native bind.
As per the suggestion by ajpiano: <URL> | jquery_jquery | train | js,js |
41aa7acf8042fbe4416e42446acac8c233a310f6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -581,8 +581,15 @@ nativeWindow.setEventHandler((type, data) => {
window.top.document.exitPointerLock();
handled = true;
}
- if (window.top.document.fullscreenElement) {
+ ... | add fullscreen keybinding to f<I> | exokitxr_exokit | train | js |
115c2af5948cd49fee9c4d960d5a739babc96684 | diff --git a/lib/adhearsion/voip/asterisk/ami/parser.rb b/lib/adhearsion/voip/asterisk/ami/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/voip/asterisk/ami/parser.rb
+++ b/lib/adhearsion/voip/asterisk/ami/parser.rb
@@ -134,7 +134,7 @@ module Adhearsion
# event, so add it to the event queue.
d... | Make sure raw data is returned as a multi-line string. Closes bug #<I>.
git-svn-id: <URL> | adhearsion_adhearsion | train | rb |
fbe72e14b9d53570614538b59e5d9128d0a3832d | diff --git a/aiosip/dialplan.py b/aiosip/dialplan.py
index <HASH>..<HASH> 100644
--- a/aiosip/dialplan.py
+++ b/aiosip/dialplan.py
@@ -15,7 +15,10 @@ class Dialplan:
async def resolve(self, username, protocol, local_addr, remote_addr):
LOG.debug('Resolving dialplan for %s connecting on %s from %s via %s',... | Add a catchall dialplan entry when matching users.
Allow the special entry "*" to match all users. | Eyepea_aiosip | train | py |
59d1978a756f629c74a7765719c623ba27fbd409 | diff --git a/src/Codacy/Coverage/Parser/CloverParser.php b/src/Codacy/Coverage/Parser/CloverParser.php
index <HASH>..<HASH> 100644
--- a/src/Codacy/Coverage/Parser/CloverParser.php
+++ b/src/Codacy/Coverage/Parser/CloverParser.php
@@ -91,7 +91,7 @@ class CloverParser extends XMLParser implements IParser
{
... | Fix clover file upload (#<I>)
* Update CloverParser.php
* fix correctly the bug with file | codacy_php-codacy-coverage | train | php |
e42a8bb4eec68dbea0978a1a39f823dbb8045a36 | diff --git a/comm.go b/comm.go
index <HASH>..<HASH> 100644
--- a/comm.go
+++ b/comm.go
@@ -3,6 +3,7 @@ package lastfm
import (
"io/ioutil"
"net/http"
+ "net/url"
"strings"
)
@@ -13,7 +14,7 @@ const (
func buildQueryURL(query map[string]string) string {
parts := make([]string, 0, len(query))
for key, valu... | comm: use url.QueryEscape to escape query params
...instead of the questionable string.Replace that was done. | Jessidhia_go-lastfm | train | go |
15f88ccee3c610765c57b713cde73fd9cb5f8c99 | diff --git a/src/base/Gateway.php b/src/base/Gateway.php
index <HASH>..<HASH> 100644
--- a/src/base/Gateway.php
+++ b/src/base/Gateway.php
@@ -355,7 +355,7 @@ abstract class Gateway extends BaseGateway
*/
public function processWebHook(): WebResponse
{
- return null;
+ return Craft::$app->... | Fixed error with `processWebhook` return value | craftcms_commerce-omnipay | 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.