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 |
|---|---|---|---|---|---|
575eb7d656f6077a959d0e1971c81588d6f7a486 | diff --git a/container/api/src/main/java/org/wildfly/swarm/container/Container.java b/container/api/src/main/java/org/wildfly/swarm/container/Container.java
index <HASH>..<HASH> 100644
--- a/container/api/src/main/java/org/wildfly/swarm/container/Container.java
+++ b/container/api/src/main/java/org/wildfly/swarm/contai... | Logstash fraction test but not a super great one. | thorntail_thorntail | train | java |
2f71ec1a2bdd46c8fbab6784174acb3175a808b4 | diff --git a/pyemma/coordinates/tests/test_featurereader.py b/pyemma/coordinates/tests/test_featurereader.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/tests/test_featurereader.py
+++ b/pyemma/coordinates/tests/test_featurereader.py
@@ -90,8 +90,8 @@ class TestFeatureReader(unittest.TestCase):
# re... | [tests] fixed bug in test_featurereader | markovmodel_PyEMMA | train | py |
e5b50cd7082b79dfd11cf27733462cc3911e2ff1 | diff --git a/yaks/lib/yaks.rb b/yaks/lib/yaks.rb
index <HASH>..<HASH> 100644
--- a/yaks/lib/yaks.rb
+++ b/yaks/lib/yaks.rb
@@ -23,8 +23,8 @@ require 'yaks/errors'
require 'yaks/default_policy'
module Yaks
- # A PORO
- Undefined = Object.new
+ Undefined = Module.new.freeze
+
# Set the Root constant as the gems... | Make Yaks::Undefined look like "Undefined" when inspected, instead of #<Object...> | plexus_yaks | train | rb |
3c5f6e05f510ecec8dfee3fc34ec9b889911bb86 | diff --git a/lib/mail/network/delivery_methods/smtp.rb b/lib/mail/network/delivery_methods/smtp.rb
index <HASH>..<HASH> 100644
--- a/lib/mail/network/delivery_methods/smtp.rb
+++ b/lib/mail/network/delivery_methods/smtp.rb
@@ -88,8 +88,8 @@ module Mail
:openssl_verify_mode => nil,
:ssl =... | Add default timeouts for SMTP
I get lots of reports of "stuck" Sidekiq jobs due to email delivery. SMTP servers in the wild are notoriously unreliable, e.g. spam honeypots can leave TCP connections lingering. We need network connection timeouts by default. | mikel_mail | train | rb |
c28a7fd0c37cc09901bcf4085e252f335207def3 | diff --git a/src/DebuggerManager.php b/src/DebuggerManager.php
index <HASH>..<HASH> 100644
--- a/src/DebuggerManager.php
+++ b/src/DebuggerManager.php
@@ -3,9 +3,9 @@
namespace Recca0120\LaravelTracy;
use ErrorException;
-use Exception;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\Arr;
+u... | Fixed wrong type hint of DebuggerManager::exceptionHandler()
* this is essential for laravel 7 | recca0120_laravel-tracy | train | php |
42b55674958f580e58fd3e0b244981a8e576c46b | diff --git a/tasks/version_build.js b/tasks/version_build.js
index <HASH>..<HASH> 100644
--- a/tasks/version_build.js
+++ b/tasks/version_build.js
@@ -111,7 +111,6 @@ module.exports = function (grunt) {
// Stage and commit to a branch
function gitCommit () {
- var status = shelljs.exec('git status --po... | Remove single use var to make code style consistant | robwierzbowski_grunt-build-control | train | js |
d2106564da7a843c8ab1f508a8fc0deea7a17173 | diff --git a/spec/requests/as_account/channel_spec.rb b/spec/requests/as_account/channel_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/requests/as_account/channel_spec.rb
+++ b/spec/requests/as_account/channel_spec.rb
@@ -79,16 +79,19 @@ describe Yt::Channel, :device_app do
it { expect(channel.videos.where(char... | Add missing spec for b<I>aac<I>
When the order is *not* by date, only the first <I> videos can be
retrieved, since YouTube does not provide a way to paginate beyond
that limit. | Fullscreen_yt | train | rb |
84ab0bbd74e9729e691107271aaab93739070dd2 | diff --git a/salt/states/boto_secgroup.py b/salt/states/boto_secgroup.py
index <HASH>..<HASH> 100644
--- a/salt/states/boto_secgroup.py
+++ b/salt/states/boto_secgroup.py
@@ -376,7 +376,7 @@ def _rules_present(
_source_group_name = rule.get('source_group_name', None)
if _source_group_name:
... | One last bug to squash. Seriously. It's the last one. Ever!
- fixed param vpc_id being passed where vpc_name was intended. | saltstack_salt | train | py |
be343b4b4485a11ccc5fa130dcece09a0a360f81 | diff --git a/src/Sylius/Component/Core/spec/Taxation/OrderShipmentTaxesByZoneApplicatorSpec.php b/src/Sylius/Component/Core/spec/Taxation/OrderShipmentTaxesByZoneApplicatorSpec.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Component/Core/spec/Taxation/OrderShipmentTaxesByZoneApplicatorSpec.php
+++ b/src/Sylius/Compo... | Use the Argument::cetera to match every adjustment factory createWithData method call in the OrderShipmentTaxesByZoneApplicatorSpec. | Sylius_Sylius | train | php |
4957d77fff4d2e53181d78928e8bae132a1a453b | diff --git a/shellish/layout/table.py b/shellish/layout/table.py
index <HASH>..<HASH> 100644
--- a/shellish/layout/table.py
+++ b/shellish/layout/table.py
@@ -119,9 +119,13 @@ class Table(object):
False to disable this behavior but be warned the table will not look
good. """
self.title = titl... | Freeze and iterate through table configurations.
Grab the headers, columns and accessors definitions at init time and put
them into frozen tuples. This lets us grab Sequence type definitions
and protects us from being corrupted should the user modify these
datastructures after they are passed in to the table code. | mayfield_shellish | train | py |
fcbc2e4452aee2804bff8fd81af533293678c278 | diff --git a/spec/integration/migration_spec.rb b/spec/integration/migration_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/migration_spec.rb
+++ b/spec/integration/migration_spec.rb
@@ -54,15 +54,20 @@ describe "A Migration" do
end
adapter = DataMapper::Spec.adapter_name
- expected_module = ... | More robust checks before checking module inclusion
Specs for in_memory and yaml still fail, but at
least they're running now. Previously they bailed
out immediately because of calling [] (lambda.call)
on nil.
This (like many other dm-migrations specs) looks
kinda weird and will probably be refactored soonish | datamapper_dm-migrations | train | rb |
163062e0aa54c7e2a62f95a49addc84adc488c06 | diff --git a/Services/Navitia.php b/Services/Navitia.php
index <HASH>..<HASH> 100644
--- a/Services/Navitia.php
+++ b/Services/Navitia.php
@@ -199,6 +199,8 @@ class Navitia
public function getRouteStopPoints($perimeter, $externalRouteId)
{
$pathFilter = 'networks/'.$perimeter->getExternalNetworkId().... | added from_datetime to route_schedules call | CanalTP_MttBundle | train | php |
60550ca0ec2d715671a7c8c961465b8197f38199 | diff --git a/libraries/joomla/utilities/simplecrypt.php b/libraries/joomla/utilities/simplecrypt.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/utilities/simplecrypt.php
+++ b/libraries/joomla/utilities/simplecrypt.php
@@ -43,10 +43,7 @@ class JSimpleCrypt
}
// Build the JCryptKey object.
- $key = new ... | Fix minor problem in JSimpleCrypt. | joomla_joomla-framework | train | php |
ee5762beba4558e1d1d995e4bfceb2dc9d95b16d | diff --git a/sphinxcontrib/swaggerdoc/swaggerv2_doc.py b/sphinxcontrib/swaggerdoc/swaggerv2_doc.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/swaggerdoc/swaggerv2_doc.py
+++ b/sphinxcontrib/swaggerdoc/swaggerv2_doc.py
@@ -7,6 +7,7 @@ from past.builtins import basestring
from sphinx.locale import _
+from six.m... | Support references to locally referenced swagger documents.
resolves unaguil/sphinx-swaggerdoc#<I> | unaguil_sphinx-swaggerdoc | train | py |
df7692d24388ebbca2cad3fa5d44262fd036299d | diff --git a/client.py b/client.py
index <HASH>..<HASH> 100644
--- a/client.py
+++ b/client.py
@@ -180,7 +180,8 @@ def get_screenshots(s, job_id, res_dir=None):
_mkdir(output_dir)
else:
new_direcory = os.path.join(output_dir, res_dir)
- _mkdir(new_direcory)
+ out... | modify output for saving screens - now it depend from file config name | cmck_pybrowserstack-screenshots | train | py |
51e5f6f78a19a24f15d9bfacd9c62299ee9552ab | diff --git a/scripts/python/startSwarm.py b/scripts/python/startSwarm.py
index <HASH>..<HASH> 100755
--- a/scripts/python/startSwarm.py
+++ b/scripts/python/startSwarm.py
@@ -2,10 +2,10 @@
# Start netplugin and netmaster
import api.tnode
-import time
-import sys
-import os
import argparse
+import os
+import re
+im... | Add extra validation check for v2plugin (#<I>)
* Add extra validation check for v2plugin
Currently, demo-v2plugin doesn't check if contiv is installed and
enabled.
This patchset is to check if v2plugin is installed and enabled at the
end of the installation | contiv_netplugin | train | py |
5c8c0ccdaf430c3901420815fa30e611964acd91 | diff --git a/edx_rest_api_client/client.py b/edx_rest_api_client/client.py
index <HASH>..<HASH> 100644
--- a/edx_rest_api_client/client.py
+++ b/edx_rest_api_client/client.py
@@ -20,7 +20,7 @@ ACCESS_TOKEN_EXPIRED_THRESHOLD_SECONDS = 5
# How long should we wait to connect to the auth service.
# https://requests.readt... | Make sure oauth requests do not timeout during read
The previous default timeout of 1s was causing issues in communication
between services, in particular when the server was under load. This
timeout is configurable by passing a `timeout=...` keyword argument to
the OAuthClient constructor; but that requires patching ... | edx_edx-rest-api-client | train | py |
939e1356e1bc450112c3a7602369d55c5e63bbcc | diff --git a/test/test_socks.py b/test/test_socks.py
index <HASH>..<HASH> 100644
--- a/test/test_socks.py
+++ b/test/test_socks.py
@@ -738,7 +738,7 @@ class SocksErrorTests(unittest.TestCase):
self.assertEquals(error.message, message)
self.assertEquals(str(error), message)
- def test_socks_error_... | Make method names of the `SocksErrorTests` consistent | meejah_txtorcon | train | py |
5442bc4925f019a8a2535971d3164827e3c38448 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -41,6 +41,7 @@ module.exports = function(app, dcPath) {
dcFile,
'run',
'--service-ports',
+ '--rm',
app,
cmd
].join(' '); | [#3] add the --rm option to remove containers on exit | markbirbeck_docker-compose-run | train | js |
b0a496dd23ffa127451ddfae71b62a76c00f6e97 | diff --git a/lib/platform.rb b/lib/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/platform.rb
+++ b/lib/platform.rb
@@ -59,52 +59,4 @@ module Ronin
end
end
-
- class Linux < Platform
-
- def initialize(version,arch)
- super('Linux',version,arch)
- end
-
- end
-
- class FreeBSD < Platform
-
- ... | * Removed extra-classes. | ronin-ruby_ronin | train | rb |
f0efda482ebf0d76bc3478257655a2e079c11cd7 | diff --git a/src/Illuminate/Database/Eloquent/Builder.php b/src/Illuminate/Database/Eloquent/Builder.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Builder.php
+++ b/src/Illuminate/Database/Eloquent/Builder.php
@@ -34,8 +34,8 @@ class Builder {
* @var array
*/
protected $passthru = array... | Pass getBindings through to querybuilder | laravel_framework | train | php |
c2aa9fdaf5b03996f715ecfd27788145cc09c075 | diff --git a/lib/yap/shell/version.rb b/lib/yap/shell/version.rb
index <HASH>..<HASH> 100644
--- a/lib/yap/shell/version.rb
+++ b/lib/yap/shell/version.rb
@@ -1,5 +1,5 @@
module Yap
module Shell
- VERSION = "0.4.6"
+ VERSION = "0.4.7"
end
end | Bumping version to <I> | zdennis_yap-shell-core | train | rb |
b4125f819d9d1aa0c0138318dc7509e84d55a731 | diff --git a/aviator.js b/aviator.js
index <HASH>..<HASH> 100644
--- a/aviator.js
+++ b/aviator.js
@@ -436,7 +436,7 @@ Navigator.prototype = {
pathname,
uri;
- if (ev.metaKey || ev.ctrlKey) return;
+ if (ev.button === 1 || ev.metaKey || ev.ctrlKey) return;
// Sub optimal. It itererates ... | Rebuild the aviator.js file | swipely_aviator | train | js |
459b15980a0a7b160dca887e9406537d07088c40 | diff --git a/src/main/java/common/CharsetDetector.java b/src/main/java/common/CharsetDetector.java
index <HASH>..<HASH> 100644
--- a/src/main/java/common/CharsetDetector.java
+++ b/src/main/java/common/CharsetDetector.java
@@ -1,5 +1,26 @@
package common;
+/*-
+ * #%L
+ * FOKProjects Common
+ * %%
+ * Copyright (C) ... | Added the license header to the new class | vatbub_common | train | java |
e20df5df7a1151cee43b18664a651391fdceb81f | diff --git a/scripts/run_pylint.py b/scripts/run_pylint.py
index <HASH>..<HASH> 100644
--- a/scripts/run_pylint.py
+++ b/scripts/run_pylint.py
@@ -51,6 +51,8 @@ TEST_DISABLED_MESSAGES = [
'import-error',
'invalid-name',
'missing-docstring',
+ 'missing-raises-doc',
+ 'missing-returns-doc',
'no-... | Update disabled messages from new pylint. | googleapis_google-cloud-python | train | py |
870666ae95bc7a5247a4223e8cc35771eeb50ffd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(
packages=find_packages(),
- install_requires=['aioredis'],
+ install_requires=['aioredis', 'attrs'],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-asyncio', '... | Adding attrs to requirements in setup.py | joanvila_aioredlock | train | py |
0c6a85d5f7ef3eb90fdb00394c9c8df3078f8c6f | diff --git a/fundingmanager_test.go b/fundingmanager_test.go
index <HASH>..<HASH> 100644
--- a/fundingmanager_test.go
+++ b/fundingmanager_test.go
@@ -166,7 +166,7 @@ func createTestWallet(cdb *channeldb.DB, netParams *chaincfg.Params,
ChainIO: bio,
FeeEstimator: estimator,
NetParams: ... | fundingmanager_test: use renamed defaultBtcChannelConstraints const | lightningnetwork_lnd | train | go |
1a17d8b535356b5e1874d4e9a808f190fa662e29 | diff --git a/src/test/java/net/bramp/ffmpeg/FFmpegExecutorTest.java b/src/test/java/net/bramp/ffmpeg/FFmpegExecutorTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/bramp/ffmpeg/FFmpegExecutorTest.java
+++ b/src/test/java/net/bramp/ffmpeg/FFmpegExecutorTest.java
@@ -79,15 +79,6 @@ public class FFmpegExecuto... | Minor change to FFmpegExecutorTest to not loop while waiting. | bramp_ffmpeg-cli-wrapper | train | java |
404c15fb59158425bfc0a12d09c5b38da5b72cf9 | diff --git a/build/build.transforms.js b/build/build.transforms.js
index <HASH>..<HASH> 100644
--- a/build/build.transforms.js
+++ b/build/build.transforms.js
@@ -10,7 +10,7 @@ const
{ writeFile } = require('./build.utils')
function relative (name) {
- return path.relative(root, name)
+ return path.relative(roo... | Fix build of imports file to use unix separator (#<I>) | quasarframework_quasar | train | js |
c9affc6de7c6c8e763723f100c6cfa9e31ab7a0c | diff --git a/Model/Service/CallbackService.php b/Model/Service/CallbackService.php
index <HASH>..<HASH> 100755
--- a/Model/Service/CallbackService.php
+++ b/Model/Service/CallbackService.php
@@ -170,11 +170,12 @@ class CallbackService {
// Update order status
$order->setStatus($this->g... | Order email fix
Fixed an issue creating a double confirmation email with Frames. | checkout_checkout-magento2-plugin | train | php |
c4ad29692c635fb529efba89c1f27a335ac261ff | diff --git a/internal/validate/schema_props.go b/internal/validate/schema_props.go
index <HASH>..<HASH> 100644
--- a/internal/validate/schema_props.go
+++ b/internal/validate/schema_props.go
@@ -180,12 +180,3 @@ func (s *schemaPropsValidator) Validate(data interface{}) *Result {
mainResult.Inc()
return mainResult
... | fixes #<I> separate listener creation from serving | go-openapi_validate | train | go |
fd7e06daa4f039576e3924383e17fd4bdcabbdf9 | diff --git a/src/components/input/QInput.js b/src/components/input/QInput.js
index <HASH>..<HASH> 100644
--- a/src/components/input/QInput.js
+++ b/src/components/input/QInput.js
@@ -29,11 +29,12 @@ export default {
decimals: Number,
step: Number,
upperCase: Boolean,
- lowerCase: Boolean
+ lowerCas... | Allow password to be shown by default (#<I>)
* Allow password to be shown by default
Usage `<q-input v-model="user.password" type="password" :show-password="true" float-label="Password" />`
this change will allow a password field and show/hide icon to be visible by default.
This might be good for an admin panel... | quasarframework_quasar | train | js |
9902043878e8218460e50c548048fb263cc2e25a | diff --git a/pipeline/compress/compress.go b/pipeline/compress/compress.go
index <HASH>..<HASH> 100644
--- a/pipeline/compress/compress.go
+++ b/pipeline/compress/compress.go
@@ -44,9 +44,9 @@ func create(system, arch string, config config.ProjectConfig) error {
gw := gzip.NewWriter(file)
tw := tar.NewWriter(gw)
... | Reorder `defer`'d closers
Commit <URL> whereby
the tarball is closed before data is completely written, thus breaking the release package | goreleaser_goreleaser | train | go |
1dcfd2086ebcd785df949ba5157c9bdaaa8b344c | diff --git a/go/porcelain/site.go b/go/porcelain/site.go
index <HASH>..<HASH> 100644
--- a/go/porcelain/site.go
+++ b/go/porcelain/site.go
@@ -51,12 +51,15 @@ func (n *Netlify) CreateSite(ctx context.Context, site *models.Site, configureDN
}
// UpdateSite modifies an existent site.
-func (n *Netlify) UpdateSite(ctx... | Make site update to return the updated site.
So we can show up to date settings. | netlify_open-api | train | go |
5b7cad660d1c534e0d0af1608d566b516df415e0 | diff --git a/extensions/waitForSelector/waitForSelector.js b/extensions/waitForSelector/waitForSelector.js
index <HASH>..<HASH> 100644
--- a/extensions/waitForSelector/waitForSelector.js
+++ b/extensions/waitForSelector/waitForSelector.js
@@ -4,15 +4,23 @@
/* global document: true */
'use strict';
-exports.version ... | waitForSelector: use phantomas.spyEnabled() | macbre_phantomas | train | js |
76ee13fbcf801c9cbbf8f3d86e24827ac790882d | diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/tomcat/TomcatMetrics.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/tomcat/TomcatMetrics.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/tomcat/TomcatMetri... | Add Javadoc since to TomcatMetrics.setJmxDomain() (#<I>) | micrometer-metrics_micrometer | train | java |
c37513b9bef594b6bdfb21cb5c42dcd722061221 | diff --git a/bhmm/estimators/maximum_likelihood.py b/bhmm/estimators/maximum_likelihood.py
index <HASH>..<HASH> 100644
--- a/bhmm/estimators/maximum_likelihood.py
+++ b/bhmm/estimators/maximum_likelihood.py
@@ -278,6 +278,10 @@ class MaximumLikelihoodEstimator(object):
C = np.zeros((self._nstates, self._nstate... | [estimators.MaximumLikelihoodEstimator] fix count matrix summation for numbers < 1e-<I>
Disconnected 2 state system could not detect disconnected T matrix
but instead returned implied timescales = inf and T matrix off diagonal
entries ~1e-<I>. Cf. <URL> | bhmm_bhmm | train | py |
99d176b45a73149466300086878eb7ed5418bf21 | diff --git a/modules/Cockpit/AuthController.php b/modules/Cockpit/AuthController.php
index <HASH>..<HASH> 100755
--- a/modules/Cockpit/AuthController.php
+++ b/modules/Cockpit/AuthController.php
@@ -20,7 +20,7 @@ class AuthController extends \LimeExtra\Controller {
$user = $app->module('cockpit')->getUser();
... | fixed "Call to a member function retrieve() on null" on login page | agentejo_cockpit | train | php |
6b3acd21a6bf23a5e3a9805cd8da878b926c1225 | diff --git a/externs/html5.js b/externs/html5.js
index <HASH>..<HASH> 100644
--- a/externs/html5.js
+++ b/externs/html5.js
@@ -594,6 +594,12 @@ Window.prototype.openDatabase = function(name, version, description, size) {};
HTMLImageElement.prototype.complete;
/**
+ * @type {string}
+ * @see http://www.whatwg.org/sp... | Adds the HTMLImageElement 'crossOrigin' property to the externs.
This is a new tag being added to the spec to help tighten security regarding
handling of cross-domain resources. More information here:
<URL>
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | js |
81da9f5b3a0b00bc22039cd377237835da4434eb | diff --git a/pep/project.py b/pep/project.py
index <HASH>..<HASH> 100644
--- a/pep/project.py
+++ b/pep/project.py
@@ -1119,8 +1119,9 @@ def check_sample_sheet(sample_file, dtype=str):
missing = set(req) - set(df.columns)
if len(missing) != 0:
raise ValueError(
- "Annotation sheet ('{}') i... | better messaging for case of insufficient columns in annotations sheet | pepkit_peppy | train | py |
d4029bd0144312ed1d6747098ac385851cbefe66 | diff --git a/pybomb/clients/base_client.py b/pybomb/clients/base_client.py
index <HASH>..<HASH> 100644
--- a/pybomb/clients/base_client.py
+++ b/pybomb/clients/base_client.py
@@ -99,7 +99,7 @@ class BaseClient(object):
"""
return ','.join(
['{0}:{1}'.format(key, value) for
- k... | Fix base_client to work with python 3 | steveYeah_PyBomb | train | py |
707eb18dc23bd07f38b87cd25efabbf06290361e | diff --git a/hangups/__main__.py b/hangups/__main__.py
index <HASH>..<HASH> 100644
--- a/hangups/__main__.py
+++ b/hangups/__main__.py
@@ -270,6 +270,9 @@ class ConversationWidget(urwid.WidgetWrap):
def _on_return(self, text):
"""Called when the user presses return on the send message widget."""
+ ... | Don't try to send empty chat messages | tdryer_hangups | train | py,py |
84b1b009cf55e028dbf7e66e3687d856e5f59377 | diff --git a/pythran/unparse.py b/pythran/unparse.py
index <HASH>..<HASH> 100644
--- a/pythran/unparse.py
+++ b/pythran/unparse.py
@@ -482,7 +482,7 @@ class Unparser:
binop = {"Add": "+", "Sub": "-", "Mult": "*", "Div": "/", "Mod": "%",
"LShift": "<<", "RShift": ">>", "BitOr": "|", "BitXor": "^",
-... | Add support for matplut in unparse | serge-sans-paille_pythran | train | py |
b8a0557132007b91378fac4c56fdb2e5fb9ff479 | diff --git a/pyfolio/timeseries.py b/pyfolio/timeseries.py
index <HASH>..<HASH> 100644
--- a/pyfolio/timeseries.py
+++ b/pyfolio/timeseries.py
@@ -551,7 +551,7 @@ def rolling_regression(returns, factor_returns,
rolling_window=APPROX_BDAYS_PER_MONTH * 6,
nan_threshold=0.1)... | DOC: cleared up confusing regression terminology | quantopian_pyfolio | train | py |
25679a63a27b55f6af70f37e9d4563ee6b97bc4c | diff --git a/lib/coach/handler.rb b/lib/coach/handler.rb
index <HASH>..<HASH> 100644
--- a/lib/coach/handler.rb
+++ b/lib/coach/handler.rb
@@ -93,7 +93,11 @@ module Coach
end
def middleware
- @middleware ||= ActiveSupport::Dependencies.constantize(name)
+ @middleware ||= if ActiveSupport::Dependen... | Remove reference to ActiveSupport::Dependencies
This is removed in rails 7 due to the classic autoloader being removed -
see <URL> | gocardless_coach | train | rb |
874c8cad76f8bb0a0ee59cf7f749016e7b4cfcf4 | diff --git a/client_test.go b/client_test.go
index <HASH>..<HASH> 100644
--- a/client_test.go
+++ b/client_test.go
@@ -169,7 +169,7 @@ func TestPipelineClientIssue832(t *testing.T) {
}()
select {
- case <-time.After(time.Second):
+ case <-time.After(time.Second * 2):
t.Fatal("PipelineClient did not restart wor... | Increase timeouts for Windows github actions | valyala_fasthttp | train | go |
6426f55111d30b25eaf294ed6188155340084c99 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,9 +27,9 @@ setup_options = dict(
# For these actions, NumPy is not required. We want them to succeed without,
# for example when pip is used to install seqlearn without NumPy present.
-NO_NUMPY_ACTIONS = ('egg_info', '... | FIX setup.py numpy-awareness
XXX [@larsmans]: I screwed up this commit by @kmike,
so cherry-picking it again. | larsmans_seqlearn | train | py |
3149c975409aad4f35104899f6697f0b7ea996d9 | diff --git a/PAM.py b/PAM.py
index <HASH>..<HASH> 100644
--- a/PAM.py
+++ b/PAM.py
@@ -163,6 +163,7 @@ PAM_TTY = 3
PAM_USER = 2
PAM_USER_PROMPT = 9
PAM_USER_UNKNOWN = 10
+PAM_XDISPLAY = 11
class error(Exception): # noqa: N801
@@ -282,7 +283,7 @@ class pam(object): # noqa: N801
self.user = item
elif i... | Add PAM_XDISPLAY | FirefighterBlu3_python-pam | train | py,py |
b1842a979d1fa46b04b39cc4a38fe3c826c733b5 | diff --git a/shared/container.go b/shared/container.go
index <HASH>..<HASH> 100644
--- a/shared/container.go
+++ b/shared/container.go
@@ -133,11 +133,10 @@ func IsDeviceID(value string) error {
return nil
}
-// IsRootDiskDevice returns true if the given device representation is
-// configured as root disk for a c... | shared/container: Updates IsRootDiskDevice to use same definition of rootfs as container_lxc | lxc_lxd | train | go |
d66bb00c5d2b42e04659452e8c969dc6fff02872 | diff --git a/spec/unit/property_spec.rb b/spec/unit/property_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/property_spec.rb
+++ b/spec/unit/property_spec.rb
@@ -141,17 +141,18 @@ describe Puppet::Property do
end
describe "when shadowing metaparameters" do
- before :each do
- @shadow_class = Class.... | Property Spec cleanup: last let method extraction.
This helps eliminate member variables in tests, making it easier to see where
state is or isn't shared between tests. | puppetlabs_puppet | train | rb |
23b97e3e7de9e2208ff0d09b50768d4dbffd6faf | diff --git a/src/main/java/com/github/underscore/U.java b/src/main/java/com/github/underscore/U.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/underscore/U.java
+++ b/src/main/java/com/github/underscore/U.java
@@ -3149,6 +3149,10 @@ public class U<T> {
return reference;
}
+ public st... | Add support for U.nonNull(object). | javadev_underscore-java | train | java,java |
938318219c11feb963ca93c49ef9426a9758ae69 | diff --git a/packages/openneuro-server/graphql/schema.js b/packages/openneuro-server/graphql/schema.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-server/graphql/schema.js
+++ b/packages/openneuro-server/graphql/schema.js
@@ -149,7 +149,7 @@ const typeDefs = `
# File tree
input FileTree {
name: ID! ... | update schema to account for client FileTree type | OpenNeuroOrg_openneuro | train | js |
fe6ae2065277035ec6685a89bb807eaa377858f9 | diff --git a/cpu/facts/facts.go b/cpu/facts/facts.go
index <HASH>..<HASH> 100644
--- a/cpu/facts/facts.go
+++ b/cpu/facts/facts.go
@@ -257,7 +257,8 @@ func (prof *Profiler) Get() (facts *Facts, err error) {
}
continue
}
- if v == 'b' { // bogomips
+ // also check 2nd name pos for o as some output also have... | add check of 2nd char in name for bogomips as some systems also have a "bugs" line | mohae_joefriday | train | go |
00a4720069f345d240b3b15866fde3c384794b5a | diff --git a/ipyrad/assemble/util.py b/ipyrad/assemble/util.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/util.py
+++ b/ipyrad/assemble/util.py
@@ -244,6 +244,10 @@ def merge_pairs(data, files_to_merge, merged_file, merge):
raise IPyradWarningExit(" Attempting to merge file that "\
... | Fixed a nasty bug in merge_pairs that resulted in constant reconcatenation to the merged outfile | dereneaton_ipyrad | train | py |
83dc36945c77c347ebab630dd4ee4ecd3d8f0da3 | diff --git a/gears/asset_attributes.py b/gears/asset_attributes.py
index <HASH>..<HASH> 100644
--- a/gears/asset_attributes.py
+++ b/gears/asset_attributes.py
@@ -19,8 +19,8 @@ class AssetAttributes(object):
@cached_property
def path_without_extensions(self):
- if self.extensions:
- return... | path_without_extensions removes only suffix now
Earlier it removed all extensions from asset path, so result for
'jquery' and 'jquery.min' was the same. | gears_gears | train | py,py |
54438e3ae5bb1f263f9d55c80dead906b7630834 | diff --git a/system/Commands/Utilities/Routes.php b/system/Commands/Utilities/Routes.php
index <HASH>..<HASH> 100644
--- a/system/Commands/Utilities/Routes.php
+++ b/system/Commands/Utilities/Routes.php
@@ -97,7 +97,7 @@ class Routes extends BaseCommand
$tbody[] = [
strtoup... | Feature: "spark routes" closure. Decoration. | codeigniter4_CodeIgniter4 | train | php,php |
0c067b17054acc6be7e464d704728635ef626d38 | diff --git a/chef/lib/chef/shell_out.rb b/chef/lib/chef/shell_out.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/shell_out.rb
+++ b/chef/lib/chef/shell_out.rb
@@ -288,6 +288,10 @@ class Chef
File.umask(umask) if umask
end
+ def set_cwd
+ Dir.chdir(cwd) if cwd
+ end
+
def initialize... | CHEF-<I>: chdir to :cwd arg before running a command | chef_chef | train | rb |
f2dac0bc86c6ddccef0dbf974847429471c5f283 | diff --git a/pyinotify.py b/pyinotify.py
index <HASH>..<HASH> 100755
--- a/pyinotify.py
+++ b/pyinotify.py
@@ -711,6 +711,12 @@ class _SysProcessEvent(_ProcessEvent):
# to provide as additional information to the IN_MOVED_TO event
# the original pathname of the moved file/directory.
... | Automatically watch a non watched tree moved to a watched directory
with flag auto_add activated (contributed by John Feuerstein
<EMAIL>). | seb-m_pyinotify | train | py |
fd01a788d84289d0858f0632d42f5fd2467ac146 | diff --git a/emoji/urls.py b/emoji/urls.py
index <HASH>..<HASH> 100644
--- a/emoji/urls.py
+++ b/emoji/urls.py
@@ -1,7 +1,7 @@
-from django.conf.urls import patterns, url
+from django.conf.urls import url
from .views import EmojiJSONListView
-urlpatterns = patterns('',
+urlpatterns = [
url(r'^all.json$', Emoj... | Start getting ready for <I> | gaqzi_django-emoji | train | py |
049b46e6092b351173eacd92dba921539f44e7ba | diff --git a/helpers/array.php b/helpers/array.php
index <HASH>..<HASH> 100644
--- a/helpers/array.php
+++ b/helpers/array.php
@@ -89,7 +89,7 @@ if (!function_exists('in_array_multi')) {
if (!function_exists('arrayExtractProperty')) {
function arrayExtractProperty(array $aInput, $sProperty)
{
- return... | Renamed arrayExtractProperty method | nails_common | train | php,php |
c83aa3b4a32eafd1281c7e473931e458f0006228 | diff --git a/modules/utils/DateTime.js b/modules/utils/DateTime.js
index <HASH>..<HASH> 100644
--- a/modules/utils/DateTime.js
+++ b/modules/utils/DateTime.js
@@ -568,14 +568,13 @@ DateTime.createFromTime = function(time, guessDate) {
}
}
- // PM: after 12 PM
- else if ( ns >= 43200 ) {
- // As... | DateTime: createFromTime guessDate
increase time ranges to guess next day | right-track_right-track-core | train | js |
6bfc2fb00cc5b09cb13b21987ee6c1beec484d86 | diff --git a/session/manager.go b/session/manager.go
index <HASH>..<HASH> 100644
--- a/session/manager.go
+++ b/session/manager.go
@@ -102,6 +102,11 @@ func (bw *bufferedResponseWriter) Flush() {
}
}
+func (bw *bufferedResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
+ hj := bw.ResponseWriter.(http.... | implement Hijack interface for bufferedResponseWriter | alexedwards_scs | train | go |
783bae64cfea77bf96047ca082026ac35f8f97e6 | diff --git a/mergexml.js b/mergexml.js
index <HASH>..<HASH> 100644
--- a/mergexml.js
+++ b/mergexml.js
@@ -4,7 +4,7 @@
*
* @package MergeXML
* @author Vallo Reima
- * @copyright (C)2014
+ * @copyright (C)2014-2016
*/
/** | Update mergexml.js | hareko_js-merge-xml | train | js |
4e94184cff6d92eb1732c216a9c609f86e4ea402 | diff --git a/lib/github/kv.rb b/lib/github/kv.rb
index <HASH>..<HASH> 100644
--- a/lib/github/kv.rb
+++ b/lib/github/kv.rb
@@ -136,7 +136,7 @@ module GitHub
validate_expires(expires) if expires
rows = kvs.map { |key, value|
- [key, value, GitHub::SQL::NOW, GitHub::SQL::NOW, expires || GitHub::SQL... | Use binary escaping for value
Since the `value` is a binary blob in the MySQL database, we also need to ensure we escape it as binary. This prevent potential query warnings (or errors if MySQL is configured that way) for when 4 byte UTF-8 characters get sent to a binary field but with string escaping. | github_github-ds | train | rb |
d81c64f68aa47581aa8207f858aec8af1bb805d9 | diff --git a/wallace/sources.py b/wallace/sources.py
index <HASH>..<HASH> 100644
--- a/wallace/sources.py
+++ b/wallace/sources.py
@@ -9,14 +9,14 @@ class Source(Node):
uuid = Column(String(32), ForeignKey("node.uuid"), primary_key=True)
- def create_information(self, what=None, to_whom=None):
+ def crea... | Fix bug that arose through grammar tweaking | berkeley-cocosci_Wallace | train | py |
0cfacb9b4b5edae224708ffec74b1e7cf5149869 | diff --git a/uportal-war/src/main/java/org/jasig/portal/security/provider/PersonImpl.java b/uportal-war/src/main/java/org/jasig/portal/security/provider/PersonImpl.java
index <HASH>..<HASH> 100644
--- a/uportal-war/src/main/java/org/jasig/portal/security/provider/PersonImpl.java
+++ b/uportal-war/src/main/java/org/jasi... | UP-<I>: Perform the guest user name comparison in a case-insensitive way; some LDAP setups (MS AD) have a 'Guest' user account that is making the first letter uppercase and therefore generating a bad result from this method | Jasig_uPortal | train | java |
5a56c39a735258f38e67a44414f7a80d032ad639 | diff --git a/syntax/filetests_test.go b/syntax/filetests_test.go
index <HASH>..<HASH> 100644
--- a/syntax/filetests_test.go
+++ b/syntax/filetests_test.go
@@ -1637,6 +1637,13 @@ var fileTests = []testCase{
},
},
{
+ Strs: []string{`${foo[@]}`},
+ bash: &ParamExp{
+ Param: lit("foo"),
+ Ind: &Index{Expr: ... | syntax: parse ${foo[@]} properly again
This is a regression from <I>d<I>, which introduced support for
${foo@bar}. '@' is now a token in this context, so make sure it's
handled separately like '*'. | mvdan_sh | train | go,go |
c3215063d5e811eb662ac1b07d5d03453b6b15ac | diff --git a/src/main/java/org/dasein/cloud/google/capabilities/GCEFirewallCapabilities.java b/src/main/java/org/dasein/cloud/google/capabilities/GCEFirewallCapabilities.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/google/capabilities/GCEFirewallCapabilities.java
+++ b/src/main/java/org/dasein/... | Not ready for this one until core updates...
Revert "Cope with new core method listSupportedProtocols"
This reverts commit <I>c<I>e<I>b<I>a<I>efbf<I>fa1cf<I>. | dasein-cloud_dasein-cloud-google | train | java |
21e546417fe48ac226a8cface0a6c111f6a3cfd7 | diff --git a/unleash/unleash.py b/unleash/unleash.py
index <HASH>..<HASH> 100644
--- a/unleash/unleash.py
+++ b/unleash/unleash.py
@@ -69,14 +69,6 @@ class Unleash(object):
def __init__(self, plugins=[]):
self.plugins = plugins
- def set_global_opts(self, root, debug=False, opts=None):
- self.... | Moved set_global_opts function. | mbr_unleash | train | py |
58d705853ae0d93fa0311208506b6db84c1b77f3 | diff --git a/java/src/main/java/com/mapd/parser/server/CalciteDirect.java b/java/src/main/java/com/mapd/parser/server/CalciteDirect.java
index <HASH>..<HASH> 100644
--- a/java/src/main/java/com/mapd/parser/server/CalciteDirect.java
+++ b/java/src/main/java/com/mapd/parser/server/CalciteDirect.java
@@ -127,6 +127,10 @@ ... | Set context class loader in CalciteDirect
Calcite needs it when running through JNI when serializing RexSubQuery nodes
because of Janino. | omnisci_mapd-core | train | java |
ddf502ddc65efac0d4753e93ca412e496cfffbb6 | diff --git a/lice/core.py b/lice/core.py
index <HASH>..<HASH> 100644
--- a/lice/core.py
+++ b/lice/core.py
@@ -66,6 +66,7 @@ LANGS = {
"php": "c",
"pl": "perl",
"py": "unix",
+ "ps": "powershell",
"rb": "ruby",
"scm": "lisp",
"sh": "unix",
@@ -84,6 +85,7 @@ LANG_CMT = {
"lua": [u'-... | Add PowerShell language (#<I>)
PowerShell is my day to day language and being able to automatically add the license to the header of every single file would be a god-send for me as it takes a lot of work. Please share the implementation with this pull request for all other users. Let's not restrict this to just the co... | licenses_lice | train | py |
a320ff91e0b354e0a9af76a095e97fd5fcd8cd77 | diff --git a/src/lib/api.js b/src/lib/api.js
index <HASH>..<HASH> 100644
--- a/src/lib/api.js
+++ b/src/lib/api.js
@@ -10,7 +10,7 @@ function api (opbeat, queuedCommands) {
if (queuedCommands) {
for (var i = 0; i < queuedCommands.length; i++) {
var cmd = queuedCommands[i]
- this.push(cmd)
+ thi... | Fix 'Cannot read property 'apply' of undefined' introduced in daaae<I> | opbeat_opbeat-react | train | js |
476be2493888996bdcfc00845e9d5fb6f7a37cc2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
var defaultBase = 1
-var defaultRatio = 'goldenSection'
+var defaultRatio = 1.618
var ratioNames = {
minorSecond: 1.067,
majorSecond: 1.125,
@@ -36,6 +36,9 @@ module.exports = function modularscale (option... | Patch guards against passing bad ratio string. | kristoferjoseph_modular-scale | train | js,js |
0e170d0670e17e6d7bfc8af5bc14da455c13e16f | diff --git a/lib/ib/project.rb b/lib/ib/project.rb
index <HASH>..<HASH> 100644
--- a/lib/ib/project.rb
+++ b/lib/ib/project.rb
@@ -103,7 +103,7 @@ class IB::Project
# Add all other resources, ignoring files in existing asset catalogs
Dir.glob(File.join(dir, "**/*.{#{RESOURCE_EXTENSIONS.join(",")}}"))
... | Fixes issue with subfolders in resources folder not being recognized in the resulting xcode project
Closes #<I> | rubymotion_ib | train | rb |
de4f79b2e583349aafa4604be054602bca342262 | diff --git a/MQ2/mq2.py b/MQ2/mq2.py
index <HASH>..<HASH> 100644
--- a/MQ2/mq2.py
+++ b/MQ2/mq2.py
@@ -234,7 +234,7 @@ def _append_count_to_matrix(qtl_matrixfile, lod_threshold):
while cnt < len(matrix):
row = list(matrix[cnt])
nr_qtl = 0
- for cel in row[4:]:
+ for cel in row[3:]:
... | Fix adding the QTL count at the end of the matrix file | PBR_MQ2 | train | py |
6792d6df2a28aac436eb9e2afb1fe07bd30a1831 | diff --git a/ryu/controller/ofp_handler.py b/ryu/controller/ofp_handler.py
index <HASH>..<HASH> 100644
--- a/ryu/controller/ofp_handler.py
+++ b/ryu/controller/ofp_handler.py
@@ -280,7 +280,10 @@ class OFPHandler(ryu.base.app_manager.RyuApp):
hex(msg.type), hex(msg.code), utils.binary_str(msg.data),
... | Log OFPErrorMsg.data as ascii when type is OFPET_HELLO_FAILED
OFPErrorMsg.data usually contains the offending OpenFlow message,
but is an ASCII text string if its type is OFPET_HELLO_FAILED. | osrg_ryu | train | py |
f18f89a6e319280b5773aff16a2fb071f8a4e487 | diff --git a/yabt/builders/proto.py b/yabt/builders/proto.py
index <HASH>..<HASH> 100644
--- a/yabt/builders/proto.py
+++ b/yabt/builders/proto.py
@@ -143,6 +143,8 @@ def proto_builder(build_context, target):
process_generated(src_base + '.pb.h', AT.gen_h)
if target.props.gen_go or target.props.ge... | Generate grpc go artifacts (#<I>) | resonai_ybt | train | py |
123faf4d81b04d10683d37726afdc20cc3c1200b | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -26,11 +26,13 @@ from jsonschema import (
def make_case(schema, data, valid):
if valid:
def test_case(self):
- validate(data, schema, cls=self.validator_class)
+ kwargs = getattr(self, "val... | OK this works. Non-ideal, but works. | Julian_jsonschema | train | py |
3984b809a7e70526dcf511653996a951ec2f828d | diff --git a/src/Menu/Provider/GroupMenuProvider.php b/src/Menu/Provider/GroupMenuProvider.php
index <HASH>..<HASH> 100644
--- a/src/Menu/Provider/GroupMenuProvider.php
+++ b/src/Menu/Provider/GroupMenuProvider.php
@@ -179,7 +179,7 @@ class GroupMenuProvider implements MenuProviderInterface
'admin' => ... | Prevent passing a null label to createItem
This method requires a string | sonata-project_SonataAdminBundle | train | php |
26d83dce8d4c44350726c1d10f858a6cc133a86f | diff --git a/src/Auth/TinyAuthorize.php b/src/Auth/TinyAuthorize.php
index <HASH>..<HASH> 100644
--- a/src/Auth/TinyAuthorize.php
+++ b/src/Auth/TinyAuthorize.php
@@ -63,6 +63,7 @@ class TinyAuthorize extends BaseAuthorize {
'cache' => AUTH_CACHE,
'cacheKey' => 'tiny_auth_acl',
'autoClearCache' => false, // us... | aclPath configuration to be possible to use acl.ini from different path | dereuromark_cakephp-tinyauth | train | php |
c11132c09ab1ed8d599d0dbde959d75249eb0e26 | diff --git a/tests/db_routers_unittest.py b/tests/db_routers_unittest.py
index <HASH>..<HASH> 100644
--- a/tests/db_routers_unittest.py
+++ b/tests/db_routers_unittest.py
@@ -113,7 +113,7 @@ class OQRouterTestCase(unittest.TestCase):
For each model in the 'uiapi' schema, test for proper db routing
for... | Added test to verify InputSet is routed as expected. | gem_oq-engine | train | py |
53fe630910374f3736aca9c5a5c9022f4d31df36 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
description = 'parser combinator.',
long_description = 'A univeral Python parser combinator library inspirted by Parsec library of Haskell.',
author = 'He Tao',
- author_email = 'sighingno... | Fix a error about the author_email in setup.py. | sighingnow_parsec.py | train | py |
ca32aa0dd70bd2771a8a3fa83c739dc85bdfc8bf | diff --git a/src/Serverfireteam/Blog/BlogServiceProvider.php b/src/Serverfireteam/Blog/BlogServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Serverfireteam/Blog/BlogServiceProvider.php
+++ b/src/Serverfireteam/Blog/BlogServiceProvider.php
@@ -15,7 +15,7 @@ class BlogServiceProvider extends ServiceProvider
... | Fixing include -> include_once | serverfireteam_blog | train | php |
c7c5266e90c9c851101543dd137a713290b5e597 | diff --git a/salt/utils/timed_subprocess.py b/salt/utils/timed_subprocess.py
index <HASH>..<HASH> 100644
--- a/salt/utils/timed_subprocess.py
+++ b/salt/utils/timed_subprocess.py
@@ -27,7 +27,7 @@ class TimedProc(object):
elif self.stdin is not None:
# Translate a newline submitted as '\n' on the ... | Encode stdin to subproc calls for Py3 compat
We need a bytes-like object for stdin for a subprocess in python3 | saltstack_salt | train | py |
8c88aaa9214f37fc401095530fd6f110a8c7cc5a | diff --git a/spec/poole_spec.rb b/spec/poole_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/poole_spec.rb
+++ b/spec/poole_spec.rb
@@ -10,11 +10,13 @@ module MrPoole
context 'no jekyll directory' do
before :all do
# make a directory to work in
+ @olddir = Dir.pwd()
@dir = Dir.mktmpd... | Fix to stupid bug in spec.
I wasn't changing out of the directory in the old context before I
removed it, so pwd was failing in the new context. | mmcclimon_mr_poole | train | rb |
5a16782e086cdbaddcf1ce2b83c703bbc1efa041 | diff --git a/html.py b/html.py
index <HASH>..<HASH> 100644
--- a/html.py
+++ b/html.py
@@ -447,7 +447,7 @@ ckeditor_available = LocalProxy(is_html_text_editor_installed)
def get_html_text_editor(name, id=None, content='', textual_content=None, width='300px', height='200px',
enabled=True, fi... | global: fixes for javascript and translations | inveniosoftware-attic_invenio-utils | train | py |
89a9ee549832c147e3fd08b86e1bf5c621661367 | diff --git a/fireplace/card.py b/fireplace/card.py
index <HASH>..<HASH> 100644
--- a/fireplace/card.py
+++ b/fireplace/card.py
@@ -33,7 +33,6 @@ class BaseCard(Entity):
has_deathrattle = boolean_property("has_deathrattle")
atk = int_property("atk")
max_health = int_property("max_health")
- cost = int_property("co... | Implement `cost_mod` script for card definitions | jleclanche_fireplace | train | py |
3737e7c95f61420db7ca2fbbdb4d1d198d604536 | diff --git a/spec/support/setup.rb b/spec/support/setup.rb
index <HASH>..<HASH> 100644
--- a/spec/support/setup.rb
+++ b/spec/support/setup.rb
@@ -1,5 +1,6 @@
RSpec.configure do |config|
config.before :suite do
`docker build --tag nibtest:latest .`
+ `cd spec/dummy && docker-compose build`
end
end | Build dummy docker images before spec run | technekes_nib | train | rb |
72468c33c35262cb31eb1e1eb48fecef0b966d18 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='appdaemontestframework',
- version='2.6.0',
+ version='2.6.1',
description='Clean, human-readable tests for Appdaemon',
long_description='See: http... | Release <I>: Add support for kwargs in 'turned_off' (by snjoetw) + Fix bug when turning on/off via service | FlorianKempenich_Appdaemon-Test-Framework | train | py |
e446b5a67596b046bb822879517c37aab3962618 | diff --git a/source/application/transforms/react/index.js b/source/application/transforms/react/index.js
index <HASH>..<HASH> 100644
--- a/source/application/transforms/react/index.js
+++ b/source/application/transforms/react/index.js
@@ -10,12 +10,16 @@ export default function createReactCodeFactory(application) {
... | Big speed improvement of dependencies
Only prepare and compile each dependency once per pattern. | patternplate-archive_patternplate-server | train | js |
48175329141e0bf191ee8699b2012f85f27fad9a | diff --git a/lib/agent.js b/lib/agent.js
index <HASH>..<HASH> 100644
--- a/lib/agent.js
+++ b/lib/agent.js
@@ -75,7 +75,7 @@ module.exports = function(uaString) {
}
// Patch ua.family with the normalised name
- ua.family = agentlist[ua.family.toLowerCase()] || ua.family;
+ ua.family = agentlist[ua.family.toLowerC... | UA family must always be lowercase | Financial-Times_polyfill-service | train | js |
431f26a3e861144e7fdd700ca65c36eeb073441c | diff --git a/mixins/observe.js b/mixins/observe.js
index <HASH>..<HASH> 100644
--- a/mixins/observe.js
+++ b/mixins/observe.js
@@ -36,6 +36,11 @@ function makeGetter(fnc, key) {
var value = fnc(el);
+ /* do not set value if we are extracting and no value has been set in DOM
+ * element
+ */
+ if(!v... | Do not set value on model if we are 'extracting' and no value is gotten from DOM. | thecodebureau_ridge | train | js |
5a19dc342921e75d45aea82f55d493b48e3dd7ea | diff --git a/tests/lax_scipy_test.py b/tests/lax_scipy_test.py
index <HASH>..<HASH> 100644
--- a/tests/lax_scipy_test.py
+++ b/tests/lax_scipy_test.py
@@ -137,8 +137,9 @@ class LaxBackedScipyTests(jtu.JaxTestCase):
if test_autodiff:
jtu.check_grads(lax_op, args, order=1,
- atol=jtu.if... | Adjust test tolerances for TPU. (#<I>)
Ideally this is temporary, as the tolerances are getting high. | tensorflow_probability | train | py |
43a802b48add4494636fc48955023c797b019b12 | diff --git a/Guard.php b/Guard.php
index <HASH>..<HASH> 100755
--- a/Guard.php
+++ b/Guard.php
@@ -17,6 +17,13 @@ class Guard {
protected $user;
/**
+ * Indicates if the user was authenticated via a recaller cookie.
+ *
+ * @var bool
+ */
+ protected $viaRemember = false;
+
+ /**
* The user provider implem... | Added new 'Auth::viaRemember method to determine if user was authed via 'remember me' cookie. | illuminate_auth | train | php |
fef8a09c916bc155722508d241a9c654a7b1eec5 | diff --git a/bibliopixel/animation/animation.py b/bibliopixel/animation/animation.py
index <HASH>..<HASH> 100644
--- a/bibliopixel/animation/animation.py
+++ b/bibliopixel/animation/animation.py
@@ -52,7 +52,7 @@ class Animation(object):
@color_list.setter
def color_list(self, cl):
- self.layout.colo... | Fix animation to use the layout's color_list property
* Otherwise we don't get the cool conversions from the
Layout.color_list setter. | ManiacalLabs_BiblioPixel | train | py |
e3e958030545b126550a8b9bcb60a1bd5345c580 | diff --git a/views/js/qtiCommonRenderer/renderers/ModalFeedback.js b/views/js/qtiCommonRenderer/renderers/ModalFeedback.js
index <HASH>..<HASH> 100755
--- a/views/js/qtiCommonRenderer/renderers/ModalFeedback.js
+++ b/views/js/qtiCommonRenderer/renderers/ModalFeedback.js
@@ -12,6 +12,7 @@ define([
qtiClass : 'm... | fixed modal min height issue on delivery | oat-sa_extension-tao-itemqti | train | js |
811cf34c954bad73a3f6c0f1cf4ef4c9df89175f | diff --git a/app/assets/javascripts/peoplefinder.js b/app/assets/javascripts/peoplefinder.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/peoplefinder.js
+++ b/app/assets/javascripts/peoplefinder.js
@@ -26,4 +26,4 @@ $(function() {
$(this).closest('.role-summary').hide();
$(this).closest('.membe... | Add trailing semicolon to js file | ministryofjustice_peoplefinder | train | js |
8b8851dc7c500dbb0aeb59634043ef483c62bc5c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='python_cowbull_game',
- version='2.0.1',
+ version='2.0.2',
description='Python cowbull game object',
url='https://github.com/dsandersAzure/pyth... | Refactor guesses_allowed; rename to guesses. | dsandersAzure_python_cowbull_game | train | py |
590401cba96c581c88c1acc0c9975a2aeb7d4599 | diff --git a/src/BaseRepositoryEloquent.php b/src/BaseRepositoryEloquent.php
index <HASH>..<HASH> 100644
--- a/src/BaseRepositoryEloquent.php
+++ b/src/BaseRepositoryEloquent.php
@@ -85,6 +85,22 @@ abstract class BaseRepositoryEloquent implements RepositoryInterface
{
$query = $this->query ?: $this->model... | Add feature of selective attributes in eagerloading | sedp-mis_base-repository | train | php |
ea211b57ece9b1b4899cdfed07f27ad97cb11b95 | diff --git a/languagetool-dev/src/main/java/org/languagetool/dev/diff/LightRuleMatchParser.java b/languagetool-dev/src/main/java/org/languagetool/dev/diff/LightRuleMatchParser.java
index <HASH>..<HASH> 100644
--- a/languagetool-dev/src/main/java/org/languagetool/dev/diff/LightRuleMatchParser.java
+++ b/languagetool-dev... | avoid collapsing consecutive spaces | languagetool-org_languagetool | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.