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 |
|---|---|---|---|---|---|
0fad540b4f059fefe4951e8e240190f3aa3881dd | diff --git a/classes/Request.php b/classes/Request.php
index <HASH>..<HASH> 100755
--- a/classes/Request.php
+++ b/classes/Request.php
@@ -116,7 +116,7 @@ class Request {
*/
public static function URI($relative=true){
// On some web server configurations PHP_SELF is not populated.
- $self = $_SERVER['PHP... | Request: SCRIPT_NAME priority over PHP_SELF | caffeina-core_core | train | php |
67106539668256179c4391c4d2bcf4f24883efae | diff --git a/pyOCD/gdbserver/gdbserver.py b/pyOCD/gdbserver/gdbserver.py
index <HASH>..<HASH> 100644
--- a/pyOCD/gdbserver/gdbserver.py
+++ b/pyOCD/gdbserver/gdbserver.py
@@ -105,7 +105,7 @@ class GDBServer(threading.Thread):
def run(self):
while True:
new_command = False
- data = ... | Fix socket race condition which can cause bytes to be dropped
Rather than discarding data if it is not a complete packet, keep
appending until a complete packet is formed. | mbedmicro_pyOCD | train | py |
2a90cfd3636a56e8ee0d720374e630e07e6be1df | diff --git a/evaluation_test.go b/evaluation_test.go
index <HASH>..<HASH> 100644
--- a/evaluation_test.go
+++ b/evaluation_test.go
@@ -611,6 +611,18 @@ func TestNoParameterEvaluation(test *testing.T) {
Expected: true,
},
+ EvaluationTest{
+
+ Name: "Enclosed empty function with modifier and comparator (#28... | re-added explicit test for issue <I> | Knetic_govaluate | train | go |
094f9fda56afd01605f25c306e4ce2b253a48df4 | diff --git a/lib/cli/cli.js b/lib/cli/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli/cli.js
+++ b/lib/cli/cli.js
@@ -1007,6 +1007,10 @@ module.exports.parseCommandLine = function parseCommandLine() {
describe:
'Discard URLs not matching the provided regular expression (ex: "/some/path/", "://some\\.do... | Add option for crawler to ignore robots.txt (#<I>)
* Add option for crawler to ignore robots.txt
For example we have an internal test site (a sort of showcase of all our modules), that has a noFollow rule on all its pages. With that the crawler refuses to discover any pages. However there is an option in the crawle... | sitespeedio_sitespeed.io | train | js,js |
0903f787a857251710f59a74c629cff5b21c3fad | diff --git a/src/Transformers/EloquentWorker.php b/src/Transformers/EloquentWorker.php
index <HASH>..<HASH> 100644
--- a/src/Transformers/EloquentWorker.php
+++ b/src/Transformers/EloquentWorker.php
@@ -48,6 +48,10 @@ class EloquentWorker implements TransformerWorker
$transformer = TransformerFactory::make... | Included collections now have a resource key
Since transfugio didn't make use of fractal resource keys yet
they make a great way to enable data formatters to know
wether a resource was included or not | eFrane_Transfugio | train | php |
c4596acc1cc15806233796e59f1ffe53b4113751 | diff --git a/insights/collect.py b/insights/collect.py
index <HASH>..<HASH> 100755
--- a/insights/collect.py
+++ b/insights/collect.py
@@ -103,6 +103,32 @@ plugins:
- name: insights.combiners.hostname
enabled: true
+ # needed for the CloudProvider combiner
+ - name: insights.parsers.inst... | Add components to manifest for core collection (#<I>)
* Adding new combiners and parsers they depend on to manifest so that
those components will be loaded for core collection
* If these components are not in the manifest they won't run, and the
associated specs will not be collected due to dependency failures | RedHatInsights_insights-core | train | py |
d58af6c17b8b8991ea09df675df5c9e58f025143 | diff --git a/PBB_Core.py b/PBB_Core.py
index <HASH>..<HASH> 100755
--- a/PBB_Core.py
+++ b/PBB_Core.py
@@ -376,7 +376,8 @@ class WDItemEngine(object):
elif not value_is_item:
value = claims[wd_property][x]['mainsnak']['datavalue']['value']
- if value no... | passing an empty list for a property in the constructor of PBB core will now delete the whole claim. | SuLab_WikidataIntegrator | train | py |
f043c1a93f906b74b482db40d6bfdf7ad36019e7 | diff --git a/proctor-common/src/main/java/com/indeed/proctor/common/RuleVerifyUtils.java b/proctor-common/src/main/java/com/indeed/proctor/common/RuleVerifyUtils.java
index <HASH>..<HASH> 100644
--- a/proctor-common/src/main/java/com/indeed/proctor/common/RuleVerifyUtils.java
+++ b/proctor-common/src/main/java/com/inde... | #<I> Don't log exception call stack when advising that error can be ignored | indeedeng_proctor | train | java |
ed776d7304556883e39531de8b2beb67a5f4b5c5 | diff --git a/src/libraries/Router.php b/src/libraries/Router.php
index <HASH>..<HASH> 100644
--- a/src/libraries/Router.php
+++ b/src/libraries/Router.php
@@ -81,8 +81,8 @@ class Router {
parse_str($this->queryString, $this->queryArray);
$this->requestBodyMimeType = getenv("CONTENT_TYPE");
- $this->reque... | Fix array from being empty on www-enc forms | carlbennett_php-mvc | train | php |
25a5728270c384456828ad961156d11161696a75 | diff --git a/ui/js/jquery.pods.js b/ui/js/jquery.pods.js
index <HASH>..<HASH> 100644
--- a/ui/js/jquery.pods.js
+++ b/ui/js/jquery.pods.js
@@ -1815,7 +1815,7 @@
$new_row = $tbody.find( 'tr#row-' + row_counter );
- // Duct tape to handle fields added dynamically
+ ... | Tab indent crept in despite being careful | pods-framework_pods | train | js |
490f36c3b228c5ed36a46b9f3533c48c99aa4da2 | diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py
index <HASH>..<HASH> 100644
--- a/pyzotero/zotero.py
+++ b/pyzotero/zotero.py
@@ -505,17 +505,22 @@ class Zotero(object):
def _process_content(self, content):
""" Call either _standard_items or _bib_items, based on the URL param
"""
- # ... | Decoupling Atom link extraction from content processing. | urschrei_pyzotero | train | py |
fdc3c6e738d35a35477305dc0bfed5c4fca3b7f3 | diff --git a/go/mysql/conn.go b/go/mysql/conn.go
index <HASH>..<HASH> 100644
--- a/go/mysql/conn.go
+++ b/go/mysql/conn.go
@@ -853,7 +853,12 @@ func (c *Conn) handleNextCommand(handler Handler) error {
statement, err := sqlparser.ParseStrictDDL(query)
if err != nil {
- return err
+ log.Errorf("Conn %v: Erro... | Address #<I> by forming MySQL error packet on query parse error during
COM_PREPARE | vitessio_vitess | train | go |
4ad81b422a9375d154070f65c84b689b7cae54e0 | diff --git a/website/examples/Basic.js b/website/examples/Basic.js
index <HASH>..<HASH> 100644
--- a/website/examples/Basic.js
+++ b/website/examples/Basic.js
@@ -5,9 +5,7 @@
import React from 'react'
import Match from 'react-router/Match'
-import Miss from 'react-router/Miss'
import Link from 'react-router/Link'
... | Remove unused imports in example (#<I>) | ReactTraining_react-router | train | js |
39e96984ac5cc4df6c2c790fe18e91c7a400ab34 | diff --git a/server/stream.go b/server/stream.go
index <HASH>..<HASH> 100644
--- a/server/stream.go
+++ b/server/stream.go
@@ -200,7 +200,9 @@ func (a *Account) AddStreamWithStore(config *StreamConfig, fsConfig *FileStoreCo
ApiResponse: ApiResponse{Type: JSApiPubAckResponseType},
PubAck: &PubAck{Stream: cfg.... | Force a copy of the PubAck normal response | nats-io_gnatsd | train | go |
77ba6a911574e08b95a4fca813c60e6f3fb00bed | diff --git a/agent.go b/agent.go
index <HASH>..<HASH> 100644
--- a/agent.go
+++ b/agent.go
@@ -490,7 +490,7 @@ func (a *HostAgent) startService(conn *zk.Conn, procFinished chan<- int, ssStats
}
if err := createVolumeDir(resourcePath, volume.ContainerPath, service.ImageId, volume.Owner, volume.Permission); err... | don't exit on poopulating volume | control-center_serviced | train | go |
c5dff2a0645f603b61bd1e5ee55c792d4713b87d | diff --git a/ext-lang-en.js b/ext-lang-en.js
index <HASH>..<HASH> 100644
--- a/ext-lang-en.js
+++ b/ext-lang-en.js
@@ -1,4 +1,5 @@
/* Based on ext-lang-en.js from ext4 with trlKwf() calls added where appropriate */
+if (Ext4 && Ext4.onReady) {
Ext4.onReady(function() {
if (Ext4.data && Ext4.data.Types) {
@@ -3... | only apply translations if ext4 is fully loaded | koala-framework_kwf-extjs | train | js |
17684aaeca0779035024bd36b833c527205cbd71 | diff --git a/modules/admin/views/structure/header.php b/modules/admin/views/structure/header.php
index <HASH>..<HASH> 100644
--- a/modules/admin/views/structure/header.php
+++ b/modules/admin/views/structure/header.php
@@ -39,6 +39,9 @@
?>
+ <!-- PRINT -->
+ <link rel="stylesheet" type="text/css" media="print" ... | Added Admin print stylesheet to header | nails_common | train | php |
9b869cc099c14e16465fc19da84dbd3b3442ba7e | diff --git a/addon/mixins/url-templates.js b/addon/mixins/url-templates.js
index <HASH>..<HASH> 100644
--- a/addon/mixins/url-templates.js
+++ b/addon/mixins/url-templates.js
@@ -39,9 +39,9 @@ export default Mixin.create({
return this._super(store, snapshot, url, relationship);
},
- findBelongsTo(store, snap... | Pass relationships to findBelongsTo
This is a re-fix for <URL> | amiel_ember-data-url-templates | train | js |
41c4368ac9009a7cd2705cfa1e2d5018d4ad8a69 | diff --git a/aeron-test-support/src/main/java/io/aeron/test/Tests.java b/aeron-test-support/src/main/java/io/aeron/test/Tests.java
index <HASH>..<HASH> 100644
--- a/aeron-test-support/src/main/java/io/aeron/test/Tests.java
+++ b/aeron-test-support/src/main/java/io/aeron/test/Tests.java
@@ -205,7 +205,10 @@ public class... | [Java] In pollForFragments, only increment total count if the fragments received > 0. | real-logic_aeron | train | java |
2ab59791c6ce1775da8647f291af449313e389e3 | diff --git a/tests/Symfony/Tests/Component/DomCrawler/CrawlerTest.php b/tests/Symfony/Tests/Component/DomCrawler/CrawlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Symfony/Tests/Component/DomCrawler/CrawlerTest.php
+++ b/tests/Symfony/Tests/Component/DomCrawler/CrawlerTest.php
@@ -297,7 +297,7 @@ class CrawlerTest... | [DomCrawler] Fixing typo | symfony_symfony | train | php |
0a6cfb7e6d9c261d919f2971ec5fe73f7597ddbc | diff --git a/features/support/worlds/hd/preference_set.rb b/features/support/worlds/hd/preference_set.rb
index <HASH>..<HASH> 100644
--- a/features/support/worlds/hd/preference_set.rb
+++ b/features/support/worlds/hd/preference_set.rb
@@ -49,7 +49,7 @@ module World
select "Mon, Wed, Fri AM", from: "Schedule"... | Fix cukes (button renamed) | airslie_renalware-core | train | rb,rb |
2abd88f2388e5c8ae2a49fd03e7b693240a460f0 | diff --git a/spec/stringProcessing/getWordsSpec.js b/spec/stringProcessing/getWordsSpec.js
index <HASH>..<HASH> 100644
--- a/spec/stringProcessing/getWordsSpec.js
+++ b/spec/stringProcessing/getWordsSpec.js
@@ -21,4 +21,17 @@ describe( "a test getting words from a sentence", function() {
expect( words[1] ).toBe( "em... | Add missing spec for getWords | Yoast_YoastSEO.js | train | js |
f3802b4df601fa047af241acc341ad963d66f840 | diff --git a/src/pedigree.js b/src/pedigree.js
index <HASH>..<HASH> 100644
--- a/src/pedigree.js
+++ b/src/pedigree.js
@@ -117,7 +117,7 @@ define([
* @param {string} pid id of the person
* @param {Object=} params includes
* `generations` to retrieve max 2,
- * `spouse` id to get descendency of person and ... | comment on setting spouse to null to get descendants of unknown spouse in getDescendancy() | FamilySearch_familysearch-javascript-sdk | train | js |
2e6bde4fef71315df98ad41b9ca8f978652d22b8 | diff --git a/lib/get-api.js b/lib/get-api.js
index <HASH>..<HASH> 100644
--- a/lib/get-api.js
+++ b/lib/get-api.js
@@ -4,8 +4,8 @@ module.exports = getApi
var defaultsDeep = require('lodash/defaultsDeep')
var internals = module.exports.internals = {}
-internals.Store = require('@hoodie/store/client')
-internals.Acc... | refactor: replace @hoodie/{account,store}-client with @hoodie/{account,store} | hoodiehq_hoodie-client | train | js |
096b42abce08a94f1e802ae19ea901a31312917a | diff --git a/post-processor/vsphere/post-processor.go b/post-processor/vsphere/post-processor.go
index <HASH>..<HASH> 100644
--- a/post-processor/vsphere/post-processor.go
+++ b/post-processor/vsphere/post-processor.go
@@ -128,7 +128,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
... | Added support for spaces in vSphere resource pools | hashicorp_packer | train | go |
2d763e08a86e0d56e03faf804e06ecfc473215c1 | diff --git a/examples/with-ant-design/pages/_document.js b/examples/with-ant-design/pages/_document.js
index <HASH>..<HASH> 100644
--- a/examples/with-ant-design/pages/_document.js
+++ b/examples/with-ant-design/pages/_document.js
@@ -7,7 +7,6 @@ export default class MyDocument extends Document {
<Head>
... | Remove useless link tag in the head of Ant design example (#<I>) | zeit_next.js | train | js |
50315ddea737df7d2a9bc830d048171c5fe766de | diff --git a/src/CoandaCMS/Coanda/Media/Repositories/Eloquent/Models/Media.php b/src/CoandaCMS/Coanda/Media/Repositories/Eloquent/Models/Media.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Media/Repositories/Eloquent/Models/Media.php
+++ b/src/CoandaCMS/Coanda/Media/Repositories/Eloquent/Models/Media.php
@... | Fixed to use correct attributes in array output. | CoandaCMS_coanda-core | train | php |
900e8e4180cce07444efc9a72afa2d4be8e721c4 | diff --git a/MangoPay/Libraries/RestTool.php b/MangoPay/Libraries/RestTool.php
index <HASH>..<HASH> 100644
--- a/MangoPay/Libraries/RestTool.php
+++ b/MangoPay/Libraries/RestTool.php
@@ -144,9 +144,7 @@ class RestTool
}
// FIXME This can fail hard.
$response = json_decode($responseResult->Bod... | Enabled debug mode in tests | Mangopay_mangopay2-php-sdk | train | php,php |
98a2bae97950b2e0ac9405b29c2898fb521600e3 | diff --git a/lib/autoversion/versioner.rb b/lib/autoversion/versioner.rb
index <HASH>..<HASH> 100644
--- a/lib/autoversion/versioner.rb
+++ b/lib/autoversion/versioner.rb
@@ -8,7 +8,7 @@ module Autoversion
# Fetch current version?
@current = read_version if @read_blk
- @git_enabled = true
+ @g... | Disabling git actions in Versioner for this release | jpettersson_autoversion | train | rb |
f5a499319219a8065b3cf04eddcc1c1845b508b2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -133,9 +133,21 @@
return
}
- delta.end = zone.end
- delta.start = zone.start
- this.$forceUpdate()
+ // we'd better make sure ... | Improving scroll performance in in latest vue version. #<I> | tangbc_vue-virtual-scroll-list | train | js |
afef5b3ebd3fd9416ed0c9b8c2a46905ed6a98fc | diff --git a/aeron-client/src/main/java/uk/co/real_logic/aeron/Subscription.java b/aeron-client/src/main/java/uk/co/real_logic/aeron/Subscription.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/uk/co/real_logic/aeron/Subscription.java
+++ b/aeron-client/src/main/java/uk/co/real_logic/aeron/Subscriptio... | [Java]: Formatting. | real-logic_aeron | train | java |
75ed9ec852e7f08637818fdf3181dd67c3ac717d | diff --git a/src/engine/keyManager.js b/src/engine/keyManager.js
index <HASH>..<HASH> 100644
--- a/src/engine/keyManager.js
+++ b/src/engine/keyManager.js
@@ -362,6 +362,24 @@ export class KeyManager {
return privateKey
}
+ saveKeysToCache () {
+ try {
+ const keys = {}
+ for (const type in this... | added saveKeysToCache function to turn keys into base<I> representaions and send them to callback | EdgeApp_edge-currency-bitcoin | train | js |
b89cf6768f793071d8a2fdd3622ab247c92ab8a8 | diff --git a/src/babel/util.js b/src/babel/util.js
index <HASH>..<HASH> 100644
--- a/src/babel/util.js
+++ b/src/babel/util.js
@@ -114,8 +114,8 @@ export function shouldIgnore(filename, ignore, only) {
if (only.length) {
var matches = false;
- for (var pattern of (only: Array)) {
- for (let filename o... | fix shouldIgnore only matches switch | babel_babel | train | js |
508e1b20dc90adb819e7fcf1afd429c499915029 | diff --git a/src/utils/browser.js b/src/utils/browser.js
index <HASH>..<HASH> 100644
--- a/src/utils/browser.js
+++ b/src/utils/browser.js
@@ -1,4 +1,5 @@
-const ua = window && window.navigator.userAgent
+const ua = typeof window !== 'undefined' &&
+ window.navigator && window.navigator.userAgent
export const windo... | Fix checking the user agent in SSR | rambler-digital-solutions_rambler-ui | train | js |
c0063c7f053aa55f7c18345b96fa9e59b95ebb73 | diff --git a/src/main/java/com/ebay/xcelite/reader/SheetReaderAbs.java b/src/main/java/com/ebay/xcelite/reader/SheetReaderAbs.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/ebay/xcelite/reader/SheetReaderAbs.java
+++ b/src/main/java/com/ebay/xcelite/reader/SheetReaderAbs.java
@@ -46,6 +46,8 @@ public abstract... | Added test for Error cell type in SheetReader, as parsing Error cells as String causes an exception | eBay_xcelite | train | java |
3fb3bee404be4da0ce8fc6a7fcb956b56255eaed | diff --git a/lib/cantango/filters/filter.rb b/lib/cantango/filters/filter.rb
index <HASH>..<HASH> 100644
--- a/lib/cantango/filters/filter.rb
+++ b/lib/cantango/filters/filter.rb
@@ -15,7 +15,7 @@ module CanTango
end
def in_include_list?
- return false if include_list.blank?
+ return true ... | fixed a bug in the filter component | kristianmandrup_cantango | train | rb |
13fd381cd01457dc95485fb84a320f2f2012aaba | diff --git a/h2o-samples/src/main/java/samples/expert/DeepLearningMnist.java b/h2o-samples/src/main/java/samples/expert/DeepLearningMnist.java
index <HASH>..<HASH> 100644
--- a/h2o-samples/src/main/java/samples/expert/DeepLearningMnist.java
+++ b/h2o-samples/src/main/java/samples/expert/DeepLearningMnist.java
@@ -65,6 ... | Don't stop when hitting 0% classification error on training set for MNIST. | h2oai_h2o-2 | train | java |
f0fd2e8b9452fd174bdec1bb701ce7d7e29cab8f | diff --git a/columnize.go b/columnize.go
index <HASH>..<HASH> 100644
--- a/columnize.go
+++ b/columnize.go
@@ -95,7 +95,7 @@ func Format(input interface{}, config *Config) (string, error) {
}
// Remove trailing newline without removing leading/trailing space
- if n := len(result); result[n-1] == '\n' {
+ if n := ... | Don't try indexing backward in strings if they are 0-length | ryanuber_columnize | train | go |
e605d41d8102dce92603af7da8ad9a226a56fd8f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -100,6 +100,12 @@ function Buffer (arg) {
return fromObject(this, arg)
}
+// TODO: Legacy, not needed anymore. Remove in next major version.
+Buffer._augment = function (arr) {
+ arr.__proto__ = Buffer.prototype
+ retu... | add back Buffer._augment for one more major version
It’s used by typedarray-to-buffer <I> and probably others. | feross_buffer | train | js |
2456c5cff04bb867e220f084bc88034f588c8aa8 | diff --git a/interop/client/client.go b/interop/client/client.go
index <HASH>..<HASH> 100644
--- a/interop/client/client.go
+++ b/interop/client/client.go
@@ -34,6 +34,7 @@ import (
"google.golang.org/grpc/interop"
"google.golang.org/grpc/resolver"
"google.golang.org/grpc/testdata"
+ _ "google.golang.org/grpc/xds... | Allow using interop client for making Traffic Director RPCs (#<I>) | grpc_grpc-go | train | go |
7af959036ea0f8cbbc73ab6606d3f388351d3863 | diff --git a/tasks/inline_angular_templates.js b/tasks/inline_angular_templates.js
index <HASH>..<HASH> 100644
--- a/tasks/inline_angular_templates.js
+++ b/tasks/inline_angular_templates.js
@@ -33,7 +33,7 @@ module.exports = function (grunt) {
}
})
.map(function (... | Replace windows backslashes with forward slashes | wmluke_grunt-inline-angular-templates | train | js |
7b3ef328f8073b99614e136839ff02016d5105d1 | diff --git a/src/Bundle/Command/PushCommand.php b/src/Bundle/Command/PushCommand.php
index <HASH>..<HASH> 100644
--- a/src/Bundle/Command/PushCommand.php
+++ b/src/Bundle/Command/PushCommand.php
@@ -39,7 +39,10 @@ EOT
/** @var StorageInterface $storage */
$storage = $this->container->get('storage');
... | add diff of local and remote files for push | nanbando_core | train | php |
b6a61d65ea18f05207030b5e06ad6709e64c3f5d | diff --git a/apitools/base/py/batch_test.py b/apitools/base/py/batch_test.py
index <HASH>..<HASH> 100644
--- a/apitools/base/py/batch_test.py
+++ b/apitools/base/py/batch_test.py
@@ -357,7 +357,7 @@ class BatchTest(unittest.TestCase):
self._DoTestConvertIdToHeader('blah', '<%s+blah>')
def testConvertIdT... | Fix test failure in python<I> because of tilde (#<I>)
* Fix test failure in python<I> because of tilde
* fix travis failures for python <I>
* move rsa requirement | google_apitools | train | py,py |
910a3e9e68314ec80b545ee4e8dd38f56ec8376d | diff --git a/evaluation.py b/evaluation.py
index <HASH>..<HASH> 100644
--- a/evaluation.py
+++ b/evaluation.py
@@ -38,6 +38,7 @@ import subprocess
import itertools
import time
import random
+import math
import copy
import datetime
import os.path
@@ -381,6 +382,26 @@ class ClassEvaluation(object):
return ... | added class to perform evaluation of ordinal classification | proycon_pynlpl | train | py |
a0a995a842037a0072d9aeaf5872b55277fba23f | diff --git a/holoviews/plotting/mpl/mplwidgets.js b/holoviews/plotting/mpl/mplwidgets.js
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/mplwidgets.js
+++ b/holoviews/plotting/mpl/mplwidgets.js
@@ -14,15 +14,10 @@ MPLScrubberWidget.prototype = Object.create(ScrubberWidget.prototype);
// Define methods to over... | MPLWidgets now display first frame from cache | pyviz_holoviews | train | js |
6eaca059cb6ed5ca031e302cdb2831bbb74a3cdf | diff --git a/test/core/Buffer.js b/test/core/Buffer.js
index <HASH>..<HASH> 100644
--- a/test/core/Buffer.js
+++ b/test/core/Buffer.js
@@ -162,9 +162,12 @@ define(["Test", "Tone/core/Buffer", "Tone/core/Tone"], function (Test, Buffer, T
var buffer = new Buffer(testFile);
Buffer.on("progress", function(percent){... | testing that progress is between 0,1 and reaches 1 | Tonejs_Tone.js | train | js |
52c71933f02636541f5f2969c86f6947016e0e74 | diff --git a/lib/hash/hash_path.rb b/lib/hash/hash_path.rb
index <HASH>..<HASH> 100644
--- a/lib/hash/hash_path.rb
+++ b/lib/hash/hash_path.rb
@@ -45,11 +45,11 @@ module BBLib
def self.hash_path(hash, *paths, multi_path: false, multi_join: false, multi_join_hash: false)
tree = TreeHash.new(hash)
if multi_p... | Added safe navigation in case nils are returned. | bblack16_bblib-ruby | train | rb |
f20ffc30e24ffd37d06bb9fe26dda20fb3e1e5b2 | diff --git a/src/Utils/Message.php b/src/Utils/Message.php
index <HASH>..<HASH> 100644
--- a/src/Utils/Message.php
+++ b/src/Utils/Message.php
@@ -59,6 +59,8 @@ class Message
$this->publicKey = $message->publickey;
} elseif (property_exists($message, 'publicKey')) {
$this->publicKey =... | fix: support signatory alias for message public key (#<I>) | ArkEcosystem_php-crypto | train | php |
64a939458dec5f2fe5029851c973fbbc146fa8ce | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -52,7 +52,7 @@ function typedArraySupport () {
}
function createBuffer (length) {
- if (K_MAX_LENGTH < length) {
+ if (length > K_MAX_LENGTH) {
throw new RangeError('Invalid typed array length')
}
// Return an... | change style of condition in createBuffer | feross_buffer | train | js |
c1128d7066e50a7684af7f7ce674c2f64939ea5f | diff --git a/src/python/pants/backend/java/dependency_inference/rules.py b/src/python/pants/backend/java/dependency_inference/rules.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/java/dependency_inference/rules.py
+++ b/src/python/pants/backend/java/dependency_inference/rules.py
@@ -65,7 +65,7 @@ async d... | [jvm] For static imports, drop the last bit of the import name (#<I>)
Partially addresses #<I> | pantsbuild_pants | train | py |
74ea246d352da54a2c031d4b3da2788ce44a4364 | diff --git a/proliphix/proliphix.py b/proliphix/proliphix.py
index <HASH>..<HASH> 100755
--- a/proliphix/proliphix.py
+++ b/proliphix/proliphix.py
@@ -99,14 +99,21 @@ class PDP(object):
def _clock_drift(self):
now = int(time.time())
+ # the clock on the proliphix is weird, and keeps track of DST
... | fix support for setting time once it's drifted | sdague_proliphix | train | py |
be1fe1b9fa48706c76ad4bf37ec7c176d8175543 | diff --git a/assets/src/org/ruboto/Script.java b/assets/src/org/ruboto/Script.java
index <HASH>..<HASH> 100644
--- a/assets/src/org/ruboto/Script.java
+++ b/assets/src/org/ruboto/Script.java
@@ -198,7 +198,7 @@ public class Script {
public static String execute(String code) {
Object result = exec(code);
... | * Avoided the NullpointerException by calling toString() instead of inspect | ruboto_ruboto | train | java |
d9ef24e509b633fe98d943481291b2ff0df64a56 | diff --git a/librosa/onset.py b/librosa/onset.py
index <HASH>..<HASH> 100644
--- a/librosa/onset.py
+++ b/librosa/onset.py
@@ -127,11 +127,11 @@ def onset_detect(y=None, sr=22050, onset_envelope=None, hop_length=64,
onset_envelope /= onset_envelope.max()
# These parameter settings found by large-scale searc... | Adding one to post args, really we should re-do param sweep | librosa_librosa | train | py |
2d7cd2fa6dd42c214ab199bcda2157d1af94e831 | diff --git a/client_test.go b/client_test.go
index <HASH>..<HASH> 100644
--- a/client_test.go
+++ b/client_test.go
@@ -478,7 +478,7 @@ func TestPublishAndShutdownDeadlockIssue84(t *testing.T) {
srv.channelOpen(1)
srv.recv(1, &basicPublish{})
// Mimic a broken io pipe so that Publish catches the error and goes ... | Server side close to trigger client write failure
Go versions less than <I> would block causing the deadlock timer to
artifically fire. | streadway_amqp | train | go |
64f56b3951a0704c5e38033a2c5cb44e0d971776 | diff --git a/tests/Command/GenerateCommandTest.php b/tests/Command/GenerateCommandTest.php
index <HASH>..<HASH> 100644
--- a/tests/Command/GenerateCommandTest.php
+++ b/tests/Command/GenerateCommandTest.php
@@ -52,7 +52,10 @@ class GenerateCommandTest extends KernelTestCase
$edges[] = substr($step, 0, ... | Ignore out of edges case in all transitions generation | tienvx_mbt-bundle | train | php |
86d31250760ed784c281a414b4be489969745396 | diff --git a/test/Unit.php b/test/Unit.php
index <HASH>..<HASH> 100644
--- a/test/Unit.php
+++ b/test/Unit.php
@@ -7,7 +7,7 @@
*/
namespace li3_quality\test;
-use li3_quality\tests\mocks\test\MockTestable as Testable;
+use li3_quality\tests\mocks\test\MockTestable;
/**
* Internal Class for testing rules
@@ -1... | Dont alias classes that dont cause conflicts. | UnionOfRAD_li3_quality | train | php |
6b657d9a9d83ae63dd064359e09fadc91731980d | diff --git a/cake/libs/view/theme.php b/cake/libs/view/theme.php
index <HASH>..<HASH> 100644
--- a/cake/libs/view/theme.php
+++ b/cake/libs/view/theme.php
@@ -37,8 +37,8 @@ class ThemeView extends View {
*
* @param Controller $controller
*/
- function __construct(&$controller) {
- parent::__construct($controller... | Fixing failing tests due to incorrect merging. | cakephp_cakephp | train | php |
bf77b2e4ed4425b57a1ca4d7ddda77cd8d9d5bad | diff --git a/lib/gcloud/search/field_values.rb b/lib/gcloud/search/field_values.rb
index <HASH>..<HASH> 100644
--- a/lib/gcloud/search/field_values.rb
+++ b/lib/gcloud/search/field_values.rb
@@ -88,7 +88,6 @@ module Gcloud
# +:datetime+ or +:number+, then the added value will replace any existing
# values... | Remove @param from FieldValues
This parameter doc was c/p from another method.
[refs #<I>] | googleapis_google-cloud-ruby | train | rb |
cecc35eb750bfb9e8bd1b5ac7ba2b0fb5f110c14 | diff --git a/sdl/video.go b/sdl/video.go
index <HASH>..<HASH> 100644
--- a/sdl/video.go
+++ b/sdl/video.go
@@ -483,9 +483,12 @@ func DisableScreenSaver() {
}
// GL_LoadLibrary (https://wiki.libsdl.org/SDL_GL_LoadLibrary)
-func GL_LoadLibrary(path string) int {
+func GL_LoadLibrary(path string) error {
_path := C.... | Make GL_LoadLibrary idiomatic with respect to errors | veandco_go-sdl2 | train | go |
77828e20fc5fcf4a7e12aa6389f2661eafddeaf9 | diff --git a/activesupport/test/message_encryptor_test.rb b/activesupport/test/message_encryptor_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/message_encryptor_test.rb
+++ b/activesupport/test/message_encryptor_test.rb
@@ -29,9 +29,9 @@ class MessageEncryptorTest < ActiveSupport::TestCase
end
de... | s/messqage/message/ in message_encryptor_test.rb | rails_rails | train | rb |
2605e989b1a918f0bc036f36cc3fd607b0270359 | diff --git a/spec/rfc_spec.rb b/spec/rfc_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rfc_spec.rb
+++ b/spec/rfc_spec.rb
@@ -415,4 +415,17 @@ describe "RFC Recurrence Rules" do # http://www.kanzaki.com/docs/ical/rrule.html
dates = schedule.events(starts: starts).take(expected_dates.size)
dates.must_pair_wit... | test for every Thursday in month range forever | rossta_montrose | train | rb |
c6503b8ea8233baf6ef015c51021a103fe4972d0 | diff --git a/src/inner-slider.js b/src/inner-slider.js
index <HASH>..<HASH> 100644
--- a/src/inner-slider.js
+++ b/src/inner-slider.js
@@ -116,6 +116,23 @@ export var InnerSlider = createReactClass({
}
},
componentDidUpdate: function () {
+ if(this.props.lazyLoad && this.props.centerMode) {
+ let chi... | fixed updating lazyLoadedList in case of centerMode | akiran_react-slick | train | js |
a7a203ab4f6f2892dea171bb4574049e89d17070 | diff --git a/lib/amity-mongodb.js b/lib/amity-mongodb.js
index <HASH>..<HASH> 100644
--- a/lib/amity-mongodb.js
+++ b/lib/amity-mongodb.js
@@ -133,7 +133,7 @@ module.exports = function(config) {
var dbName = database.databaseName || database.name;
var options = {
name:dbName + '/_collections',
- service:fea... | New feathers-mongo-collections api only init with db. No Name. | marshallswain_amity-mongodb | train | js |
7ae1fb9de0a8a566b1df8fa24229a4f25c70ebfc | diff --git a/app/documents/renalware/blood_pressure.rb b/app/documents/renalware/blood_pressure.rb
index <HASH>..<HASH> 100644
--- a/app/documents/renalware/blood_pressure.rb
+++ b/app/documents/renalware/blood_pressure.rb
@@ -3,6 +3,8 @@ module Renalware
attribute :systolic, Integer
attribute :diastolic, Int... | Add numeric validation on BP before invoking custom validator
This ensures sys and dias are valid numbers before passing we use the > operator to check dias is less than syst | airslie_renalware-core | train | rb |
d691d91674c5557264295babffed9b3671f54b12 | diff --git a/jieba/analyse/__init__.py b/jieba/analyse/__init__.py
index <HASH>..<HASH> 100644
--- a/jieba/analyse/__init__.py
+++ b/jieba/analyse/__init__.py
@@ -1,6 +1,9 @@
import jieba
import os
-from analyzer import ChineseAnalyzer
+try:
+ from analyzer import ChineseAnalyzer
+except ImportError:
+ pass
_curpa... | fix a bug about ImportError | fxsjy_jieba | train | py |
ba881aae49016032e87d6e2c3d78e355b0e0123e | diff --git a/src/Validation/DoormanValidator.php b/src/Validation/DoormanValidator.php
index <HASH>..<HASH> 100644
--- a/src/Validation/DoormanValidator.php
+++ b/src/Validation/DoormanValidator.php
@@ -31,12 +31,12 @@ class DoormanValidator
protected function getParameterName($parameters, Validator $validator)
... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | clarkeash_doorman | train | php |
76955665bd8e5abcbb43564397bdfb10c15a7064 | diff --git a/simuvex/s_unicorn.py b/simuvex/s_unicorn.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_unicorn.py
+++ b/simuvex/s_unicorn.py
@@ -33,6 +33,7 @@ class SimUnicorn(SimRun):
self.state.unicorn.destroy()
self.success = True
+ self.state.scratch.executed_block_count += self.state.u... | add the count of executed blocks to state.scratch | angr_angr | train | py |
b3738193dbdfcd59e7921ef9559737f72f45e9d0 | diff --git a/eppy/geometry/surface.py b/eppy/geometry/surface.py
index <HASH>..<HASH> 100644
--- a/eppy/geometry/surface.py
+++ b/eppy/geometry/surface.py
@@ -23,7 +23,7 @@ try:
import numpy as np
from numpy import arccos as acos
except ImportError as e:
- import tinynumpy as np
+ from . import tinynum... | fixed a absolute_import problem in surface.py | santoshphilip_eppy | train | py |
d37cc930084c81bcd2106adcadb711eea9e7e6f1 | diff --git a/www/src/Lib/asyncio/coroutines.py b/www/src/Lib/asyncio/coroutines.py
index <HASH>..<HASH> 100644
--- a/www/src/Lib/asyncio/coroutines.py
+++ b/www/src/Lib/asyncio/coroutines.py
@@ -10,6 +10,7 @@ def coroutine(func):
func.__coroutinefunction__ = True
return func
+"""
def coro(*a, **k):
... | Comment out code in asyncio.coroutines.py to avoid the dreaded "unreachable code after return statement" warning | brython-dev_brython | train | py |
701c844ebef6b8e735871cd6ea5e1402ba529bc2 | diff --git a/closure/goog/testing/asserts.js b/closure/goog/testing/asserts.js
index <HASH>..<HASH> 100644
--- a/closure/goog/testing/asserts.js
+++ b/closure/goog/testing/asserts.js
@@ -1287,6 +1287,7 @@ goog.exportSymbol('fail', fail);
goog.exportSymbol('assert', assert);
goog.exportSymbol('assertThrows', assertThr... | Export assertThrowsJsUnitException in Closure test framework.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
fbdc8f79463dd4abf4743eea08cb526e0c073704 | diff --git a/core/src/main/java/jenkins/util/AntClassLoader.java b/core/src/main/java/jenkins/util/AntClassLoader.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/util/AntClassLoader.java
+++ b/core/src/main/java/jenkins/util/AntClassLoader.java
@@ -545,7 +545,7 @@ public class AntClassLoader extends C... | Java 5: use thread-unsafe StringBuilder | jenkinsci_jenkins | train | java |
3183c548d678a39553911a000e4e124316e63021 | diff --git a/Classes/Query.php b/Classes/Query.php
index <HASH>..<HASH> 100644
--- a/Classes/Query.php
+++ b/Classes/Query.php
@@ -1105,8 +1105,7 @@ class Query
public static function cleanKeywords($keywords)
{
$keywords = trim($keywords);
- $keywords = GeneralUtility::removeXSS($keywords);
- ... | [TASK] Remove usage of GeneralUtility::removeXSS (#<I>)
The method GeneralUtility::removeXSS has been deprecated in CMS8 ans
has been removed in CMS9. Replace it by calls to htmlspecialchars().
Resolves: #<I> | TYPO3-Solr_ext-solr | train | php |
ad5df0814d125dc2ad3681461ec47bae41faddb3 | diff --git a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php
+++ b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php
@@ -142,7... | Tailor for Drupal 7 and 8 in the default selector. | jhedstrom_drupalextension | train | php |
af23dd8faeefedcb9183c3fce8637310399bbffa | diff --git a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py
+++ b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py
@@ -2... | Fix Horizon crash when parsing volume list
If using Nova or Cinder CLI to create a new volume
(without name) that can be used to boot a new VM,
then Horizon will be crashed when the volume list
is retrieved by clicking the tab "Volumes" on
Horizon dashboard.
Change-Id: I<I>dca2f6f5ab8eebab<I>f9e7cf<I>d<I>f7d2
Closes-... | openstack_horizon | train | py |
37837f00b6516984a2ddc5599db77eb524fb7d78 | diff --git a/penman/surface.py b/penman/surface.py
index <HASH>..<HASH> 100644
--- a/penman/surface.py
+++ b/penman/surface.py
@@ -29,6 +29,12 @@ class AlignmentMarker(graph.Epidatum):
return '~{}{}'.format(self.prefix or '',
','.join(map(str, self.indices)))
+ def __eq__(se... | Add __eq__ method on AlignmentMarker | goodmami_penman | train | py |
4748d5a1ef6294ae0f4bf9b8b0bd7e7196f2f0ec | diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
+++ b/activerecord/lib/ac... | Remove `cast_type` in `ColumnDefinition`
This is no longer needed. | rails_rails | train | rb |
a8c9e2b9cee979fa38d640b32683f05fa3f1e24a | diff --git a/code/libraries/koowa/components/com_koowa/exception/handler.php b/code/libraries/koowa/components/com_koowa/exception/handler.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_koowa/exception/handler.php
+++ b/code/libraries/koowa/components/com_koowa/exception/handler.php
@@ -26,8 ... | re #<I> : Setup error handler for Joomla context.
- If xdebug is enabled we assume we are in development mode set both error ALL and error levels to max.
- If we are in Joomla debug mode. Set error types to ALL and error levels to E_ERROR and E_PARSE. Do not handle other errors.
- If we are running in none debug mod... | joomlatools_joomlatools-framework | train | php |
1b5a32380e64aa3e2bac78ebbd3fae414d3948a1 | diff --git a/lib/cached_resource/caching.rb b/lib/cached_resource/caching.rb
index <HASH>..<HASH> 100644
--- a/lib/cached_resource/caching.rb
+++ b/lib/cached_resource/caching.rb
@@ -64,11 +64,12 @@ module CachedResource
# The key is processed to make sure it is valid.
def cache_write(key, object)
... | Only log cache write if the operation was successful | mhgbrown_cached_resource | train | rb |
a21086838b95d0730e469a0700b00aef78daa772 | diff --git a/OpenPNM/Geometry/models/pore_diameter.py b/OpenPNM/Geometry/models/pore_diameter.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Geometry/models/pore_diameter.py
+++ b/OpenPNM/Geometry/models/pore_diameter.py
@@ -9,6 +9,7 @@ from . import misc as _misc
import scipy as _sp
_logger = logging.getLogger()
+
... | Final pep8 fix...also enabled real-time pep8 linting in my new install of spyder...oops | PMEAL_OpenPNM | train | py |
96d916fcd5b06fef95fb693db12ec8ee85c350f8 | diff --git a/t/xy/1dto2d.t.js b/t/xy/1dto2d.t.js
index <HASH>..<HASH> 100644
--- a/t/xy/1dto2d.t.js
+++ b/t/xy/1dto2d.t.js
@@ -1,7 +1,8 @@
#!/usr/bin/env node
-require('proof')(1, function (equal) {
- var hilbert = require('../..')
-
- equal(hilbert.d2xy(16, 2), [4, 0])
+require('proof')(2, function (equal) {
+ ... | Fix 1d<->2d test. | bigeasy_xy | train | js |
06fb16fe8811fa4009169987188ad6cd35013293 | diff --git a/ui/admin/setup_edit.php b/ui/admin/setup_edit.php
index <HASH>..<HASH> 100644
--- a/ui/admin/setup_edit.php
+++ b/ui/admin/setup_edit.php
@@ -315,10 +315,13 @@ $max_length_name -= strlen( $wpdb->prefix . 'pods_tbl_' );
<a href="#add-field" class="button-primary"><?php _e('Add F... | Make Advanced Options be open if 'none' is the storage type | pods-framework_pods | train | php |
180e0183c5e2fc4e3cdbc5df22040f41d6495923 | diff --git a/oidc_provider/lib/endpoints/userinfo.py b/oidc_provider/lib/endpoints/userinfo.py
index <HASH>..<HASH> 100644
--- a/oidc_provider/lib/endpoints/userinfo.py
+++ b/oidc_provider/lib/endpoints/userinfo.py
@@ -45,6 +45,9 @@ class UserInfoEndpoint(object):
try:
self.token = Token.objects.g... | Validate expiration of access_token in UserInfo. | juanifioren_django-oidc-provider | train | py |
9505f254ebce63d809816edf612b13d4964742e5 | diff --git a/secretservice/secretservice.go b/secretservice/secretservice.go
index <HASH>..<HASH> 100644
--- a/secretservice/secretservice.go
+++ b/secretservice/secretservice.go
@@ -171,12 +171,12 @@ func (s *SecretService) SearchCollection(collection dbus.ObjectPath, attributes
return items, nil
}
-type replace... | export ReplaceBehavior (#<I>) | keybase_go-keychain | train | go |
531a499adbe4747af17935d66e628ed00a6cc633 | diff --git a/container/api/src/main/java/org/wildfly/swarm/container/Container.java b/container/api/src/main/java/org/wildfly/swarm/container/Container.java
index <HASH>..<HASH> 100644
--- a/container/api/src/main/java/org/wildfly/swarm/container/Container.java
+++ b/container/api/src/main/java/org/wildfly/swarm/contai... | Fix refactoring mistake on previous commit | thorntail_thorntail | train | java |
bb92c92e46487c6c0ff607331232caa28c5f6b71 | diff --git a/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/directives/help.js b/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/directives/help.js
index <HASH>..<HASH> 100644
--- a/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/direc... | fix(webapps/help): remove flickering caused by help directive | camunda_camunda-bpm-platform | train | js |
54432f274f2eaa926c84cb42794182946591c758 | diff --git a/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java b/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
+++ b/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
@... | [email-ext] use right form param to save "overrideGlobalSettings" | jenkinsci_email-ext-plugin | train | java |
f1ea247b8c0f9b49721420540d5602c25800c081 | diff --git a/test/EventSourcing/DBAL/AggregateAwareDBALEventStoreTest.php b/test/EventSourcing/DBAL/AggregateAwareDBALEventStoreTest.php
index <HASH>..<HASH> 100644
--- a/test/EventSourcing/DBAL/AggregateAwareDBALEventStoreTest.php
+++ b/test/EventSourcing/DBAL/AggregateAwareDBALEventStoreTest.php
@@ -193,7 +193,7 @@ c... | III-<I> Still an issue with identation for coding standards. | cultuurnet_udb3-php | train | php |
266763433174a146020db4c34687fcc94ed47523 | diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -152,7 +152,7 @@ class MasterKilled(KeyboardInterrupt):
def inhibitSigInt(signum, _stack):
- logs.LOG.warn('Revoking tasks, please wait.')
+ lo... | Remove a dot to be more consistent with other warnings [skip ci] | gem_oq-engine | train | py |
545b862ff19ecd8b4f115d351c0805dabc11fb9b | diff --git a/SimplePie/Core.php b/SimplePie/Core.php
index <HASH>..<HASH> 100644
--- a/SimplePie/Core.php
+++ b/SimplePie/Core.php
@@ -1472,7 +1472,7 @@ class SimplePie_Core
}
}
- if (isset($_GET[$this->javascript]))
+ if ($this->javascript !== false && isset($_GET[$this->javascript]))
{
SimplePie_Mis... | Ensure SP::$javascript isn't false before checking the GET parameter. | simplepie_simplepie | train | php |
45c44d997cc2b2297b289f25a4c5c2cd294115ef | diff --git a/lib/rules/no-moment-constructor.js b/lib/rules/no-moment-constructor.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-moment-constructor.js
+++ b/lib/rules/no-moment-constructor.js
@@ -7,7 +7,7 @@ module.exports = function(context) {
node,
message: `Consider using Native new Date... | remove`else` branch for no-moment-constructor rule
In any case, the `node.arguments.length` value is unlikely to be less than 0. | you-dont-need_You-Dont-Need-Momentjs | train | js |
8f725d434e5137851faa7674214ff8421a5434cd | diff --git a/bot_test.go b/bot_test.go
index <HASH>..<HASH> 100644
--- a/bot_test.go
+++ b/bot_test.go
@@ -21,7 +21,7 @@ var (
// required to test send and edit methods
token = os.Getenv("TELEBOT_SECRET")
chatID, _ = strconv.ParseInt(os.Getenv("CHAT_ID"), 10, 64)
- userID, _ = strconv.Atoi(os.Getenv("USER_ID"... | chat: change User id type to int<I> | tucnak_telebot | train | go,go |
cf5e2a469efa6e5f7b01ef373ae4afccee77df82 | diff --git a/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php b/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
index <HASH>..<HASH> 100755
--- a/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
+++ b/Library/Bullhorn/FastRest/Api/Services/DataValidation/Assert.php
@@ -3... | Added IsFloat Assertion | bullhorn_fast-rest | train | php |
8397437d84f9f3fad5a27c26437533109dbda5b9 | diff --git a/src/ossos-pipeline/ossos/gui/app.py b/src/ossos-pipeline/ossos/gui/app.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/gui/app.py
+++ b/src/ossos-pipeline/ossos/gui/app.py
@@ -79,7 +79,7 @@ class ValidationApplication(object):
... | Sync now on by default when the source directory is VOSpace. Closes #<I>. | OSSOS_MOP | train | py |
9488e6f8a636d8125a76f626f821fd0bd12e9208 | diff --git a/workbench/workers/rekall_adapter/rekall_adapter.py b/workbench/workers/rekall_adapter/rekall_adapter.py
index <HASH>..<HASH> 100644
--- a/workbench/workers/rekall_adapter/rekall_adapter.py
+++ b/workbench/workers/rekall_adapter/rekall_adapter.py
@@ -22,6 +22,10 @@ def gsleep():
print '*** Gevent Sleep... | make sure test don't barf out too much text | SuperCowPowers_workbench | train | py |
d8389a68c850fcec4398b244dc880930293ced8a | diff --git a/src/libraries/Router.php b/src/libraries/Router.php
index <HASH>..<HASH> 100644
--- a/src/libraries/Router.php
+++ b/src/libraries/Router.php
@@ -153,7 +153,7 @@ class Router {
}
public function deleteRoute($pattern) {
- unset($this->routers[$pattern]);
+ unset($this->routes[$pattern]);
}
... | Fix typo in deleteRoute function | carlbennett_php-mvc | train | php |
a976d1445e774f51cd593621df647e1b1b90b316 | diff --git a/tests/unit/test_state.py b/tests/unit/test_state.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_state.py
+++ b/tests/unit/test_state.py
@@ -523,6 +523,16 @@ class StateReturnsTestCase(TestCase):
statedecorators.state_output_check(lambda: data)()
assert 'Malformed state return, r... | Add unit test to ensude there is "name", "result" and "comment" in the state output. | saltstack_salt | train | py |
cf62361830593ebf12a5c64cb85f30531e7b1136 | diff --git a/salt/states/dellchassis.py b/salt/states/dellchassis.py
index <HASH>..<HASH> 100644
--- a/salt/states/dellchassis.py
+++ b/salt/states/dellchassis.py
@@ -54,25 +54,25 @@ data in pillar. Here's an example pillar structure:
idrac_password: saltstack1
ipmi_over_lan: True
... | Make sure docs line up with blade_idrac function specs | saltstack_salt | train | py |
facf0a1f63e7877bb35ab07264bd9bcd2ad15652 | diff --git a/deuce.js b/deuce.js
index <HASH>..<HASH> 100644
--- a/deuce.js
+++ b/deuce.js
@@ -175,9 +175,8 @@ Builder.prototype.prep_session = function() {
Builder.prototype.set_config = function() {
var self = this
- // No production vhost yet, in case it is already in use serving another Couch app.
var con... | Re-enable the production vhosts | iriscouch_static-plus | train | js |
b71ad25fd5cc877a69f74b3cd68165d38d318ae8 | diff --git a/src/com/google/javascript/jscomp/CompilerOptions.java b/src/com/google/javascript/jscomp/CompilerOptions.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CompilerOptions.java
+++ b/src/com/google/javascript/jscomp/CompilerOptions.java
@@ -2348,7 +2348,12 @@ public class CompilerOptio... | Add some documentation in the code about strict and non-strict support.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
ad4af07097d74db2c40a13240dd5d2ca0766e14a | diff --git a/test/verifications.js b/test/verifications.js
index <HASH>..<HASH> 100644
--- a/test/verifications.js
+++ b/test/verifications.js
@@ -9,7 +9,7 @@ if (!api_key) {
process.exit(2)
}
-var blockscore = require('./../routes/blockscore-node.js')(api_key);
+var blockscore = require('./../lib/main.js')(api_k... | Fixed path bug at top of verification.js test suite | BlockScore_blockscore-node | train | js |
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.