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 |
|---|---|---|---|---|---|
100be6eba7fa3af8f85ff06640c5384d3d76816e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -95,6 +95,7 @@ Series.prototype.execute = function(request,reply) {
var arr = this.arr,
self = this,
+ finalized = false,
reqErrObj;
async.series(arr.map(function(func) {
@@ -102,6 +103,10 @@ Series.prototype... | Updates on breaking series chain
- Add method .finalize() to break chain successfully in between | Pranay92_hapi-next | train | js |
24af6ab1078aac06be562beb6127a17af1bb54a3 | diff --git a/src/extensions/guild.js b/src/extensions/guild.js
index <HASH>..<HASH> 100644
--- a/src/extensions/guild.js
+++ b/src/extensions/guild.js
@@ -54,7 +54,9 @@ class GuildExtension {
isCommandEnabled(command) {
command = this.client.registry.resolveCommand(command);
if(command.guarded) return true;
- ... | Fixed Guild.isCommandEnabled | discordjs_Commando | train | js |
7ab4341c426d6d950a1c712ca16a35b5528fe041 | diff --git a/config/routes.rb b/config/routes.rb
index <HASH>..<HASH> 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -19,7 +19,9 @@ end
# Automatically mount the engine as an append
Rails.application.routes.append do
- mount EffectivePages::Engine => '/', :as => 'effective_pages'
+ unless Rails.applicati... | check if route is defined before defining it again (development loading issue) | code-and-effect_effective_pages | train | rb |
91f0b91d6a4421af22f79fa96400038940b60606 | diff --git a/lib/jekyll/filters/grouping_filters.rb b/lib/jekyll/filters/grouping_filters.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/filters/grouping_filters.rb
+++ b/lib/jekyll/filters/grouping_filters.rb
@@ -12,7 +12,7 @@ module Jekyll
def group_by(input, property)
if groupable?(input)
... | Rename for more idiomatic Ruby | jekyll_jekyll | train | rb |
a0ee95c99b2919a3ad62f334f41a69888bb01320 | diff --git a/lib/opal/target_scope.rb b/lib/opal/target_scope.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/target_scope.rb
+++ b/lib/opal/target_scope.rb
@@ -113,8 +113,8 @@ module Opal
##
# Vars to use inside each scope
def to_vars
- vars = @locals.map { |l| "#{l} = nil" }
- vars.push(*@temps... | Generate runtime vars before scope vars (fixes #<I>)
This ensures `nil` is available within the relevant scope, which local
variables assign to. | opal_opal | train | rb |
29441ca880bd4a06325d1b6e9616aa466bd05bd1 | diff --git a/cake/tests/cases/libs/all_libs.test.php b/cake/tests/cases/libs/all_libs.test.php
index <HASH>..<HASH> 100644
--- a/cake/tests/cases/libs/all_libs.test.php
+++ b/cake/tests/cases/libs/all_libs.test.php
@@ -49,6 +49,7 @@ class AllLibsTest extends PHPUnit_Framework_TestSuite {
$suite->addTestFile(CORE_TES... | Added ObjectCollection test to libs group | cakephp_cakephp | train | php |
c82e4fb133b9ec61c59b2baef6548808c94154c9 | diff --git a/input/5.date-time.js b/input/5.date-time.js
index <HASH>..<HASH> 100644
--- a/input/5.date-time.js
+++ b/input/5.date-time.js
@@ -6,8 +6,9 @@ var isDate = require('es5-ext/date/is-date')
, d = require('d/d')
, DOMInput = require('./_controls/input')
- , defineProperties = Object.definePro... | Make sure to convert step to day step
Issue got exposed in Chrome | medikoo_dbjs-dom | train | js |
b26cd03ed4f1bb5fce8ee42372be4bea6fbecaff | diff --git a/lib/fastlane/setup.rb b/lib/fastlane/setup.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/setup.rb
+++ b/lib/fastlane/setup.rb
@@ -37,7 +37,7 @@ module Fastlane
end
def files_to_copy
- ['Deliverfile', 'Snapfile', 'deliver', 'snapshot.js', 'SnapshotHelper.js', 'screenshots']
+ ['Del... | Added 'snapshot-iPad.js' to files to copy when setting up fastlane
Thanks powtac with <URL> | fastlane_fastlane | train | rb,rb |
19247a8f7f854c8a8eac5f332de65ee05c126e21 | diff --git a/lib/it.rb b/lib/it.rb
index <HASH>..<HASH> 100644
--- a/lib/it.rb
+++ b/lib/it.rb
@@ -59,10 +59,14 @@ module It
def run
if Commands.include? @command
if It.init? or Initializers.include? @command
- if send(@command, *[*@param, *@args].flatten)
- save
+ if !... | handle entry finding in a more general manner, although its still not optimal | cloudhead_koi | train | rb |
46e800f7c05b75b986b449ae8ac16c4ad3c0954e | diff --git a/src/Charcoal/Cache/ServiceProvider/CacheServiceProvider.php b/src/Charcoal/Cache/ServiceProvider/CacheServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Cache/ServiceProvider/CacheServiceProvider.php
+++ b/src/Charcoal/Cache/ServiceProvider/CacheServiceProvider.php
@@ -88,10 +88,13 @@ class... | Revise APC driver options
Changed:
- Construction of container entry "cache/drivers.apc" | locomotivemtl_charcoal-cache | train | php |
bdc4da3bf080af5f271c10e0fa966923264699b7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ It's very easy to install it, just type (as root on Linux):
try:
from setuptools import setup
params = {
- 'install_requires': [ 'pyasn1>=0.1.2', 'pycrypto>=2.3' ],
+ 'install_requires':... | pycrypto version dep bumped | etingof_pysnmp | train | py |
3050b7c8a819fcca9b790dde18476140a5d49f30 | diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -346,6 +346,10 @@ def create_jobs(job_inis, loglvl, kw):
the logging.
"""
dicts = []
+ fmt = '[%(asctime)s %(levelname)s] %(message)s'
+... | Better logging [skip CI] | gem_oq-engine | train | py |
d4fd97756c28dfaa34f3229f1724f49a2e874851 | diff --git a/config/projects/chef-fips.rb b/config/projects/chef-fips.rb
index <HASH>..<HASH> 100644
--- a/config/projects/chef-fips.rb
+++ b/config/projects/chef-fips.rb
@@ -16,7 +16,7 @@
#
# This is the chef client build with FIPS mode enabled.
-# It's a stub for now and produces identical results
+# It's a stub... | Use same package naming convention across Chef FIPS platforms
We only name the Chef Windows package `chef-client*` (as opposed to `chef*` like all other platforms) for legacy reasons. There is no reason
to create this same legacy issue out of the gate for the Chef FIPS
package. | chef_chef | train | rb |
89a4a1ae5e6e31d8a1393d1dd731d989ab45a75f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,9 +25,9 @@ setup(
'graphviz~=0.7',
],
extras_require={
- 'dev': ['flake8', 'pep8-naming', 'wheel', 'twine'],
- 'test': ['pytest>=4.6,!=3.10.0', 'pytest-cov'],
- 'docs': ['sphinx>=1.7... | upgrade docs extra for sphinx><I>, add tox as dev extra | xflr6_concepts | train | py |
7da9241fd7d1d6e9b6ce54a0557b5d861f6c8084 | diff --git a/caddy.go b/caddy.go
index <HASH>..<HASH> 100644
--- a/caddy.go
+++ b/caddy.go
@@ -675,7 +675,7 @@ func InstanceID() (uuid.UUID, error) {
if err != nil {
return uuid, err
}
- err = ioutil.WriteFile(uuidFilePath, []byte(uuid.String()), 0644)
+ err = ioutil.WriteFile(uuidFilePath, []byte(uuid.Stri... | Use <I> instead of <I> for UUID file
Are you happy, linter? | mholt_caddy | train | go |
70caa2712eec1c472b1ae4d3449b2b0757f8361d | diff --git a/src/com/opera/core/systems/OperaDriver.java b/src/com/opera/core/systems/OperaDriver.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/OperaDriver.java
+++ b/src/com/opera/core/systems/OperaDriver.java
@@ -70,13 +70,13 @@ import com.opera.core.systems.scope.services.IEcmaScriptDebugger;
im... | Adding stubs for desktop test service | operasoftware_operaprestodriver | train | java |
5ed5b2f118e3d3792e2c31bbb1665b05d1e56b22 | diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/kernel.py
+++ b/sos/plugins/kernel.py
@@ -23,6 +23,7 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'kernel'
profiles = ('system', 'hardware', 'kernel')
+ verify_pack... | [kernel] move kernel package verification to kernel plugin | sosreport_sos | train | py,py |
f76dad42ccf30ba360d8386a26dae82a304878e2 | diff --git a/lib/savon/options.rb b/lib/savon/options.rb
index <HASH>..<HASH> 100644
--- a/lib/savon/options.rb
+++ b/lib/savon/options.rb
@@ -153,7 +153,7 @@ module Savon
@options[:soap_header] = header
end
- # Sets whether elements should be :qualified or unqualified.
+ # Sets whether elements sho... | Update options.rb
Just update a typo error in the comments | savonrb_savon | train | rb |
c06b1f31b700f479842984ad974c807ea63761b8 | diff --git a/javalite-hornet-nest/src/main/java/org/javalite/hornet_nest/HornetNest.java b/javalite-hornet-nest/src/main/java/org/javalite/hornet_nest/HornetNest.java
index <HASH>..<HASH> 100644
--- a/javalite-hornet-nest/src/main/java/org/javalite/hornet_nest/HornetNest.java
+++ b/javalite-hornet-nest/src/main/java/or... | #<I> Tests failed after ActiveWeb upgrade from <I> to <I>-SNAPSHOT | javalite_activejdbc | train | java |
6933487be7f1d9979b04b448534ced68daa6d23e | diff --git a/src/Props/Container.php b/src/Props/Container.php
index <HASH>..<HASH> 100644
--- a/src/Props/Container.php
+++ b/src/Props/Container.php
@@ -155,7 +155,7 @@ class Container
* Helper to attach and return a factory instance
*
* @param string $name
- * @param string $class
+ * @para... | Allow resolvable as classname for setFactory() | mrclay_Props | train | php |
029d471d052c43d77875aed350732df8b3fcfdd7 | diff --git a/timepiece/tests/factories.py b/timepiece/tests/factories.py
index <HASH>..<HASH> 100644
--- a/timepiece/tests/factories.py
+++ b/timepiece/tests/factories.py
@@ -5,6 +5,8 @@ import factory
from factory.fuzzy import FuzzyDate, FuzzyInteger
import random
+import six
+
from django.contrib.auth import mod... | Update Python/Django: Use six.string_types for 2 & 3 compatibility | caktus_django-timepiece | train | py |
27c160ea0adad2771bee12c48a57208a1a3c4d9a | diff --git a/curdling/tool/__init__.py b/curdling/tool/__init__.py
index <HASH>..<HASH> 100644
--- a/curdling/tool/__init__.py
+++ b/curdling/tool/__init__.py
@@ -236,7 +236,8 @@ def main():
levels = [i for i in logging._levelToName.keys()
if not isinstance(i, int) and i != 'NOTSET']
parser.a... | tool: Another attempt to convert log level to uppercase properly | clarete_curdling | train | py |
e5cb2e8e0ecd18ffaada219ac661c14a011b58bd | diff --git a/tests/pathops_test.py b/tests/pathops_test.py
index <HASH>..<HASH> 100644
--- a/tests/pathops_test.py
+++ b/tests/pathops_test.py
@@ -149,7 +149,7 @@ class OpBuilderTest(object):
pen2.lineTo((5940, 2790))
pen2.closePath()
- builder = OpBuilder(fix_winding=False)
+ builder ... | pathops_test: set keep_starting_point=False
we'll add specific tests later | fonttools_skia-pathops | train | py |
9d4427b5e4789d09783aab6eca2c21becc34c6ff | diff --git a/base32_crockford.py b/base32_crockford.py
index <HASH>..<HASH> 100644
--- a/base32_crockford.py
+++ b/base32_crockford.py
@@ -46,8 +46,8 @@ normalize_symbols = string.maketrans('IiLlOo', '111100')
valid_symbols = re.compile('^[%s]+[%s]?$' % (symbols,
re.escape... | Calculate symbol string lengths for bases
This makes it more clear where these "magic numbers" come from. | jbittel_base32-crockford | train | py |
09dc1d2192c42e8c4e2d68e20e89bcb6713061f2 | diff --git a/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_event_log.py b/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_event_log.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster_tests/core_tests/storage_tests/test_event_log.py
+++ b/python_modules/dagster/da... | Skip event log watch tests on local mac runs
Summary: As title. Less sketchy than the change to the observer that previously required a revert.
Test Plan: BK, pytest on dagster_tests passes
Reviewers: alangenfeld
Reviewed By: alangenfeld
Differential Revision: <URL> | dagster-io_dagster | train | py |
d02c90d55e85a02b0f00ac0ad51fd5c78ca965c5 | diff --git a/src/server.js b/src/server.js
index <HASH>..<HASH> 100644
--- a/src/server.js
+++ b/src/server.js
@@ -92,19 +92,19 @@ module.exports = class Servey extends Events {
async ender (context) {
const self = this;
- if (!context.head) {
+ if ('head' in context.head === false) {
... | only auto write body,code,message, and head if undefined | vokeio_servey | train | js |
1cff05ad04044d66cb1cae9fea349ab81dc52106 | diff --git a/JSAT/test/jsat/clustering/KMeansTest.java b/JSAT/test/jsat/clustering/KMeansTest.java
index <HASH>..<HASH> 100644
--- a/JSAT/test/jsat/clustering/KMeansTest.java
+++ b/JSAT/test/jsat/clustering/KMeansTest.java
@@ -18,6 +18,7 @@ import jsat.distributions.Uniform;
import jsat.linear.Vec;
import jsat.linear... | Fixed to use threads based on how many are available
git-svn-id: <URL> | EdwardRaff_JSAT | train | java |
4816c48938057b11a5e5637cb8cb52f1afe41ffd | diff --git a/src/CloudApi/Client.php b/src/CloudApi/Client.php
index <HASH>..<HASH> 100644
--- a/src/CloudApi/Client.php
+++ b/src/CloudApi/Client.php
@@ -248,7 +248,7 @@ class Client implements ClientInterface
public function databaseDelete($applicationUuid, $name)
{
return new OperationResponse(
- ... | ACQC-<I>: Fix for delete database. | typhonius_acquia-php-sdk-v2 | train | php |
99c00e42b6b3fe0989a11d5df77e47078602508b | diff --git a/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php b/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php
index <HASH>..<HASH> 100644
--- a/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php
+++ b/lib/classes/Swift/ByteStream/AbstractFilterableInputStream.php
@@ -132,7 +13... | Remove filter when unbinding
Solves Bug #<I> #<I> and possibly others | swiftmailer_swiftmailer | train | php |
ffc9df2581c9349df5f4a5b138ca2d540a190d7f | diff --git a/stockcrawler/tests/test_loaders.py b/stockcrawler/tests/test_loaders.py
index <HASH>..<HASH> 100644
--- a/stockcrawler/tests/test_loaders.py
+++ b/stockcrawler/tests/test_loaders.py
@@ -942,6 +942,24 @@ class ReportItemLoaderTest(unittest.TestCase):
'cash': 205410000.0
})
+ def t... | Test SIAL <I> annual report. | eliangcs_pystock-crawler | train | py |
044f8e4ef4f2f77b0c3bac8f5690bfb976e0fa51 | diff --git a/atlassian/bamboo.py b/atlassian/bamboo.py
index <HASH>..<HASH> 100755
--- a/atlassian/bamboo.py
+++ b/atlassian/bamboo.py
@@ -60,6 +60,15 @@ class Bamboo(AtlassianRestAPI):
params['start-index'] = start_index
return self.get(self.resource_url(resource), flags=flags, params=params)
+ ... | BAMBOO: Add method for getting all custom expiry settings | atlassian-api_atlassian-python-api | train | py |
1bdd06bfdd7da419bf31e3f52cc63e9423d38149 | diff --git a/tests/instrumentation-framework/src/test/java/org/hawkular/apm/tests/dockerized/InstrumentationTest.java b/tests/instrumentation-framework/src/test/java/org/hawkular/apm/tests/dockerized/InstrumentationTest.java
index <HASH>..<HASH> 100644
--- a/tests/instrumentation-framework/src/test/java/org/hawkular/ap... | Ignore instrumentation framework test for now | hawkular_hawkular-apm | train | java |
17bf9d2107a7d8f264283bb96de130ab442278d7 | diff --git a/test/core/test_squeeze_history.rb b/test/core/test_squeeze_history.rb
index <HASH>..<HASH> 100644
--- a/test/core/test_squeeze_history.rb
+++ b/test/core/test_squeeze_history.rb
@@ -41,7 +41,7 @@ describe Rib::SqueezeHistory do
end
after do
- FileUtils.rm_f(@history)
+ FileUtils.rm_f(... | only try to remove it if history is enabled.
fix test failure on rbx | godfat_rib | train | rb |
910198d117bdac45276c8aaf66235891d169789a | diff --git a/etcdctl/command/util.go b/etcdctl/command/util.go
index <HASH>..<HASH> 100644
--- a/etcdctl/command/util.go
+++ b/etcdctl/command/util.go
@@ -91,10 +91,26 @@ func getEndpoints(c *cli.Context) ([]string, error) {
}
func getTransport(c *cli.Context) (*http.Transport, error) {
+ cafile := c.GlobalString("... | etcdctl: add environment support to certs args | etcd-io_etcd | train | go |
33b3308df642b81ab56f6618a224c4c37decbe40 | diff --git a/lib/workers/repository/process/lookup/index.js b/lib/workers/repository/process/lookup/index.js
index <HASH>..<HASH> 100644
--- a/lib/workers/repository/process/lookup/index.js
+++ b/lib/workers/repository/process/lookup/index.js
@@ -64,7 +64,10 @@ async function lookupUpdates(config) {
// istanbul ig... | refactor: log purl if lookup fails | renovatebot_renovate | train | js |
c521739925c7fa3e5dfa4825d3357641e9a71cd4 | diff --git a/Kwf/Setup.php b/Kwf/Setup.php
index <HASH>..<HASH> 100644
--- a/Kwf/Setup.php
+++ b/Kwf/Setup.php
@@ -225,10 +225,13 @@ class Kwf_Setup
throw new Kwf_Exception("getPageByUrl reported this isn't an exact match, but the urls are equal. wtf.");
}
$url = $... | Use Kwf_Component_PluginRoot_Interface_PostRender::processUrl when redirecting resolved but changed url
This makes sure /d/<I> prefix is kept when eg. url of a news changes | koala-framework_koala-framework | train | php |
338b6fbe37078694f5714d6d42dd998c05712096 | diff --git a/cli/setup.py b/cli/setup.py
index <HASH>..<HASH> 100644
--- a/cli/setup.py
+++ b/cli/setup.py
@@ -34,6 +34,7 @@ setup(name='sawtooth-cli',
'sawtooth-signing',
'toml',
'PyYAML',
+ 'requests'
],
entry_points={
'console_scripts': [ | Add requests dependency to sawtooth-cli package
Without this dependency, the resulting deb package fails to pull
in the requests package and will fail on the requests import. | hyperledger_sawtooth-core | train | py |
2e9d1d85037e95389b3b92aafb1b97bd0f9aba00 | diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index <HASH>..<HASH> 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -1425,6 +1425,10 @@ $.extend(DataTable.prototype, UIControl.prototype, {
return;
... | ensure footer is always shown in dialog | matomo-org_matomo | train | js |
c1be9b31a25b65267cfe9543784c159bc20fc692 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -4507,7 +4507,7 @@ function helpbutton ($page, $title='', $module='moodle', $image=true, $linktext=
global $CFG, $course;
// fix for MDL-7734
- if ($course->lang) {
+ if (!empty($cours... | MDL-<I> fixed warning when $course not defined when printing help button; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
c8542f75f704d4b99b315c98461df6b99cf1eca6 | diff --git a/src/Mover.php b/src/Mover.php
index <HASH>..<HASH> 100644
--- a/src/Mover.php
+++ b/src/Mover.php
@@ -51,7 +51,7 @@ class Mover
$namespacePath = $package->config->name;
foreach ($finder as $file) {
- if ($autoloader instanceof NamespaceAutoloader::clas... | Instanceof checks need to go against class object instead of string | coenjacobs_mozart | train | php |
6eaa51f3c035cda79183837b9dc0d4bd6fd834ac | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -4,4 +4,4 @@
package instana
// Version is the version of Instana sensor
-const Version = "1.27.3"
+const Version = "1.27.4" | Bump go-sensor version to <I> | instana_go-sensor | train | go |
0164ee729def0a253d6dcb594b5ee2a52fef4748 | diff --git a/vcs/nodes.py b/vcs/nodes.py
index <HASH>..<HASH> 100644
--- a/vcs/nodes.py
+++ b/vcs/nodes.py
@@ -298,13 +298,7 @@ class FileNode(Node):
"""
Returns True if file has binary content.
"""
- if isinstance(self.lexer, lexers.TextLexer):
- # textlexer is default lexe... | Reimplemented is_binary method of FileNode - it is now much simpler; fixes #<I> | codeinn_vcs | train | py |
0a1eb64da0634fc3afd8a8e09bcacf751c51986c | diff --git a/panoramix/config.py b/panoramix/config.py
index <HASH>..<HASH> 100644
--- a/panoramix/config.py
+++ b/panoramix/config.py
@@ -19,7 +19,7 @@ ROW_LIMIT = 50000
WEBSERVER_THREADS = 8
PANORAMIX_WEBSERVER_PORT = 8088
-PANORAMIX_WEBSERVER_TIMEOUT = 30
+PANORAMIX_WEBSERVER_TIMEOUT = 60
CUSTOM_SECURITY_MANA... | Bumping timeout to <I> | apache_incubator-superset | train | py |
b3fbbc6ec444a1cc7cc5def5e2c4acf5329e1a37 | diff --git a/src/extensions.js b/src/extensions.js
index <HASH>..<HASH> 100644
--- a/src/extensions.js
+++ b/src/extensions.js
@@ -270,7 +270,7 @@ Crafty.extend({
}
});
Crafty.addEvent(this, window, "focus", function() {
- if (Crafty._paused && !Crafty.dontPauseOnBlur) {
+ if (Crafty._stopped && !Cra... | Only changed it in crafty.js | craftyjs_Crafty | train | js |
c6f045eacbbcd4b13df8855e09ae9ed2b400b7db | diff --git a/src/main/java/com/github/sebhoss/doxia/TextileParser.java b/src/main/java/com/github/sebhoss/doxia/TextileParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/sebhoss/doxia/TextileParser.java
+++ b/src/main/java/com/github/sebhoss/doxia/TextileParser.java
@@ -48,19 +48,19 @@ public class ... | Auto close reader so we don't have to | sebhoss_doxia-module-wikitext | train | java |
708149c5944330c35aca36ac1723572f3d476250 | diff --git a/registry.py b/registry.py
index <HASH>..<HASH> 100644
--- a/registry.py
+++ b/registry.py
@@ -53,9 +53,15 @@ class Registry:
elif request_type == 'resolve_publication':
self._resolve_publication(packet, registry_protocol)
- def handle_ping_timeout(self, node):
- # TODO : d... | Removing a service from registry if pong timed out | kashifrazzaqui_vyked | train | py |
c5a8dc003c67ebfa5617297de547bae69ccbd4c7 | diff --git a/encrypted_fields/__init__.py b/encrypted_fields/__init__.py
index <HASH>..<HASH> 100644
--- a/encrypted_fields/__init__.py
+++ b/encrypted_fields/__init__.py
@@ -1,3 +1,3 @@
-__version__ = '0.1.333'
+__version__ = '0.1.3'
from .fields import * | fix the version number - that's what I get for using vim | defrex_django-encrypted-fields | train | py |
9a77af6cde50a70bf8e351c3e314ed4d505e6d1b | diff --git a/test/jade.test.js b/test/jade.test.js
index <HASH>..<HASH> 100644
--- a/test/jade.test.js
+++ b/test/jade.test.js
@@ -272,6 +272,10 @@ module.exports = {
err.message);
},
+ 'test html 5 mode': function(assert){
+ assert.equal('<!DOCTYPE html>\n<input type="checked" checked... | Added a test for html 5 mode | pugjs_then-pug | train | js |
3b1b1fd4555dd41d427a99d7a110aebb398b05a3 | diff --git a/src/ChipInput.js b/src/ChipInput.js
index <HASH>..<HASH> 100644
--- a/src/ChipInput.js
+++ b/src/ChipInput.js
@@ -292,9 +292,9 @@ class ChipInput extends React.Component {
}
handleKeyUp = (event) => {
- if (this.props.newChipKeyCodes.indexOf(event.keyCode) < 0 && this.state.keyPressed) {
+ if... | Don't clear the input field when pressing non-character keys.
Fixes #<I> | TeamWertarbyte_material-ui-chip-input | train | js |
9309ebae91ca580d54a7d3d8d2b9db7df5e0d72b | diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_excel.py
+++ b/pandas/io/tests/test_excel.py
@@ -449,6 +449,8 @@ class ReadingTestsBase(SharedItems):
# GH 12292 : error when read one empty column from excel file
def test_read_on... | TST: fix excel tests when openpyxl is not installed
Some tests fail when you don't have openpyxl installed, so explicitly
skipping those (they need it for certain exts because they write a
frame in the test) | pandas-dev_pandas | train | py |
79048d7b5b1f09e764b3c47b1133c0ac4db778e1 | diff --git a/packages/cozy-konnector-libs/src/libs/request/request.spec.js b/packages/cozy-konnector-libs/src/libs/request/request.spec.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-konnector-libs/src/libs/request/request.spec.js
+++ b/packages/cozy-konnector-libs/src/libs/request/request.spec.js
@@ -128,7 +128,7 ... | fix: Disable a self-signed cert test since test site have an error | konnectors_libs | train | js |
98aa5923faa25e83ccad8ceb10e2b8118b5d4cdb | diff --git a/src/main/java/com/buschmais/jqassistant/scm/maven/AbstractModuleMojo.java b/src/main/java/com/buschmais/jqassistant/scm/maven/AbstractModuleMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/scm/maven/AbstractModuleMojo.java
+++ b/src/main/java/com/buschmais/jqassistant/scm... | fixed Maven metaddata generation issue | buschmais_jqa-maven-plugin | train | java |
327a71c94d6074d89f459805dcbcccfd80afb8e1 | diff --git a/hamster/overview.py b/hamster/overview.py
index <HASH>..<HASH> 100644
--- a/hamster/overview.py
+++ b/hamster/overview.py
@@ -16,6 +16,9 @@ import datetime as dt
GLADE_FILE = "overview.glade"
def format_duration(duration):
+ if duration == None:
+ return None
+
hours = duration / 60
... | don't show duration for tasks without end_time
svn path=/trunk/; revision=<I> | projecthamster_hamster | train | py |
92fc2db4cefa7e0ed4e225ddd8ff5d46ada39b2b | diff --git a/stream.go b/stream.go
index <HASH>..<HASH> 100644
--- a/stream.go
+++ b/stream.go
@@ -24,6 +24,8 @@ func (gitter *Gitter) Stream(roomID string) *Stream {
func (gitter *Gitter) Listen(stream *Stream) {
+ defer stream.destroy()
+
var reader *bufio.Reader
var gitterMessage Message
@@ -43,8 +45,9 @@... | fix: close the channel on closed stream | sromku_go-gitter | train | go |
86f5f4d9b512be94536ae6743f8000dfdd45c52a | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100755
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -72,7 +72,7 @@ module.exports = function (grunt) {
dev: {
options: {
baseUrl: 'src',
- optimize: 'uglify2',
+ optimize: '... | Remove uglify from dev | gunins_stonewall | train | js |
a100167b47c43f535a748e4ca2cf669b1edc609b | diff --git a/lib/yao/resources/hypervisor.rb b/lib/yao/resources/hypervisor.rb
index <HASH>..<HASH> 100644
--- a/lib/yao/resources/hypervisor.rb
+++ b/lib/yao/resources/hypervisor.rb
@@ -9,6 +9,10 @@ module Yao::Resources
JSON.parse self["cpu_info"]
end
+ def enabled?
+ self['status'] == 'enabled'... | get hypervisor's status with boolean value | yaocloud_yao | train | rb |
12bd61cf35faf7c46fcf6ae85ba93f3f264d54c3 | diff --git a/tasks/release-prepare.js b/tasks/release-prepare.js
index <HASH>..<HASH> 100644
--- a/tasks/release-prepare.js
+++ b/tasks/release-prepare.js
@@ -52,8 +52,6 @@ gulp.task('release-update-package-versions', (done) => {
gulp.task('release-commit', () =>
execPromise(
`git add package.json \
- ... | we don't change these files for now | pivotal-cf_pivotal-ui | train | js |
a3ca4dc64b1827041ca557a9426abdeca476ef02 | diff --git a/template/app/view/doctests/Index.js b/template/app/view/doctests/Index.js
index <HASH>..<HASH> 100644
--- a/template/app/view/doctests/Index.js
+++ b/template/app/view/doctests/Index.js
@@ -151,11 +151,15 @@ Ext.define('Docs.view.doctests.Index', {
var options = record.get('options');
opt... | Override alert() during test runs to avoid popups. | senchalabs_jsduck | train | js |
b3697c0533de337443ab8a3098a26c53ec6a989b | diff --git a/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java b/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
+++ b/liquibase-core/src/main/java/liquibase/integra... | Default Pro option for formatted diff to text | liquibase_liquibase | train | java |
629b861bf47a1c7564e789b688948c0b08fea318 | diff --git a/lib/right_api_client.rb b/lib/right_api_client.rb
index <HASH>..<HASH> 100644
--- a/lib/right_api_client.rb
+++ b/lib/right_api_client.rb
@@ -60,7 +60,11 @@ class RightApiClient
end
end
end
-
+
+ def to_s
+ "#<RightApiClient>"
+ end
+
# Log HTTP calls to file (file can be STDOU... | redefine to_s to avoid showing username and password in irb. | rightscale_right_api_client | train | rb |
8c9a163c7cb0b172ee3f21ea765d1a5cd1db8cf8 | diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -87,7 +87,7 @@ class TestPycaMain(unittest.TestCase):
sys.argv = ['pyca', 'run']
try:
__main__.main()
- except:
+ except Exception:
... | Flake8 fix
New versions of Flake8 complain about bare exceptions… | opencast_pyCA | train | py |
94852c51c5c316935aa14037913bf0cee8d4aad4 | diff --git a/wallet.js b/wallet.js
index <HASH>..<HASH> 100644
--- a/wallet.js
+++ b/wallet.js
@@ -697,7 +697,7 @@ function readBalance(wallet, handleBalance){
}
for (var asset in assocBalances){
var objBalance = assocBalances[asset];
- if (!objBalance.metadata_unit)
+ if (!objBalance.metadata_unit && ass... | exclude bytes and blackbytes from metadata request | byteball_ocore | train | js |
8f0d05a4652e98eeb45b54165de7c55220f16887 | diff --git a/src/babel/babel-plugin.js b/src/babel/babel-plugin.js
index <HASH>..<HASH> 100644
--- a/src/babel/babel-plugin.js
+++ b/src/babel/babel-plugin.js
@@ -559,20 +559,18 @@ const normalizeOptions = options => {
}
function createMetadataVisitor(plugin, exportMetadata) {
const {join, relative} = require('pat... | keep default Program block when exportMetadata is used | zerobias_effector | train | js |
29a619c76ede8563d71c10aa0783093fb79122ac | diff --git a/asammdf/mdf_v4.py b/asammdf/mdf_v4.py
index <HASH>..<HASH> 100644
--- a/asammdf/mdf_v4.py
+++ b/asammdf/mdf_v4.py
@@ -943,7 +943,7 @@ class MDF4(object):
if blk_id == b'##CN':
index = ch_cntr - 1
grp['channel_dependencies'].append(None)
- ... | fix reading of mdf 4 nested structure composition | danielhrisca_asammdf | train | py |
cc81f17c6c06a286b6e8b05ff83190f8c044dc49 | diff --git a/pyoko/node.py b/pyoko/node.py
index <HASH>..<HASH> 100644
--- a/pyoko/node.py
+++ b/pyoko/node.py
@@ -95,7 +95,7 @@ class Node(object):
matches = list(set(difflib.get_close_matches(key, self._prop_list, 4, 0.5)))
error_msg = "Unexpected assignment, do you mistyped a field name \"%... | fixed type mismatch error on setting keys for links obj.some_link_name_id = ''
changed colored quotes with plain ones for attribute setting error message. | zetaops_pyoko | train | py |
90f68dfa7dc84892d157e6bd6e6f824aa814e3e0 | diff --git a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java b/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java
index <HASH>..<HASH> 100644
--- a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java
+++ b/presto-tests/src/main/java/com/... | Use assertEquals instead of assertTrue | prestodb_presto | train | java |
c3acaad63bb1f8f1ad12a5088dcdb69479613214 | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php b/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php
+++ b/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php
@@ -494,7 +494,7 @@ class PackageMana... | BUGFIX: Fix missing refactoring after <I>b<I>a<I>c<I>cd<I>c0acebcde<I>c<I>d6a<I>b | neos_flow-development-collection | train | php |
148251381da9105eb6706e7296f9f05492411263 | diff --git a/app/controllers/activation_keys_controller.rb b/app/controllers/activation_keys_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/activation_keys_controller.rb
+++ b/app/controllers/activation_keys_controller.rb
@@ -111,11 +111,10 @@ class ActivationKeysController < ApplicationController
... | Activation Keys - UI associate user creating the key with the key
In order to support system registration using an activation key
a user is needed internally by Katello; however, the user is not
provided as part of the registration API. In order to address this,
the user that created the key will be used. | Katello_katello | train | rb |
af7265096f8dafd4054126a24bbb1eac3fa6b017 | diff --git a/src/compatibility.js b/src/compatibility.js
index <HASH>..<HASH> 100644
--- a/src/compatibility.js
+++ b/src/compatibility.js
@@ -313,10 +313,10 @@ function _gpfIsISO8601String (value) {
len = matchResult.length - 1; // 0 is the recognized string
for (idx = 0; idx < len; ++idx) {
... | CScript not behaving the same way (empty string instead of undefined) | ArnaudBuchholz_gpf-js | train | js |
8c7b7a1afe39f561727bd0eaa20b2cec101e5e6e | diff --git a/src/Controller/Controller.php b/src/Controller/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Controller.php
+++ b/src/Controller/Controller.php
@@ -498,7 +498,7 @@ class Controller implements EventListenerInterface, EventDispatcherInterface
}
/**
- * Disbale automatic acti... | Fixed "Disbale" is a misspelling of "Disable" | cakephp_cakephp | train | php |
b50dbfb1d0668b0e449c622a2117b79239e2aea8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ setup(
':python_version <= "3.6"': ["dataclasses"],
"docs": ["Sphinx==2.2.0", "sphinx-rtd-theme==0.4.3", "docutils<0.18"],
"test": [
- "psycopg2==2.8.4",
+ "psyco... | Allow wider range of pyscopg2 versions | SectorLabs_django-postgres-extra | train | py |
5f94ec041c3f6e91510c82f7730a24b25f7dc8eb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -95,7 +95,7 @@ def setup_package():
include_dirs = [
get_python_inc(plat_specific=True),
- os.path.join(root, 'include')]
+ ]
if (ccompiler.new_compiler().compiler_type == '... | Remove redundant include in setup.py | explosion_preshed | train | py |
c95a4f1c7345b950ba9c3b7332c9b399776581e6 | diff --git a/src/Controller/DayController.php b/src/Controller/DayController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/DayController.php
+++ b/src/Controller/DayController.php
@@ -83,7 +83,6 @@ class DayController extends ControllerBase {
$games_entity = $games['entities'];
$bets = Bet::getUserBets... | refactoring - clean day controller | mespronos_mespronos | train | php |
1d2ff96c5900c6bbf572bb6c95127992f8d77a2e | diff --git a/Carew/Command/Serve.php b/Carew/Command/Serve.php
index <HASH>..<HASH> 100644
--- a/Carew/Command/Serve.php
+++ b/Carew/Command/Serve.php
@@ -55,7 +55,7 @@ EOF
$builder = new ProcessBuilder(array(PHP_BINARY, '-S', $input->getArgument('address')));
$builder->setWorkingDirectory($input->get... | Throw an exception if the serve command fails | carew_carew | train | php |
bf430f8e0b30ed89c278df68414a5ca922548e76 | diff --git a/bika/lims/content/abstractanalysis.py b/bika/lims/content/abstractanalysis.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/abstractanalysis.py
+++ b/bika/lims/content/abstractanalysis.py
@@ -110,18 +110,6 @@ DetectionLimitOperand = StringField(
'DetectionLimitOperand'
)
-# This is used to ca... | Remove Duration and Earliness fields from the Schema
There are no longer required, functions have been added | senaite_senaite.core | train | py |
58a05fa27347e4ba7a150989902f58e5a4373fda | diff --git a/solr.go b/solr.go
index <HASH>..<HASH> 100644
--- a/solr.go
+++ b/solr.go
@@ -32,10 +32,8 @@ type Collection struct {
}
type SolrResult struct {
- // status quick access to status
- status int
- // results parsed documents, basically response object
- results *Collection
+ status int ... | Fix, put comment in same line as declaration | vanng822_go-solr | train | go |
953783d4a60c2a75274988a98e2f577dbfba78f0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,6 +5,7 @@ from distutils.core import setup
setup(name='django-messagegroups',
version='0.3.0',
description='Render grouped messages with the Django messaging framework',
+ long_description=open('README.r... | Added README to setup.py long_description | dbrgn_django-messagegroups | train | py |
c290174e5d0bbfefa365d6dd1babda0930abd0d7 | diff --git a/bigquery/src/test/java/com/google/cloud/hadoop/io/bigquery/mapred/BigQueryMapredRecordWriterTest.java b/bigquery/src/test/java/com/google/cloud/hadoop/io/bigquery/mapred/BigQueryMapredRecordWriterTest.java
index <HASH>..<HASH> 100644
--- a/bigquery/src/test/java/com/google/cloud/hadoop/io/bigquery/mapred/B... | Fix compatibility with Mockito 1 | GoogleCloudPlatform_bigdata-interop | train | java |
49fc9644cf796d5ff97489dfa8036eaf0c89ad11 | diff --git a/commitizen/commands/check.py b/commitizen/commands/check.py
index <HASH>..<HASH> 100644
--- a/commitizen/commands/check.py
+++ b/commitizen/commands/check.py
@@ -32,7 +32,12 @@ class Check:
def _valid_command_argument(self):
if bool(self.commit_msg_file) is bool(self.rev_range):
- ... | fix(commands/check): add help text for check command without argument
one argument is needed for check command
however, argparse doesn't provide functionality to check such case
thus, it's not possible to call `cz check -h` again when argument is not provided | Woile_commitizen | train | py |
5620f5741331f060d3710305ffb066d865a54c0e | diff --git a/src/tools/agepyramid/agepyramid-component.js b/src/tools/agepyramid/agepyramid-component.js
index <HASH>..<HASH> 100644
--- a/src/tools/agepyramid/agepyramid-component.js
+++ b/src/tools/agepyramid/agepyramid-component.js
@@ -287,7 +287,8 @@ var AgePyramid = Component.extend({
utils.forEach(_thi... | Agepyramid: allow missing stackdata: interpret as 0 | vizabi_vizabi | train | js |
5dc5ce699347ffa2a4088bd12005e684fd2abf73 | diff --git a/packages/bullet/src/Bullet.js b/packages/bullet/src/Bullet.js
index <HASH>..<HASH> 100644
--- a/packages/bullet/src/Bullet.js
+++ b/packages/bullet/src/Bullet.js
@@ -75,7 +75,9 @@ export class Bullet extends Component {
const max = Math.max(...all)
- const scale = scaleLinear().... | feat(bullet): support ranges that support < 0 | plouc_nivo | train | js |
73538837e03725d89dbcddc8bf545ef4e8ad7a7b | diff --git a/addon/-private/properties/collection.js b/addon/-private/properties/collection.js
index <HASH>..<HASH> 100644
--- a/addon/-private/properties/collection.js
+++ b/addon/-private/properties/collection.js
@@ -4,7 +4,7 @@ import { create } from '../create';
import { count } from './count';
import Ceibo from ... | update collection.js
Adding 'forEach' to arrayDelegateMethods | san650_ember-cli-page-object | train | js |
28a4d5a49bfcae2d4822c1b25ff73ab2bb1ec79a | diff --git a/src/define.js b/src/define.js
index <HASH>..<HASH> 100644
--- a/src/define.js
+++ b/src/define.js
@@ -54,7 +54,7 @@ const transform = {
boolean: { from: Boolean, to: String },
array: {
from: val =>
- Array.isArray(val) ? val : (val && String(val).split(" ")) || [],
+ Array.isArray(val)... | fix(define): add strict mapping for array of strings | hybridsjs_hybrids | train | js |
2e36241dbde9c942267d0009394b16598068a0bd | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -355,7 +355,7 @@ module Rfd
end
def find(str)
- index = @items.index {|i| i.basename.start_with? str}
+ return unless (index = @items.index {|i| i.basename.start_with? str})
page = index / ... | Do nothing if find did not match | amatsuda_rfd | train | rb |
a1ba10899cb414ca6323fafd146001079754ba24 | diff --git a/tests/test_pwm.py b/tests/test_pwm.py
index <HASH>..<HASH> 100644
--- a/tests/test_pwm.py
+++ b/tests/test_pwm.py
@@ -134,6 +134,10 @@ def test_interactive():
pwm.polarity = "normal"
pwm.enabled = True
+ # Check tostring
+ print("PWM description: {}".format(str(pwm)))
+ assert raw_inpu... | tests/pwm: add tostring check to interactive test | vsergeev_python-periphery | train | py |
df7ac7d6e655041f3f5692ccf31bba12f7e61df7 | diff --git a/lib/hermitage/view_helpers.rb b/lib/hermitage/view_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/hermitage/view_helpers.rb
+++ b/lib/hermitage/view_helpers.rb
@@ -17,8 +17,6 @@ module Hermitage
# Config names are formed by the class name of the first element in array.
#
def render_gallery... | Fixed bug when it crashed when the render_gallery_for method's first argument was association.
Fix of the way of the image path evaluation. | ImmaculatePine_hermitage | train | rb |
5c80a98a644e5be55bb239f3f74d325aa9dcd96d | diff --git a/lib/active_scaffold/helpers/list_column_helpers.rb b/lib/active_scaffold/helpers/list_column_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/helpers/list_column_helpers.rb
+++ b/lib/active_scaffold/helpers/list_column_helpers.rb
@@ -28,10 +28,14 @@ module ActiveScaffold
fo... | Show all associated records when associated_limit is nil | activescaffold_active_scaffold | train | rb |
30cfb7a2073766b9a7bf745f9058c9dd876d68b1 | diff --git a/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/cache/AggregatorProxy.java b/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/cache/AggregatorProxy.java
index <HASH>..<HASH> 100644
--- a/jaggr-service/src/main/java/com/ibm/jaggr/service/impl/cache/AggregatorProxy.java
+++ b/jaggr-service/src/m... | Fix issue with AggregatorProxy and subclasses that don't explicitly
implement IAggregator interface. | OpenNTF_JavascriptAggregator | train | java |
7f885390876a3acdfa962e42b2bf2c73241e8702 | diff --git a/activesupport/lib/active_support/core_ext/module/remove_method.rb b/activesupport/lib/active_support/core_ext/module/remove_method.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/module/remove_method.rb
+++ b/activesupport/lib/active_support/core_ext/module/remove_method.rb
@... | remove_possible_method: test if method exists
This speeds up remove_possible_method substantially since it doesn't
have to rescue a NameError in the common case.
Closes #<I>. | rails_rails | train | rb |
294ae3305625f7bba1820b803a83163b34bfac5a | diff --git a/digsandpaper/coarse/generate/query_compiler_component.py b/digsandpaper/coarse/generate/query_compiler_component.py
index <HASH>..<HASH> 100644
--- a/digsandpaper/coarse/generate/query_compiler_component.py
+++ b/digsandpaper/coarse/generate/query_compiler_component.py
@@ -520,7 +520,7 @@ class Elasticsear... | Don't add exists filters to sub queries | usc-isi-i2_dig-sandpaper | train | py |
67479a2a07b21241d286b71b32d83fd7acaa538d | diff --git a/pypet/brian2/__init__.py b/pypet/brian2/__init__.py
index <HASH>..<HASH> 100644
--- a/pypet/brian2/__init__.py
+++ b/pypet/brian2/__init__.py
@@ -1 +1 @@
-__author__ = 'robert'
+__author__ = 'Henri Bunting' | Changed author [ci skip] | SmokinCaterpillar_pypet | train | py |
f7b6682832cf992fa930878d37826b895f4d2af0 | diff --git a/src/ol/source/raster.js b/src/ol/source/raster.js
index <HASH>..<HASH> 100644
--- a/src/ol/source/raster.js
+++ b/src/ol/source/raster.js
@@ -23,8 +23,8 @@ goog.require('ol.transform');
/**
* @classdesc
- * A source that transforms data from any number of input sources using an array
- * of {@link ol.... | Fix incorrect docs about ol.source.Raster | openlayers_openlayers | train | js |
75fe58bd2229c73a53dfece040c7e8b78c37e55f | diff --git a/lib/directive.js b/lib/directive.js
index <HASH>..<HASH> 100644
--- a/lib/directive.js
+++ b/lib/directive.js
@@ -1,5 +1,3 @@
-const directives = new WeakMap();
-
module.exports = {
/**
* Determine if 'obj' is a directive function
@@ -7,7 +5,7 @@ module.exports = {
* @returns {boolean}
*/
... | refactor isDirective check to avoid object storage | popeindustries_lit-html-server | train | js |
ffda0ca3605ca3c46684a25a9b864d03f6776aff | diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -1583,6 +1583,8 @@ function xmldb_main_upgrade($oldversion) {
}
if ($oldversion < 2013021100.01) {
+ // Make sure there are no bogus nulls in old MySQL tables.
+ ... | MDL-<I> upgrade: fix bogus nulls in user.password before changing precission
Note: there is no need to deal with Oracle empty strings here
because only MySQL running in non-strict mode is affected. | moodle_moodle | train | php |
acf45b46c9517412c11b7d1fa61927803007b0ee | diff --git a/ofxclient/client.py b/ofxclient/client.py
index <HASH>..<HASH> 100644
--- a/ofxclient/client.py
+++ b/ofxclient/client.py
@@ -100,7 +100,7 @@ class Client:
logging.debug(query)
garbage, path = splittype(i.url)
host, selector = splithost(path)
- h = HTTPSConnection(host)
+ ... | Add timeout of <I> seconds to HTTPS connection | captin411_ofxclient | train | py |
5ad712262e51ada01d96e3da578a87ad3365aaf1 | diff --git a/lib/and.js b/lib/and.js
index <HASH>..<HASH> 100644
--- a/lib/and.js
+++ b/lib/and.js
@@ -2,6 +2,26 @@
var R = require('ramda');
+/**
+ * Output a block (or its inverse) based on whether or not both of the suppied
+ * arguments are truthy.
+ *
+ * @since v0.0.1
+ * @param {*} left
+ * @param {*} right... | Add comment docs for "and" helper | cloudfour_core-hbs-helpers | train | js |
9710f52212396b9661fd5c6c184169b3a86272cd | diff --git a/barf/barf/arch/arm/armtranslator.py b/barf/barf/arch/arm/armtranslator.py
index <HASH>..<HASH> 100644
--- a/barf/barf/arch/arm/armtranslator.py
+++ b/barf/barf/arch/arm/armtranslator.py
@@ -939,6 +939,7 @@ class ArmTranslator(object):
# and removed from the mnemonic (handling all ldr/str translations ... | ARM: Cleanup code (pylint). | programa-stic_barf-project | train | py |
44eda2ad9f7c5718a8b6311f0a293ae40eb5218c | diff --git a/tests/unit/grains/core_test.py b/tests/unit/grains/core_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/grains/core_test.py
+++ b/tests/unit/grains/core_test.py
@@ -216,7 +216,7 @@ class CoreGrainsTestCase(TestCase):
# Mock platform.linux_distribution to give us the
... | Fix for openSUSE Tumbleweed | saltstack_salt | train | py |
49c59be21fc254e4ba71a32dcd8769f3dd4a1376 | diff --git a/api/v2/status_routes_test.go b/api/v2/status_routes_test.go
index <HASH>..<HASH> 100644
--- a/api/v2/status_routes_test.go
+++ b/api/v2/status_routes_test.go
@@ -69,9 +69,7 @@ func TestPatchStatus(t *testing.T) {
"paused": {200, Status{Paused: null.BoolFrom(true)}},
"max vus": {200, Status... | [test] Oh right, I fixed this panic | loadimpact_k6 | train | go |
76bb48825df0e4cccfb7e0272f54fe55ec575f07 | diff --git a/modules/quality-check/src/test/java/com/github/quality/check/CheckTest.java b/modules/quality-check/src/test/java/com/github/quality/check/CheckTest.java
index <HASH>..<HASH> 100644
--- a/modules/quality-check/src/test/java/com/github/quality/check/CheckTest.java
+++ b/modules/quality-check/src/test/java/c... | Added one more test to check the return reference of method 'notNull' is
same as the input | before_quality-check | 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.