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 |
|---|---|---|---|---|---|
224be6d120e4ec9e81ae6cfeaee74785c68bd4f6 | diff --git a/lib/branch_io_cli/command/report_command.rb b/lib/branch_io_cli/command/report_command.rb
index <HASH>..<HASH> 100644
--- a/lib/branch_io_cli/command/report_command.rb
+++ b/lib/branch_io_cli/command/report_command.rb
@@ -294,16 +294,9 @@ EOF
# String containing information relevant to Branch setu... | Removed some things from the Branch report | BranchMetrics_branch_io_cli | train | rb |
2ea14349ce87a7353ca77d5501ce571b552c17ae | diff --git a/lib/launchy/application.rb b/lib/launchy/application.rb
index <HASH>..<HASH> 100644
--- a/lib/launchy/application.rb
+++ b/lib/launchy/application.rb
@@ -148,14 +148,11 @@ module Launchy
if my_os_family == :windows then
# NOTE: the command is purposely omitted here because
- # ... | Fixed a bug in launching a browser in Windows | copiousfreetime_launchy | train | rb |
431dc2c6b0ad17b2bbc9aca2fc03f4b065f1fdd8 | diff --git a/lib/picker.js b/lib/picker.js
index <HASH>..<HASH> 100644
--- a/lib/picker.js
+++ b/lib/picker.js
@@ -274,7 +274,9 @@ function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
// * In Firefox stopPropagation() doesn’t prevent right-click events from bubbling,
... | Prevent Chrome <I> autofill from closing the picker
Closes #<I>
Thanks go to @Mwni for finding a solution | amsul_pickadate.js | train | js |
70ce862955852c8de6fbb152db869d72d81bc394 | diff --git a/pkg/registry/service/rest_test.go b/pkg/registry/service/rest_test.go
index <HASH>..<HASH> 100644
--- a/pkg/registry/service/rest_test.go
+++ b/pkg/registry/service/rest_test.go
@@ -569,6 +569,7 @@ func TestServiceRegistryIPAllocation(t *testing.T) {
for _, ip := range testIPs {
if !rest.serviceIPs.(*... | Fix the issue which TestServiceRegistryIPUpdate will randomly run failed. | kubernetes_kubernetes | train | go |
faff4e211330bca572bdcd5265aac750051e33af | diff --git a/lib/active_mocker/display_errors.rb b/lib/active_mocker/display_errors.rb
index <HASH>..<HASH> 100644
--- a/lib/active_mocker/display_errors.rb
+++ b/lib/active_mocker/display_errors.rb
@@ -68,12 +68,3 @@ module ActiveMocker
end
end
end
-
-class String
- def colorize(*args)
- require "colorize... | Remove hack for String#colorize that would cause the error: "NoMethodError: super: no superclass method `colorize' for #<String>" | zeisler_active_mocker | train | rb |
d82374f6881fb5a12b1056972d5ad70f358b8598 | diff --git a/go/test/endtoend/vtgate/queries/union/main_test.go b/go/test/endtoend/vtgate/queries/union/main_test.go
index <HASH>..<HASH> 100644
--- a/go/test/endtoend/vtgate/queries/union/main_test.go
+++ b/go/test/endtoend/vtgate/queries/union/main_test.go
@@ -28,8 +28,8 @@ import (
var (
clusterInstance *cluster.... | Removed build keyspace graph from union main test | vitessio_vitess | train | go |
d3bc0ad0f1a8aebd5d39485e5ad8f9379767558a | diff --git a/config/configuration.js b/config/configuration.js
index <HASH>..<HASH> 100644
--- a/config/configuration.js
+++ b/config/configuration.js
@@ -7,7 +7,7 @@ var node_env = process.env.NODE_ENV || "development";
var default_port = 8000;
var default_tika_version = '1.4';
-var default_tika_path = "/etc/tika-... | Updated default tika_path | AnyFetch_anyfetch-hydrater.js | train | js |
b81555beeac8eda71e8150cc9d63631aaa756965 | diff --git a/infrastructure.go b/infrastructure.go
index <HASH>..<HASH> 100644
--- a/infrastructure.go
+++ b/infrastructure.go
@@ -1211,8 +1211,6 @@ func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error
start = true
}
}
- log.Infof("Established connection to RPC server %s",
- config... | Fix "Established connection" log message.
Don't log "Established connection" message on new when
DisableConnectOnNew is set and no connection was actually established.
Do log that same message when Connect() successfully connects. | btcsuite_btcd | train | go |
985b2b1ff34c860cc1ae34bff62d5f809cf2bc99 | diff --git a/lib/celerity/element_locator.rb b/lib/celerity/element_locator.rb
index <HASH>..<HASH> 100644
--- a/lib/celerity/element_locator.rb
+++ b/lib/celerity/element_locator.rb
@@ -77,13 +77,13 @@ module Celerity
def find_by_id(what)
case what
when Regexp
- elements_by_tag_names.find { |... | Fix spec failure when locating elements by id (caused by <I> API changes) | jarib_celerity | train | rb |
512bfc4305a7607f63514dc734663c973ed954b2 | diff --git a/tests/func/experiments/test_queue.py b/tests/func/experiments/test_queue.py
index <HASH>..<HASH> 100644
--- a/tests/func/experiments/test_queue.py
+++ b/tests/func/experiments/test_queue.py
@@ -42,6 +42,7 @@ def failed_tasks(tmp_dir, dvc, scm, test_queue, failed_exp_stage):
return name_list
+@pyte... | tests: mark exp queue func tests xfail (#<I>) | iterative_dvc | train | py |
f0978e9dc2a3d70e0577285adfb8f24a1ba99a3c | diff --git a/src/java/liquibase/ext/mssql/change/LoadDataChangeMSSQL.java b/src/java/liquibase/ext/mssql/change/LoadDataChangeMSSQL.java
index <HASH>..<HASH> 100644
--- a/src/java/liquibase/ext/mssql/change/LoadDataChangeMSSQL.java
+++ b/src/java/liquibase/ext/mssql/change/LoadDataChangeMSSQL.java
@@ -10,7 +10,7 @@ imp... | bugfix: increased LoadDataChangeMSSQL priority | sabomichal_liquibase-mssql | train | java |
6cdebe48f2934002de6e55a49a2d4f2303a0517f | diff --git a/src/Ups.php b/src/Ups.php
index <HASH>..<HASH> 100644
--- a/src/Ups.php
+++ b/src/Ups.php
@@ -139,7 +139,11 @@ abstract class Ups implements LoggerAwareInterface
$accessRequest->appendChild($xml->createElement('AccessLicenseNumber', $this->accessKey));
$accessRequest->appendChild($xml->... | Fixed issue with passwords contains ! | gabrielbull_php-ups-api | train | php |
6ee24140e50cc55cd05f68e833929ad00ff04326 | diff --git a/test/HTMLCollection.test.php b/test/HTMLCollection.test.php
index <HASH>..<HASH> 100644
--- a/test/HTMLCollection.test.php
+++ b/test/HTMLCollection.test.php
@@ -20,4 +20,14 @@ public function testNonElementsRemoved() {
$this->assertInstanceOf("\phpgt\dom\Element", $bodyChildren->item(0));
}
+public f... | Add tests for HTMLDocument->forms property | PhpGt_Dom | train | php,php |
5b3b823e1b16d79f4990dc124aec4de1e7ee8819 | diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxDocumentClientImpl.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxDocumentClientImpl.java
index <HASH>..<HASH> 100644
--- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxDocumen... | Fix query plan cache initialization (#<I>)
* Fix query plan cache initialization
* Update sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxDocumentClientImpl.java
Removing the cache intialization from init method. | Azure_azure-sdk-for-java | train | java |
c5b2fb0e8f2d5169d77a65dc64e89a901c54645b | diff --git a/vendor/seahorse/spec/seahorse/client/configuration_spec.rb b/vendor/seahorse/spec/seahorse/client/configuration_spec.rb
index <HASH>..<HASH> 100644
--- a/vendor/seahorse/spec/seahorse/client/configuration_spec.rb
+++ b/vendor/seahorse/spec/seahorse/client/configuration_spec.rb
@@ -103,6 +103,19 @@ module S... | Added a spec for ensuring default configuration values resolve until a non-nil value is found. | aws_aws-sdk-ruby | train | rb |
e27354865b8a79e386377c3078993298fa689da1 | diff --git a/Malmo/samples/Python_examples/tabular_q_learning.py b/Malmo/samples/Python_examples/tabular_q_learning.py
index <HASH>..<HASH> 100755
--- a/Malmo/samples/Python_examples/tabular_q_learning.py
+++ b/Malmo/samples/Python_examples/tabular_q_learning.py
@@ -126,7 +126,9 @@ class TabQAgent:
world_state... | Minor: printing any errors received is good practice. | Microsoft_malmo | train | py |
328866e899b794880b94cc894f7ec2ebc0688ab9 | diff --git a/spec/researches/fleschReadingSpec.js b/spec/researches/fleschReadingSpec.js
index <HASH>..<HASH> 100644
--- a/spec/researches/fleschReadingSpec.js
+++ b/spec/researches/fleschReadingSpec.js
@@ -7,7 +7,6 @@ describe("a test to calculate the fleschReading score", function(){
var mockPaper = new Paper( "A ... | Removes todo from spec | Yoast_YoastSEO.js | train | js |
d5a6a3ba63f1f03139b41db22dba3099b4ec63e3 | diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/consumer.py
+++ b/openid/consumer/consumer.py
@@ -446,10 +446,12 @@ class GenericConsumer(object):
(identity_url, delegate, server_url) = pieces
- if yadis_available and xri.ident... | [project @ Handle error conditions better in complete.] | openid_python-openid | train | py |
a25bd605218c0a7c26a2ab8120499db81fe8b1c2 | diff --git a/Repository/ResourceQueryBuilder.php b/Repository/ResourceQueryBuilder.php
index <HASH>..<HASH> 100644
--- a/Repository/ResourceQueryBuilder.php
+++ b/Repository/ResourceQueryBuilder.php
@@ -399,10 +399,10 @@ class ResourceQueryBuilder
/**
* Filters nodes that are published.
*
- * @para... | [CoreBundle] Fixing view as for resource manager. | claroline_Distribution | train | php |
c7578896036bc07bb1edc2d79f699968c25ca89e | diff --git a/bika/lims/upgrade/to1117.py b/bika/lims/upgrade/to1117.py
index <HASH>..<HASH> 100644
--- a/bika/lims/upgrade/to1117.py
+++ b/bika/lims/upgrade/to1117.py
@@ -9,4 +9,5 @@ def upgrade(tool):
portal = aq_parent(aq_inner(tool))
setup = portal.portal_setup
- setup.runImportStepFromProfile('profil... | Upgrade <I> - add run_dependencies=False
Somehow re-importing the 'portlets' step, causes
a beforeDelete handler to fail a HoldingReference
check. | senaite_senaite.core | train | py |
c6ae37cdb4345946b87d163d3d28fc20083ea21c | diff --git a/src/Illuminate/Support/helpers.php b/src/Illuminate/Support/helpers.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/helpers.php
+++ b/src/Illuminate/Support/helpers.php
@@ -476,18 +476,23 @@ if ( ! function_exists('env'))
{
$value = getenv($key);
- switch (strtolower($value)) {
+ swit... | Fixing a few formatting things. | laravel_framework | train | php |
3662bb512c967d222457318f7e3231eef725c27e | diff --git a/test/daemon_runner/shell_out_test.rb b/test/daemon_runner/shell_out_test.rb
index <HASH>..<HASH> 100644
--- a/test/daemon_runner/shell_out_test.rb
+++ b/test/daemon_runner/shell_out_test.rb
@@ -94,7 +94,7 @@ class ShellOutTest < Minitest::Test
assert_equal [1], shellout.valid_exit_codes
end
- de... | Provide better test names for wait2 tests. | rapid7_daemon_runner | train | rb |
c4366124c7e600800d48ce47b3a3b856b33c489a | diff --git a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
+++ b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
@@ -289,8 +289,9 @@ class ManyToManyPersister extends Abs... | #<I> DDC-<I> - removed unused assignment, direct return instead | doctrine_orm | train | php |
11ef853745335cf6302fe51565ecf3b2a159fd3e | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -551,6 +551,22 @@ describe('S3rver Tests', function () {
});
});
+
+ it('should list objects in a bucket filtered by a prefix 2', function (done) {
+ s3Client.listObjectsV2({ 'Bucket': buckets[1],... | test(listObjects): Adds test for issue #<I> | jamhall_s3rver | train | js |
167b5ad00c4aca087e56d91663fbf12700958ad4 | diff --git a/terms/html.py b/terms/html.py
index <HASH>..<HASH> 100644
--- a/terms/html.py
+++ b/terms/html.py
@@ -73,8 +73,8 @@ def get_interesting_contents(parent_node, replace_regexp):
if TERMS_ENABLED:
- def replace_terms(html):
- html = force_text(html)
+ def replace_terms(original_html):
+ ... | If nothing interesting is found, return the original HTML instead of rebuilding it. | BertrandBordage_django-terms | train | py |
a1830793ee5ccf6a87c832329718d080ed39865e | diff --git a/storage/src/main/java/de/citec/jul/storage/registry/Registry.java b/storage/src/main/java/de/citec/jul/storage/registry/Registry.java
index <HASH>..<HASH> 100644
--- a/storage/src/main/java/de/citec/jul/storage/registry/Registry.java
+++ b/storage/src/main/java/de/citec/jul/storage/registry/Registry.java
@... | handle wrong consistency handling in case no handler is registered. | openbase_jul | train | java |
5dc676bea721e29c449b30a67c3718c8efc08373 | diff --git a/escpos/config.py b/escpos/config.py
index <HASH>..<HASH> 100644
--- a/escpos/config.py
+++ b/escpos/config.py
@@ -27,8 +27,7 @@ class Config(object):
)
try:
- with open(config_path) as f:
- config = yaml.load(f)
+ config = yaml.safe_load(f)
... | Convert to safe load. Also now allows loading everyting pyyaml supports | python-escpos_python-escpos | train | py |
7f8f1ad4e3e7b3eb93ec0cf11cf7cb02a947f293 | diff --git a/cmd/daily-lifecycle-ops.go b/cmd/daily-lifecycle-ops.go
index <HASH>..<HASH> 100644
--- a/cmd/daily-lifecycle-ops.go
+++ b/cmd/daily-lifecycle-ops.go
@@ -44,22 +44,12 @@ func startDailyLifecycle(ctx context.Context, objAPI ObjectLayer) {
return
case <-time.NewTimer(bgLifecycleInterval).C:
// Per... | fix: cleanup lifecycle unused code (#<I>) | minio_minio | train | go |
e2565e66c6f4b7955bafb6faa4d2b2766e3b56b4 | diff --git a/Zebra_Database.php b/Zebra_Database.php
index <HASH>..<HASH> 100644
--- a/Zebra_Database.php
+++ b/Zebra_Database.php
@@ -633,6 +633,8 @@ class Zebra_Database
'user' => $user,
'password' => $password,
'database' => $database,
+ 'port' => $po... | Fixed port and socket not used even if set
Thanks to Nam Trung for reporting | stefangabos_Zebra_Database | train | php |
c5ad9d6fdb3ec8880658fef5c0c905dcda399ddd | diff --git a/lib/minify.js b/lib/minify.js
index <HASH>..<HASH> 100644
--- a/lib/minify.js
+++ b/lib/minify.js
@@ -30,10 +30,10 @@
function check(name, callback) {
if (!name)
- throw(Error('name could not be empty!'));
+ throw Error('name could not be empty!');
... | chore(minify) throw() -> throw | coderaiser_minify | train | js |
04258d28f5eb57d2f769eb3b2b3db35aeb4e139d | diff --git a/tests/asm/test_risks.py b/tests/asm/test_risks.py
index <HASH>..<HASH> 100644
--- a/tests/asm/test_risks.py
+++ b/tests/asm/test_risks.py
@@ -125,7 +125,7 @@ TEST_RISK_TYPE_JSON = {
"type": "string",
}
TEST_RISK_TYPES_JSON = {
- "constants": [TEST_RISK_TYPE_JSON],
+ "type": [TEST_RISK_TYPE_JSO... | fix:update language to match pipeline/discover | censys_censys-python | train | py |
b1060c903e6d5a4d101113911dd48da5f13b056a | diff --git a/demo/http.php b/demo/http.php
index <HASH>..<HASH> 100644
--- a/demo/http.php
+++ b/demo/http.php
@@ -6,4 +6,24 @@ if (isset($_GET['sleep'])) {
sleep(10);
}
+if (isset($_GET['img'])) {
+ $fp = fopen(__DIR__ . '/../website/template/img/logo-small.png', 'rb');
+ header('Content-Type: image/png'... | Add cases to manually test #<I> | mnapoli_bref | train | php |
0efd1925bff45f8721c63ee13266efb21412a8dc | diff --git a/gui/src/main/java/org/jboss/as/console/client/domain/model/impl/HostInfoStoreImpl.java b/gui/src/main/java/org/jboss/as/console/client/domain/model/impl/HostInfoStoreImpl.java
index <HASH>..<HASH> 100644
--- a/gui/src/main/java/org/jboss/as/console/client/domain/model/impl/HostInfoStoreImpl.java
+++ b/gui/... | don't use caching when fetching server instances | hal_core | train | java |
41fd4b8f52a5ec2a3e3a754f3ba7f1321fb60e02 | diff --git a/Core/Listener/PackageInstalledListener.php b/Core/Listener/PackageInstalledListener.php
index <HASH>..<HASH> 100644
--- a/Core/Listener/PackageInstalledListener.php
+++ b/Core/Listener/PackageInstalledListener.php
@@ -28,13 +28,14 @@ use Symfony\Component\Process\Process;
class PackageInstalledListener
... | Valorized the event listener success param, according with the operation result | alphalemon_ElFinderBundle | train | php |
18847575d5b6afefa98356489dde278895b711b0 | diff --git a/src/zgor/ZSprite.js b/src/zgor/ZSprite.js
index <HASH>..<HASH> 100644
--- a/src/zgor/ZSprite.js
+++ b/src/zgor/ZSprite.js
@@ -390,36 +390,6 @@ zgor.ZSprite.prototype.getElement = function()
};
/**
- * @override
- * @public
- */
-zgor.ZSprite.prototype.onAddedToStage = function()
-{
- // inherited fr... | removed rudimentary event methods from zSprite | igorski_zCanvas | train | js |
d7c549d2e42de8498a021500857cbbd48b0c3ea4 | diff --git a/torrent.go b/torrent.go
index <HASH>..<HASH> 100644
--- a/torrent.go
+++ b/torrent.go
@@ -387,6 +387,8 @@ func (t *Torrent) cacheLength() {
t.length = &l
}
+// TODO: This shouldn't fail for storage reasons. Instead we should handle storage failure
+// separately.
func (t *Torrent) setInfo(info *metai... | Add TODOs around setting info bytes | anacrolix_torrent | train | go |
1d81c1998ed4abcf48ac0cb6b8e2fbc65e80a4f0 | diff --git a/biocommons/seqrepo/fastadir/fastadir.py b/biocommons/seqrepo/fastadir/fastadir.py
index <HASH>..<HASH> 100644
--- a/biocommons/seqrepo/fastadir/fastadir.py
+++ b/biocommons/seqrepo/fastadir/fastadir.py
@@ -88,7 +88,7 @@ class FastaDir(BaseReader, BaseWriter):
yield recd
def __len__(self... | fixed KeyError in FastaDir.__len__ and added test | biocommons_biocommons.seqrepo | train | py,py |
2a740752924a425cedf75607cc5de1505f3154db | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -64,9 +64,9 @@ function importEnvVars(collection, envPrefix) {
envValue = process.env[envKey];
if ((typeof(value) == 'number') || (typeof(value) == 'string') || (typeof(value) == 'boolean') ||... | Make the config environment variable override mechanism support environment variables that contain true/on or false/off. | jsbin_jsbin | train | js |
2fe1b7ae320f339d736a10cab86e49a5da19f116 | diff --git a/pygccxml/parser/scanner.py b/pygccxml/parser/scanner.py
index <HASH>..<HASH> 100644
--- a/pygccxml/parser/scanner.py
+++ b/pygccxml/parser/scanner.py
@@ -218,11 +218,9 @@ class scanner_t(xml.sax.handler.ContentHandler):
file_text = self.__files_text.get(file_decl)
# Use lines and ... | Revert part of column change
Use the start column of the comment on each line. Use the end column
only on the last line. | gccxml_pygccxml | train | py |
a54b00e770093f8d38e05dd8892b5664a5bd859c | diff --git a/session.go b/session.go
index <HASH>..<HASH> 100644
--- a/session.go
+++ b/session.go
@@ -590,7 +590,9 @@ runLoop:
default:
}
}
- } else if !processedUndecryptablePacket {
+ }
+ // If we processed any undecryptable packets, jump to the resetting of the timers directly.
+ if !processedUnde... | enter the regular run loop if no undecryptable packet was processed | lucas-clemente_quic-go | train | go |
eccecf0470298a7dbe3f2a5058d9ff2a333dcec4 | diff --git a/lib/plucky/criteria_hash.rb b/lib/plucky/criteria_hash.rb
index <HASH>..<HASH> 100644
--- a/lib/plucky/criteria_hash.rb
+++ b/lib/plucky/criteria_hash.rb
@@ -72,7 +72,7 @@ module Plucky
end
def object_ids=(value)
- raise ArgumentError unless value.respond_to?(:flatten)
+ raise Argumen... | Ruby <I> fix. Hashes respond to flatten so just allowing arrays which should be fine. | mongomapper_plucky | train | rb,rb |
18461ca62c29ff01b6a4b2e300d95a92fd42c70a | diff --git a/src/clusterpost-provider/executionserver.handlers.js b/src/clusterpost-provider/executionserver.handlers.js
index <HASH>..<HASH> 100644
--- a/src/clusterpost-provider/executionserver.handlers.js
+++ b/src/clusterpost-provider/executionserver.handlers.js
@@ -14,6 +14,23 @@ module.exports = function (server,... | ENH: Add validation function logic here
The package clusterpost-auth is deprecated now
The token validation for the execution server is performed here | juanprietob_clusterpost | train | js |
6e732b0cef3c120224a6bd5cc7839a55bbb753fe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -85,7 +85,7 @@ setup(
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
- install_requires=['requ... | adding six to the setup
see also #<I> | KE-works_pykechain | train | py |
27641b28ec6e5818867624969cb0573d28abfd43 | diff --git a/src/Administration/Resources/e2e/routes/cypress.js b/src/Administration/Resources/e2e/routes/cypress.js
index <HASH>..<HASH> 100644
--- a/src/Administration/Resources/e2e/routes/cypress.js
+++ b/src/Administration/Resources/e2e/routes/cypress.js
@@ -4,7 +4,7 @@ const childProcess = require('child_process')... | NTR - increase maxBuffer | shopware_platform | train | js |
be79c77ce8f4ce3ce3bde6d893277361f1ff430a | diff --git a/chess/uci.py b/chess/uci.py
index <HASH>..<HASH> 100644
--- a/chess/uci.py
+++ b/chess/uci.py
@@ -901,7 +901,13 @@ class Engine(object):
future.add_done_callback(async_callback)
return future
else:
- return future.result()
+ # Avoid calling future.re... | Avoid calling future.result() without a timeout (#<I>) | niklasf_python-chess | train | py |
910f3021b054c52cb8bde1ab1964eae3eceb84fd | diff --git a/head.go b/head.go
index <HASH>..<HASH> 100644
--- a/head.go
+++ b/head.go
@@ -1364,7 +1364,6 @@ type memSeries struct {
firstChunkID int
nextAt int64 // Timestamp at which to cut the next chunk.
- lastValue float64
sampleBuf [4]sample
pendingCommit bool // Whether there are samples... | Use sampleBuf instead of maintaining lastValue. (#<I>)
This cuts the size of memSize by 8B. | prometheus_prometheus | train | go |
2a172377ea5bb161579ebc875d56958ba8a25404 | diff --git a/ceph_deploy/tests/unit/hosts/test_suse.py b/ceph_deploy/tests/unit/hosts/test_suse.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/unit/hosts/test_suse.py
+++ b/ceph_deploy/tests/unit/hosts/test_suse.py
@@ -19,7 +19,7 @@ class TestSuseInit(object):
init_type = self.host.choose_init()
... | functionnames cant have '.' in the name | ceph_ceph-deploy | train | py |
b82ed669f25b525075a7edc459d3205028d083d0 | diff --git a/Trustly/Data/jsonrpcresponse.php b/Trustly/Data/jsonrpcresponse.php
index <HASH>..<HASH> 100644
--- a/Trustly/Data/jsonrpcresponse.php
+++ b/Trustly/Data/jsonrpcresponse.php
@@ -33,15 +33,15 @@ class Trustly_Data_JSONRPCResponse extends Trustly_Data_Response {
}
public function getErrorCode() {
- if... | Collect the error in the correct location | trustly_trustly-client-php | train | php |
4bfae0dab7b98f13313ed92cf61562f9d39d052e | diff --git a/lib/functions/image.js b/lib/functions/image.js
index <HASH>..<HASH> 100644
--- a/lib/functions/image.js
+++ b/lib/functions/image.js
@@ -62,16 +62,18 @@ Image.prototype.close = function(){
Image.prototype.type = function(){
var type
- , chunk = fs.readSync(this.fd, 10, 0)[0];
+ , buf = new Buf... | Refactored Image#type() | stylus_stylus | train | js |
09f4bcaa6af1de82b4f57b80043ddaffb386cf44 | diff --git a/lib/compiler.js b/lib/compiler.js
index <HASH>..<HASH> 100644
--- a/lib/compiler.js
+++ b/lib/compiler.js
@@ -1,6 +1,5 @@
'use strict';
-var fs = require('fs');
var utils = require('./utils');
/** | Compiler no longer uses fs, removing require | krg7880_json-schema-generator | train | js |
2f53cc9c122012390b9f453e55f7a606b8f9dd02 | diff --git a/Tests/Functional/FunctionalTest.php b/Tests/Functional/FunctionalTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/FunctionalTest.php
+++ b/Tests/Functional/FunctionalTest.php
@@ -223,7 +223,7 @@ class FunctionalTest extends WebTestCase
'dateAsInterface' => [
... | Add ',' in the end of array | nelmio_NelmioApiDocBundle | train | php |
90b95ada1990d978470de9e1f826390d7b5ec130 | diff --git a/tests/scripts/install_odoo.py b/tests/scripts/install_odoo.py
index <HASH>..<HASH> 100755
--- a/tests/scripts/install_odoo.py
+++ b/tests/scripts/install_odoo.py
@@ -50,6 +50,8 @@ def install_odoo():
subprocess.check_call(["pip", "install", "pyyaml<4"])
# Odoo not compatible with werkzeug 1.0: ht... | Workaround Odoo jinja2 compatibility issue | acsone_click-odoo | train | py |
2f5a9833e0bb1469a7b60e7b6cd71f69d8881fec | diff --git a/lib/model/precondition.rb b/lib/model/precondition.rb
index <HASH>..<HASH> 100644
--- a/lib/model/precondition.rb
+++ b/lib/model/precondition.rb
@@ -43,7 +43,7 @@ module SimpleXml
handle_temporal
elsif attr_val('@type') == DATETIMEDIFF
handle_grouping_functional
- elsif attr_... | Correctly handle SATISFIES clauses within subset operators | projecttacoma_simplexml_parser | train | rb |
ee07a7badd7a67d6c71253aa353925ca4ed3adcc | diff --git a/Kwc/Form/Component.defer.js b/Kwc/Form/Component.defer.js
index <HASH>..<HASH> 100644
--- a/Kwc/Form/Component.defer.js
+++ b/Kwc/Form/Component.defer.js
@@ -52,6 +52,8 @@ Kwc.Form.Component = function(form)
}
}, this);
+ this.errorStyle = new Kwf.FrontendForm.errorStyles[this.config.err... | moved code for errorStyle before form fields init in frontendForm | koala-framework_koala-framework | train | js |
f42177983fb2c9896748402fd482a3eb572914a6 | diff --git a/drivers/virtualbox/virtualbox.go b/drivers/virtualbox/virtualbox.go
index <HASH>..<HASH> 100644
--- a/drivers/virtualbox/virtualbox.go
+++ b/drivers/virtualbox/virtualbox.go
@@ -656,9 +656,7 @@ func getAvailableTCPPort(port int) (int, error) {
port = 0 // Throw away the port hint before trying again
... | Remove stray sleep()
This is just a bit of development debris. | docker_machine | train | go |
85a140ffcc920812e7ae2bcaafec5672f8dea905 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/V
install_requires=[
"tornado>=2.1.1,<2.2.0",
- "pyCrypto>=2.4.1,<2.5.0",
+ "pyCrypto>=2.4.1",... | as ubuntu <I> comes with python-crypto <I>-2, Thumbor does not want starting | thumbor_thumbor | train | py |
f9d6c8ca0faa4fe9a7b7a2f9107b545a4ae910da | diff --git a/djangui/backend/ast/source_parser.py b/djangui/backend/ast/source_parser.py
index <HASH>..<HASH> 100644
--- a/djangui/backend/ast/source_parser.py
+++ b/djangui/backend/ast/source_parser.py
@@ -123,9 +123,9 @@ def walk_tree(node):
for key, value in d.items():
if isinstance(value, list):
... | fix for argparse being defined inside the __main__ statement | Chris7_django-djangui | train | py |
74686a0c642840340bc65e35a40f63ef79463b61 | diff --git a/spec/lib/bootstrap_forms/form_builder_spec.rb b/spec/lib/bootstrap_forms/form_builder_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/bootstrap_forms/form_builder_spec.rb
+++ b/spec/lib/bootstrap_forms/form_builder_spec.rb
@@ -97,7 +97,7 @@ describe 'BootstrapForms::FormBuilder' do
end
... | use hashrockets for < Ruby <I> | sethvargo_bootstrap_forms | train | rb |
a6f6414855dbbc02501d7ff87c1ed8a93ae81c3f | diff --git a/src/service.js b/src/service.js
index <HASH>..<HASH> 100644
--- a/src/service.js
+++ b/src/service.js
@@ -139,9 +139,9 @@ class Service {
if (this.id === '_id') {
// We can not update default mongo ids
delete data[this.id];
- } else if (data[this.id] === undefined) {
- // If not ... | enforcing that you shouldn't be able to change ids | feathersjs-ecosystem_feathers-mongoose | train | js |
614c047f12ae20852207adb0c9bd104089932a8a | diff --git a/nrrd.py b/nrrd.py
index <HASH>..<HASH> 100644
--- a/nrrd.py
+++ b/nrrd.py
@@ -288,11 +288,12 @@ def read_header(nrrdfile):
it = iter(nrrdfile)
- headerSize += _validate_magic_line(it.next())
+ headerSize += _validate_magic_line(next(it).decode('ascii'))
header = { 'keyvaluepairs': {} ... | Python 3 compatibility
- Decode header as ASCII to work with Python 3 (as is assumed in NRRD format, <URL>)
- next(it) instead of it.next()
Changes work for Python 2 & 3 | mhe_pynrrd | train | py |
128a195a2012bdc7fb8012ae9b38d54f7bbfeeaf | diff --git a/code/Helpers/ConfigParser.php b/code/Helpers/ConfigParser.php
index <HASH>..<HASH> 100644
--- a/code/Helpers/ConfigParser.php
+++ b/code/Helpers/ConfigParser.php
@@ -201,7 +201,10 @@ class ConfigParser
$arguments = isset($matches[2]) ? $matches[2] : '';
foreach ($this->config->p... | BUGFIX: check for provider class exists | littlegiant_silverstripe-seeder | train | php |
8249e5fdd0c9c3c9719a4d996045dca4d1c3a6ff | diff --git a/craftai/client.py b/craftai/client.py
index <HASH>..<HASH> 100644
--- a/craftai/client.py
+++ b/craftai/client.py
@@ -32,7 +32,7 @@ class CraftAIClient(object):
""" or invalid token provided.""")
if (not isinstance(cfg.get("project"), six.string_types)):
... | Fix the error message when the project is badly set | craft-ai_craft-ai-client-python | train | py |
81b33de54998ead8454a2d62ce52a77ae8c393d1 | diff --git a/lib/plugins/processor/index.js b/lib/plugins/processor/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/processor/index.js
+++ b/lib/plugins/processor/index.js
@@ -315,7 +315,8 @@ extend.processor.register(/^([^_].*)\.(\w+)/, function(file, callback){
if (renderer.indexOf(extname) === -1){
... | Processor: Write source file with stream | hexojs_hexo | train | js |
bab1314d149c1df549d40162aa17f9f0dfe7f610 | diff --git a/src/test/java/org/reflections/ReflectionsTest.java b/src/test/java/org/reflections/ReflectionsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/reflections/ReflectionsTest.java
+++ b/src/test/java/org/reflections/ReflectionsTest.java
@@ -214,7 +214,7 @@ public class ReflectionsTest {
@Te... | Fix inconsistency in unit tests related to testModel-reflections.xml
The META-INF/reflections/testModel-reflections.xml file is created by
ReflectionsCollectTest, and its presence was expected in
ReflectionsTest.testResourcesScanner(). The assertion wasn't always
satisfied, depending on the order of execution of tests... | ronmamo_reflections | train | java |
c141196e964a3ed22ffb4ae446bda5ac97c063a4 | diff --git a/src/FeedIo/FeedIo.php b/src/FeedIo/FeedIo.php
index <HASH>..<HASH> 100644
--- a/src/FeedIo/FeedIo.php
+++ b/src/FeedIo/FeedIo.php
@@ -45,9 +45,8 @@ class FeedIo
public function __construct(ClientInterface $client, LoggerInterface $logger)
{
$this->logger = $logger;
- $this->reader... | getter and setter for the reader attribute | alexdebril_feed-io | train | php |
291be20a3de31a5c3cb3a39b85dc98ec04076173 | diff --git a/test/TestCases.template.js b/test/TestCases.template.js
index <HASH>..<HASH> 100644
--- a/test/TestCases.template.js
+++ b/test/TestCases.template.js
@@ -199,7 +199,7 @@ const describeCases = config => {
return;
function _it(title, fn) {
- exportedTests.push({ title, fn, ... | increase timeout for TestCases to <I>s | webpack_webpack | train | js |
806ff7315905e7d5f4f05179c15e7df9c9ad1401 | diff --git a/src/java/org/archive/wayback/http11resourcestore/Http11ResourceStore.java b/src/java/org/archive/wayback/http11resourcestore/Http11ResourceStore.java
index <HASH>..<HASH> 100644
--- a/src/java/org/archive/wayback/http11resourcestore/Http11ResourceStore.java
+++ b/src/java/org/archive/wayback/http11resource... | BUGFIX: IOExceptions including HTTP errors, no route to host, etc were not being handled and wrapped as ResourceNotAvailable exceptions.
git-svn-id: <URL> | iipc_openwayback | train | java |
345a91b019a94455e6095a5deb7646bccf1c1256 | diff --git a/src/Core/Builder/Request/ShippingMethodRequestBuilder.php b/src/Core/Builder/Request/ShippingMethodRequestBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Core/Builder/Request/ShippingMethodRequestBuilder.php
+++ b/src/Core/Builder/Request/ShippingMethodRequestBuilder.php
@@ -98,7 +98,7 @@ class ShippingM... | WIP: add requestbuilder not added by the git add | commercetools_commercetools-php-sdk | train | php |
50e0cbd0675be48a003a35059042befbdaaed41c | diff --git a/pymongo/collection.py b/pymongo/collection.py
index <HASH>..<HASH> 100644
--- a/pymongo/collection.py
+++ b/pymongo/collection.py
@@ -1007,7 +1007,8 @@ class Collection(common.BaseObject):
response = self.__database.command("mapreduce", self.__name,
map=... | Handle no 'result' field in M/R PYTHON-<I>
For now this only happens with inline map reduce which
we provide a separate method to handle. | mongodb_mongo-python-driver | train | py |
322eff3663241c0346c71301e1ebaf83085ea18b | diff --git a/pyani/pyani_graphics.py b/pyani/pyani_graphics.py
index <HASH>..<HASH> 100644
--- a/pyani/pyani_graphics.py
+++ b/pyani/pyani_graphics.py
@@ -207,7 +207,7 @@ def heatmap_mpl(df, outfilename=None, title=None, cmap=None,
width_ratios = [1, 0.15])
rowdend_axe... | Corrected row dendrogram orientation in MPL | widdowquinn_pyani | train | py |
cb65c921c3ad29c7a964e6f8b8b4212853bc240e | diff --git a/machina/apps/conversation/views.py b/machina/apps/conversation/views.py
index <HASH>..<HASH> 100644
--- a/machina/apps/conversation/views.py
+++ b/machina/apps/conversation/views.py
@@ -73,7 +73,7 @@ class TopicView(PermissionRequiredMixin, ListView):
def get_queryset(self):
self.topic = se... | Fixed PostEdit mixin form_valid method | ellmetha_django-machina | train | py |
0a42dd1c207d236d869a2c001edd64a530ade3d0 | diff --git a/stripe/__init__.py b/stripe/__init__.py
index <HASH>..<HASH> 100644
--- a/stripe/__init__.py
+++ b/stripe/__init__.py
@@ -329,7 +329,9 @@ class APIRequestor(object):
# However, that's ok because the CA bundle they use recognizes
# api.stripe.com.
args['validate_certificate'] = verify_ssl_cer... | Time out GAE requests after <I> seconds | stripe_stripe-python | train | py |
f52f2397af0a3dda05bf52d4aee9d22f9891f643 | diff --git a/crispy_forms/tests/test_settings_bootstrap.py b/crispy_forms/tests/test_settings_bootstrap.py
index <HASH>..<HASH> 100644
--- a/crispy_forms/tests/test_settings_bootstrap.py
+++ b/crispy_forms/tests/test_settings_bootstrap.py
@@ -25,3 +25,4 @@ MIDDLEWARE_CLASSES = (
ROOT_URLCONF = 'urls'
CRISPY_TEMPLAT... | Added compulsory SECRET_KEY to test settings | django-crispy-forms_django-crispy-forms | train | py |
aa16a17ddb950056f2e0c29ac1151c6dd6f8e17b | diff --git a/lib/guard/coffeelint.rb b/lib/guard/coffeelint.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/coffeelint.rb
+++ b/lib/guard/coffeelint.rb
@@ -44,7 +44,13 @@ module Guard
"#{error_count} errors in #{paths.length} files"
end
- Notifier.notify(message, title: "Coffeelint", image: :faile... | Show the "success" image when error count equals 0. | meagar_guard-coffeelint | train | rb |
72d85272e62b24ae370532a3b06e3993bf88c843 | diff --git a/pyvisa-py/serial.py b/pyvisa-py/serial.py
index <HASH>..<HASH> 100644
--- a/pyvisa-py/serial.py
+++ b/pyvisa-py/serial.py
@@ -65,7 +65,7 @@ class SerialSession(Session):
else:
cls = Serial
- self.interface = cls(port=self.parsed.board, timeout=2000, writeTimeout=2000)
+ ... | pyserial renamed writeTimeout to write_timeout in version <I> | pyvisa_pyvisa-py | train | py |
9dd2401b8ac688e7115285538f8ceed0a54ff605 | diff --git a/src/main/java/com/orientechnologies/security/auditing/ODefaultAuditing.java b/src/main/java/com/orientechnologies/security/auditing/ODefaultAuditing.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/orientechnologies/security/auditing/ODefaultAuditing.java
+++ b/src/main/java/com/orientechnologies/s... | Fixed ODefaultAuditing.getConfigFile() so it would compile. | orientechnologies_orientdb | train | java |
10d7c1c91b44c0fda2fe46fc4647deadaff0f441 | diff --git a/collectors/build/sonar/src/main/java/com/capitalone/dashboard/collector/DefaultSonar6Client.java b/collectors/build/sonar/src/main/java/com/capitalone/dashboard/collector/DefaultSonar6Client.java
index <HASH>..<HASH> 100644
--- a/collectors/build/sonar/src/main/java/com/capitalone/dashboard/collector/Defau... | Fix sonar CodeQuallity collector parse error (#<I>) (#<I>) | Hygieia_Hygieia | train | java |
24c8deac0451e7340d517f204c256c4c9e9c7d11 | diff --git a/great_expectations/dataset/dataset.py b/great_expectations/dataset/dataset.py
index <HASH>..<HASH> 100644
--- a/great_expectations/dataset/dataset.py
+++ b/great_expectations/dataset/dataset.py
@@ -3564,7 +3564,7 @@ class Dataset(MetaDataset):
"""
if partition_object is None:
- ... | Return to default of "uniform" bins for profiling | great-expectations_great_expectations | train | py |
26164a45832f17114518c68df8f5888d9aa53c82 | diff --git a/lib/redis-search.js b/lib/redis-search.js
index <HASH>..<HASH> 100644
--- a/lib/redis-search.js
+++ b/lib/redis-search.js
@@ -55,16 +55,18 @@ Search.prototype.query = function(data, start, stop, callback) {
for(var index in keyMap) {
if (keyMap.hasOwnProperty(index)) {
var keys = keyMap[inde... | don't crash if keys is undefined | barisusakli_redis-search | train | js |
83b52b5b7ffd70ccd3e7a5ab2f5922b4c5caf5d7 | diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Autoload/AutoloadGenerator.php
+++ b/src/Composer/Autoload/AutoloadGenerator.php
@@ -148,6 +148,10 @@ EOF;
}
foreach ($package->getAutoload() ... | Avoid blowing up on misconfigured autoload entries | mothership-ec_composer | train | php |
afd49c7b0ada1d75d8e5702c179021b87d4efde1 | diff --git a/bootstrap/run_app_action.go b/bootstrap/run_app_action.go
index <HASH>..<HASH> 100644
--- a/bootstrap/run_app_action.go
+++ b/bootstrap/run_app_action.go
@@ -117,6 +117,9 @@ func (a *RunAppAction) Run(s *State) error {
if err != nil {
return err
}
+ if len(hosts) == 0 {
+ return errors.New("bo... | bootstrap: Avoid divide by zero in host selection
If there are no hosts running at this point, the host selection will
panic with a divide by zero. Instead, if there are no hosts, return an
error. | flynn_flynn | train | go |
7d64c540056ef7bec73edb9cd58173c645ba4c7c | diff --git a/settings/default.includes.settings.php b/settings/default.includes.settings.php
index <HASH>..<HASH> 100644
--- a/settings/default.includes.settings.php
+++ b/settings/default.includes.settings.php
@@ -2,13 +2,13 @@
/**
* @file
- * Generated by BLT. Serves as a central aggregation point for adding set... | Fix code style standards in settings files. (#<I>) | acquia_blt | train | php,php |
23dd3505928c5bd9a3b82695f3b6c3bce838cd36 | diff --git a/daemon/k8s_watcher.go b/daemon/k8s_watcher.go
index <HASH>..<HASH> 100644
--- a/daemon/k8s_watcher.go
+++ b/daemon/k8s_watcher.go
@@ -233,7 +233,14 @@ func (d *Daemon) serviceAddFn(obj interface{}) {
}
if svc.Spec.Type != v1.ServiceTypeClusterIP {
- log.Infof("Ignoring service %s/%s since its type i... | k8s: Ignore headless services | cilium_cilium | train | go |
9fe4f110eae858d6dd18154ce0e69c5d595121c9 | diff --git a/lib/dashboard.js b/lib/dashboard.js
index <HASH>..<HASH> 100644
--- a/lib/dashboard.js
+++ b/lib/dashboard.js
@@ -475,18 +475,24 @@ async function findRecord(ctx, next) {
async function _getContentSections() {
return Section.scope('content').findAll({
- where: {
- fields: {
- [Sequeliz... | Filter out sections that don't have fields (#<I>)
Resolves #<I> | vapid_vapid | train | js |
b1c206014486aa95701eb39b664622a649a713aa | diff --git a/test/lib/system/index_spec.js b/test/lib/system/index_spec.js
index <HASH>..<HASH> 100644
--- a/test/lib/system/index_spec.js
+++ b/test/lib/system/index_spec.js
@@ -77,6 +77,30 @@ describe('lib/system/index_spec.js', function(){
});
});
+ describe('get_os_name', function(){
+
+ it('should ge... | Added a few things in system/index testse. | prey_prey-node-client | train | js |
fa0c464d3948fa871d08310b6527dea234262e55 | diff --git a/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/LocalCacheBuilder.java b/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/LocalCacheBuilder.java
index <HASH>..<HASH> 100644
--- a/clustering/infinispan/extension/src/main/ja... | Add workaround for ISPN-<I>. | wildfly_wildfly | train | java |
dfd67971c3d06ed8df0ffe17b8a50eec71130c87 | diff --git a/lib/build/jake.rb b/lib/build/jake.rb
index <HASH>..<HASH> 100644
--- a/lib/build/jake.rb
+++ b/lib/build/jake.rb
@@ -153,6 +153,17 @@ class Jake
return server, addr, port
end
+ def self.run_local_server_with_logger(port, log_file)
+ addr = localip
+ log = WEBrick::Log.new log_file
+ ac... | Added to Jake a method to run it with custom logger | rhomobile_rhodes | train | rb |
872d91a48dd7938f69b9efe352d566e5fdea99eb | diff --git a/packages/cli/src/commands/server/middleware/getSecurityHeadersMiddleware.js b/packages/cli/src/commands/server/middleware/getSecurityHeadersMiddleware.js
index <HASH>..<HASH> 100644
--- a/packages/cli/src/commands/server/middleware/getSecurityHeadersMiddleware.js
+++ b/packages/cli/src/commands/server/midd... | feat: Add hint for browser extensions that may break debug (#<I>)
* Add hint for browser extensions that may break debug
* Update getSecurityHeadersMiddleware.js
* Fix lint error | react-native-community_cli | train | js |
a6a003d0a711e69c4921bd43545da70ff942e93f | diff --git a/BraintreeApi/src/main/java/com/braintreepayments/api/BraintreeApi.java b/BraintreeApi/src/main/java/com/braintreepayments/api/BraintreeApi.java
index <HASH>..<HASH> 100644
--- a/BraintreeApi/src/main/java/com/braintreepayments/api/BraintreeApi.java
+++ b/BraintreeApi/src/main/java/com/braintreepayments/api... | Send metadata source as coinbase-browser on coinbase tokenization | braintree_braintree_android | train | java |
5c0723f2d5c96588faae192756ffa4b7de53fc9e | diff --git a/convert_to_ejml31.py b/convert_to_ejml31.py
index <HASH>..<HASH> 100755
--- a/convert_to_ejml31.py
+++ b/convert_to_ejml31.py
@@ -64,13 +64,13 @@ F("_D32","_R32")
F("_CD64","_CR64")
F("_CD32","_CR32")
-F("CommonOps.","CommonOps_R64")
-F("CovarianceOps.","CovarianceOps_R64")
-F("EigenOps.","EigenOps_R64... | - covering more situations in convert script | lessthanoptimal_ejml | train | py |
0f0a7cf5604fbc09e5cee30ec28d4f284303963d | diff --git a/tests/unit/utils/verify_test.py b/tests/unit/utils/verify_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/verify_test.py
+++ b/tests/unit/utils/verify_test.py
@@ -10,6 +10,7 @@ import stat
import shutil
import resource
import tempfile
+import socket
# Import Salt libs
import salt.utils
@@... | Add a unit test for passing IPv6-formatted addresses to verify_socket. | saltstack_salt | train | py |
023e3391b36a2d7a99a8e02295eb4d2161c842d8 | diff --git a/src/Gzero/Repository/ContentRepository.php b/src/Gzero/Repository/ContentRepository.php
index <HASH>..<HASH> 100644
--- a/src/Gzero/Repository/ContentRepository.php
+++ b/src/Gzero/Repository/ContentRepository.php
@@ -155,7 +155,7 @@ class ContentRepository extends BaseRepository {
*/
/**
- ... | KMS-<I>_getAncestors fix function desc | GrupaZero_cms | train | php |
fce366894dc548312666ddef8fab9f179380c86b | diff --git a/rpcserver.go b/rpcserver.go
index <HASH>..<HASH> 100644
--- a/rpcserver.go
+++ b/rpcserver.go
@@ -965,13 +965,21 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
return nil, err
}
- // Finally generate the payment hash itself from the pre-image. This
- // will be used by clients to query for t... | rpcserver: return an encoded payment request in AddInvoice
This commit modifies the generated response to an “AddInvoice” RPC by
including an encoded payment request in the response. This change gives
callers a new atomic piece of information that they can present to the
payee, to allow completion of the payment in a ... | lightningnetwork_lnd | train | go |
21930081506972a7a4cee7fee0614fe44362dc8c | diff --git a/vcr/cassette.py b/vcr/cassette.py
index <HASH>..<HASH> 100644
--- a/vcr/cassette.py
+++ b/vcr/cassette.py
@@ -38,20 +38,18 @@ class CassetteContextDecorator(object):
with contextlib2.ExitStack() as exit_stack:
for patcher in build_patchers(cassette):
exit_stack.enter_... | Python version agnostic way of getting the next item in the generator. | kevin1024_vcrpy | train | py |
067f48473db1c467471aaf0fada14e32a3e86d14 | diff --git a/src/Tonic/Exception.php b/src/Tonic/Exception.php
index <HASH>..<HASH> 100644
--- a/src/Tonic/Exception.php
+++ b/src/Tonic/Exception.php
@@ -7,5 +7,6 @@ namespace Tonic;
*/
class Exception extends \Exception
{
- protected $message = 'An unknown Tonic exception occurred';
+ protected $message = ... | Default Error code in Tonic\Exception
Moving the default error code of <I> from dispatch.php to Tonic\Exception.php | peej_tonic | train | php |
2a323e719208f0bff230ec7fa3694557fa8778b0 | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -45,6 +45,7 @@ var Server = exports.Server = function (root, config, components) {
, body_parser: true
, cookie_parser: true
, method_override: true
+ , cleanup_response: false
... | Add an experimental middleware to cleanup the response object | sydneystockholm_shoes | train | js |
75c9c7dd4a2ac48c65552013adc2c290ec00931d | diff --git a/lib/fase-2/commonality.js b/lib/fase-2/commonality.js
index <HASH>..<HASH> 100644
--- a/lib/fase-2/commonality.js
+++ b/lib/fase-2/commonality.js
@@ -19,6 +19,11 @@ Commonality.prototype.collect = function (nodelist) {
this.matrix.summarise();
};
+var ttest_options = {
+ alpha: 0.05,
+ alternative:... | [cleanup] t-test with alpha = <I> looks good | AndreasMadsen_article | train | js |
c7c55399bee62a7178a60ca2ff320078b2df4ff2 | diff --git a/zipline/examples/dual_ema_talib.py b/zipline/examples/dual_ema_talib.py
index <HASH>..<HASH> 100644
--- a/zipline/examples/dual_ema_talib.py
+++ b/zipline/examples/dual_ema_talib.py
@@ -38,8 +38,8 @@ class DualEMATaLib(TradingAlgorithm):
def initialize(self, short_window=20, long_window=40):
... | BUG: Fix TALib example due to parameter changes.
Remove use of `sid` parameter, which was recently removed. | quantopian_zipline | train | py |
5538af98a43fb7198907cad10ec73c5378e59bb5 | diff --git a/desktop/app/menu-bar.js b/desktop/app/menu-bar.js
index <HASH>..<HASH> 100644
--- a/desktop/app/menu-bar.js
+++ b/desktop/app/menu-bar.js
@@ -28,7 +28,10 @@ export default function () {
resizable: false,
preloadWindow: true,
icon: icon,
- showDockIcon: true, // This causes menubar to not ... | Update showDockIcon option to reflect upstream rename | keybase_client | train | js |
217a40d1bd7c1eabef6674ab1a3e0b2146d795a9 | diff --git a/src/Http/FormAuthenticationHook.php b/src/Http/FormAuthenticationHook.php
index <HASH>..<HASH> 100644
--- a/src/Http/FormAuthenticationHook.php
+++ b/src/Http/FormAuthenticationHook.php
@@ -36,10 +36,6 @@ class FormAuthenticationHook implements BeforeHookInterface
if ('/_form/auth/verify' === ... | oauth token path is obsolete, remove it from ignored URLs | eduvpn_vpn-lib-common | train | php,php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.