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 |
|---|---|---|---|---|---|
c5e1cc51b99bcc9226145c00c6589b7035c2e3a1 | diff --git a/lib/tus/storage/s3.rb b/lib/tus/storage/s3.rb
index <HASH>..<HASH> 100644
--- a/lib/tus/storage/s3.rb
+++ b/lib/tus/storage/s3.rb
@@ -101,13 +101,6 @@ module Tus
end
def patch_file(uid, io, info = {})
- tus_info = Tus::Info.new(info)
- last_chunk = (tus_info.length && io.size ... | Don't validate minimum chunk size in S3 storage
This functionality requires additional knowledge about the tus protocol
(e.g. that "Upload-Length" can be absent when "Upload-Defer-Length" is
used), and it's not necessary because the S3 service will already raise
the appropriate error when you try to complete a multipa... | janko_tus-ruby-server | train | rb |
8c5bdb8d31edc6719ad3a7f1c4a69570640bf606 | diff --git a/serverless-plugin/index.js b/serverless-plugin/index.js
index <HASH>..<HASH> 100644
--- a/serverless-plugin/index.js
+++ b/serverless-plugin/index.js
@@ -35,6 +35,10 @@ class ServerlessPlugin {
'before:package:createDeploymentArtifacts': this.buildHandlers.bind(this),
'after:packa... | Add support for 'sls deploy function' | seek-oss_serverless-haskell | train | js |
22408ddcc3507c64cafe990f8497a638bfcca6bd | diff --git a/src/components/vive-controls.js b/src/components/vive-controls.js
index <HASH>..<HASH> 100644
--- a/src/components/vive-controls.js
+++ b/src/components/vive-controls.js
@@ -122,7 +122,6 @@ module.exports.Component = registerComponent('vive-controls', {
idPrefix: GAMEPAD_ID_PREFIX,
// Hand ID... | Use index to detect vive controlles since handennnes is not always available and determined at runtime (fix #<I>) | aframevr_aframe | train | js |
42c9eab810dbc56868c0b71b6aada8e30cd293a8 | diff --git a/app/Http/RequestHandlers/UpgradeWizardStep.php b/app/Http/RequestHandlers/UpgradeWizardStep.php
index <HASH>..<HASH> 100644
--- a/app/Http/RequestHandlers/UpgradeWizardStep.php
+++ b/app/Http/RequestHandlers/UpgradeWizardStep.php
@@ -209,7 +209,9 @@ class UpgradeWizardStep implements RequestHandlerInterfac... | Fix: #<I> - layout error when changes exist during upgrade | fisharebest_webtrees | train | php |
aa18e2f830441b58590f2a4e19c55588fd2e4227 | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -327,10 +327,20 @@ export const InternalUtils = {
* Dynamically import "Node.js" modules.
* (`eval` is used to prevent bundlers from including the module,
* e.g., [webpack/webpack#8826](https://github.... | Obtain the "require" method only once | hectorm_otpauth | train | js |
70d9400b86a67b2a219e38135fd353bc4fa521d2 | diff --git a/lib/rworkflow/flow.rb b/lib/rworkflow/flow.rb
index <HASH>..<HASH> 100644
--- a/lib/rworkflow/flow.rb
+++ b/lib/rworkflow/flow.rb
@@ -87,7 +87,7 @@ module Rworkflow
end
def get_counters
- counters= @storage.get(:counters)
+ counters = @storage.get(:counters)
if counters.present... | added rename_state to lifecycle | barcoo_rworkflow | train | rb,rb |
2008d7e3823f665731eb78aa11154aa7e1825bc1 | diff --git a/src/Request/uapi-request.js b/src/Request/uapi-request.js
index <HASH>..<HASH> 100644
--- a/src/Request/uapi-request.js
+++ b/src/Request/uapi-request.js
@@ -1,5 +1,4 @@
import handlebars from 'handlebars';
-import _ from 'lodash';
import fs from 'fs';
import request from 'request';
import Promise from... | Fixed handlebars in uapi-request | Travelport-Ukraine_uapi-json | train | js |
d2e82fdc3a3eab6a2d1cddae5229c2f6faf6f2a7 | diff --git a/packages/cli/src/index.js b/packages/cli/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/cli/src/index.js
+++ b/packages/cli/src/index.js
@@ -430,12 +430,16 @@ const main = async () => {
return result;
}
+ if (result.teamId) {
+ // SSO login, so set the current scope t... | [cli] Fix in-flight re-login when there are no existing credentials (#<I>) | zeit_now-cli | train | js |
c4c0013fac207818729f4d46a9b4300d89e72ba7 | diff --git a/lib/test/assert.js b/lib/test/assert.js
index <HASH>..<HASH> 100644
--- a/lib/test/assert.js
+++ b/lib/test/assert.js
@@ -99,12 +99,15 @@ exports.log = function(message) {
exports.checkCalled = function(func, scope) {
var currentTest = exports.currentTest;
var todo = function() {
- var reply = fu... | asyncout-<I>: Test tweak - finally > variable
It's better to put the test function call in a try {} finally {} block
than store the return value, tidy-up and return because it's more
resilient to failure, and clearer. | joewalker_gcli | train | js |
c7c13e3a7391f6d6e5eff6c7c270d662aeaa694f | diff --git a/lib/omnibus/packagers/installbuilder.rb b/lib/omnibus/packagers/installbuilder.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/packagers/installbuilder.rb
+++ b/lib/omnibus/packagers/installbuilder.rb
@@ -1,5 +1,5 @@
#
-# Copyright 2014-2019 Chef Software, Inc.
+# 2020 © PTC Inc. All rights reserved.
#... | DF - updating copyright to PTC's based
Base on feedback on pull request:
Add Installbuilder packager(installbuilder) #<I>
From Tim Smith | chef_omnibus | train | rb |
19328ea7041bb2bb5a7f09db6bcd38fec23f5b29 | diff --git a/entity/index.js b/entity/index.js
index <HASH>..<HASH> 100644
--- a/entity/index.js
+++ b/entity/index.js
@@ -188,7 +188,7 @@ EntityGenerator.prototype.askForFields = function askForFields() {
},
{
value: 'enum',
- name: 'enum'
+ ... | Wording, checked that the class name begins with an uppercase | jhipster_generator-jhipster | train | js |
64dad297086c50ad366aa87cf4dd3a48a94ebae2 | diff --git a/app/resonant-laboratory/views/overlays/DatasetLibrary/UploadView.js b/app/resonant-laboratory/views/overlays/DatasetLibrary/UploadView.js
index <HASH>..<HASH> 100644
--- a/app/resonant-laboratory/views/overlays/DatasetLibrary/UploadView.js
+++ b/app/resonant-laboratory/views/overlays/DatasetLibrary/UploadV... | Disable the upload button on the initial render | Kitware_candela | train | js |
e7157d3ce29a169fc93bdc8822befe9c0a6dd9e0 | diff --git a/src/Behat/Mink/Behat/Context/MinkContext.php b/src/Behat/Mink/Behat/Context/MinkContext.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Mink/Behat/Context/MinkContext.php
+++ b/src/Behat/Mink/Behat/Context/MinkContext.php
@@ -248,7 +248,10 @@ class MinkContext extends BehatContext implements TranslatedCont... | remove script name from url paths before assertion | minkphp_Mink | train | php |
37523ebc044fca7946c56596bd6911871ff42244 | diff --git a/test/rally_api_spec_helper.rb b/test/rally_api_spec_helper.rb
index <HASH>..<HASH> 100644
--- a/test/rally_api_spec_helper.rb
+++ b/test/rally_api_spec_helper.rb
@@ -102,4 +102,7 @@ end
RSpec.configure do |c|
c.include(RallyConfigLoader)
+ c.tty = true
+ c.color = true
+ c.formatter = :documentati... | S<I>- colorize and format test output | RallyTools_RallyRestToolkitForRuby | train | rb |
1927039a7168d04a21dc8c986f935e538c387084 | diff --git a/lib/ronin/platform/extension.rb b/lib/ronin/platform/extension.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/platform/extension.rb
+++ b/lib/ronin/platform/extension.rb
@@ -143,14 +143,14 @@ module Ronin
# Calls the setup blocks of the extension. If a _block_ is given, it
# will be passed t... | Renamed perform_setup and perform_teardown to setup! and teardown!, respectively. | ronin-ruby_ronin | train | rb |
4cdb864d8120929efee4c7a7e316c85384780b8c | diff --git a/agreement.rb b/agreement.rb
index <HASH>..<HASH> 100644
--- a/agreement.rb
+++ b/agreement.rb
@@ -4,11 +4,12 @@ require 'ticket_sharing/json_support'
module TicketSharing
class Agreement
- attr_accessor :direction, :remote_url
+ attr_accessor :direction, :remote_url, :status
def initiali... | Passing the agreement status in the sharing API. | zendesk_ticket_sharing | train | rb |
add55a9448af44c1f96c5b66589e0e0ec96dc6a6 | diff --git a/test/unit/voldemort/store/stats/StatsTest.java b/test/unit/voldemort/store/stats/StatsTest.java
index <HASH>..<HASH> 100644
--- a/test/unit/voldemort/store/stats/StatsTest.java
+++ b/test/unit/voldemort/store/stats/StatsTest.java
@@ -125,7 +125,7 @@ public class StatsTest {
Time mockTime = mock(Ti... | Fixed a test in StatsTest to use the new RequestCounter API. | voldemort_voldemort | train | java |
7de514c8cd4de43c1efd6fcef86cddc3e98a44dd | diff --git a/opentrons/instruments/pipette.py b/opentrons/instruments/pipette.py
index <HASH>..<HASH> 100644
--- a/opentrons/instruments/pipette.py
+++ b/opentrons/instruments/pipette.py
@@ -860,9 +860,10 @@ class Pipette(Instrument):
tip_plunge = 6
- for _ in range(3):
- self... | adding extra 1mm to pick_up_tip to help make seal | Opentrons_opentrons | train | py |
81413a68fc7278f073da36daee2b043c6d40f35c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ sql = ['sqlalchemy>=1.2.0b3, <1.2.99', 'sqlalchemy-migrate>=0.11, <0.11.99']
postgres = ['psycopg2>=2.7, <2.7.99'] + sql
redshift = ['sqlalchemy-redshift>=0.7, <0.7.99'] + sql
redis = ['redis>=2.10, <2.10.99'... | accept new versions of boto and pandas | instacart_lore | train | py |
469d1f09ab7906885eab953245b12490b68898ba | diff --git a/spikeinterface/MultiRecordingExtractor.py b/spikeinterface/MultiRecordingExtractor.py
index <HASH>..<HASH> 100644
--- a/spikeinterface/MultiRecordingExtractor.py
+++ b/spikeinterface/MultiRecordingExtractor.py
@@ -80,6 +80,9 @@ class MultiRecordingExtractor(RecordingExtractor):
)
return n... | multi and sub recording getchannel id | SpikeInterface_spikeextractors | train | py,py |
908869290e76920343c3a71d27483c88f6518f61 | diff --git a/forms/gridfield/GridFieldConfig.php b/forms/gridfield/GridFieldConfig.php
index <HASH>..<HASH> 100644
--- a/forms/gridfield/GridFieldConfig.php
+++ b/forms/gridfield/GridFieldConfig.php
@@ -223,7 +223,7 @@ class GridFieldConfig_RelationEditor extends GridFieldConfig {
$this->addComponent($filter = new G... | FIX <I> Regression: GridFieldConfig_RelationEditor: Removing relation deletes data object | silverstripe_silverstripe-framework | train | php |
a4aa5efba357d8aa4de5cbb433401c18c26dafb9 | diff --git a/lib/https/index.js b/lib/https/index.js
index <HASH>..<HASH> 100644
--- a/lib/https/index.js
+++ b/lib/https/index.js
@@ -928,7 +928,11 @@ module.exports = function(socket, next, isWebPort) {
}
if (useSNI) {
useSNI = false;
- useNoSNIServer();
+ try ... | refactor: catch possible exceptions | avwo_whistle | train | js |
eb5fcd06277a548dd0758dbb3eb97f31cd2c7513 | diff --git a/ELiDE/__main__.py b/ELiDE/__main__.py
index <HASH>..<HASH> 100644
--- a/ELiDE/__main__.py
+++ b/ELiDE/__main__.py
@@ -12,6 +12,7 @@ parser = argparse.ArgumentParser(
parser.add_argument('-w', '--world')
parser.add_argument('-c', '--code')
parser.add_argument('-l', '--language')
+parser.add_argument('-d'... | for easier debugging when I want to launch the module like python -m ELiDE | LogicalDash_LiSE | train | py |
fb68c23e4d3ece358e2dfce598745b32b28700e7 | diff --git a/app/controllers/alchemy/messages_controller.rb b/app/controllers/alchemy/messages_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/alchemy/messages_controller.rb
+++ b/app/controllers/alchemy/messages_controller.rb
@@ -99,12 +99,12 @@ module Alchemy
end
def redirect_to_success_pa... | Always set a flash notice after sending message. | AlchemyCMS_alchemy_cms | train | rb |
8da11c7c8e4262a4502383c8256b0d78b5f6808c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -21,8 +21,8 @@ module.exports = function (allowWrapper) {
return;
}
- // skip stdio
- if (isStdIO(h)) {
+ // skip stdio and pipe between worker and master
+ if (isStdIO(h) || i... | fix: Ignore pipe between worker and master
This is a node's internal object which needs not to be exposed | keymetrics_event-loop-inspector | train | js |
b2acbc7a7ee0814b14b0c95ecf1e6fa07d42e3be | diff --git a/src/Encoder/Handlers/ReplyInterpreter.php b/src/Encoder/Handlers/ReplyInterpreter.php
index <HASH>..<HASH> 100644
--- a/src/Encoder/Handlers/ReplyInterpreter.php
+++ b/src/Encoder/Handlers/ReplyInterpreter.php
@@ -78,7 +78,9 @@ class ReplyInterpreter implements ReplyInterpreterInterface
br... | Add support relation field sets in 'data' section | neomerx_json-api | train | php |
bb2dce7890ba14136c9ddede04e929cf45982d7b | diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -198,7 +198,7 @@ class SortImports(object):
return
elif line.startswith('import '):
return "straight"
- elif line.startswith('from ') and "import" in line:
+ ... | Fix issue <I>: deal with imports that start with 'from' and have import statement on another line | timothycrosley_isort | train | py |
b68e3b81cc94a8bb309d70ee2c3a3d3b133d66d4 | diff --git a/lib/init.js b/lib/init.js
index <HASH>..<HASH> 100644
--- a/lib/init.js
+++ b/lib/init.js
@@ -27,7 +27,7 @@ module.exports = function init() {
name: 'mcode',
message: 'Enter Company Code'
}, {
- default: options.filename || 'archive',
+ default: options.filename || process.cwd().split(path.sep).... | default to the directory name of the interactive | mediafly_mfly-interactive | train | js |
457bf00ce4e3b54d3e4a274da30b52e64bf37612 | diff --git a/app/assets/javascripts/dashboards/dashboards.js b/app/assets/javascripts/dashboards/dashboards.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/dashboards/dashboards.js
+++ b/app/assets/javascripts/dashboards/dashboards.js
@@ -83,9 +83,17 @@ $(document).ready(function() {
};
var relo... | Reset dashboard lock status after resizing | Graylog2_graylog2-server | train | js |
b84c20176fe617ff31fb9ed9a95ce8041f2daf7d | diff --git a/loam/tools.py b/loam/tools.py
index <HASH>..<HASH> 100644
--- a/loam/tools.py
+++ b/loam/tools.py
@@ -93,5 +93,7 @@ def config_cmd_handler(conf, config='config'):
if conf[config].create or conf[config].update:
conf.create_config_(conf[config].update)
if conf[config].edit:
+ if not... | config_cmd_handler creates file if needed to edit | amorison_loam | train | py |
28e5eaa3250ac685ef15d49f01deeb2a99c22024 | diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -1808,12 +1808,10 @@ def uptodate(name, refresh=False, **kwargs):
if updated.get('result') is False:
ret.update(updated)
- elif updated or {} == updated:
+ else:
... | Simplify setting success when there are no pkg updates. | saltstack_salt | train | py |
dad40b202325afdbea88e4f7f762c67996838c0b | diff --git a/plugin/src/main/java/org/wildfly/plugin/server/StartMojo.java b/plugin/src/main/java/org/wildfly/plugin/server/StartMojo.java
index <HASH>..<HASH> 100644
--- a/plugin/src/main/java/org/wildfly/plugin/server/StartMojo.java
+++ b/plugin/src/main/java/org/wildfly/plugin/server/StartMojo.java
@@ -331,6 +331,11... | WFMP-<I> Added Modular Jvm Arguments to standalone and process controller | wildfly_wildfly-maven-plugin | train | java |
f1cefe1caf1a748b3c0a66877cb493642e220a22 | diff --git a/upload/catalog/controller/checkout/cart.php b/upload/catalog/controller/checkout/cart.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/controller/checkout/cart.php
+++ b/upload/catalog/controller/checkout/cart.php
@@ -292,7 +292,7 @@ class ControllerCheckoutCart extends Controller {
$product_info = ... | Update cart.php
See <URL> function in cart's controller doesn't follow minimum requirements for product (thekrotek) | opencart_opencart | train | php |
6a9551046635b7ede66e9c0a435875849b1be973 | diff --git a/tests/library/CM/Site/SiteFactoryTest.php b/tests/library/CM/Site/SiteFactoryTest.php
index <HASH>..<HASH> 100644
--- a/tests/library/CM/Site/SiteFactoryTest.php
+++ b/tests/library/CM/Site/SiteFactoryTest.php
@@ -16,10 +16,7 @@ class CM_Site_SiteFactoryTest extends CMTest_TestCase {
}
ks... | Remove exec time measurement in CM_Site_SiteFactoryTest | cargomedia_cm | train | php |
00f860719d20c270ad3dea561c8a7b3bec89a5f3 | diff --git a/src/Validation/ExactLengthClientSide.php b/src/Validation/ExactLengthClientSide.php
index <HASH>..<HASH> 100644
--- a/src/Validation/ExactLengthClientSide.php
+++ b/src/Validation/ExactLengthClientSide.php
@@ -18,21 +18,21 @@
namespace Rhubarb\Leaf\Validation;
-use Rhubarb\Stem\Models\Validation\Equal... | Didnt recognise the change I had made correctly | RhubarbPHP_Module.Leaf | train | php |
a52fdba5d10f7c5ee7e0a266ca979c40a685cf97 | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -204,7 +204,8 @@ func (cn *conn) Prepare(q string) (_ driver.Stmt, err error) {
return st, err
}
-func (cn *conn) Close() error {
+func (cn *conn) Close() (err error) {
+ defer errRecover(&err)
cn.send(newWriteBuf('X'))
... | Recover from a panic closing the socket. | bmizerany_pq | train | go |
3b732f02d3dab5c0ac306d83b3d4a2a598297bd5 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,5 @@
require "bundler/setup"
+require "async/rspec"
require "shodanz"
RSpec.configure do |config| | Update spec_helper.rb
Note: need to figure out how to use this properly... | picatz_shodanz | train | rb |
544bdbbbe3e0888271447ab4509db10176f48a02 | diff --git a/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/main.js b/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/main.js
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/main.js
+++ b/src/Sulu/Bundle/SecurityBundle/Resour... | fixed missing rerouting after save | sulu_sulu | train | js |
c070d424eb6224b50b24d4621e1bdbf5b3c31307 | diff --git a/.adiorc.js b/.adiorc.js
index <HASH>..<HASH> 100644
--- a/.adiorc.js
+++ b/.adiorc.js
@@ -34,7 +34,8 @@ module.exports = {
ignore: {
src: ["path", "os", "fs", "util", "events", "crypto", "aws-sdk"],
dependencies: ["@babel/runtime"],
- devDependencies: true
+ devDependen... | refactor: ignore all peer dependencies in adio | Webiny_webiny-js | train | js |
f4c12b8ec74217c048d75da701bc5a632c9d1e4a | diff --git a/physical/consul/consul.go b/physical/consul/consul.go
index <HASH>..<HASH> 100644
--- a/physical/consul/consul.go
+++ b/physical/consul/consul.go
@@ -241,7 +241,14 @@ func NewConsulBackend(conf map[string]string, logger log.Logger) (physical.Backe
}
func setupTLSConfig(conf map[string]string) (*tls.Con... | Use net.SplitHostPort on Consul address (#<I>) | hashicorp_vault | train | go |
e7a8e1ad52f7b849f46450a03e92e5ab2d437ac1 | diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -806,6 +806,8 @@ def optimize_layout(
grad_coeff /= (0.001 + dist_squared) * (
a * pow(dist_squared, b) + 1
)
+ ... | Fix for issue #<I> -- don't negative sample yourself | lmcinnes_umap | train | py |
0e3a3cbbaa4d7b533dba25e74041b3f5b369641b | diff --git a/pygccxml/parser/declarations_cache.py b/pygccxml/parser/declarations_cache.py
index <HASH>..<HASH> 100644
--- a/pygccxml/parser/declarations_cache.py
+++ b/pygccxml/parser/declarations_cache.py
@@ -189,7 +189,7 @@ class file_cache_t(cache_base_t):
"The %s cache file is not compatible w... | Fix file cache reopening
This was broken as the default for the xml generator
was changed from None to an empty string.
See 7df<I>f<I>a<I>a<I>d<I>a<I>c2b1c | gccxml_pygccxml | train | py |
fd4b5ce95004ef14b470b0d06938b6e60f469471 | diff --git a/lib/imagetastic/configurable.rb b/lib/imagetastic/configurable.rb
index <HASH>..<HASH> 100644
--- a/lib/imagetastic/configurable.rb
+++ b/lib/imagetastic/configurable.rb
@@ -9,6 +9,13 @@ module Imagetastic
klass.class_eval do
include Configurable::InstanceMethods
extend Configurabl... | Made configurable module work for Classes/Modules (didn't previously) | markevans_dragonfly | train | rb,rb |
2f5a26c505e4e4ec781bf4490d9aa2784899e780 | diff --git a/proto/table_unmarshal.go b/proto/table_unmarshal.go
index <HASH>..<HASH> 100644
--- a/proto/table_unmarshal.go
+++ b/proto/table_unmarshal.go
@@ -1948,7 +1948,7 @@ func encodeVarint(b []byte, x uint64) []byte {
// If there is an error, it returns 0,0.
func decodeVarint(b []byte) (uint64, int) {
var x, ... | proto: replace len(b)<=0 with len(b)==0 (#<I>)
len never returns negative values, so len(b)==0 states
requirements in a more clear way with less "uncertainty". | golang_protobuf | train | go |
eb07aa44295bdf3ed65bd1fa9541285c906e7d87 | diff --git a/firenado/session.py b/firenado/session.py
index <HASH>..<HASH> 100644
--- a/firenado/session.py
+++ b/firenado/session.py
@@ -145,10 +145,10 @@ class SessionEnginedMixin(object):
class Session(object):
- def __init__(self, engine, data={}, id=None):
+ def __init__(self, engine, data=None, sess_i... | Data will be defined as dict if the default value is none.
This is to address landscape error on the code.
Refs: #<I> | candango_firenado | train | py |
6ad13472aff5470b112f22bbb7fa2b63afab32cc | diff --git a/test/instrumentation/modules/pg/pg.js b/test/instrumentation/modules/pg/pg.js
index <HASH>..<HASH> 100644
--- a/test/instrumentation/modules/pg/pg.js
+++ b/test/instrumentation/modules/pg/pg.js
@@ -99,7 +99,7 @@ factories.forEach(function (f) {
setTimeout(function () {
trans.end()
... | test: increase chance that Travis CI tests pass | opbeat_opbeat-node | train | js |
94697f3e3fe4faffcd9fe65fb3201e3f1e60e442 | diff --git a/src/java/com/threerings/media/FrameManager.java b/src/java/com/threerings/media/FrameManager.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/media/FrameManager.java
+++ b/src/java/com/threerings/media/FrameManager.java
@@ -1,5 +1,5 @@
//
-// $Id: FrameManager.java,v 1.39 2003/04/30 06:42:50... | If our sleep granularity is zero, yield rather than call sleep() which
would do nothing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
72e98086b994d6be7601707f0292f2aedfa694e9 | diff --git a/cli/action.go b/cli/action.go
index <HASH>..<HASH> 100644
--- a/cli/action.go
+++ b/cli/action.go
@@ -282,5 +282,7 @@ func (a *action) showTabularHelp(t *table) {
row{
strings.Replace(a.path, "/", " ", -1),
strings.Join(oDesc, " "),
- strings.Join(aDesc, " ")})
+ strings.Join(aDesc, " "),
+ ... | show description of actions in short table mode | dynport_dgtk | train | go |
5107d3c63b17094af1878f2bf44b056f93d88429 | diff --git a/lib/active_record/turntable/mixer.rb b/lib/active_record/turntable/mixer.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/turntable/mixer.rb
+++ b/lib/active_record/turntable/mixer.rb
@@ -198,6 +198,9 @@ module ActiveRecord::Turntable
shards_with_query,
... | Add raise_on_not_specified_shard_update option for finding update performance problem | drecom_activerecord-turntable | train | rb |
aecde861427d4ceb1d1d3159bf77dceca695e619 | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Clicker.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Clicker.java
index <HASH>..<HASH> 100644
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Clicker.java
+++ b/robotium-solo/src/main/java/com/jayway/andr... | Add some more helpful information to the assertion failure in Clicker.clickOnScreen(float,float).
Include the computed (x, y) coordinates of the faile click, plus the name and message of any SecurityException encountered. | RobotiumTech_robotium | train | java |
d3cb61c534721453ae39dcb9b0b45b5cbf6c6984 | diff --git a/spec/requests/sessions_spec.rb b/spec/requests/sessions_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/requests/sessions_spec.rb
+++ b/spec/requests/sessions_spec.rb
@@ -1,22 +1,28 @@
require 'spec_helper'
describe "sessions" do
- it "can log if password provided is valid" do
- log_in
+ context "log... | Refactored a bit session's specs | jipiboily_monologue | train | rb |
6e02746ad6056275e5d5907e67b76b64ea803d52 | diff --git a/lib/Gitlab/Api/Issues.php b/lib/Gitlab/Api/Issues.php
index <HASH>..<HASH> 100644
--- a/lib/Gitlab/Api/Issues.php
+++ b/lib/Gitlab/Api/Issues.php
@@ -379,6 +379,10 @@ class Issues extends AbstractApi
->setAllowedValues('sort', ['asc', 'desc'])
;
$resolver->setDefined('search'... | Updated Issues to support updated_after (#<I>)
Now Issue can resolve more option as listed in the documentation created_after, created_before, updated_after, updated_before | m4tthumphrey_php-gitlab-api | train | php |
d215d9d785f8abc45aadfcf5f03285fa858eb89b | diff --git a/plugins/providers/virtualbox/cap/cleanup_disks.rb b/plugins/providers/virtualbox/cap/cleanup_disks.rb
index <HASH>..<HASH> 100644
--- a/plugins/providers/virtualbox/cap/cleanup_disks.rb
+++ b/plugins/providers/virtualbox/cap/cleanup_disks.rb
@@ -54,14 +54,14 @@ module VagrantPlugins
LOGGER.w... | Only log warning when cleaning up disks
If a disk exists but isn't attached to a guest, don't attempt to remove
disk from guest. | hashicorp_vagrant | train | rb |
70ce69aa431c28482b1a98d7dfc27299c31b6a97 | diff --git a/sample-project/upload.php b/sample-project/upload.php
index <HASH>..<HASH> 100644
--- a/sample-project/upload.php
+++ b/sample-project/upload.php
@@ -46,7 +46,7 @@ try {
<p>Would you like to <a href="../sample-project">upload more</a>?</p>
</div>
<div class="hinted">
- ... | upload.php example updated for new operation methods | uploadcare_uploadcare-php | train | php |
0fb3907771c5902d3f8d584bee0b43d2bf0e1dbf | diff --git a/addons/events/src/components/Panel.js b/addons/events/src/components/Panel.js
index <HASH>..<HASH> 100644
--- a/addons/events/src/components/Panel.js
+++ b/addons/events/src/components/Panel.js
@@ -66,7 +66,7 @@ export default class Events extends Component {
const { events } = this.state;
return... | Events addon: fix React keys warning | storybooks_storybook | train | js |
2ac03d9c485720bd4bf3d67c7c8e47d1172a8f4b | diff --git a/src/holodeck/command.py b/src/holodeck/command.py
index <HASH>..<HASH> 100644
--- a/src/holodeck/command.py
+++ b/src/holodeck/command.py
@@ -83,7 +83,7 @@ class Command:
A number or list of numbers to add to the parameters.
"""
- if isinstance(number, list) or isinstance... | added isinstance(number, np.ndarray) | BYU-PCCL_holodeck | train | py |
36a62c8329715088f4e1dbd389a0c2249257f0ee | diff --git a/core/string.rb b/core/string.rb
index <HASH>..<HASH> 100644
--- a/core/string.rb
+++ b/core/string.rb
@@ -363,7 +363,7 @@ class String
alias slice []
def split(pattern = $; || ' ', limit = undefined)
- `this.split(#{pattern == ' ' ? strip : self}, limit)`
+ `this.split(pattern === ' ' ? strip... | Make ruby code inside x-str generate as statements
Before inline ruby code within javascript was generated as an
expression, but it will now be generated as a statement. This means
that language features such as yield, next and break will not break
when written inside javascript code. | opal_opal | train | rb,rb |
96b502e6e06d1edfe4bcc3e2fbe5431866fb2870 | diff --git a/dynamic_rest/pagination.py b/dynamic_rest/pagination.py
index <HASH>..<HASH> 100644
--- a/dynamic_rest/pagination.py
+++ b/dynamic_rest/pagination.py
@@ -7,6 +7,7 @@ class DynamicPageNumberPagination(PageNumberPagination):
page_size_query_param = dynamic_settings.get('PAGE_SIZE_QUERY_PARAM', 'per_page')... | add default page_size (paignation doesn't work without it) | AltSchool_dynamic-rest | train | py |
6231cba4f80887ef7bd63bb40c94c2163aeb2df6 | diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/raster.py
+++ b/holoviews/element/raster.py
@@ -59,7 +59,7 @@ class Raster(Element2D):
elif len(slices) > (2 + self.depth):
raise Exception("Can only slice %d dimensions" % 2 ... | Value dimension selection error in Raster now consistent with Histogram | pyviz_holoviews | train | py |
4f2a828073dd63be35c776b6eb770e5da301363a | diff --git a/src/TestFramework/AbstractTestFrameworkAdapter.php b/src/TestFramework/AbstractTestFrameworkAdapter.php
index <HASH>..<HASH> 100644
--- a/src/TestFramework/AbstractTestFrameworkAdapter.php
+++ b/src/TestFramework/AbstractTestFrameworkAdapter.php
@@ -198,7 +198,7 @@ abstract class AbstractTestFrameworkAdapt... | Skip E2E tests when for phpdbg due to many strange failures on Travis
New empty classes and tests with `assertSame(1, 1)` lead to weird timeout errors on Travis with `phpdbg`.
From @krakjoe:
> phpdbg has bugs that may also be effecting you and are stopping me from even doing a full run locally, there's some problem ... | infection_infection | train | php,php |
c04645d3af0a2816af26eb0cd4725b6a8456c685 | diff --git a/src/ManiaLib/Manialink/Layouts/LineRightToLeft.php b/src/ManiaLib/Manialink/Layouts/LineRightToLeft.php
index <HASH>..<HASH> 100644
--- a/src/ManiaLib/Manialink/Layouts/LineRightToLeft.php
+++ b/src/ManiaLib/Manialink/Layouts/LineRightToLeft.php
@@ -5,7 +5,7 @@ namespace ManiaLib\Manialink\Layouts;
class ... | Removed margin applied to the first element | maniaplanet_manialib-manialink | train | php |
8d4d0ee0bcbd5986e5bc21e48b9c967665ee2e21 | diff --git a/framework/yii/caching/RedisCache.php b/framework/yii/caching/RedisCache.php
index <HASH>..<HASH> 100644
--- a/framework/yii/caching/RedisCache.php
+++ b/framework/yii/caching/RedisCache.php
@@ -10,7 +10,7 @@ namespace yii\caching;
use yii\redis\Connection;
/**
- * RedisCache implements a cache applicat... | Update RedisCache.php
added version information | yiisoft_yii2-debug | train | php |
bec5e29849f1e9c73e7e3667107ab2bcb2244796 | diff --git a/core-bundle/contao/library/Contao/DcaExtractor.php b/core-bundle/contao/library/Contao/DcaExtractor.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/DcaExtractor.php
+++ b/core-bundle/contao/library/Contao/DcaExtractor.php
@@ -313,6 +313,12 @@ class DcaExtractor extends \Controller
... | [Core] Make sure the default language file is loaded in the DCA extractor (see #<I>) | contao_contao | train | php |
13c0f0e435396120eb13af57bee782106706dfe8 | diff --git a/dragonpy/components/cpu6809.py b/dragonpy/components/cpu6809.py
index <HASH>..<HASH> 100755
--- a/dragonpy/components/cpu6809.py
+++ b/dragonpy/components/cpu6809.py
@@ -239,7 +239,7 @@ class CPU(object):
####
def reset(self):
-# log.info("$%x CPU reset:" % self.program_counter)
+ ... | display more info if e.g. the ROM loaded into a wrong area | 6809_MC6809 | train | py |
6e400e9b95715c47db9a52500885f9ff1ae9143d | diff --git a/contracts/tests/test_raidenchannels.py b/contracts/tests/test_raidenchannels.py
index <HASH>..<HASH> 100644
--- a/contracts/tests/test_raidenchannels.py
+++ b/contracts/tests/test_raidenchannels.py
@@ -183,7 +183,7 @@ def test_version(web3, contract, channels_contract):
contract.transact({'from': ... | Fix contract tests for latest_version_address | raiden-network_microraiden | train | py |
5cf2319e66bad5e0ff2bdc3f37c6d9075c3a37ae | diff --git a/lib/nssocket.js b/lib/nssocket.js
index <HASH>..<HASH> 100644
--- a/lib/nssocket.js
+++ b/lib/nssocket.js
@@ -425,7 +425,6 @@ NsSocket.prototype._onData = function _onData(message) {
try {
parsed = JSON.parse(message);
data = parsed.pop();
- this.emit(['data'].concat(parsed), data)
}
... | [fix] Don't swallow exceptions in event handlers
Putting `emit` in `try` block was invalid here - that's where event
handlers get executed.
Fixes #7. | foreverjs_nssocket | train | js |
ac42f7c14c9da6efb92e38270c9cc44879913ee1 | diff --git a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
+++ b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
@@ -688,6 +688,8 @@ public abstract class NanoHTTPD {
} catc... | Moving temp file clearing back to HTTPSession.execute() | NanoHttpd_nanohttpd | train | java |
ef08c74f7a31c7c330f414d9d4df2375d9626f11 | diff --git a/update_checker.py b/update_checker.py
index <HASH>..<HASH> 100644
--- a/update_checker.py
+++ b/update_checker.py
@@ -15,7 +15,7 @@ from datetime import datetime
from functools import wraps
from tempfile import gettempdir
-__version__ = '0.12'
+__version__ = '0.13'
def cache_results(function): | Bump to <I>. | bboe_update_checker | train | py |
37aa8bb9fd09f79d91cfcaefd8d35eabed12b1fb | diff --git a/src/Fixer/Basic/BracesFixer.php b/src/Fixer/Basic/BracesFixer.php
index <HASH>..<HASH> 100644
--- a/src/Fixer/Basic/BracesFixer.php
+++ b/src/Fixer/Basic/BracesFixer.php
@@ -220,14 +220,6 @@ class Foo {
continue;
}
- // do not change import of functions
- ... | BracesFixer - cleanup code after introducing CT::T_FUNCTION_IMPORT | FriendsOfPHP_PHP-CS-Fixer | train | php |
65f35c8a6e37785988c753f4328e9c27d5c6974b | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -66,6 +66,7 @@ module.exports = {
files: ['jquery.js'],
});
+ let emberSourceDistPath = path.join(__dirname, '..', 'dist');
var emberFiles = [
'ember-runtime.js',
'ember-temp... | Fix paths for ember-source addon.
The refactor to move `index.js` -> `lib/index.js` left this in a broken
state (the paths are incorrect and therefore the funnel threw an error
at build time). | emberjs_ember.js | train | js |
8bbd8ca532bb3c4df4c65fcba53712aded488c48 | diff --git a/pycbc/pnutils.py b/pycbc/pnutils.py
index <HASH>..<HASH> 100644
--- a/pycbc/pnutils.py
+++ b/pycbc/pnutils.py
@@ -99,6 +99,20 @@ def eta_mass1_to_mass2(eta, mass1, return_mass_heavier=False):
else:
return roots[roots.argmax()]
+
+def mchirp_q_to_mass1_mass2(mchirp, q):
+ """ This functio... | Add mchirp q to mass1 mass2 function. (#<I>)
* Add mchirp q to mass1 mass2 function.
* Make two spaces. | gwastro_pycbc | train | py |
7b2597eec446f38a8d16704d6b89de14d26f147d | diff --git a/wayback-core/src/test/java/org/archive/io/warc/TestWARCRecordInfo.java b/wayback-core/src/test/java/org/archive/io/warc/TestWARCRecordInfo.java
index <HASH>..<HASH> 100644
--- a/wayback-core/src/test/java/org/archive/io/warc/TestWARCRecordInfo.java
+++ b/wayback-core/src/test/java/org/archive/io/warc/TestW... | FIX: Fix unit test, need to add Content-Encoding: gzip to revisit header resource test, as the payload is also gzip encoded | iipc_openwayback | train | java |
a08311755c2f6807ec3a2d99a2b2a7c0f732bd9d | diff --git a/src/main/java/io/github/classgraph/ClassGraphClassLoader.java b/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
+++ b/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
@@ -52,7 +52,7 @@... | There is a more general exception, 'java.lang.LinkageError', in the throws list already. | classgraph_classgraph | train | java |
4ae036055da646b0f43a91739c310fe6fc18c3af | diff --git a/tests/unit/modules/zypper_test.py b/tests/unit/modules/zypper_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/zypper_test.py
+++ b/tests/unit/modules/zypper_test.py
@@ -371,8 +371,6 @@ class ZypperTestCase(TestCase):
with patch('salt.modules.zypper.list_pkgs', MagicMock(side_eff... | Fix unit test for Zypper dist-upgrade in Carbon | saltstack_salt | train | py |
c21301965ad56f3d207fac9cd8784d6e5e49bff3 | diff --git a/go/kbfs/libkbfs/disk_limits_unix.go b/go/kbfs/libkbfs/disk_limits_unix.go
index <HASH>..<HASH> 100644
--- a/go/kbfs/libkbfs/disk_limits_unix.go
+++ b/go/kbfs/libkbfs/disk_limits_unix.go
@@ -8,17 +8,21 @@ package libkbfs
import (
"math"
+ "syscall"
"github.com/pkg/errors"
- "golang.org/x/sys/unix"
... | use syscall instead of sys/unix (#<I>)
* use syscall instead of sys/unix
* clarify in comment suggested by strib | keybase_client | train | go |
f6cdb188bde964342c297352771382f860b83ce8 | diff --git a/packages/metascraper-media-provider/src/get-media/provider/generic.js b/packages/metascraper-media-provider/src/get-media/provider/generic.js
index <HASH>..<HASH> 100644
--- a/packages/metascraper-media-provider/src/get-media/provider/generic.js
+++ b/packages/metascraper-media-provider/src/get-media/provi... | refactor: rename err into error | microlinkhq_metascraper | train | js |
7566f1bdca92f6b0f6792dd5e611ed45be50ea0c | diff --git a/nudibranch/diff_render.py b/nudibranch/diff_render.py
index <HASH>..<HASH> 100644
--- a/nudibranch/diff_render.py
+++ b/nudibranch/diff_render.py
@@ -267,13 +267,25 @@ class HTMLDiff(difflib.HtmlDiff):
retval += self.TENTATIVE_SCORE_BLOCK.format(total, "%.2f" % percentage)
return retval
... | The legend is now only output if diff tables are produced,
as opposed to merely with incorrect tests | ucsb-cs_submit | train | py |
0ac7adc1023f39ebe1fd5e86f77817a348f61125 | diff --git a/js/cobinhood.js b/js/cobinhood.js
index <HASH>..<HASH> 100644
--- a/js/cobinhood.js
+++ b/js/cobinhood.js
@@ -451,7 +451,7 @@ module.exports = class cobinhood extends Exchange {
'trading_pair_id': market['id'],
'type': type, // market, limit, stop, stop_limit
'side': ... | add restored amountToString in cobinhood fix #<I> | ccxt_ccxt | train | js |
6edc9228a71ee0221f20e0bf1e148daf40091463 | diff --git a/kwonly_args/__init__.py b/kwonly_args/__init__.py
index <HASH>..<HASH> 100644
--- a/kwonly_args/__init__.py
+++ b/kwonly_args/__init__.py
@@ -28,7 +28,7 @@ __all__ = ['first_kwonly_arg', 'KWONLY_REQUIRED', 'FIRST_DEFAULT_ARG', 'kwonly_d
# case increase only version_info[2].
# version_inf... | bumping version to <I> | pasztorpisti_kwonly-args | train | py |
20ee80c499aebba1c0b1b8a1ce58b14d05362852 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -39,5 +39,9 @@ module Minitest
def real_file_sandbox_path
File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_sandbox'))
end
+
+ def teardown
+ re... | fail fast when activated is left in a bad state | fakefs_fakefs | train | rb |
4550e795ee01ddbfda5b6c909f46d9f506b66533 | diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/contentAssist/ternAssist.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/contentAssist/ternAssist.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/contentAssist/ternAssist.js
+++ b/bund... | [nobug] - When outside of HTML blocks tooling needs to return API specified emtpy array, not undefined | eclipse_orion.client | train | js,js |
4a68339c700fa4b202b4012ca90d4e1181fc6810 | diff --git a/release.js b/release.js
index <HASH>..<HASH> 100644
--- a/release.js
+++ b/release.js
@@ -214,8 +214,8 @@
pushCmds.push(
comment('push to bower (master and tag) and publish to npm'),
'cd ' + options.cwd,
- 'git push -q origin master',
- fill('git push -q origin v{{newVe... | update(build): simplifies push commands in release script | angular_material | train | js |
fa454b5950af23dd6b24312dc7e771eb9ec432fa | diff --git a/socketIO_client/__init__.py b/socketIO_client/__init__.py
index <HASH>..<HASH> 100644
--- a/socketIO_client/__init__.py
+++ b/socketIO_client/__init__.py
@@ -222,7 +222,12 @@ class SocketIO(object):
@property
def connected(self):
- return self.__transport.connected
+ try:
+ ... | Catch AttributeError in client connected check
If the client has never connected, there will be no __transport attribute. | invisibleroads_socketIO-client | train | py |
860d4c54a905b55d8342e539062ca16780e5fb82 | diff --git a/f90nml/namelist.py b/f90nml/namelist.py
index <HASH>..<HASH> 100644
--- a/f90nml/namelist.py
+++ b/f90nml/namelist.py
@@ -185,12 +185,12 @@ class Namelist(OrderedDict):
# Uppercase
@property
def uppercase(self):
- """Return True if names are displayed in upper case."""
+ """Pri... | Doc: Final docstring update (for now) | marshallward_f90nml | train | py |
766d8ddb0e608621916cf9bc63afb8aca9d24275 | diff --git a/integration-tests/src/test/java/tachyon/master/ServiceSocketBindIntegrationTest.java b/integration-tests/src/test/java/tachyon/master/ServiceSocketBindIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/integration-tests/src/test/java/tachyon/master/ServiceSocketBindIntegrationTest.java
+++ b/integratio... | removed reduntant final for private methods | Alluxio_alluxio | train | java |
c73c50d5c1293f03016b70e03e267199fe41d66e | diff --git a/www/javascript/swat-disclosure.js b/www/javascript/swat-disclosure.js
index <HASH>..<HASH> 100644
--- a/www/javascript/swat-disclosure.js
+++ b/www/javascript/swat-disclosure.js
@@ -5,7 +5,6 @@ function SwatDisclosure(id)
// get initial state
if (this.div.className == 'swat-disclosure-container-opene... | Removed 'test' alert
svn commit r<I> | silverorange_swat | train | js |
4d11441944b3a996499f3e1464449a6f1d49a1ba | diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -481,7 +481,7 @@ class Puppet::Parser::Scope
#
# @param [String] name the variable name to lookup
#
- # @return Object the value of the variable... | (PUP-<I>) Update documentation for Scope#lookupvar for non found var
This updates the yard docs for Scope#lookupvar with information that
it will throw :undefined_variable if `strict_variables` is turned on. | puppetlabs_puppet | train | rb |
e6a88699ce41bc787659f4953933cd4dd098d04a | diff --git a/code/DocumentationService.php b/code/DocumentationService.php
index <HASH>..<HASH> 100644
--- a/code/DocumentationService.php
+++ b/code/DocumentationService.php
@@ -249,6 +249,7 @@ class DocumentationService {
* @param bool $major is this a major release
*/
public static function register($module,... | MINOR Throwing exception when path is not found | silverstripe_silverstripe-docsviewer | train | php |
989d689c2077753dedc5a563bd86ebe56f0f2812 | diff --git a/cohorts/variant_filters.py b/cohorts/variant_filters.py
index <HASH>..<HASH> 100644
--- a/cohorts/variant_filters.py
+++ b/cohorts/variant_filters.py
@@ -57,6 +57,9 @@ def variant_string_to_variant(variant_str, reference="grch37"):
def load_ensembl_coverage(cohort, coverage_path, min_depth=30):
"""
... | Update pylint and comment | hammerlab_cohorts | train | py |
f1e14d0cb2a7a7cb574428df4a9b561b413af8bc | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestEncoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestEncoder.java
index <HASH>..<HASH> 100644
--- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestEncoder.java
+++ b/codec-http/src/main/java/io/netty/... | Only add / to uri if really needed.
Motivation:
We not need to include the start index in the check. See <URL> | netty_netty | train | java |
fae1b2e83a5e9a24e0fb38e247c7d17a25a099b6 | diff --git a/tests/Extension/Issue1134Test.php b/tests/Extension/Issue1134Test.php
index <HASH>..<HASH> 100644
--- a/tests/Extension/Issue1134Test.php
+++ b/tests/Extension/Issue1134Test.php
@@ -26,7 +26,7 @@ final class Issue1134Test extends TestCase
/**
* @throws ReflectionException
*/
- public fu... | #<I> - Rename test case method | phalcon_zephir | train | php |
914dd8627d579439c9c50e8a4dde2387a84dec2f | diff --git a/xmlnuke-php5/src/Xmlnuke/Core/Cache/ShmopCacheEngine.class.php b/xmlnuke-php5/src/Xmlnuke/Core/Cache/ShmopCacheEngine.class.php
index <HASH>..<HASH> 100644
--- a/xmlnuke-php5/src/Xmlnuke/Core/Cache/ShmopCacheEngine.class.php
+++ b/xmlnuke-php5/src/Xmlnuke/Core/Cache/ShmopCacheEngine.class.php
@@ -36,7 +36,... | Updated ShmopCacheEngine comments | byjg_xmlnuke | train | php |
0edb61fbfae6ecd22fe80a59a937901b9701eb70 | diff --git a/alot/helper.py b/alot/helper.py
index <HASH>..<HASH> 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -17,6 +17,7 @@ from twisted.internet.protocol import ProcessProtocol
from twisted.internet.defer import Deferred
import StringIO
import logging
+import tempfile
def safely_get(clb, E, on_error='... | add helper.parse_mailcap_nametemplate
that splits a nametemplate string as given in the mailcap
sensibly into prefix and suffix | pazz_alot | train | py |
0f191e2dd26168ee5ecdc52f6fa7614b4293b1da | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -155,20 +155,18 @@ var toMultiServerAddress = exports.toMultiServerAddress = function (addr) {
var isAddress = exports.isAddress = function (data) {
var host, port, id
if(isObject(data)) {
- id = data.key
- host =... | allow `isAddress({key, host, port})` which is used by scuttlebot/plugins/gossip/init - removing this was a breaking change, with unfortunately no test coverage | ssbc_ssb-ref | train | js |
b51956a9a7659accd83f2c84249f758c063661de | diff --git a/core/src/main/java/org/mapfish/print/config/ConfigurationException.java b/core/src/main/java/org/mapfish/print/config/ConfigurationException.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/mapfish/print/config/ConfigurationException.java
+++ b/core/src/main/java/org/mapfish/print/config/Confi... | SonarCube issues.
* ConfigurationException: Remove unused field. | mapfish_mapfish-print | train | java |
9044ee921e1ec67eda74a748a7ac2ca378895ea1 | diff --git a/src/middleware/dialogManager.js b/src/middleware/dialogManager.js
index <HASH>..<HASH> 100644
--- a/src/middleware/dialogManager.js
+++ b/src/middleware/dialogManager.js
@@ -137,20 +137,20 @@ Dialog.prototype._continueDialog = function (context, next) {
var intentFilter = dialog.steps[sessionDialog.st... | don't exit the current dialog just because no match was found in the current dialog step | iopa-io_iopa-bot | train | js |
071791b8de4f4c2a6d251800c05d238213d9db82 | diff --git a/simuvex/s_cc.py b/simuvex/s_cc.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_cc.py
+++ b/simuvex/s_cc.py
@@ -57,7 +57,7 @@ class SimCC(object):
e = state.BVV(expr, state.arch.bits)
elif type(expr) in (str,):
e = state.BVV(expr)
- elif not isinstanc... | make SimCC work with typedast | angr_angr | train | py |
7f44a928d2a69fcbf4609b93470c1bd8a8b035a6 | diff --git a/allennlp/common/registrable.py b/allennlp/common/registrable.py
index <HASH>..<HASH> 100644
--- a/allennlp/common/registrable.py
+++ b/allennlp/common/registrable.py
@@ -48,9 +48,9 @@ class Registrable(FromParams):
Parameters
----------
- name: ``str``
+ name : ``str``
... | Fixup to a single docstring. (#<I>) | allenai_allennlp | train | py |
a44c9d5c01c4d56ecb5d419e74cd1f00e91d99f7 | diff --git a/test/watchCases/parsing/switching-harmony/0/index.js b/test/watchCases/parsing/switching-harmony/0/index.js
index <HASH>..<HASH> 100644
--- a/test/watchCases/parsing/switching-harmony/0/index.js
+++ b/test/watchCases/parsing/switching-harmony/0/index.js
@@ -11,11 +11,11 @@ it("should flag modules correctly... | WATCH_STEP is a string | webpack_webpack | train | js |
a846705ee85218c317f52d04458fc5eee2ce4f80 | diff --git a/client/getobject.go b/client/getobject.go
index <HASH>..<HASH> 100644
--- a/client/getobject.go
+++ b/client/getobject.go
@@ -46,7 +46,7 @@ func (obj *GetObject) Content() ([]byte, error) {
if obj == nil {
return nil, nil
}
- if len(obj.Blob) == 0 {
+ if len(obj.Blob) > 0 || obj.Location == "" {
... | lets return something if there is seomthign... ugh | jpfielding_gorets | train | go |
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.