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 |
|---|---|---|---|---|---|
8c7daacf087ae463660d89ab0bfc6580718cc81a | diff --git a/tasks/css.js b/tasks/css.js
index <HASH>..<HASH> 100644
--- a/tasks/css.js
+++ b/tasks/css.js
@@ -27,7 +27,6 @@ var through2 = require('through2');
var imgurlsCachebust = require('../plugins/imgurls-cachebust');
-
var BROWSERSLIST_CSS = [
'> 1%',
'last 2 versions',
@@ -73,7 +72,6 @@ gulp.ta... | Use Stylus configuration from commonplace. | mozilla_marketplace-gulp | train | js |
dc32bb38eefd696828871d5e71a1c10150a4d962 | diff --git a/system/core/controllers/frontend/Controller.php b/system/core/controllers/frontend/Controller.php
index <HASH>..<HASH> 100644
--- a/system/core/controllers/frontend/Controller.php
+++ b/system/core/controllers/frontend/Controller.php
@@ -122,7 +122,6 @@ class Controller extends BaseController
$thi... | Use Currency::getCode() to get current currency in controller | gplcart_gplcart | train | php |
c6855308b07b89fe40bcd94145895eacd13b6062 | diff --git a/database/seeds/TodoTableSeeder.php b/database/seeds/TodoTableSeeder.php
index <HASH>..<HASH> 100644
--- a/database/seeds/TodoTableSeeder.php
+++ b/database/seeds/TodoTableSeeder.php
@@ -34,6 +34,7 @@
// LaSalle Software
use Lasallecrm\Todo\Models\Lookup_todo_priority_type;
use Lasallecrm\Todo\Models\Loo... | Add use statement to the table seeder file. 2 | lasallecrm_lasallecrm-l5-todo-pkg | train | php |
5298a99fb46e156a30e27ddb85449e736cdb36d4 | diff --git a/js/gateio.js b/js/gateio.js
index <HASH>..<HASH> 100755
--- a/js/gateio.js
+++ b/js/gateio.js
@@ -30,6 +30,8 @@ module.exports = class gateio extends Exchange {
'options': 'https://api.gateio.ws/api/v4',
},
'private': {
+ ... | Gate.io: fix private urls | ccxt_ccxt | train | js |
313bc1e339fa4292d9ef5bc74acc82436eab7e1e | diff --git a/daemon/disk_usage.go b/daemon/disk_usage.go
index <HASH>..<HASH> 100644
--- a/daemon/disk_usage.go
+++ b/daemon/disk_usage.go
@@ -99,7 +99,6 @@ func (daemon *Daemon) SystemDiskUsage(ctx context.Context) (*types.DiskUsage, er
for platform := range daemon.stores {
layerRefs := daemon.getLayerRefs(platfo... | Fix variable shadowing causing LayersSize to be reported as 0 | moby_moby | train | go |
8c01b7d7def2b7945ff72abb1ff78d0f09fc782d | diff --git a/src/hdx/utilities/easy_logging.py b/src/hdx/utilities/easy_logging.py
index <HASH>..<HASH> 100755
--- a/src/hdx/utilities/easy_logging.py
+++ b/src/hdx/utilities/easy_logging.py
@@ -55,9 +55,10 @@ def setup_logging(
logger.opt(
colors=True,
- record=True,
... | Fix logging for pytest and resolve logging errors with things like standard_logger.error("hello {fred}") | OCHA-DAP_hdx-python-utilities | train | py |
288e5fce214c58a0d930cdace8abd4e47b7dc851 | diff --git a/lib/haml/buffer.rb b/lib/haml/buffer.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/buffer.rb
+++ b/lib/haml/buffer.rb
@@ -277,7 +277,7 @@ RUBY
ref_id =
if ref.respond_to?(:to_key)
key = ref.to_key
- key.join('_') unless key.nil? #TODO further sanitize each key like dom_i... | Get rid of a TODO. | haml_haml | train | rb |
dea0fe1ff1b992b164fb3c7353aa9514bc8e89f6 | diff --git a/OpenPNM/Algorithms/__GenericAlgorithm__.py b/OpenPNM/Algorithms/__GenericAlgorithm__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Algorithms/__GenericAlgorithm__.py
+++ b/OpenPNM/Algorithms/__GenericAlgorithm__.py
@@ -200,7 +200,7 @@ class GenericAlgorithm(OpenPNM.Base.Core):
#Check all BC from sp... | Debugged mode for the BC setter | PMEAL_OpenPNM | train | py |
1783c1da3ce3f54a7187fabd78f7b88bf742f5eb | diff --git a/addon/components/fa-icon.js b/addon/components/fa-icon.js
index <HASH>..<HASH> 100644
--- a/addon/components/fa-icon.js
+++ b/addon/components/fa-icon.js
@@ -1,3 +1,6 @@
+/* eslint-disable ember/require-tagless-components */
+/* eslint-disable ember/no-classic-classes */
+/* eslint-disable ember/no-classic... | Disable non-classic eslint for oru component
This needs to be updated in another change, but for now we can ignore. | FortAwesome_ember-fontawesome | train | js |
085106849dedeb0fc114b1418a314d3a30a04e8a | diff --git a/ui/src/shared/components/FunctionSelector.js b/ui/src/shared/components/FunctionSelector.js
index <HASH>..<HASH> 100644
--- a/ui/src/shared/components/FunctionSelector.js
+++ b/ui/src/shared/components/FunctionSelector.js
@@ -15,6 +15,12 @@ class FunctionSelector extends Component {
this.handleApplyFu... | Toggle correct field funcs in open func selectors when funcs are changed
This applies for when you have one or more open function selectors and
change a field with no funcs selected to have one, or vice versa, such
that the other field funcs are changed to match. Now, the UI will
update accordingly as expected to refl... | influxdata_influxdb | train | js |
33a84ed208cd0204a1c919c26407ca8b0c3815db | diff --git a/features/step_definitions/cli_steps.rb b/features/step_definitions/cli_steps.rb
index <HASH>..<HASH> 100644
--- a/features/step_definitions/cli_steps.rb
+++ b/features/step_definitions/cli_steps.rb
@@ -50,10 +50,12 @@ module VCRHelpers
def normalize_cassette_content(content)
return content unless @... | Fix for patron cukes on <I>. | vcr_vcr | train | rb |
b8f3e717a317d5e2dff01216f29485e99e0a463e | diff --git a/lib/rules/sotd/publish.js b/lib/rules/sotd/publish.js
index <HASH>..<HASH> 100644
--- a/lib/rules/sotd/publish.js
+++ b/lib/rules/sotd/publish.js
@@ -30,7 +30,7 @@ exports.check = function (sr, done) {
PROPOSED_URL = BASE_URL + "#proposed-changes";
PROPOSED... | update check rule for proposed-corrections' link change | w3c_specberus | train | js |
d18568c3951051a8fbf4624cd0b758d268efa58c | diff --git a/code/Controllers/CMSPageEditController.php b/code/Controllers/CMSPageEditController.php
index <HASH>..<HASH> 100644
--- a/code/Controllers/CMSPageEditController.php
+++ b/code/Controllers/CMSPageEditController.php
@@ -10,6 +10,7 @@ use SilverStripe\Control\Controller;
use SilverStripe\Control\HTTPRequest;... | FIX Ensure client config merging includes existing parent "form" attributes | silverstripe_silverstripe-cms | train | php |
65255386d6923e43d5fb76e8839e410166cde0e1 | diff --git a/grimoire/elk/elastic.py b/grimoire/elk/elastic.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/elastic.py
+++ b/grimoire/elk/elastic.py
@@ -51,7 +51,7 @@ class ElasticSearch(object):
# Valid index for elastic
self.index = self.safe_index(index)
self.index_url = self.url+"/"+sel... | [Elastic] <I> items per bulk query and <I> for scrolling. Eclipse with more has issues. | chaoss_grimoirelab-elk | train | py,py |
01fcbe99edc5c4e780cf4624d93ebc8753d3c93f | diff --git a/py/test/unit/selenium/webdriver/edge/edge_options_tests.py b/py/test/unit/selenium/webdriver/edge/edge_options_tests.py
index <HASH>..<HASH> 100644
--- a/py/test/unit/selenium/webdriver/edge/edge_options_tests.py
+++ b/py/test/unit/selenium/webdriver/edge/edge_options_tests.py
@@ -55,6 +55,7 @@ def test_is... | [py] Fixing flake8 issues | SeleniumHQ_selenium | train | py |
47e1a3f7a7905f572f2388678677d1d6d6f8ce9f | diff --git a/azkaban-common/src/main/java/azkaban/executor/ExecutorManager.java b/azkaban-common/src/main/java/azkaban/executor/ExecutorManager.java
index <HASH>..<HASH> 100644
--- a/azkaban-common/src/main/java/azkaban/executor/ExecutorManager.java
+++ b/azkaban-common/src/main/java/azkaban/executor/ExecutorManager.ja... | modifying <pre> tag from java doc | azkaban_azkaban | train | java |
994b8720e91c66c0d3a3c24baef41217f55529c8 | diff --git a/lib/pnut.js b/lib/pnut.js
index <HASH>..<HASH> 100644
--- a/lib/pnut.js
+++ b/lib/pnut.js
@@ -1,4 +1,6 @@
-const fetch = require('node-fetch');
+if (typeof fetch === 'undefined') {
+ const fetch = require('node-fetch');
+}
/**
* pnut-butter.js | Only require fetch if its not already there | kaiwood_pnut-butter | train | js |
7369876aed463a81f050192ffe102140a1876bba | diff --git a/fedmsg_atomic_composer/composer.py b/fedmsg_atomic_composer/composer.py
index <HASH>..<HASH> 100644
--- a/fedmsg_atomic_composer/composer.py
+++ b/fedmsg_atomic_composer/composer.py
@@ -173,11 +173,7 @@ class AtomicComposer(object):
def sync_out(self, release):
"""Sync our tree to the canonic... | Make it so we can comment out the rsync options to disable the feature | fedora-infra_fedmsg-atomic-composer | train | py |
182154a286415f9bab1e1514a8df612e83adefd9 | diff --git a/cachalot/utils.py b/cachalot/utils.py
index <HASH>..<HASH> 100644
--- a/cachalot/utils.py
+++ b/cachalot/utils.py
@@ -121,7 +121,10 @@ def _find_subqueries_in_where(children):
elif rhs_class is QuerySet:
yield rhs.query
elif rhs_class is Subquery or rhs_class is E... | Fix for queryset no longer existing (#<I>) | noripyt_django-cachalot | train | py |
a36e3bf4b7a9c25cc0355baf675c80a2b15c4938 | diff --git a/lib/test/index.js b/lib/test/index.js
index <HASH>..<HASH> 100644
--- a/lib/test/index.js
+++ b/lib/test/index.js
@@ -9,7 +9,7 @@ function promise$try (fn) {
}
function mockFetch (mocks) {
- return function (href, opts) {
+ const fn = function (href, opts) {
const mockf = mocks[href]
const ... | lib:test: Mocks with defaults | npm_npm-profile | train | js |
b13d723dc1be77a8acd1d87b239b9fc7db3d7ab5 | diff --git a/config/oauth-clients.local.php b/config/oauth-clients.local.php
index <HASH>..<HASH> 100644
--- a/config/oauth-clients.local.php
+++ b/config/oauth-clients.local.php
@@ -24,21 +24,11 @@ return [
'clientSecret' => 'XXXXXXXX',
'redirectUri' => 'https://your-registered-r... | remove eventbrite and microsoft from sample config | hrevert_HtLeagueOauthClientModule | train | php |
2b24ddae5c42b853e8098266d139ea288a9b1d08 | diff --git a/lib/phantomBase.js b/lib/phantomBase.js
index <HASH>..<HASH> 100644
--- a/lib/phantomBase.js
+++ b/lib/phantomBase.js
@@ -47,8 +47,7 @@ function openPage(url, callback, retries) {
const maxAttempts = retries || MAX_RETRIES;
if (!url) {
- console.error("Enter a valid url!");
- retu... | Throw error to if the url is not defined for openPage() | jiahaog_Revenant | train | js |
4e6146487e895c36f1c828d902f7e02d5895a02e | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -646,12 +646,6 @@ module.exports = function(self, options) {
});
function getDraftAndLive(callback) {
- live = liveVersions[doc._id];
- if (live) {
- ... | Premature optimization is the root of all evil. Restrictive projections were breaking this. | apostrophecms_apostrophe-workflow | train | js |
136601ca908a037412e9c4e9fad8afee824c1bf5 | diff --git a/lib/tilt/jbuilder.rb b/lib/tilt/jbuilder.rb
index <HASH>..<HASH> 100644
--- a/lib/tilt/jbuilder.rb
+++ b/lib/tilt/jbuilder.rb
@@ -15,6 +15,11 @@ module Tilt
template.render(@scope, locals)
end
+ # for now caching is not supported, but at least we can transparently ignore it
+ def cache!... | json.cache! is now transparently ignored and its contents yielded. | anthonator_tilt-jbuilder | train | rb,rb |
1349898a0efc9df84b965e825291b643bfa27b02 | diff --git a/gcsproxy/object_proxy.go b/gcsproxy/object_proxy.go
index <HASH>..<HASH> 100644
--- a/gcsproxy/object_proxy.go
+++ b/gcsproxy/object_proxy.go
@@ -15,6 +15,7 @@
package gcsproxy
import (
+ "flag"
"fmt"
"io"
"math"
@@ -28,6 +29,11 @@ import (
"golang.org/x/net/context"
)
+var fTempDir = flag.S... | Added a flag for controlling the temporary directory.
Fixes #<I>. | jacobsa_timeutil | train | go |
5cb834446ffa70be7669b2eeff7e6ecd3ef17516 | diff --git a/test/github/kv_test.rb b/test/github/kv_test.rb
index <HASH>..<HASH> 100644
--- a/test/github/kv_test.rb
+++ b/test/github/kv_test.rb
@@ -169,7 +169,9 @@ class GitHub::KVTest < Minitest::Test
def test_ttl
assert_nil @kv.ttl("foo-ttl").value!
- expires = 1.hour.from_now
+ # the Time.at dance... | Fix test that was failing due to sub-second precision | github_github-ds | train | rb |
a79121a31e255ca23b7ba4b16439ff575f5defff | diff --git a/lib/employer/cli.rb b/lib/employer/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/employer/cli.rb
+++ b/lib/employer/cli.rb
@@ -28,6 +28,17 @@ module Employer
workshop.run
end
+ desc "clear", "Clear jobs"
+ option :config, default: "config/employer.rb", desc: "Config file to use"
+ def... | Adds clear task to bin/employer | mkremer_employer | train | rb |
cde22ef0b12b321445c963ce57836020b255491e | diff --git a/tests/test_index.py b/tests/test_index.py
index <HASH>..<HASH> 100644
--- a/tests/test_index.py
+++ b/tests/test_index.py
@@ -1,6 +1,7 @@
import unittest
-from rtree import index
+from rtree import index, core
import numpy as np
+import pytest
def boxes15_stream(interleaved=True):
boxes15 = np.ge... | Add skip for Index result offset and limit tests (#<I>)
Skip when not avilable in version of libspatialindex | Toblerity_rtree | train | py |
1d11b3bf371e7dd79864300457a9099451cada17 | diff --git a/lib/spinning_cursor.rb b/lib/spinning_cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/spinning_cursor.rb
+++ b/lib/spinning_cursor.rb
@@ -110,9 +110,7 @@ module SpinningCursor
def do_exec_time
if @curs.alive?
@start = Time.now
- if block_given?
- yield
- end
+ yield if ... | Change for the online version of 'if' | prydonius_spinning_cursor | train | rb |
1ce5e4087d9308d1c58510ee8ed71c0a1ddf90fe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,5 +27,7 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ ... | Indicate compatibility with Python <I> and <I>. | bradleyg_django-s3direct | train | py |
91df9afc249a74f53e8f7f177325b11b87501edb | diff --git a/hiddenlayer/canvas.py b/hiddenlayer/canvas.py
index <HASH>..<HASH> 100644
--- a/hiddenlayer/canvas.py
+++ b/hiddenlayer/canvas.py
@@ -10,7 +10,6 @@ Licensed under the MIT License
import itertools
import math
import numpy as np
-from graphviz import Digraph
import matplotlib
import matplotlib.pyplot as... | Allow importing when Graphviz is not installed
Import GraphViz only when needed so other features, such as plotting, can be used even if GraphViz is not available. | waleedka_hiddenlayer | train | py,py |
b89ca890cf049d10ba876dd04d20545aa0e196d8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ requirements = [
# Protocol and data packages
"pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to
"txhttputil >= 0.2.7", # Utility class for http requests
- "vorte... | Updated to vortexpy <I> | Synerty_peek-plugin-base | train | py |
0fe14a0329c9cdf8b281e5db430dc65942c7e620 | diff --git a/picture_tag.rb b/picture_tag.rb
index <HASH>..<HASH> 100644
--- a/picture_tag.rb
+++ b/picture_tag.rb
@@ -155,12 +155,14 @@ module Jekyll
}
# Note: we can't indent html output because markdown parsers will turn 4 spaces into code blocks
- picture_tag = "<span #{html_attr_string}>... | Fix the issue of extra </span> after the image
It’s a know issue reported at
<URL> | robwierzbowski_jekyll-picture-tag | train | rb |
f6f4f8cf8bd71a1d6ccf89d9b5448dccfef1cf7d | diff --git a/pyravendb/connection/requests_executor.py b/pyravendb/connection/requests_executor.py
index <HASH>..<HASH> 100644
--- a/pyravendb/connection/requests_executor.py
+++ b/pyravendb/connection/requests_executor.py
@@ -39,7 +39,11 @@ class RequestsExecutor(object):
return certificate, None
... | RDBC-<I> Added support for loading certificate from file while creating document store | ravendb_ravendb-python-client | train | py |
778db6d1296863452a2f021cba79297abe76ac5c | diff --git a/src/Sly/NotificationPusher/Adapter/Apns.php b/src/Sly/NotificationPusher/Adapter/Apns.php
index <HASH>..<HASH> 100644
--- a/src/Sly/NotificationPusher/Adapter/Apns.php
+++ b/src/Sly/NotificationPusher/Adapter/Apns.php
@@ -134,6 +134,7 @@ class Apns extends BaseAdapter
;
$sound = $messag... | Adds support for 'content-available' key from commit 9a1a1b3 in ZendService_Apple_Apn | Ph3nol_NotificationPusher | train | php |
958c22a0b09a0c7330bced11b559ac788b318cad | diff --git a/python/ray/tune/tune.py b/python/ray/tune/tune.py
index <HASH>..<HASH> 100644
--- a/python/ray/tune/tune.py
+++ b/python/ray/tune/tune.py
@@ -673,9 +673,11 @@ def run(
else:
logger.warning(
"Tune detects GPUs, but no trials are using GPUs. "
- "To enabl... | [tune] Update GPU warning message in tune. (#<I>)
Mention scaling config / with resources | ray-project_ray | train | py |
61134120d6d21749224a0ff8b7f65fd1b7c34986 | diff --git a/src/Console/CodeAnalyseCommand.php b/src/Console/CodeAnalyseCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/CodeAnalyseCommand.php
+++ b/src/Console/CodeAnalyseCommand.php
@@ -105,9 +105,16 @@ final class CodeAnalyseCommand extends Command
}
}
+ $paths = array_map(
... | feat: paths option defaults to laravel base path | nunomaduro_larastan | train | php |
0f2fdac426882c86864d66ea76c8bcd6ed2d9b83 | diff --git a/XBRL.php b/XBRL.php
index <HASH>..<HASH> 100644
--- a/XBRL.php
+++ b/XBRL.php
@@ -3817,6 +3817,36 @@ class XBRL {
}
/**
+ * Get the taxonomy that has the prefix used in the QName
+ * @param string|\QName $prefix
+ * @return XBRL
+ */
+ public function getTaxonomyForQName( $qname )
+ {
+ ... | Adds method to allow a caller to return a taxonomy for a prefix which
might be part of a qname | bseddon_XBRL | train | php |
5fc38e8f62b145f92825177b0cf3509fbf04b076 | diff --git a/install.rb b/install.rb
index <HASH>..<HASH> 100755
--- a/install.rb
+++ b/install.rb
@@ -141,6 +141,7 @@ end
def prepare_installation
InstallOptions.configs = true
InstallOptions.check_prereqs = true
+ InstallOptions.batch_files = true
# Only try to do docs if we're sure they have rdoc
if ... | (PUP-<I>) Add --no-batch-files option to install.rb
puppet-agent carries the batch files for all executables with the new move to
vanagon for windows projects, we will need an option to omit batch file
creation during installation of puppet so there are not more than one set of
batch files. So this commit adds a --no-... | puppetlabs_puppet | train | rb |
99d6674487b4bb17709fd8c051c438561a6e818d | diff --git a/mod/hotpot/show.php b/mod/hotpot/show.php
index <HASH>..<HASH> 100644
--- a/mod/hotpot/show.php
+++ b/mod/hotpot/show.php
@@ -46,10 +46,10 @@
}
if (obj && window.clipboardData) {
window.clipboardData.setData("Text", obj.innerText);
- alert('The contents of this page have been copied to the c... | moved hard-coded text messages (about clipboard) to lang/en/hotpot.php | moodle_moodle | train | php |
f32d342c9902c631a49a9abbfe8b84c3e6e3b917 | diff --git a/src/authentication/index.js b/src/authentication/index.js
index <HASH>..<HASH> 100644
--- a/src/authentication/index.js
+++ b/src/authentication/index.js
@@ -198,9 +198,9 @@ Authentication.prototype.buildLogoutUrl = function(options) {
qString = qs.stringify(objectHelper.blacklist(params, ['federated'])... | Removing unnecessary parentheses (#<I>)
* fixing federated special case param
* removing only
* fixing test
* Removing parens | auth0_auth0.js | train | js |
f92d0647bf9e25bc5ceff6a945ed8a681550c70f | diff --git a/src/Command/ProjectBuildCommand.php b/src/Command/ProjectBuildCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/ProjectBuildCommand.php
+++ b/src/Command/ProjectBuildCommand.php
@@ -86,9 +86,9 @@ class ProjectBuildCommand extends PlatformCommand
// Explicitly check for the existence of e... | Fix: build settings not passed to toolstack. | platformsh_platformsh-cli | train | php |
f978c4b2e44401260bbf4b5a954fda0b2bc71781 | diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -736,15 +736,12 @@ module ActiveRecord #:nodoc:
def lookup_ancestors #:nodoc:
klass = self... | remove the rescue block by returning a not asking Base for lookup_ancestors. It was also marked for later optimization. | rails_rails | train | rb |
e12c3104946cec264100810fe394ec93f6ac7ca9 | diff --git a/salt/modules/mine.py b/salt/modules/mine.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mine.py
+++ b/salt/modules/mine.py
@@ -116,7 +116,7 @@ def send(func, *args, **kwargs):
salt '*' mine.send network.interfaces eth0
'''
- if not func in __salt__:
+ if func not in __salt__:
... | Fix PEP8 E<I> - test for membership should be "not in" | saltstack_salt | train | py |
1f846d5edbb55f1939100e3cdf224fe800fcf979 | diff --git a/tsdb/points.go b/tsdb/points.go
index <HASH>..<HASH> 100644
--- a/tsdb/points.go
+++ b/tsdb/points.go
@@ -905,10 +905,38 @@ func escapeString(in string) string {
}
func unescape(in []byte) []byte {
- for b, esc := range escapeCodes {
- in = bytes.Replace(in, esc, []byte{b}, -1)
+ i := 0
+ inLen := len... | Optimize Point.unescape
This func show up in profiling. It's called frequently from multiple places and
can be made more efficient. The previous implementation looped over the input
slice 4 times updating an returning a new slice each time. The changes it to loop
once and create one result slice.
With influx_stres... | influxdata_influxdb | train | go |
5717d38077d6b01160afac3ee7a21b9a1b79a401 | diff --git a/timepiece/forms.py b/timepiece/forms.py
index <HASH>..<HASH> 100644
--- a/timepiece/forms.py
+++ b/timepiece/forms.py
@@ -267,7 +267,7 @@ class AddUpdateEntryForm(forms.ModelForm):
class Meta:
model = Entry
- exclude = ('user', 'pause_time', 'site', 'hours', 'status',)
+ exclu... | Fixes #<I> - Added exclude entry_group to update entry form | caktus_django-timepiece | train | py |
50d4c796789b2bb777b99501ef4f3f3f6794a91f | diff --git a/stress/shell/src/main/java/alluxio/stress/cli/StressMasterBench.java b/stress/shell/src/main/java/alluxio/stress/cli/StressMasterBench.java
index <HASH>..<HASH> 100644
--- a/stress/shell/src/main/java/alluxio/stress/cli/StressMasterBench.java
+++ b/stress/shell/src/main/java/alluxio/stress/cli/StressMaster... | Catch more exception when parsing for additional results from java agent
pr-link: Alluxio/alluxio#<I>
change-id: cid-a<I>b1c8f<I>d0ac<I>d2d4b<I>c<I>c<I> | Alluxio_alluxio | train | java |
969348459c72f247a505f663b369e13aeb93cff2 | diff --git a/saltcloud/clouds/ec2.py b/saltcloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/ec2.py
+++ b/saltcloud/clouds/ec2.py
@@ -762,9 +762,19 @@ def create(vm_=None, call=None):
failures = 6
log.debug('Reseting failed query attempts')
+ log.debug(
+ ... | Bail out if more than 2 minutes pass while waiting for an IP. | saltstack_salt | train | py |
41e320f25d16f22ff4baf170bf184cb9b20034f6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -8,23 +8,22 @@ function initApp(app, config) {
app.set("view engine", "ejs");
app.set("views", __dirname + "/views");
app.get("/", function(req, res){
- var visitId = req.query.visit_id;
- console.log(visitId);
- if( ... | added check for visitId in index.js | hangilc_myclinic-meisai | train | js |
aae4b3689d0a1865b724eaebb18579f03d78b765 | diff --git a/library/CM/App.js b/library/CM/App.js
index <HASH>..<HASH> 100644
--- a/library/CM/App.js
+++ b/library/CM/App.js
@@ -266,6 +266,15 @@ var CM_App = CM_Class_Abstract.extend({
/**
* @param {Error} error
+ */
+ log: function(error) {
+ _.defer(function() {
+ throw error;
+ ... | Log errors without stopping the code execution flow | cargomedia_cm | train | js |
2fa6722575079ac403b6d6afc129bc764168d94f | diff --git a/holoviews/plotting/mpl/widgets.py b/holoviews/plotting/mpl/widgets.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/widgets.py
+++ b/holoviews/plotting/mpl/widgets.py
@@ -1,11 +1,12 @@
import uuid, os, json
-
-from matplotlib.backends.backend_nbagg import CommSocket
-
import param
from ..wi... | Made CommSocket import conditional to avoid tornado dependency | pyviz_holoviews | train | py |
f7df70dc396edf68c279505d3068b2668eced086 | diff --git a/azurerm/resource_arm_storage_account.go b/azurerm/resource_arm_storage_account.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_storage_account.go
+++ b/azurerm/resource_arm_storage_account.go
@@ -716,8 +716,9 @@ func flattenAzureRmStorageAccountIdentity(identity *storage.Identity) []interfac
}
... | Checking identity type is not nill | terraform-providers_terraform-provider-azurerm | train | go |
1432f6725c65182adffd90224e0f406d839e8146 | diff --git a/src/Adapters/FHIRAppointmentAdapter.php b/src/Adapters/FHIRAppointmentAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Adapters/FHIRAppointmentAdapter.php
+++ b/src/Adapters/FHIRAppointmentAdapter.php
@@ -244,7 +244,7 @@ class FHIRAppointmentAdapter extends AbstractFHIRAdapter implements BaseAdapterI
... | Specified URL for Appointment extension (#<I>) | LibreHealthIO_lh-ehr-fhir-api | train | php |
18c24131be5119e9120f61e93577ed539ed82c02 | diff --git a/sortinghat/_version.py b/sortinghat/_version.py
index <HASH>..<HASH> 100644
--- a/sortinghat/_version.py
+++ b/sortinghat/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.6.3"
+__version__ = "0.6.4" | Update version number to <I> | chaoss_grimoirelab-sortinghat | train | py |
f090442c55883d8177110d2c033d7bbf02945073 | diff --git a/openquake/calculators/tests/classical_test.py b/openquake/calculators/tests/classical_test.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/tests/classical_test.py
+++ b/openquake/calculators/tests/classical_test.py
@@ -420,8 +420,8 @@ hazard_uhs-std.csv
'hazard_curve-SA(0.1).csv', '... | Improved comment [skip CI] | gem_oq-engine | train | py |
4e6c0b9b2bf96742936bf0ec1691ca220971ec82 | diff --git a/test/comment/simple-multi-comment.expected.js b/test/comment/simple-multi-comment.expected.js
index <HASH>..<HASH> 100644
--- a/test/comment/simple-multi-comment.expected.js
+++ b/test/comment/simple-multi-comment.expected.js
@@ -2,8 +2,18 @@ function test() {
/*
* Leading comment
*/
+ ... | Add multiple leading / trailing multiline comment test | estools_escodegen | train | js,js |
cf40dd2be225b560ae1307c1e662921051f337d7 | diff --git a/cobald/parasites/condor_limits/adapter.py b/cobald/parasites/condor_limits/adapter.py
index <HASH>..<HASH> 100644
--- a/cobald/parasites/condor_limits/adapter.py
+++ b/cobald/parasites/condor_limits/adapter.py
@@ -6,6 +6,8 @@ import subprocess
def query_limits(query_command, key_transform):
resource_... | condor: skipping empty and comment lines in queries | MatterMiners_cobald | train | py |
9fcd92ae96bbf9596d8672da4ce8257d3e124b92 | diff --git a/grpc/prpc/encoding.go b/grpc/prpc/encoding.go
index <HASH>..<HASH> 100644
--- a/grpc/prpc/encoding.go
+++ b/grpc/prpc/encoding.go
@@ -198,13 +198,16 @@ func writeError(c context.Context, w http.ResponseWriter, err error, format Form
}
body := st.Message()
- level := logging.Warning
- if httpStatus >=... | [prpc] Log internal errors completely
If an RPC method implementation returned an internal error, log
the call stack.
Bug: <I>
Change-Id: I2c7f<I>d3d<I>d<I>f<I>bf<I>ce<I>ac<I>cccc8
Reviewed-on: <URL> | luci_luci-go | train | go |
52091acacbd45edeee524ffb2e188366a8e8068d | diff --git a/media/boom/js/boom/link/link.js b/media/boom/js/boom/link/link.js
index <HASH>..<HASH> 100644
--- a/media/boom/js/boom/link/link.js
+++ b/media/boom/js/boom/link/link.js
@@ -28,7 +28,7 @@ function boomLink(url, pageId, title) {
};
boomLink.prototype.getUrl = function() {
- return this.url.replace(wi... | boomLink.getUrl() remove hostname even if protocol isn't set | boomcms_boom-core | train | js |
57312c0f7bc8c007efaea16721b3ba3ae8e8f701 | diff --git a/pysparkling/sql/expressions/expressions.py b/pysparkling/sql/expressions/expressions.py
index <HASH>..<HASH> 100644
--- a/pysparkling/sql/expressions/expressions.py
+++ b/pysparkling/sql/expressions/expressions.py
@@ -3,8 +3,21 @@ from pysparkling.sql.types import StructField, DataType, \
INTERNAL_TYP... | Register expressions based on their pretty name | svenkreiss_pysparkling | train | py |
e96531839822be2966bbdd34181cf9397a7bd829 | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder.java
index <HASH>..<HASH> 100644
--- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncod... | Optimize encoding of websocket frames by merge if possible | netty_netty | train | java |
ace053b69cb969cd8681a0fe54d0a6078960cc0c | diff --git a/system/Validation/Rules.php b/system/Validation/Rules.php
index <HASH>..<HASH> 100644
--- a/system/Validation/Rules.php
+++ b/system/Validation/Rules.php
@@ -69,7 +69,7 @@ class Rules
* Equals the static value provided.
*
* @param string $str
- * @param string $str
+ * @param string $val
*
... | Correct variable names for in-line docs | codeigniter4_CodeIgniter4 | train | php |
bae72de189b06b97a3b353e8e0612e3833786c1a | diff --git a/src/android/io/branch/BranchSDK.java b/src/android/io/branch/BranchSDK.java
index <HASH>..<HASH> 100644
--- a/src/android/io/branch/BranchSDK.java
+++ b/src/android/io/branch/BranchSDK.java
@@ -62,6 +62,7 @@ public class BranchSDK extends CordovaPlugin {
this.activity = this.cordova.getActivity(... | fix: correction for Android SDK <I> | BranchMetrics_cordova-ionic-phonegap-branch-deep-linking | train | java |
3bae76d61bc0bfec9aab66dd45dd5932f9730c0c | diff --git a/mount_gcsfuse/main.go b/mount_gcsfuse/main.go
index <HASH>..<HASH> 100644
--- a/mount_gcsfuse/main.go
+++ b/mount_gcsfuse/main.go
@@ -171,6 +171,14 @@ func makeGcsfuseArgs(
case "ro":
args = append(args, "--read_only")
+ // Ignore arguments for default and unsupported behavior automatically
+ //... | Ignore stuff added by mount(8) on Linux. | jacobsa_timeutil | train | go |
68f0bbbefd101e83489eb52d5ce36343c9c0acad | diff --git a/http.go b/http.go
index <HASH>..<HASH> 100644
--- a/http.go
+++ b/http.go
@@ -69,6 +69,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
}()
+ w.WriteHeader(http.StatusOK)
flusher.Flush()
// Push events to client | Add w.WriteHeader() call before first Flush() (#<I>) | r3labs_sse | train | go |
1fe23d7b68e18a240769bc618b916b63d6a282fb | diff --git a/src/tabs/tabs.js b/src/tabs/tabs.js
index <HASH>..<HASH> 100644
--- a/src/tabs/tabs.js
+++ b/src/tabs/tabs.js
@@ -55,7 +55,7 @@ export class MdTabs {
if (indicatorRight.indexOf('-') === 0) {
$('.indicator', this.element).css('right', 0);
}
- }, 320);
+ }, 310);
let href = ... | refactor(md-tabs): slightly less dirty tab styling fix, ref #<I> | aurelia-ui-toolkits_aurelia-materialize-bridge | train | js |
1f3af5e962f2a22999811400109bc931faa20d34 | diff --git a/src/App/Blueline.php b/src/App/Blueline.php
index <HASH>..<HASH> 100644
--- a/src/App/Blueline.php
+++ b/src/App/Blueline.php
@@ -13,5 +13,8 @@
class Blueline extends Model
{
+ protected $fillable = [
+ "title", "slug", "status", "bluelines_content_type_id", "body", "feat... | Update - add fillable property to model | shawnsandy_bluelines | train | php |
9f76fedbcfe4ec19aba8fd9a5a602ddaea9a889a | diff --git a/indra/tests/test_elsevier_client.py b/indra/tests/test_elsevier_client.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_elsevier_client.py
+++ b/indra/tests/test_elsevier_client.py
@@ -42,7 +42,4 @@ def test_article():
doi = '10.1006/bbrc.2001.4693'
xml_str = ec.download_article(doi)
bo... | Fix failing elsevier client test
The paper being queried has no accessible full text element, so the
assertion should actually be that body is None. | sorgerlab_indra | train | py |
12a4c21c3db34c29f7de376c87cbec9d14fcd434 | diff --git a/tests/test_kanji.py b/tests/test_kanji.py
index <HASH>..<HASH> 100644
--- a/tests/test_kanji.py
+++ b/tests/test_kanji.py
@@ -37,5 +37,13 @@ def test_detect_kanji_encoder2():
assert 2 == segment.char_count
+def test_kanji_bytes():
+ qr = encoder.encode('続きを読む'.encode(consts.KANJI_ENCODING))
+ ... | Added (failing) Kanji test case: Wrong character count | heuer_segno | train | py |
ee7a67d5f043b2243d872568ae28431b71200689 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -10,6 +10,16 @@
return pSlice.call(args, slice);
}
+ function keys(obj) {
+ var ret = [];
+ for (var i in obj) {
+ if (obj.hasOwnProperty(i)) {
+ ... | Removed use of Object.keys in deepEqual | doug-martin_is-extended | train | js |
18428c5adf9fc4f39b3bbedb12ecb70869e80aab | diff --git a/quantrisk/utils.py b/quantrisk/utils.py
index <HASH>..<HASH> 100644
--- a/quantrisk/utils.py
+++ b/quantrisk/utils.py
@@ -1,4 +1,5 @@
from __future__ import division
+from collections import OrderedDict
import pandas as pd
import numpy as np
@@ -25,3 +26,23 @@ def get_symbol_rets(symbol):
px.colu... | WIP Add vectorization decorator so that functions can be written to work on Series but still be called with DataFrames. | quantopian_pyfolio | train | py |
6862ebd8753b3ed3c5145873f44f8a380ef5df89 | diff --git a/spyderlib/widgets/internalshell.py b/spyderlib/widgets/internalshell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/internalshell.py
+++ b/spyderlib/widgets/internalshell.py
@@ -190,7 +190,6 @@ class InternalShell(PythonShellWidget):
data = self.interpreter.stdout_write.empty_queue()
... | Improve internal shell performance - remove explicit repaint() calls,
repaint() will be called by the next flush() operation anyway. | spyder-ide_spyder | train | py |
2d63001edd0489e8d77065ebbcafdb5e3c95033c | diff --git a/modeltranslation/admin.py b/modeltranslation/admin.py
index <HASH>..<HASH> 100644
--- a/modeltranslation/admin.py
+++ b/modeltranslation/admin.py
@@ -305,3 +305,28 @@ class TranslationGenericTabularInline(TranslationInlineModelAdmin, generic.Gener
class TranslationGenericStackedInline(TranslationInlineM... | Added convenience admin classes for easier inclusion of tabbed translation fields static files (closes #<I>). | deschler_django-modeltranslation | train | py |
26954d5332c53ced4906a360c8355ffc3286b498 | diff --git a/lib/jitsu/commands/help.js b/lib/jitsu/commands/help.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu/commands/help.js
+++ b/lib/jitsu/commands/help.js
@@ -31,32 +31,26 @@ help.usage = [
'',
'To sign up for Nodejitsu'.cyan,
- '',
' jitsu signup',
'',
'To log into Nodejitsu'.cyan,
- '',
... | [doc] Remove some overzealous whitespace in `jitsu help` | nodejitsu_jitsu | train | js |
d293ff59ddcade56e77e4310d171e9990466bfaf | diff --git a/common/conf/default/persistences.conf.php b/common/conf/default/persistences.conf.php
index <HASH>..<HASH> 100644
--- a/common/conf/default/persistences.conf.php
+++ b/common/conf/default/persistences.conf.php
@@ -59,8 +59,11 @@ $GLOBALS['generis_persistences'] = array(
'port' => 6379
),
/*... | added authKeyValue configuration example to persistences | oat-sa_generis | train | php |
74528cb7bda3397558a3020ad726f78f96327499 | diff --git a/src/extensions/renderer.canvas.drawing-edges.js b/src/extensions/renderer.canvas.drawing-edges.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer.canvas.drawing-edges.js
+++ b/src/extensions/renderer.canvas.drawing-edges.js
@@ -53,6 +53,9 @@
+ edge._private.style["line-color"].value[1] + ","... | fix tee edge arrows overlapping edge | cytoscape_cytoscape.js | train | js |
f2b6ddfb7623e62d4fb67bcd89e1502ca53f0e01 | diff --git a/domovoi/app.py b/domovoi/app.py
index <HASH>..<HASH> 100644
--- a/domovoi/app.py
+++ b/domovoi/app.py
@@ -119,6 +119,10 @@ class Domovoi(Chalice):
if sns_topic not in self.sns_subscribers:
raise DomovoiException("Received SNS or S3-SNS event with no known handler")
... | Fix routing of domovoi dynamodb handlers | kislyuk_domovoi | train | py |
1b5e43cec043c04a06b03e42d3c317f0f6835fd3 | diff --git a/app/models/pusher.rb b/app/models/pusher.rb
index <HASH>..<HASH> 100644
--- a/app/models/pusher.rb
+++ b/app/models/pusher.rb
@@ -2,7 +2,6 @@ require 'digest/sha2'
class Pusher
attr_reader :user, :spec, :message, :code, :rubygem, :body, :version, :version_id, :size
- attr_accessor :bundler_api_url
... | Remove attr_accessor for bundler_api_url | rubygems_rubygems.org | train | rb |
53554295c79decc69b26cfc1e86ec65a4aa4906a | diff --git a/copy/copy.go b/copy/copy.go
index <HASH>..<HASH> 100644
--- a/copy/copy.go
+++ b/copy/copy.go
@@ -702,6 +702,9 @@ func (c *copier) copyOneImage(ctx context.Context, policyContext *signature.Poli
return nil, "", "", fmt.Errorf("Uploading manifest failed, attempted the following formats: %s", strings.Joi... | Fix writing signatures for updated multi-arch image components
If a per-arch image from a multi-arch image has had its manifest
updated, use the updated manifest digest for PutSignatures. | containers_image | train | go |
311bceb6278060b85f3a42dbba70487ea31ede41 | diff --git a/test/openscap_test.rb b/test/openscap_test.rb
index <HASH>..<HASH> 100644
--- a/test/openscap_test.rb
+++ b/test/openscap_test.rb
@@ -19,4 +19,12 @@ class TestOscapVersion < Test::Unit::TestCase
OpenSCAP.oscap_cleanup
assert version.include?(".")
end
+
+ def test_double_read_error
+ assert... | test: Make sure the full error can be always read | OpenSCAP_ruby-openscap | train | rb |
4ad845e48fa1cc47540d776bd8f08d0bee4a7f54 | diff --git a/src/cursor/index.js b/src/cursor/index.js
index <HASH>..<HASH> 100644
--- a/src/cursor/index.js
+++ b/src/cursor/index.js
@@ -13,6 +13,7 @@ export default class Cursor extends React.Component {
ArrowDown: function(event) {
event.preventDefault();
this.setState(state => ({
+ ... | Any keyboard navigation focuses some cell
At least that is what I think it should do. This might have to change once a TreeGrid is implemented -- but then it depends on the interaction model | juanca_react-aria-components | train | js |
884d1728a054a5f0568de5e016dd601325efb1aa | diff --git a/src/livestreamer/plugin/plugin.py b/src/livestreamer/plugin/plugin.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/plugin/plugin.py
+++ b/src/livestreamer/plugin/plugin.py
@@ -236,8 +236,17 @@ class Plugin(object):
if stream_type not in stream_types:
continue
- ... | plugin: Handle stream name conflicts here to simplify plugins. | streamlink_streamlink | train | py |
969f1d65da389166e0347fef5af564f74bf3a049 | diff --git a/lib/fastlane_core/command_executor.rb b/lib/fastlane_core/command_executor.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane_core/command_executor.rb
+++ b/lib/fastlane_core/command_executor.rb
@@ -39,7 +39,7 @@ module FastlaneCore
output << ex.to_s
o = output.join("\n")
pu... | Added status code and output when using the command executor | fastlane_fastlane | train | rb |
473eb0280e801da268b17b00ead461fee9db2a27 | diff --git a/gns3server/modules/dynamips/nodes/router.py b/gns3server/modules/dynamips/nodes/router.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/dynamips/nodes/router.py
+++ b/gns3server/modules/dynamips/nodes/router.py
@@ -33,6 +33,8 @@ log = logging.getLogger(__name__)
from ...base_vm import BaseVM
from ... | Support for relative path in Dynamips. | GNS3_gns3-server | train | py |
532011ac1b0191b3a4a4badcfa3dbd7cd16ca2d0 | diff --git a/src/com/google/javascript/jscomp/CodePrinter.java b/src/com/google/javascript/jscomp/CodePrinter.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CodePrinter.java
+++ b/src/com/google/javascript/jscomp/CodePrinter.java
@@ -260,11 +260,11 @@ public final class CodePrinter {
r... | Reenable precondition that enforces that sourcemap mappings never go outside of generated code.
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
fa78da936358e587c66e19caec3e790197fe698b | diff --git a/tests/specs/scoped.js b/tests/specs/scoped.js
index <HASH>..<HASH> 100644
--- a/tests/specs/scoped.js
+++ b/tests/specs/scoped.js
@@ -200,6 +200,22 @@ test('scoped Store .findOrAdd([object, object])', function (t) {
.catch(t.fail)
})
+test('scoped Store .findOrAdd() with missing id throws an error', ... | test: improve tests for findOrAdd() errors | hoodiehq_hoodie-store-client | train | js |
1760eefd5d5b2be1103d01d5021808ece1575569 | diff --git a/lib/record_cache/datastore/active_record_31.rb b/lib/record_cache/datastore/active_record_31.rb
index <HASH>..<HASH> 100644
--- a/lib/record_cache/datastore/active_record_31.rb
+++ b/lib/record_cache/datastore/active_record_31.rb
@@ -341,14 +341,14 @@ module RecordCache
end
module InstanceM... | fixed call for has_one delete methods | orslumen_record-cache | train | rb |
34a0926d2091979165c49c015fb2fe1e5fa1419b | diff --git a/actions/form/class.Clazz.php b/actions/form/class.Clazz.php
index <HASH>..<HASH> 100644
--- a/actions/form/class.Clazz.php
+++ b/actions/form/class.Clazz.php
@@ -121,8 +121,13 @@ class tao_actions_form_Clazz
if(!is_null($element)){
//take property values to populate the form
- $values = $... | Bug fix on the edit class form
If a property is not multiple, but the value of this one has been overrided in different model.
Take the last (time) one
git-svn-id: <URL> | oat-sa_tao-core | train | php |
c940001b5aa6ce1f32b32b7512de2b67029f6efc | diff --git a/client/js/s3/uploader.basic.js b/client/js/s3/uploader.basic.js
index <HASH>..<HASH> 100644
--- a/client/js/s3/uploader.basic.js
+++ b/client/js/s3/uploader.basic.js
@@ -11,6 +11,9 @@ qq.s3.FineUploaderBasic = function(o) {
accessKey: null,
acl: 'private',
+ // requir... | feat(client/js/s3/uploader.basic.js): #<I> - integrators need to specify a same-origin url for Amazon to redirect to on success from a form-based upload | FineUploader_fine-uploader | train | js |
f5b06c14a2386582b0ccf2cca653a436690f6201 | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -247,6 +247,13 @@ function Connection(options) {
};
/**
+ * Alias for destroy.
+ */
+ this.close = function() {
+ this.destroy();
+ };
+
+ /**
* Force connection termin... | [CONJS-<I>] add alias connection.close for connection.destroy | MariaDB_mariadb-connector-nodejs | train | js |
0459ca10631fb7df4e8b59acfea608e79c70cc92 | diff --git a/js/cex.js b/js/cex.js
index <HASH>..<HASH> 100644
--- a/js/cex.js
+++ b/js/cex.js
@@ -312,8 +312,11 @@ module.exports = class cex extends Exchange {
pricePrecision = this.safeInteger (pair, 'pricePrecision', pricePrecision);
}
}
+ const baseCcyP... | [cex] trying to fix amount precision | ccxt_ccxt | train | js |
b0bc57154da84ca6472292ecd9363240b7b6b322 | diff --git a/lib/priorityQueue.js b/lib/priorityQueue.js
index <HASH>..<HASH> 100644
--- a/lib/priorityQueue.js
+++ b/lib/priorityQueue.js
@@ -28,6 +28,7 @@ import Heap from './internal/Heap';
export default function(worker, concurrency) {
// Start with a normal queue
var q = queue(worker, concurrency);
+ ... | priorityQueue: Prevent same tick setImmediate (#<I>) | caolan_async | train | js |
a3b44309dd93843a5466bd7cc7435a0179e4f4f2 | diff --git a/python/ray/services.py b/python/ray/services.py
index <HASH>..<HASH> 100644
--- a/python/ray/services.py
+++ b/python/ray/services.py
@@ -653,6 +653,7 @@ def start_ui(redis_address, stdout_file=None, stderr_file=None, cleanup=True):
# querying the jupyter server.
token = binascii.hexlify(os.urand... | Pass --allow-root into jupyter notebook. (#<I>) | ray-project_ray | train | py |
82b71acda1467f0adcf06e613bde5e529d421d3d | diff --git a/metrics-core/src/main/java/com/codahale/metrics/SlidingWindowReservoir.java b/metrics-core/src/main/java/com/codahale/metrics/SlidingWindowReservoir.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/main/java/com/codahale/metrics/SlidingWindowReservoir.java
+++ b/metrics-core/src/main/java/com/codaha... | Update fix per ceetav's comments. | dropwizard_metrics | train | java |
e23c01dd98cf818bc465bdd332c2216a442d7192 | diff --git a/platforms/dji/tello/driver.go b/platforms/dji/tello/driver.go
index <HASH>..<HASH> 100644
--- a/platforms/dji/tello/driver.go
+++ b/platforms/dji/tello/driver.go
@@ -816,11 +816,12 @@ func (d *Driver) processVideo() error {
for {
buf := make([]byte, 2048)
n, _, err := d.videoConn.ReadFromUDP(buf... | Check for error immediately and skip publish if error occurred | hybridgroup_gobot | train | go |
450b611d59508ced95ea580608a69a5d0c9a8b48 | diff --git a/lib/racecar/runner.rb b/lib/racecar/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/racecar/runner.rb
+++ b/lib/racecar/runner.rb
@@ -93,7 +93,7 @@ module Racecar
"statistics.interval.ms" => 1000,
}
producer_config["compression.codec"] = config.producer_compression_codec.to_s unless ... | fix bug where rdkafka producer config was ignored | zendesk_racecar | train | rb,rb |
cdeb1e77e4e9944605f2e77edaf773aaadd30cec | diff --git a/configured-tasks.js b/configured-tasks.js
index <HASH>..<HASH> 100644
--- a/configured-tasks.js
+++ b/configured-tasks.js
@@ -96,7 +96,7 @@ module.exports.hogan = function(builder, config) {
var version = config.version || '2.0.0';
return builder.add('js', 'hogan')
- .src(builder.resolveModule('... | fix location for hogan.js | webforge-labs_webforge-js-builder | train | js |
0bb52a19aac5bf7e6bdf81da34dabb166f28672d | diff --git a/Controller/CRUDController.php b/Controller/CRUDController.php
index <HASH>..<HASH> 100644
--- a/Controller/CRUDController.php
+++ b/Controller/CRUDController.php
@@ -256,10 +256,7 @@ class CRUDController extends Controller
$form->handleRequest($request);
if ($form->isSubmitted()) {
- ... | Removed unnecessary check for AdminInterface::preValidate | sonata-project_SonataAdminBundle | train | php |
9baca6c3688de1cb16aa4a65fc05422d2aea4762 | diff --git a/beekeeper/api.py b/beekeeper/api.py
index <HASH>..<HASH> 100644
--- a/beekeeper/api.py
+++ b/beekeeper/api.py
@@ -8,6 +8,7 @@ from __future__ import unicode_literals, print_function
import copy
from functools import partial
+from keyword import iskeyword
from beekeeper.variables import Variables
fr... | Making changes to avoid objects/actions with reserved names | haikuginger_beekeeper | train | py |
30f62e065bfff93605badb9cbc73867984dab4e3 | diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/addressable/uri_spec.rb
+++ b/spec/addressable/uri_spec.rb
@@ -4234,6 +4234,14 @@ describe Addressable::URI, "when assigning query values" do
@uri.query_values = [['b', 'c'], ['b', 'a'], ['a', 'a']]
... | Added additional test to verify query string sort order. | sporkmonger_addressable | train | rb |
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.