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 |
|---|---|---|---|---|---|
c35cd6ac44f317e401ec4a9e489408ddbaa7ef2a | diff --git a/natsort/compat/fastnumbers.py b/natsort/compat/fastnumbers.py
index <HASH>..<HASH> 100644
--- a/natsort/compat/fastnumbers.py
+++ b/natsort/compat/fastnumbers.py
@@ -6,6 +6,8 @@ from __future__ import (
absolute_import
)
+from distutils.version import StrictVersion
+
# If the user has fastnumbers ... | fix "fastnumbers" version check (issue #<I>) | SethMMorton_natsort | train | py |
cf87b9f4723ca22b5b95ead602e31b20d6ff5ec1 | diff --git a/src/migrations/2014_03_12_195134_create_users_table.php b/src/migrations/2014_03_12_195134_create_users_table.php
index <HASH>..<HASH> 100644
--- a/src/migrations/2014_03_12_195134_create_users_table.php
+++ b/src/migrations/2014_03_12_195134_create_users_table.php
@@ -21,9 +21,9 @@ class CreateUsersTable ... | Avoid error: <I>
Avoid error <I> twice at the installation. | CoandaCMS_coanda-core | train | php |
765fa36d22319401ee1972ef77b69c497a8af578 | diff --git a/upup/pkg/fi/cloudup/gce/gce_cloud.go b/upup/pkg/fi/cloudup/gce/gce_cloud.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/gce/gce_cloud.go
+++ b/upup/pkg/fi/cloudup/gce/gce_cloud.go
@@ -144,7 +144,7 @@ func NewGCECloud(region string, project string, labels map[string]string) (GCECl
}
c.iam = ia... | Use dns.NewService instead of dns.New
Fixes build problems caused by concurrent changes | kubernetes_kops | train | go |
b052dc0786f540ecdacb18f5b21fcff7bf7148a7 | diff --git a/loguru/_logger.py b/loguru/_logger.py
index <HASH>..<HASH> 100644
--- a/loguru/_logger.py
+++ b/loguru/_logger.py
@@ -656,7 +656,8 @@ class Logger:
The default levels' attributes can also be modified by setting the ``LOGURU_[LEVEL]_[ATTR]``
environment variable. For example, on Windows:... | Document usage of "set" for Windows env variables (#<I>) | Delgan_loguru | train | py |
fa7f3675ec1362e4d3a62233dc23cfd471b3308d | diff --git a/web/github-webhook.php b/web/github-webhook.php
index <HASH>..<HASH> 100644
--- a/web/github-webhook.php
+++ b/web/github-webhook.php
@@ -85,7 +85,7 @@ function setStatus(\NamelessCoder\Gizzle\Payload $payload, \Milo\Github\Api $api
$url = sprintf(
'/repos/%s/%s/statuses/%s',
$payload->getRepositor... | [TASK] Use short name of repository when setting status | NamelessCoder_gizzle | train | php |
a1cc15b7fd00f804351b7432634f91dcfa63607d | diff --git a/aiohttp/web.py b/aiohttp/web.py
index <HASH>..<HASH> 100644
--- a/aiohttp/web.py
+++ b/aiohttp/web.py
@@ -308,7 +308,7 @@ def run_app(app, *, host='0.0.0.0', port=None,
try:
loop.run_forever()
- except KeyboardInterrupt: # pragma: no branch
+ except KeyboardInterrupt: # pragma: no c... | Use proper pragma for coverage warning suppressing | aio-libs_aiohttp | train | py |
614ed54f482f4324ac79d97d5133cf28a3ec626c | diff --git a/troposphere/cloudwatch.py b/troposphere/cloudwatch.py
index <HASH>..<HASH> 100644
--- a/troposphere/cloudwatch.py
+++ b/troposphere/cloudwatch.py
@@ -69,6 +69,7 @@ class Alarm(AWSObject):
'AlarmDescription': (basestring, False),
'AlarmName': (basestring, False),
'ComparisonOperat... | Alphabetize DatapointsToAlarm in CloudWatch | cloudtools_troposphere | train | py |
eb6f759c94e88bcf510dbcbcca1ae25cd799639d | diff --git a/detox/src/devices/AndroidDriver.js b/detox/src/devices/AndroidDriver.js
index <HASH>..<HASH> 100644
--- a/detox/src/devices/AndroidDriver.js
+++ b/detox/src/devices/AndroidDriver.js
@@ -85,6 +85,7 @@ class AndroidDriver extends DeviceDriverBase {
this.instrumentationProcess.on('close', (code, signal... | Kill Android instrumentation and nullify the object when it crashes (#<I>) | wix_Detox | train | js |
2968b0ea672ce52cc1ee351b3e8d9cee24329b88 | diff --git a/lib/commands/app-management.js b/lib/commands/app-management.js
index <HASH>..<HASH> 100644
--- a/lib/commands/app-management.js
+++ b/lib/commands/app-management.js
@@ -83,8 +83,11 @@ commands.mobileQueryAppState = async function mobileQueryAppState (opts = {}) {
return await this.proxyCommand('/wda/ap... | fix: Pass options to installApp call (#<I>) | appium_appium-xcuitest-driver | train | js |
0bd97193c38ed5661d98a3ca58c37e3c8a3a745f | diff --git a/lib/instance/login_manager.rb b/lib/instance/login_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/instance/login_manager.rb
+++ b/lib/instance/login_manager.rb
@@ -84,7 +84,7 @@ module RightScale
# All users are added to RightScale account's authorized keys.
new_users = new_policy.users.sel... | Only yield from SSH policy update if a block is given | rightscale_right_link | train | rb |
c629dac485f7b8d083ba5393cf8dba8a72f1dc8d | diff --git a/lib/dependencies/CommonJsRequireDependencyParserPlugin.js b/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
+++ b/lib/dependencies/CommonJsRequireDependencyParserPlugin.js
@@ -129,7 +129,7 @@ class CommonJ... | damnit, pushed failing test tests | webpack_webpack | train | js |
49bdbbc60ff482dcf27007d471b5950ef0c82c5a | diff --git a/lib/action_kit_api.rb b/lib/action_kit_api.rb
index <HASH>..<HASH> 100644
--- a/lib/action_kit_api.rb
+++ b/lib/action_kit_api.rb
@@ -38,7 +38,11 @@ module ActionKitApi
"akid" => user.akid,
})
- response = @@connection.call('act', act_attrs)
+ self.raw_act(act_attrs)
+ end
+
+ def raw... | Pulled actual api call out into a raw method for actions | Democracy-for-America_ActionKitApi | train | rb |
3d56c756170590c25cbfb35c2bc759f06f3de3d0 | diff --git a/MAVProxy/modules/mavproxy_misc.py b/MAVProxy/modules/mavproxy_misc.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_misc.py
+++ b/MAVProxy/modules/mavproxy_misc.py
@@ -464,9 +464,9 @@ class MiscModule(mp_module.MPModule):
print("Setting origin to: ", lat, lon, alt)
self.mast... | mavproxy_misc: cast fields to int in set_gps_global_origin_send | ArduPilot_MAVProxy | train | py |
2310f326b98270a3294f5c2c8256e2cbded5f915 | diff --git a/Embed/FastImage.php b/Embed/FastImage.php
index <HASH>..<HASH> 100644
--- a/Embed/FastImage.php
+++ b/Embed/FastImage.php
@@ -317,22 +317,22 @@ class FastImage
$Image = new static($image);
if ($Image->getType() === 'ico') {
- $imagesSizes[] = [
+ ... | fixed php <I> support | oscarotero_Embed | train | php |
456fbacea12b697b0d68475ad43e63dea8d96e25 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(
name = 'fandjango',
version = __version__,
description = "Fandjango makes it stupidly easy to create Facebook applications with Django.",
- long_description = open('README.rst').read() + '... | Don't include the changelog in the long description | jgorset_fandjango | train | py |
89440b10718584835397595c693d2201ad35b4e8 | diff --git a/spec/analyser/statement_spec.rb b/spec/analyser/statement_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/analyser/statement_spec.rb
+++ b/spec/analyser/statement_spec.rb
@@ -10,7 +10,7 @@ module DeepCover
let(:by_execution) do
results
.sort_by{|range, _runs| range.begin_pos }
- ... | Differentiate nil runs from > 0 | deep-cover_deep-cover | train | rb |
c7f8b767aef6f3ca332bf4916ddf6498acbe4e44 | diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -99,7 +99,9 @@ def reinit_hive_container(client: TheHiveApi) -> None:
alerts = client.alert.find()
cases = client.case.find()
+ observables = client.case.find()
with ThreadPoolExec... | Delete observables during container reinit | TheHive-Project_TheHive4py | train | py |
3ef90dac66ca93566ad162765fe24a122cb639cf | diff --git a/mocha_test/asyncify.js b/mocha_test/asyncify.js
index <HASH>..<HASH> 100644
--- a/mocha_test/asyncify.js
+++ b/mocha_test/asyncify.js
@@ -74,6 +74,13 @@ describe('asyncify', function(){
'rsvp'
];
+ // Both Bluebird and native promises emit these events. We handle it because B... | Added test case to make sure that callback isn't called multiple times in asyncify | caolan_async | train | js |
47b9a9409ece8f64c56ca7391fd1d10f2f96f2f4 | diff --git a/src/utility.js b/src/utility.js
index <HASH>..<HASH> 100644
--- a/src/utility.js
+++ b/src/utility.js
@@ -56,6 +56,10 @@ function initTracking() {
}
}
+/**
+ * Updates the viewport dimensions cache.
+ * @private
+ */
function getViewportDimensions() {
session.scrollLeft = $window.scrollLeft();
se... | Added doc comment for getViewportDimensions().
Related to issue #<I>. | stevenbenner_jquery-powertip | train | js |
2ca77c26fafffdaf4d920fcb3817a2043f7e3591 | diff --git a/tests/system/Database/Live/GroupTest.php b/tests/system/Database/Live/GroupTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Database/Live/GroupTest.php
+++ b/tests/system/Database/Live/GroupTest.php
@@ -131,6 +131,6 @@ class GroupTest extends CIDatabaseTestCase
->get()
->getResult();
- ... | Fix logic error
I suck at tests. | codeigniter4_CodeIgniter4 | train | php |
1d691ee4ac14eed8f6df0aac05b820bafcc4844a | diff --git a/socket.js b/socket.js
index <HASH>..<HASH> 100644
--- a/socket.js
+++ b/socket.js
@@ -36,7 +36,7 @@ angular.module('btford.socket-io', []).
emit: function (eventName, data, callback) {
if (callback) {
- socket.emit(eventName, data, asyncAngularify);
+ socket.emit... | Fixed async callback with params | bendrucker_angular-sockjs | train | js |
9cf0f38ac57baa9c29744ba24e08238cae296918 | diff --git a/lib/daru/view/adapters/googlecharts.rb b/lib/daru/view/adapters/googlecharts.rb
index <HASH>..<HASH> 100644
--- a/lib/daru/view/adapters/googlecharts.rb
+++ b/lib/daru/view/adapters/googlecharts.rb
@@ -201,6 +201,7 @@ module Daru
def export(plot, export_type='png', file_name='chart')
ra... | empty line after gaurd clause in googlecharts.rb in all places | SciRuby_daru-view | train | rb |
c8bb407f57848ffb3a5e0ad85c11b79f7b0935cb | diff --git a/client/request.go b/client/request.go
index <HASH>..<HASH> 100644
--- a/client/request.go
+++ b/client/request.go
@@ -40,7 +40,7 @@ type StatusMessage struct {
ID *uint `json:"id"`
Message *string `json:"message"`
Slug *string `json:"slug"`
- Version *string `json:"version"`
+ Version *int ... | Fix type of version field as returned by Grafana. | grafana-tools_sdk | train | go |
dbedcc7aa6a6a1df1b6ea3775c1a7bac5f8fbdc8 | diff --git a/tests/shells/test_bash.py b/tests/shells/test_bash.py
index <HASH>..<HASH> 100644
--- a/tests/shells/test_bash.py
+++ b/tests/shells/test_bash.py
@@ -61,3 +61,8 @@ class TestBash(object):
command = 'git log $(git ls-files thefuck | grep python_command) -p'
command_parts = ['git', 'log', '... | Test parsing bash arithmetic expressions | nvbn_thefuck | train | py |
b3acec2f58a12f6e9c5cc4392cc47d24d10a699f | diff --git a/pytablewriter/_table_writer.py b/pytablewriter/_table_writer.py
index <HASH>..<HASH> 100644
--- a/pytablewriter/_table_writer.py
+++ b/pytablewriter/_table_writer.py
@@ -12,6 +12,7 @@ from dataproperty import Typecode
from ._error import EmptyHeaderError
from ._error import EmptyValueError
+from ._erro... | Add error handling for the case that table data is empty | thombashi_pytablewriter | train | py |
50c12e55b6f8462f6904ae061e661d1d10c7590a | diff --git a/lib/puppet/provider/mount.rb b/lib/puppet/provider/mount.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/provider/mount.rb
+++ b/lib/puppet/provider/mount.rb
@@ -44,7 +44,7 @@ module Puppet::Provider::Mount
when "Solaris", "HP-UX"
line =~ /^#{name} on /
when "AIX"
- line =~ /^... | bug #<I> -- code fix to handle AIX mount output
Making a simplified fix to find mount name in AIX mount command output. | puppetlabs_puppet | train | rb |
3d145f520d0c0a3f689d89f961db5c01cf8dc47a | diff --git a/caas/kubernetes/tunnel.go b/caas/kubernetes/tunnel.go
index <HASH>..<HASH> 100644
--- a/caas/kubernetes/tunnel.go
+++ b/caas/kubernetes/tunnel.go
@@ -29,6 +29,11 @@ import (
"github.com/juju/juju/caas/kubernetes/pod"
)
+const (
+ // ForwardPortTimeout is the duration for waiting for a pod to be ready.... | Kubernetes: Wait for pod ready timeout
The following moves the timeout deadline from 1 minute to <I> minutes. If
a pod hasn't become ready in that time, I think it's safe to say it
won't ever!
The change is simple, just add a longer duration. | juju_juju | train | go |
f9c5c1b0eebf8d8bb57050273521d554d64e3dcf | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -294,11 +294,10 @@ export default class VueI18n {
...values: any
): any {
if (!key) { return '' }
- if (choice !== undefined) {
- return fetchChoice(this._t(key, _locale, messages, host, ..... | :shirt: refactor(tc): tweak logic | kazupon_vue-i18n | train | js |
c18ce9ae624e3446a3134586e3562e1fa43741fa | diff --git a/Model/CatalogIngestion/Request/Product/DataProcessor.php b/Model/CatalogIngestion/Request/Product/DataProcessor.php
index <HASH>..<HASH> 100644
--- a/Model/CatalogIngestion/Request/Product/DataProcessor.php
+++ b/Model/CatalogIngestion/Request/Product/DataProcessor.php
@@ -53,6 +53,8 @@ class DataProcessor... | use a const for sizename (#<I>) | BoltApp_bolt-magento2 | train | php |
4b9a5b6a5c7450e05010a932f6d24697a9730e29 | diff --git a/pyfilemail/__main__.py b/pyfilemail/__main__.py
index <HASH>..<HASH> 100755
--- a/pyfilemail/__main__.py
+++ b/pyfilemail/__main__.py
@@ -193,4 +193,9 @@ def main():
logger.info(msg)
if __name__ == '__main__':
- main()
\ No newline at end of file
+ try:
+ main()
+
+ except Keybo... | added catch for keyboard interrupt in __main__ | apetrynet_pyfilemail | train | py |
a2847a3b83bec021e97d274a32303f537e95b064 | diff --git a/lib/hyperclient/collection.rb b/lib/hyperclient/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/hyperclient/collection.rb
+++ b/lib/hyperclient/collection.rb
@@ -37,9 +37,10 @@ module Hyperclient
# Public: Returns the wrapped collection as a hash.
#
# Returns a Hash.
- def to_hash
+ ... | Define to_h and alias as to_hash | codegram_hyperclient | train | rb |
31bca3f04424e135ab21132542f95eef6d2c69c2 | diff --git a/lib/hook_runner.js b/lib/hook_runner.js
index <HASH>..<HASH> 100644
--- a/lib/hook_runner.js
+++ b/lib/hook_runner.js
@@ -54,12 +54,9 @@ HookRunner.prototype = {
.good(function(){
callback(null)
})
- .bad(function(data){
+ .bad(function(err){
proc.kill()
- c... | Fix for process errors not gracefully handled in ci mode (#<I>). | testem_testem | train | js |
cfbad1023cff18a48b817ed96c4eb173616d079e | diff --git a/aetros/JobModel.py b/aetros/JobModel.py
index <HASH>..<HASH> 100644
--- a/aetros/JobModel.py
+++ b/aetros/JobModel.py
@@ -68,7 +68,11 @@ class JobModel:
else:
shape = (size[0] * size[1],)
- trainer.input_shape[node['varName']] = shape
+ if 'varName' in ... | Fixed BC with already generate code for older models (trainer.input_shape) | aetros_aetros-cli | train | py,py |
852f3842aa8a86bf8660cbb3de6180bc33599082 | diff --git a/lib/userlist/push/operations/create.rb b/lib/userlist/push/operations/create.rb
index <HASH>..<HASH> 100644
--- a/lib/userlist/push/operations/create.rb
+++ b/lib/userlist/push/operations/create.rb
@@ -7,6 +7,8 @@ module Userlist
resource = from_payload(payload)
strategy.call(:pos... | Adds an alias for the create method | userlistio_userlist-ruby | train | rb,rb |
d3910d0027034eddf1873a5780b9e5edf8bfee05 | diff --git a/lib/ohai/mixin/command.rb b/lib/ohai/mixin/command.rb
index <HASH>..<HASH> 100644
--- a/lib/ohai/mixin/command.rb
+++ b/lib/ohai/mixin/command.rb
@@ -99,7 +99,7 @@ module Ohai
return status, stdout_string, stderr_string
end
- def run_comand_windows(command, timeout)
+ def run_co... | [OHAI-<I>] fix typo for run_command_windows | chef_ohai | train | rb |
04edd3591fb5d24a5fa14052ed86b5275f0e85e7 | diff --git a/src/oidcmsg/oidc/__init__.py b/src/oidcmsg/oidc/__init__.py
index <HASH>..<HASH> 100755
--- a/src/oidcmsg/oidc/__init__.py
+++ b/src/oidcmsg/oidc/__init__.py
@@ -633,7 +633,7 @@ class RegistrationRequest(Message):
# "client_id": SINGLE_OPTIONAL_STRING,
# "client_secret": SINGLE_OPTIONAL_S... | post_logout_redirect_uris is a list.
Fixed dump conversion. | openid_JWTConnect-Python-OidcMsg | train | py |
0298725f0269cf2fffb723200d21f21ed3a7de64 | diff --git a/app/models/action_mailbox/inbound_email/message_id.rb b/app/models/action_mailbox/inbound_email/message_id.rb
index <HASH>..<HASH> 100644
--- a/app/models/action_mailbox/inbound_email/message_id.rb
+++ b/app/models/action_mailbox/inbound_email/message_id.rb
@@ -25,14 +25,14 @@ module ActionMailbox::Inbound... | Added logging when Message ID wasn't extracted | rails_rails | train | rb |
b81dff92148fdbb7bedb90b81ac2f5ccd520626b | diff --git a/spring-cli/src/test/java/org/springframework/cli/SampleIntegrationTests.java b/spring-cli/src/test/java/org/springframework/cli/SampleIntegrationTests.java
index <HASH>..<HASH> 100644
--- a/spring-cli/src/test/java/org/springframework/cli/SampleIntegrationTests.java
+++ b/spring-cli/src/test/java/org/sprin... | Increase integration test timeout
Increase time for CLI integration tests to account for @Grab downloads. | spring-projects_spring-boot | train | java |
5ade7c60dc1871d537241678b1a4d1a079eae393 | diff --git a/lib/psych.rb b/lib/psych.rb
index <HASH>..<HASH> 100644
--- a/lib/psych.rb
+++ b/lib/psych.rb
@@ -217,7 +217,7 @@ require 'psych/class_loader'
module Psych
# The version is Psych you're using
- VERSION = '2.0.7'
+ VERSION = '2.0.8'
# The version of libyaml Psych is using
LIB... | bumping version to <I> | ruby_psych | train | rb |
9fb4803016fbc2108b9446b441dc40d8189c9cfb | diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -70,8 +70,7 @@ module ... | Fix Strong Parameters docs.
It's only possible to inherit from ActiveRecord::Base and not include
it. | rails_rails | train | rb |
76be26c3853a6794f163ca47cbe8d1f63312c81d | diff --git a/lib/promise.js b/lib/promise.js
index <HASH>..<HASH> 100644
--- a/lib/promise.js
+++ b/lib/promise.js
@@ -20,7 +20,7 @@ class Promise {
if (executor === INTERNAL) {
return;
}
- executor(value => this._resolve(value), reason => this._reject(reason));
+ execute(this, executor);
}
... | feat(promise): add try-catch for executor | suguru03_aigle | train | js |
17b827248ed5796443f690d6d6e8a6ade2c9f2c8 | diff --git a/ObjectManager/BasicContent.php b/ObjectManager/BasicContent.php
index <HASH>..<HASH> 100644
--- a/ObjectManager/BasicContent.php
+++ b/ObjectManager/BasicContent.php
@@ -76,6 +76,7 @@ class BasicContent extends Base
}
}
$location = $this->createContent( $contentType, $name, $... | fixed bug in storing path of content | ezsystems_BehatBundle | train | php |
e6a7b8a6e7445a8e8dc9957a989c7467a39197fb | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -252,8 +252,6 @@ describe('dvb.find', function () {
assert(stop.city);
assert(Array.isArray(stop.coords));
assert.strictEqual(2, stop.coords.length);
- assert.s... | remove assertion of coordinates
these values aren't true for all results. Only their existence
should matter. | kiliankoe_dvbjs | train | js |
8b205df5df2b6c34c6e8ff496a838bd613b827f1 | diff --git a/src/test/java/io/github/astrapi69/swing/check/model/CheckListPanelAssertjSwingTest.java b/src/test/java/io/github/astrapi69/swing/check/model/CheckListPanelAssertjSwingTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/github/astrapi69/swing/check/model/CheckListPanelAssertjSwingTest.java
+++ b/s... | removed beforeEach method because on github-actions the FrameFixture runs into a NPE | lightblueseas_swing-components | train | java |
35208036ce16b38bf8b57ac408c0c7d2aad5eee3 | diff --git a/src/metapensiero/signal/atom.py b/src/metapensiero/signal/atom.py
index <HASH>..<HASH> 100644
--- a/src/metapensiero/signal/atom.py
+++ b/src/metapensiero/signal/atom.py
@@ -9,6 +9,7 @@ import asyncio
import contextlib
from functools import partial
import logging
+import inspect
import weakref
from ... | Bind keyword parameters only when they are present in the signature | metapensiero_metapensiero.signal | train | py |
f1c9df3efa9f7199ca4f36a31b896d83f3b14510 | diff --git a/src/diamond/handler/rabbitmq_pubsub.py b/src/diamond/handler/rabbitmq_pubsub.py
index <HASH>..<HASH> 100644
--- a/src/diamond/handler/rabbitmq_pubsub.py
+++ b/src/diamond/handler/rabbitmq_pubsub.py
@@ -156,7 +156,7 @@ class rmqHandler (Handler):
durable=self.rmq_durable)
... | Fixes #<I>, this solves the build issues on centos5 | python-diamond_Diamond | train | py |
803bff764aa88f4c3e5f06dc78f0493dd57bc7cc | diff --git a/pyte/screens.py b/pyte/screens.py
index <HASH>..<HASH> 100644
--- a/pyte/screens.py
+++ b/pyte/screens.py
@@ -125,8 +125,10 @@ class Screen(list):
-- move cursor to position (9, 9) in the display matrix.
.. versionchanged:: 0.4.7
+ .. warning::
- :data:`~pyte.modes.LNM` is reset b... | Fixed a typo in `Screen` docstring | selectel_pyte | train | py |
6a9ea335b3e395c9c367a48dadca7e52eae24c40 | diff --git a/src/record/Record.php b/src/record/Record.php
index <HASH>..<HASH> 100644
--- a/src/record/Record.php
+++ b/src/record/Record.php
@@ -239,6 +239,11 @@ class Record implements Arrayable, ArrayAccess
return $this->isValid(...$args);
}
+ /** Shorter state checkers. */
+ public final func... | record.Record: add shorter state checkers. | froq_froq-database | train | php |
600a7e14ba6c18b046aefabb18d62631acf4726d | diff --git a/lib/compiler.js b/lib/compiler.js
index <HASH>..<HASH> 100644
--- a/lib/compiler.js
+++ b/lib/compiler.js
@@ -379,13 +379,16 @@ module.exports = function(options) {
change: function(file, compiled) {
+ // Monitor metadata only for HTML-files
// We choose not to store and diff metadata ... | Restricts re-routing to non-HTML files | shippjs_shipp-server | train | js |
27cbffff1bda2c41e20cee90591118dc9abb6592 | diff --git a/spacy/training/converters/conllu_to_docs.py b/spacy/training/converters/conllu_to_docs.py
index <HASH>..<HASH> 100644
--- a/spacy/training/converters/conllu_to_docs.py
+++ b/spacy/training/converters/conllu_to_docs.py
@@ -207,6 +207,7 @@ def conllu_sentence_to_doc(
pos=poses,
deps=deps,
... | Minor edit to CoNLL-U converter (#<I>)
This doesn't make a difference given how the `merged_morph` values
override the `morph` values for all the final docs, but could have led
to unexpected bugs in the future if the converter is modified. | explosion_spaCy | train | py |
b4d9ae605214569fe535979f5b2e98d377ac71c8 | diff --git a/docs/endpoint_v1.go b/docs/endpoint_v1.go
index <HASH>..<HASH> 100644
--- a/docs/endpoint_v1.go
+++ b/docs/endpoint_v1.go
@@ -21,8 +21,7 @@ type V1Endpoint struct {
IsSecure bool
}
-// NewV1Endpoint parses the given address to return a registry endpoint. v can be used to
-// specify a specific endpoi... | registry: endpoint_v1: fix outdated comment | docker_distribution | train | go |
02384fa0232a63e4d347ff2dd587c0a8c9a2a103 | diff --git a/controllers/media.go b/controllers/media.go
index <HASH>..<HASH> 100644
--- a/controllers/media.go
+++ b/controllers/media.go
@@ -37,7 +37,7 @@ type MediaCommand struct {
}
type LoadMediaCommand struct {
- MediaCommand
+ net.PayloadHeaders
Media MediaItem `json:"media"`
CurrentTime int ... | Don't send mediaSessionId with LOAD requests. | barnybug_go-cast | train | go |
0cdda3ea52b27689b4e0db31739896a44b1b3677 | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -49,17 +49,18 @@ module.exports = {
else
return value;
});
- if(parsed.length == 6){
+ if(parsed.length =... | Update for fleet <I> list-units state field | normanjoyner_node-fleetctl | train | js |
6079d9d6a3b63fa8d9aa7a3981c6c37cc435bccb | diff --git a/contrib/apparmor/template.go b/contrib/apparmor/template.go
index <HASH>..<HASH> 100644
--- a/contrib/apparmor/template.go
+++ b/contrib/apparmor/template.go
@@ -33,14 +33,19 @@ profile /usr/bin/docker (attach_disconnected, complain) {
@{DOCKER_GRAPH_PATH}/linkgraph.db k,
@{DOCKER_GRAPH_PATH}/network... | Policy extensions for user namespaces and docker exec
A few additions to the policy when running with user namespaces enabled
and when running 'docker exec'. | moby_moby | train | go |
29a8a8d9ccdafebaa1d56bb31ee857f85d7aba15 | diff --git a/libs/Console/Application.php b/libs/Console/Application.php
index <HASH>..<HASH> 100644
--- a/libs/Console/Application.php
+++ b/libs/Console/Application.php
@@ -10,6 +10,26 @@ class Application extends SymfonyApplication
$this->add(new Generate());
$this->add(new Serve());
+
+ $... | Allow to get version with -V / --version #<I> | dauxio_daux.io | train | php |
c740a6e01649dec83b74a3de4d5f6a0b71ebcff5 | diff --git a/lib/metaforce/rake.rb b/lib/metaforce/rake.rb
index <HASH>..<HASH> 100644
--- a/lib/metaforce/rake.rb
+++ b/lib/metaforce/rake.rb
@@ -34,6 +34,7 @@ module Metaforce
print "username: "; @username = STDIN.gets.chomp
print "password: "; @password = STDIN.gets.chomp
print "secu... | Turn on logging when credentials are given in the command line. | ejholmes_metaforce | train | rb |
8cdc7cfe62a2a5e0601cc208340f73f4b0fd80f6 | diff --git a/pathspec/pathspec.py b/pathspec/pathspec.py
index <HASH>..<HASH> 100644
--- a/pathspec/pathspec.py
+++ b/pathspec/pathspec.py
@@ -5,6 +5,7 @@ of files.
"""
import collections
+from itertools import izip_longest
from . import util
from .compat import string_types, viewkeys
@@ -36,7 +37,7 @@ class Pa... | Use izip_longest to avoid false positive
This catches the case where one PathSpac's patterns are a subset of another which would cause a false positive when comparing them. | cpburnz_python-path-specification | train | py |
a0722fa9344a376d5cdb4658bc5e6bd514509922 | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1999,7 +1999,7 @@ class Minion(MinionBase):
salt.utils.minion.cache_jobs(self.opts, load['jid'], ret)
load = {'cmd': ret_cmd,
- 'load': jids.values()}
+ ... | PY3 compatibility: ensure we are passing a list instead of dict_values
Fixes #<I>. | saltstack_salt | train | py |
4d236061ddf2fedd8ab0fbe4cfd7a8973e235391 | diff --git a/src/Mutation/AbstractMutationResolver.php b/src/Mutation/AbstractMutationResolver.php
index <HASH>..<HASH> 100644
--- a/src/Mutation/AbstractMutationResolver.php
+++ b/src/Mutation/AbstractMutationResolver.php
@@ -59,7 +59,7 @@ abstract class AbstractMutationResolver extends AbstractResolver implements Eve... | fix issue executing extensions for some mutations | ynloultratech_graphql-bundle | train | php |
df9a85e920b0336296491dac10e3a1595c796c06 | diff --git a/lib/scenes/ThreeJSScene.js b/lib/scenes/ThreeJSScene.js
index <HASH>..<HASH> 100644
--- a/lib/scenes/ThreeJSScene.js
+++ b/lib/scenes/ThreeJSScene.js
@@ -86,13 +86,13 @@ ThreeJSScene.prototype.init = function($container, options) {
camera.aspect = width / height;
camera.updateProjectionMatrix();
... | Fix bug with scene object add/remove | bjnortier_triptych | train | js |
ba27d07bc1b2a8cf7a83b528a006f924be3222f1 | diff --git a/sinatra-contrib/spec/respond_with_spec.rb b/sinatra-contrib/spec/respond_with_spec.rb
index <HASH>..<HASH> 100644
--- a/sinatra-contrib/spec/respond_with_spec.rb
+++ b/sinatra-contrib/spec/respond_with_spec.rb
@@ -4,17 +4,11 @@ require 'spec_helper'
require 'okjson'
describe Sinatra::RespondWith do
- ... | Spec: Drop unused local assistance method
- the "provides" method was never called, and its instance variable never set
- this change removes warnings output from the test run | sinatra_sinatra | train | rb |
41e8f5ebb981ab81dbd20f62c285011b224c4668 | diff --git a/agent/api/container/registryauth.go b/agent/api/container/registryauth.go
index <HASH>..<HASH> 100644
--- a/agent/api/container/registryauth.go
+++ b/agent/api/container/registryauth.go
@@ -36,6 +36,7 @@ type ECRAuthData struct {
RegistryID string `json:"registryId"`
UseExecutionRole bool `json... | ecrauth: unify the interface for the pull credentials | aws_amazon-ecs-agent | train | go |
4ce6de19d04c5b5fa1a708cfb6c0deefea58c31f | diff --git a/app/controllers/effective/datatables_controller.rb b/app/controllers/effective/datatables_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/effective/datatables_controller.rb
+++ b/app/controllers/effective/datatables_controller.rb
@@ -40,6 +40,8 @@ module Effective
:data => [],
... | Include empty aggregates and charts in error json | code-and-effect_effective_datatables | train | rb |
dbb40cef25942bae95bf83c17d6136784cc40ccb | diff --git a/src/Datasource/EntityTrait.php b/src/Datasource/EntityTrait.php
index <HASH>..<HASH> 100644
--- a/src/Datasource/EntityTrait.php
+++ b/src/Datasource/EntityTrait.php
@@ -1458,6 +1458,7 @@ trait EntityTrait
'[dirty]' => $this->_dirty,
'[original]' => $this->_original,
... | When debugging the Entity we also want to know if it (or one of the nested entities) has errors. | cakephp_cakephp | train | php |
1751f7f497a92ede61d65f0063ccfbdb92c11820 | diff --git a/refract/contrib/apielements.py b/refract/contrib/apielements.py
index <HASH>..<HASH> 100644
--- a/refract/contrib/apielements.py
+++ b/refract/contrib/apielements.py
@@ -1,4 +1,4 @@
-from typing import List
+from typing import List, Iterator
from refract.elements import Array, String, Number
from refra... | refactor: resolve mypy complaints | kylef_refract.py | train | py |
78a49491a842542b201605dda0994ba5deb873fb | diff --git a/analyzer.go b/analyzer.go
index <HASH>..<HASH> 100644
--- a/analyzer.go
+++ b/analyzer.go
@@ -334,4 +334,5 @@ func (gosec *Analyzer) Reset() {
gosec.context = &Context{}
gosec.issues = make([]*Issue, 0, 16)
gosec.stats = &Metrics{}
+ gosec.ruleset = NewRuleSet()
}
diff --git a/rules/rules_test.go b/... | Load rules on each code sample in order to reconfigure them | securego_gosec | train | go,go |
01262ea75ab8d4dc151aeb0aff0e443f2c3bf82f | diff --git a/projects/ninux/ninux/wsgi.py b/projects/ninux/ninux/wsgi.py
index <HASH>..<HASH> 100755
--- a/projects/ninux/ninux/wsgi.py
+++ b/projects/ninux/ninux/wsgi.py
@@ -28,7 +28,7 @@ application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# applica... | Enabled code change monitor for development environment (DEBUG = True) | ninuxorg_nodeshot | train | py |
60e0106f6fee03a93efbbbb46c01b401e38c7694 | diff --git a/app/Schema/Migration44.php b/app/Schema/Migration44.php
index <HASH>..<HASH> 100644
--- a/app/Schema/Migration44.php
+++ b/app/Schema/Migration44.php
@@ -110,6 +110,7 @@ class Migration44 implements MigrationInterface
$select1 = DB::table('placelocation')
->leftJoin('place_loc... | Fix: wt_placelocation data created out-of-sequence causes migration error | fisharebest_webtrees | train | php |
e4839186300be19fff7203b1f4d23d5231183f1e | diff --git a/src/xo.js b/src/xo.js
index <HASH>..<HASH> 100644
--- a/src/xo.js
+++ b/src/xo.js
@@ -9,7 +9,7 @@
* @namespace xo
* @version 0.3.2
*/
- xo.VERSION = '0.4.0';
+ xo.VERSION = '2.0.0';
function identity(x) {
return x;
diff --git a/test/xo.spec.js b/test/xo.spec.js
index <HASH>..<HASH> 1... | correct source and tests version to <I> | bjdixon_xo | train | js,js |
8df0e392fec50d222132c831b4f2ae3b3f0858a1 | diff --git a/scripts/build-examples.js b/scripts/build-examples.js
index <HASH>..<HASH> 100644
--- a/scripts/build-examples.js
+++ b/scripts/build-examples.js
@@ -10,9 +10,24 @@ glob.sync(`${examplesDir}/*/webpack.config.js`, {
absolute: true
}).forEach((p) => {
const config = require(p);
- webpack(config, (err... | chore(scripts): fail when errors or warnings in examples build occurs | kisenka_svg-sprite-loader | train | js |
3ad343b274f4502faa7b997ccaedfb2c65925c8f | diff --git a/application/Espo/Services/Settings.php b/application/Espo/Services/Settings.php
index <HASH>..<HASH> 100644
--- a/application/Espo/Services/Settings.php
+++ b/application/Espo/Services/Settings.php
@@ -30,7 +30,7 @@
namespace Espo\Services;
use Espo\Core\Exceptions\Forbidden;
-use Espo\Core\Exceptions\... | add missing `use` in settings.php service (#<I>) | espocrm_espocrm | train | php |
9f95e0a49cf47989daa93ce60cd12b1b9138764c | diff --git a/test/test_cheddargetter_client_ruby.rb b/test/test_cheddargetter_client_ruby.rb
index <HASH>..<HASH> 100644
--- a/test/test_cheddargetter_client_ruby.rb
+++ b/test/test_cheddargetter_client_ruby.rb
@@ -131,14 +131,14 @@ class TestCheddargetterClientRuby < Test::Unit::TestCase
assert_raises(CheddarGett... | Fixing the plan data to work with testing account. | expectedbehavior_cheddargetter_client_ruby | train | rb |
54fc2329fa597739ed7d4e2efb859718f25b255d | diff --git a/pysat/_constellation.py b/pysat/_constellation.py
index <HASH>..<HASH> 100644
--- a/pysat/_constellation.py
+++ b/pysat/_constellation.py
@@ -6,12 +6,13 @@ class Constellation(object):
"""
def __init__(self, instruments=None, name=None):
if instruments and name:
- raise ValueE... | Change line wrap to appease pycodestyle. | rstoneback_pysat | train | py |
fc8afec69c46b8acc1a9cbe4e2b72bc50a73ac3a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -83,7 +83,7 @@ install_requires = [
'invenio-access>=1.1.0',
'invenio-accounts>=1.1.0',
'invenio-assets>=1.0.0',
- 'invenio-files-rest>=1.0.0b1',
+ 'invenio-files-rest>=1.0.0a23',
'invenio-indexer>=1.... | installation: relax invenio-files-rest min version | inveniosoftware_invenio-communities | train | py |
3cb6e901371486d9f2a5d7a00c53f4fb2247ea2d | diff --git a/src/Commands/ModelFromTableCommand.php b/src/Commands/ModelFromTableCommand.php
index <HASH>..<HASH> 100644
--- a/src/Commands/ModelFromTableCommand.php
+++ b/src/Commands/ModelFromTableCommand.php
@@ -104,7 +104,7 @@ class ModelFromTableCommand extends Command
$filename = Str::studly($table);... | Updated str_singular to use the new Str class (Laravel 6) | laracademy_generators | train | php |
5af7fa6c05da1e1bc9f91231b44f86b3de8accf7 | diff --git a/lib/core/manager.rb b/lib/core/manager.rb
index <HASH>..<HASH> 100644
--- a/lib/core/manager.rb
+++ b/lib/core/manager.rb
@@ -124,10 +124,9 @@ class Manager
#---
def reload(core = false)
- logger.info("Loading Nucleon plugins at #{current_time}")
+ logger.info("Loading Nucleon plugins at #{... | Fixing issue with out of scope time variable in the reload method of the plugin manager. | coralnexus_nucleon | train | rb |
957299ec5cf7ea3057bdd3592c77da6acdf5e376 | diff --git a/source/Spiral/Core/Controller.php b/source/Spiral/Core/Controller.php
index <HASH>..<HASH> 100644
--- a/source/Spiral/Core/Controller.php
+++ b/source/Spiral/Core/Controller.php
@@ -81,6 +81,9 @@ abstract class Controller extends Service implements ControllerInterface
);
}
+ ... | HttpController refactored. | spiral_security | train | php |
cbdd63a38ba45c6b64de5c8f11306a2e677ed519 | diff --git a/src/ol/format/GeoJSON.js b/src/ol/format/GeoJSON.js
index <HASH>..<HASH> 100644
--- a/src/ol/format/GeoJSON.js
+++ b/src/ol/format/GeoJSON.js
@@ -163,7 +163,7 @@ class GeoJSON extends JSONFeature {
if (crs['type'] == 'name') {
projection = getProjection(crs['properties']['name']);
} ... | Strings must have singlequotes
Strings must have singlequotes | openlayers_openlayers | train | js |
4cf8db44259b373d5614f1012e541db741920719 | diff --git a/src/Models/MetadataKeyMethodNamesTrait.php b/src/Models/MetadataKeyMethodNamesTrait.php
index <HASH>..<HASH> 100644
--- a/src/Models/MetadataKeyMethodNamesTrait.php
+++ b/src/Models/MetadataKeyMethodNamesTrait.php
@@ -25,7 +25,7 @@ trait MetadataKeyMethodNamesTrait
* @return array|null
* @throw... | Add more type hints to key-method names trait | Algo-Web_POData-Laravel | train | php |
4d697d5600d81c69d517d66773f0f451ac927ca2 | diff --git a/src/main/java/htmlflow/HtmlView.java b/src/main/java/htmlflow/HtmlView.java
index <HASH>..<HASH> 100644
--- a/src/main/java/htmlflow/HtmlView.java
+++ b/src/main/java/htmlflow/HtmlView.java
@@ -50,13 +50,13 @@ import static java.util.stream.Collectors.joining;
* created on 29-03-2012
*/
public... | Minor fix reorder qualifiers. | xmlet_HtmlFlow | train | java |
2a5547981dad7e59be2c26aeb52f5d49d2195b9c | diff --git a/src/java/org/apache/cassandra/thrift/CustomTHsHaServer.java b/src/java/org/apache/cassandra/thrift/CustomTHsHaServer.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/thrift/CustomTHsHaServer.java
+++ b/src/java/org/apache/cassandra/thrift/CustomTHsHaServer.java
@@ -177,6 +177,14 @@ publ... | CASSANDRA-<I>
patch by Vijay; reviewed by Brandon Williams for CASSANDRA-<I> | Stratio_stratio-cassandra | train | java |
6fd3e33c62774eaf7a972df50f282affc832fb30 | diff --git a/lib/browser/url.js b/lib/browser/url.js
index <HASH>..<HASH> 100644
--- a/lib/browser/url.js
+++ b/lib/browser/url.js
@@ -1,9 +1,23 @@
module.exports = function() {
- window.PeerConnection = window.webkitRTCPeerConnection || window.mozRTCPeerConnection || window.RTCPeerConnection;
- window.masquarad... | different approach of masquerading RTCPeerConnection | webdriverio_webdriverrtc | train | js |
efc6bf4eb8f9b4619e334c2e896242dc1a08c80b | diff --git a/caravel/__init__.py b/caravel/__init__.py
index <HASH>..<HASH> 100644
--- a/caravel/__init__.py
+++ b/caravel/__init__.py
@@ -26,6 +26,11 @@ logging.getLogger().setLevel(logging.DEBUG)
app = Flask(__name__)
app.config.from_object(CONFIG_MODULE)
+if not app.debug:
+ # In production mode, add log handle... | Redirect application log to stderr, which is picked up by gunicorn. (#<I>) | apache_incubator-superset | train | py |
22f6737c809986949a1f1ec491b85074dccd5b96 | diff --git a/classes/Flatfile/Core.php b/classes/Flatfile/Core.php
index <HASH>..<HASH> 100644
--- a/classes/Flatfile/Core.php
+++ b/classes/Flatfile/Core.php
@@ -325,19 +325,20 @@ class Flatfile_Core {
// Match on property, terms and other stuffs
// TODO
+ // Natural sort ordering
+ natsort($this->_files);
+... | Ebable sorting for a sinlge entry also | ziopod_Flatfile | train | php |
fe750f1bb663ad221e62a4be9dbc97548b55f534 | diff --git a/drools-compiler/src/main/java/org/drools/compiler/osgi/Activator.java b/drools-compiler/src/main/java/org/drools/compiler/osgi/Activator.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/main/java/org/drools/compiler/osgi/Activator.java
+++ b/drools-compiler/src/main/java/org/drools/compiler/osgi/... | Resolve split-packages: move everything from kie-api under org.kie.api: move classes directly under org.kie.osgi | kiegroup_drools | train | java |
9a3390d5c8991b5560f3414013167623a24437ab | diff --git a/transaction.go b/transaction.go
index <HASH>..<HASH> 100644
--- a/transaction.go
+++ b/transaction.go
@@ -375,7 +375,9 @@ func (txn *Txn) Commit(callback func(error)) error {
}
// CommitAt commits the transaction, following the same logic as Commit(), but at the given
-// commit timestamp. This API is ... | Added an additional comment to CommitAt | dgraph-io_badger | train | go |
be4044c6e67361f4a7e9e6d020ceeaece1a23e25 | diff --git a/src/reanimated2/core.js b/src/reanimated2/core.js
index <HASH>..<HASH> 100644
--- a/src/reanimated2/core.js
+++ b/src/reanimated2/core.js
@@ -8,6 +8,18 @@ global.__reanimatedWorkletInit = function(worklet) {
worklet.__worklet = true;
};
+// check if a worklet can be created successfully(in order to d... | Handle lack of babel plugin (#<I>)
## Description
Handle a situation when someone forgets to add a babel plugin by throwing a corresponding error. | kmagiera_react-native-reanimated | train | js |
2f805c0500d22a8e0e2ef52122c7a02b4cfbd93f | diff --git a/src/main/java/com/sksamuel/jqm4gwt/JQMActivityManager.java b/src/main/java/com/sksamuel/jqm4gwt/JQMActivityManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/sksamuel/jqm4gwt/JQMActivityManager.java
+++ b/src/main/java/com/sksamuel/jqm4gwt/JQMActivityManager.java
@@ -8,6 +8,15 @@ import com.g... | Added disablign of hash events when using JQMActivityManager | jqm4gwt_jqm4gwt | train | java |
6075c8b57de8d7e4a389f7c1f49bb60d735d3a8d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(name='pysmap',
packages=['pysmap', 'pysmap.twitterutil', 'pysmap.viz'],
- version='0.0.32',
+ version='0.0.33',
description='pysmap is a set of tools for working with twit... | added vbump and matplotlib rewrite over bokeh | SMAPPNYU_pysmap | train | py |
7a3dc5547ca6d372c16ae092f34f68f12d01868d | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -51,7 +51,7 @@ copyright = u'2012, Andrew P. Davison'
# The short X.Y version.
version = '0.2'
# The full version, including alpha/beta/rc tags.
-release = '0.2.0'
+release = '0.2.1'
# The language for conten... | Previous release didn't work with Python 3 | NeuralEnsemble_lazyarray | train | py,py,py |
c20d7ad69f2dda9dd61c936c81e2d416487e32b4 | diff --git a/client/lib/wpcom-undocumented/lib/undocumented.js b/client/lib/wpcom-undocumented/lib/undocumented.js
index <HASH>..<HASH> 100644
--- a/client/lib/wpcom-undocumented/lib/undocumented.js
+++ b/client/lib/wpcom-undocumented/lib/undocumented.js
@@ -1952,12 +1952,16 @@ Undocumented.prototype.getSiteConnectInfo... | Jetpack-connect: Don't send / as default if there is no path in the entered url | Automattic_wp-calypso | train | js |
6b95171698792b76ddccc11acab28588c7b899f8 | diff --git a/openid/association.py b/openid/association.py
index <HASH>..<HASH> 100644
--- a/openid/association.py
+++ b/openid/association.py
@@ -123,7 +123,7 @@ class Association(object):
self.lifetime = lifetime
self.assoc_type = assoc_type
- def getExpiresIn(self):
+ def getExpiresIn(self,... | [project @ Allow passing a timestamp to getExpiresIn] | openid_python-openid | train | py |
8988c388729ca7f1135a0577f2355009cc7e6725 | diff --git a/demos/paymentDirect/non_js.php b/demos/paymentDirect/non_js.php
index <HASH>..<HASH> 100644
--- a/demos/paymentDirect/non_js.php
+++ b/demos/paymentDirect/non_js.php
@@ -19,7 +19,6 @@ $user = new MangoPay\UserNatural();
$user->FirstName = 'John';
$user->LastName = 'Smith';
$user->Email = 'email@domain.c... | Remove address to ensure code runs with <I> of the API | Mangopay_mangopay2-php-sdk | train | php |
986f49f4074a68626870c90ea5a17cb50ad4e3dc | diff --git a/libraries/lithium/tests/cases/util/InflectorTest.php b/libraries/lithium/tests/cases/util/InflectorTest.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/tests/cases/util/InflectorTest.php
+++ b/libraries/lithium/tests/cases/util/InflectorTest.php
@@ -6,7 +6,7 @@
* @license http://opensource.... | Updated InflectorTest namespace to have proper casing. | UnionOfRAD_framework | train | php |
429dae4f5c7d5570cde1745f8b30aab86fb56228 | diff --git a/src/Show/Fields/SharpShowEntityListField.php b/src/Show/Fields/SharpShowEntityListField.php
index <HASH>..<HASH> 100644
--- a/src/Show/Fields/SharpShowEntityListField.php
+++ b/src/Show/Fields/SharpShowEntityListField.php
@@ -90,11 +90,11 @@ class SharpShowEntityListField extends SharpShowField
... | Apply fixes from StyleCI (#<I>) | code16_sharp | train | php |
63d992a85f441f6bb75519d21384bd48c7d405f6 | diff --git a/lib/cinch/helpers.rb b/lib/cinch/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/cinch/helpers.rb
+++ b/lib/cinch/helpers.rb
@@ -185,6 +185,11 @@ module Cinch
end
alias_method :Color, :Format
+ # (see .sanitize)
+ def Sanitize(string)
+ Cinch::Helpers.sanitize(string)
+ end
+
... | add Helpers.sanitize
Allow usage of sanitize without having to include Helpers | cinchrb_cinch | train | rb,rb |
ac9a2e52520ee6a8510be569c39f195a93576594 | diff --git a/insteonplm/plm.py b/insteonplm/plm.py
index <HASH>..<HASH> 100644
--- a/insteonplm/plm.py
+++ b/insteonplm/plm.py
@@ -88,7 +88,7 @@ class PLM(asyncio.Protocol):
None, self._handle_get_next_all_link_record_nak, MESSAGE_NAK)
self._message_callb... | fixed reference to _handle_id_request_response | nugget_python-insteonplm | train | py |
770f54e84e8ba735bca52842bc8df9d27421f531 | diff --git a/lib/evalhook/tree_processor.rb b/lib/evalhook/tree_processor.rb
index <HASH>..<HASH> 100644
--- a/lib/evalhook/tree_processor.rb
+++ b/lib/evalhook/tree_processor.rb
@@ -72,7 +72,7 @@ module EvalHook
end
firstcall = nil
- if tree[3] == s(:arglist) or tree[3] == nil
+ if tree[1] ==... | <I> test pass: fixed issue #9 (Methods shadowed by block variables) | tario_evalhook | train | rb |
909caa03bdd8b40d890f06d5b3e54d982a199be1 | diff --git a/gridsome/lib/build.js b/gridsome/lib/build.js
index <HASH>..<HASH> 100644
--- a/gridsome/lib/build.js
+++ b/gridsome/lib/build.js
@@ -44,6 +44,7 @@ module.exports = async (context, args) => {
// 5. clean up
await plugins.callHook('afterBuild', { context, config, queue })
+ await fs.remove(path.res... | fix(build): clear cached data files | gridsome_gridsome | train | js |
538d0307232f9c26e9cfd8e2f62a59dce7077a96 | diff --git a/src/svg/path/path.py b/src/svg/path/path.py
index <HASH>..<HASH> 100644
--- a/src/svg/path/path.py
+++ b/src/svg/path/path.py
@@ -293,12 +293,15 @@ class Path(MutableSequence):
def __setitem__(self, index, value):
self._segments[index] = value
+ self._lengths = None
def __deli... | The ._length attribute needs to be cleared when the path is modified. | regebro_svg.path | train | py |
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.