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 |
|---|---|---|---|---|---|
1b69740f3ab0076dc304fed7856b0b8f30c4b6bc | diff --git a/src/main/java/water/api/Tutorials.java b/src/main/java/water/api/Tutorials.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/api/Tutorials.java
+++ b/src/main/java/water/api/Tutorials.java
@@ -20,7 +20,7 @@ public class Tutorials extends HTMLOnlyRequest {
+ " p { font-size:16px; }"
+ "<... | gitbook link changed to learnpub link | h2oai_h2o-2 | train | java |
36c429c30289cda93f5648eef58dc19095dc8f5b | diff --git a/config.go b/config.go
index <HASH>..<HASH> 100644
--- a/config.go
+++ b/config.go
@@ -23,7 +23,7 @@ const (
defaultConfigFilename = "btcd.conf"
defaultLogLevel = "info"
defaultBtcnet = btcwire.MainNet
- defaultMaxPeers = 8
+ defaultMaxPeers = 125
defaultBanDuration = ti... | Bump maxpeers to <I> like bitcoind.
It helps a lot if our max peers doesn't equal the max we'll try and open
outbound. | btcsuite_btcd | train | go |
4d9ac5e6efef019b52ce72e1e0defeef8143600a | diff --git a/spec/helper.rb b/spec/helper.rb
index <HASH>..<HASH> 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -1,16 +1,9 @@
-begin
- require 'bundler/setup'
-rescue LoadError
- puts 'although not required, its recommended you use bundler when running the tests'
-end
-
+$:.unshift File.expand_path('..', __FILE... | Push spec and lib onto the | lostisland_faraday_middleware | train | rb |
2dee46a1a2b433fd623069c104b3ef9ee7d5db7a | diff --git a/lib/producer.js b/lib/producer.js
index <HASH>..<HASH> 100644
--- a/lib/producer.js
+++ b/lib/producer.js
@@ -27,7 +27,7 @@ let buffer4 = function (v) {
function producer (opts, cb) {
- let stripe = opts.stripe;
+ let stripe = opts.stripe.slice(0);
stripe.unshift(prepend);
stripe.push(append);... | bugfix: stripe will be reused to make other targets. hence clone it | zeit_pkg | train | js |
781b4dbe0ff148455c68e4e9e4c2264d7dfe8157 | diff --git a/scripts/bcbio_setup_genome.py b/scripts/bcbio_setup_genome.py
index <HASH>..<HASH> 100755
--- a/scripts/bcbio_setup_genome.py
+++ b/scripts/bcbio_setup_genome.py
@@ -2,6 +2,7 @@
"""
Script to set up a custom genome for bcbio-nextgen
"""
+from __future__ import print_function
from argparse import Argu... | python3: Move __future__ statement to start of script | bcbio_bcbio-nextgen | train | py |
038c6e20eadea7615477a452816f42f7b031b416 | diff --git a/src/test/java/com/buschmais/jqassistant/plugin/common/test/AbstractPluginIT.java b/src/test/java/com/buschmais/jqassistant/plugin/common/test/AbstractPluginIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/buschmais/jqassistant/plugin/common/test/AbstractPluginIT.java
+++ b/src/test/java/com/busc... | Changed the lookup of the currently executed test method to support parameterized unit tests. | buschmais_jqa-plugin-common | train | java |
6df294ca3eb7d710e43de0cf6edb948f92e473a9 | diff --git a/pyqode/python/modes/document_analyser.py b/pyqode/python/modes/document_analyser.py
index <HASH>..<HASH> 100644
--- a/pyqode/python/modes/document_analyser.py
+++ b/pyqode/python/modes/document_analyser.py
@@ -134,7 +134,7 @@ class DocumentAnalyserMode(pyqode.core.Mode, QtCore.QObject):
def _onState... | DocumentAnalyser: Use line count changed signal
Most of the structures changes are performed on new line | pyQode_pyqode.python | train | py |
8d35fdc3d5b3292ab51b9543b092d499d4548cdd | diff --git a/database-provider/src/main/java/org/jboss/pressgang/ccms/provider/DBDataProvider.java b/database-provider/src/main/java/org/jboss/pressgang/ccms/provider/DBDataProvider.java
index <HASH>..<HASH> 100644
--- a/database-provider/src/main/java/org/jboss/pressgang/ccms/provider/DBDataProvider.java
+++ b/databas... | Added an error message for when entities can't be found. | pressgang-ccms_PressGangCCMSDatasourceProviders | train | java |
924e374832b30e38546fb0f7cb9c1fd36aef4950 | diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -362,10 +362,6 @@ def minion_config(path,
return apply_minion_config(overrides, check_dns, defaults)
-def get_ec2_public_ip(private_ip):
- return None
-
-
def get_id():
'''
Guess ... | Strip out ec2 specific calls pending a better more generic solution | saltstack_salt | train | py |
e3b5446010a5a30dfe1b7e1a680bf3790909e70f | diff --git a/symphony/assets/js/src/symphony.js b/symphony/assets/js/src/symphony.js
index <HASH>..<HASH> 100644
--- a/symphony/assets/js/src/symphony.js
+++ b/symphony/assets/js/src/symphony.js
@@ -36,7 +36,8 @@ var Symphony = (function($, crossroads) {
// Get localised strings
function translate(strings) {
- v... | Fix error when no env found
This was causing a javascript error in the server side error template.
Ouf. | symphonycms_symphony-2 | train | js |
7ff8b2396fa0dc440e68f50be55bd4c2881ad217 | diff --git a/sources/scalac/symtab/classfile/UnPickle.java b/sources/scalac/symtab/classfile/UnPickle.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/symtab/classfile/UnPickle.java
+++ b/sources/scalac/symtab/classfile/UnPickle.java
@@ -86,7 +86,7 @@ public class UnPickle implements Kinds, Modifiers, EntryTags, T... | - Improved the condition for when the unpicklin...
- Improved the condition for when the unpickling was successful,
namely at least one of the symbols (the class or the module) should be
initialized | scala_scala | train | java |
7b89374dcebe1a534f95a70885e56ac81399da23 | diff --git a/lib/vagrant/box_collection.rb b/lib/vagrant/box_collection.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/box_collection.rb
+++ b/lib/vagrant/box_collection.rb
@@ -276,7 +276,7 @@ module Vagrant
next if !versiondir.directory?
next if versiondir.basename.to_s.start_with?(".")
- ... | Fix version sorting in box_collection.rb | hashicorp_vagrant | train | rb |
be9bb3a57ff06a6253613686d3abab6e63fbbbc5 | diff --git a/lib/renderables/modelView.js b/lib/renderables/modelView.js
index <HASH>..<HASH> 100644
--- a/lib/renderables/modelView.js
+++ b/lib/renderables/modelView.js
@@ -34,9 +34,9 @@ module.exports = function(config) {
},
componentWillReceiveProps: function(nextProps) {
- var routeParamId = this.... | change routeParamKey -> routeIdAttribute to be in line with model idAttribute field (req by @funkytek)` | fissionjs_fission | train | js |
e73b673e60920e07bcc9f0c7a312609d0b1f6e33 | diff --git a/lib/esl/connection.js b/lib/esl/connection.js
index <HASH>..<HASH> 100644
--- a/lib/esl/connection.js
+++ b/lib/esl/connection.js
@@ -654,10 +654,15 @@ Connection.prototype.originate = function(profile, gateway, number, app, sync, c
};
//send a SIP MESSAGE
-Connection.prototype.message = function(to, f... | Fixed: missing subject argument in esl.Connection.message. Added: deliveryConfirmation argument in esl.Connection.message | englercj_node-esl | train | js |
7e18574264e7b91ae576b770254dc06450fef609 | diff --git a/lib/Requestify.js b/lib/Requestify.js
index <HASH>..<HASH> 100644
--- a/lib/Requestify.js
+++ b/lib/Requestify.js
@@ -22,7 +22,7 @@ var Requestify = (function() {
/**
* Module API
*/
- api;
+ api;
/**
* Returns http|s instance according to the giv... | Added core transporters array to public API | ranm8_requestify | train | js |
6af37d855f690ceee1fc6595bd66b2d95898c641 | diff --git a/src/Tools/StrawberryfieldJsonHelper.php b/src/Tools/StrawberryfieldJsonHelper.php
index <HASH>..<HASH> 100644
--- a/src/Tools/StrawberryfieldJsonHelper.php
+++ b/src/Tools/StrawberryfieldJsonHelper.php
@@ -324,7 +324,7 @@ class StrawberryfieldJsonHelper {
/**
- * Array helper that checks if an arr... | New little thing to check if an array is array of URNs... cool | esmero_strawberryfield | train | php |
576733fa59b383d0fdbff2163d03022bafc16670 | diff --git a/salt/netapi/__init__.py b/salt/netapi/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/netapi/__init__.py
+++ b/salt/netapi/__init__.py
@@ -107,6 +107,17 @@ class NetapiClient(object):
local = salt.client.get_local_client(mopts=self.opts)
return local.cmd_batch(*args, **kwargs)
+ d... | Add new netapi client that wraps LocalClient.cmd_subset | saltstack_salt | train | py |
b90af4dae5b9ff37ab14351a55006a6a71cfdb98 | diff --git a/python/ray/serve/tests/test_backend_state.py b/python/ray/serve/tests/test_backend_state.py
index <HASH>..<HASH> 100644
--- a/python/ray/serve/tests/test_backend_state.py
+++ b/python/ray/serve/tests/test_backend_state.py
@@ -1,3 +1,4 @@
+import os
import time
from typing import Any, Dict, List, Optional... | [serve] Delete kv store local path after unit tests (#<I>) | ray-project_ray | train | py |
a15cecd5234dee0a681c8fa8b2c81e0ed88b1f56 | diff --git a/sundial/__init__.py b/sundial/__init__.py
index <HASH>..<HASH> 100644
--- a/sundial/__init__.py
+++ b/sundial/__init__.py
@@ -5,6 +5,6 @@ from django.utils import version
__all__ = ['VERSION', '__version__']
-VERSION = (1, 0, 3, 'final', 0)
+VERSION = (1, 0, 4, 'alpha', 0)
__version__ = version.get... | Started <I> alpha development. | charettes_django-sundial | train | py |
aae75fe0cf552078cae329313493840aff67c5fb | diff --git a/lib/pavlov/helpers.rb b/lib/pavlov/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/pavlov/helpers.rb
+++ b/lib/pavlov/helpers.rb
@@ -7,12 +7,12 @@ module Pavlov
def query name, *args
args = add_pavlov_options args
- Pavlov.query name, *args, pavlov_options
+ Pavlov.query name, *arg... | Bugfix
Was giving double arguments to the queries and commands | Factlink_pavlov | train | rb |
4a71a2d6651a8baa01bdffebc39d0bdc2b74c859 | diff --git a/bin/codemods/src/config.js b/bin/codemods/src/config.js
index <HASH>..<HASH> 100644
--- a/bin/codemods/src/config.js
+++ b/bin/codemods/src/config.js
@@ -13,6 +13,11 @@ const recastOptions = {
objectCurlySpacing: true,
quote: 'single',
useTabs: true,
+ trailingComma: {
+ objects: true,
+ arrays: tr... | Update recast options for codemods to add trailing commas (#<I>) | Automattic_wp-calypso | train | js |
641ac21a8d8b71f98e6c9651fd13b482f37a37d9 | diff --git a/intranet/urls.py b/intranet/urls.py
index <HASH>..<HASH> 100644
--- a/intranet/urls.py
+++ b/intranet/urls.py
@@ -18,7 +18,8 @@ urlpatterns = patterns("",
url(r"^api/", include("intranet.apps.api.urls"), name="api_root"),
url(r"^api-auth/", include("rest_framework.urls", namespace="rest_framework... | Fix typo in urls.py | tjcsl_ion | train | py |
08999c56185951879a22da7948d7a264506b9b84 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -27,6 +27,9 @@ var PORT_NOT_OPEN_ERRNO = "ECONNREFUSED";
var BAD_ADDRESS_MESSAGE = "Bad Client Address";
var BAD_ADDRESS_ERRNO = "ECONNREFUSED";
+var TRANSACTION_TIMED_OUT_MESSAGE = "Timed out";
+var TRANSACTION_TIMED_OUT_... | Fixes #<I>
Added object for ETIMEDOUT | yaacov_node-modbus-serial | train | js |
bc796f41a94e1b11afbb37c2139fdcfa15350bcd | diff --git a/src/remoteStorage.js b/src/remoteStorage.js
index <HASH>..<HASH> 100644
--- a/src/remoteStorage.js
+++ b/src/remoteStorage.js
@@ -217,9 +217,12 @@ define([
// claim - permission to claim, either *r* (read-only) or *rw* (read-write)
//
// Example:
- // > remoteStorage.claimAccess(... | remoteStorage doc: mention promises for claimAccess, updated examples to illustrate, added FIXME notice | remotestorage_remotestorage.js | train | js |
78bf554eb2306b87abc426aa6e6c5e95975af3b2 | diff --git a/src/mouse.js b/src/mouse.js
index <HASH>..<HASH> 100644
--- a/src/mouse.js
+++ b/src/mouse.js
@@ -27,7 +27,11 @@ Snap.plugin(function (Snap, Element, Paper, glob) {
},
getScroll = function (xy) {
var name = xy == "y" ? "scrollTop" : "scrollLeft";
- return glob.doc.documentElement[... | Correctly check for undefined in getScroll. Fixes #<I> | adobe-webplatform_Snap.svg | train | js |
4823f2438ab435375c9f2b037311bfeb7cf46441 | diff --git a/bindings/l20n/webl10n.js b/bindings/l20n/webl10n.js
index <HASH>..<HASH> 100644
--- a/bindings/l20n/webl10n.js
+++ b/bindings/l20n/webl10n.js
@@ -47,12 +47,15 @@ define(function (require, exports, module) {
function webL10nBridge() {
if (!navigator.mozL10n) {
navigator.mozL10n = {
- g... | add args support to API/compiler | l20n_l20n.js | train | js |
6609f8c4fee54ac3ce71f64e73552c3025cc2472 | diff --git a/src/cosmic_ray/commands/new_config.py b/src/cosmic_ray/commands/new_config.py
index <HASH>..<HASH> 100644
--- a/src/cosmic_ray/commands/new_config.py
+++ b/src/cosmic_ray/commands/new_config.py
@@ -95,6 +95,7 @@ def new_config():
config['interceptors'] = ConfigDict()
config['interceptors']['ena... | Fixes operators-filter issue in new-config.
We weren't properly creating the config tree. | sixty-north_cosmic-ray | train | py |
5d4ef399f79a7ba16e1c6fbc8157940fc33b5efe | diff --git a/src/main/java/com/aoindustries/servlet/filter/NotFoundFilter.java b/src/main/java/com/aoindustries/servlet/filter/NotFoundFilter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/aoindustries/servlet/filter/NotFoundFilter.java
+++ b/src/main/java/com/aoindustries/servlet/filter/NotFoundFilter.java
@... | Clarified that is comma/space separated list of patterns. | aoindustries_ao-servlet-filter | train | java |
77e1ca1e3099cafa3c72f681d5911b50b470c437 | diff --git a/stagpy/parfile.py b/stagpy/parfile.py
index <HASH>..<HASH> 100644
--- a/stagpy/parfile.py
+++ b/stagpy/parfile.py
@@ -607,13 +607,13 @@ PAR_DEFAULT = {
def _write_default():
"""create default par file"""
if not PAR_DFLT_FILE.is_file():
- f90nml.write(PAR_DEFAULT, PAR_DFLT_FILE)
+ f... | Convert PAR_DFLT_FILE to str for f<I>nml | StagPython_StagPy | train | py |
ac9fd648d32dc5bf45518b8f88a74fe5ec39ee14 | diff --git a/pkg/runtime/swagger_doc_generator.go b/pkg/runtime/swagger_doc_generator.go
index <HASH>..<HASH> 100644
--- a/pkg/runtime/swagger_doc_generator.go
+++ b/pkg/runtime/swagger_doc_generator.go
@@ -65,11 +65,14 @@ func fmtRawDoc(rawDoc string) string {
for _, line := range strings.Split(rawDoc, "\n") {
... | Strip go2idl instructions from generated swagger doc
Ignore doc lines starting with + | kubernetes_kubernetes | train | go |
0b0c78efce8e2acae841d928138b56edd3f11f81 | diff --git a/server/src/main/java/org/jboss/as/server/services/net/NetworkInterfaceService.java b/server/src/main/java/org/jboss/as/server/services/net/NetworkInterfaceService.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/services/net/NetworkInterfaceService.java
+++ b/server/src/main/... | made arg binding log statement debug level | wildfly_wildfly | train | java |
e55a1748e9c75c365d95bc9046a561fe667cbff8 | diff --git a/contribs/gmf/src/controllers/AbstractDesktopController.js b/contribs/gmf/src/controllers/AbstractDesktopController.js
index <HASH>..<HASH> 100644
--- a/contribs/gmf/src/controllers/AbstractDesktopController.js
+++ b/contribs/gmf/src/controllers/AbstractDesktopController.js
@@ -111,7 +111,7 @@ export class ... | Call dispose on tooltips and popovers
The name was changed between version 3 and 4:
<URL> | camptocamp_ngeo | train | js,js |
c7486f816975676c9ab2ed4bdd1e3503e55a8357 | diff --git a/lib/jitsu.js b/lib/jitsu.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu.js
+++ b/lib/jitsu.js
@@ -113,7 +113,7 @@ jitsu.welcome = function () {
//
var username = jitsu.config.get('username') || '';
jitsu.log.info('Welcome to ' + 'Nodejitsu'.grey + ' ' + username.magenta);
- jitsu.log.info('jitsu ... | [ui] Display node version | nodejitsu_jitsu | train | js |
040f41166c4e660b52c76b951584b01dcd6a6e99 | diff --git a/src/Subfission/Cas/Middleware/RedirectCASAuthenticated.php b/src/Subfission/Cas/Middleware/RedirectCASAuthenticated.php
index <HASH>..<HASH> 100644
--- a/src/Subfission/Cas/Middleware/RedirectCASAuthenticated.php
+++ b/src/Subfission/Cas/Middleware/RedirectCASAuthenticated.php
@@ -25,9 +25,9 @@ class Redir... | Typo in cas_redirect_path variable
Also, removed default redirect override to "home" so default installs don't break on update. | subfission_cas | train | php |
53f25ae348f7fdcae27c3d89369738f1e8b455d9 | diff --git a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
+++ b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
@@ -42,7 ... | Removed :nodoc: from PermitScrubber. | rails_rails | train | rb |
a470664644994d4cc68a83714a06f53065c4896f | diff --git a/tests/agent_test.py b/tests/agent_test.py
index <HASH>..<HASH> 100644
--- a/tests/agent_test.py
+++ b/tests/agent_test.py
@@ -27,7 +27,7 @@ class Agent_tests(unittest.TestCase):
def test_test_echo(self):
''' test get_user_id_by_email '''
# register response
- httpretty.registe... | errm... yeah that is a POST method. | symphonyoss_python-symphony | train | py |
194321289fad86b82a19071a793ac3ff7a216610 | diff --git a/will/backends/pubsub/redis_pubsub.py b/will/backends/pubsub/redis_pubsub.py
index <HASH>..<HASH> 100644
--- a/will/backends/pubsub/redis_pubsub.py
+++ b/will/backends/pubsub/redis_pubsub.py
@@ -24,7 +24,7 @@ class RedisPubSub(BasePubSub):
db = url.path[1:]
else:
db = 0
- ... | if REDIS_MAX_CONNECTIONS set via env var this was generating an error | skoczen_will | train | py,py |
7ff29ed2f2286e7f9a7c8ee8c6fe9609264443a9 | diff --git a/src/Knp/ETL/Transformer/CallbackTransformer.php b/src/Knp/ETL/Transformer/CallbackTransformer.php
index <HASH>..<HASH> 100644
--- a/src/Knp/ETL/Transformer/CallbackTransformer.php
+++ b/src/Knp/ETL/Transformer/CallbackTransformer.php
@@ -16,8 +16,6 @@ class CallbackTransformer implements TransformerInterfa... | [Transformer] Be more flexible by passing directly the whole context instead of only target | docteurklein_php-etl | train | php |
c4d266f2f988ea8f55a5a500eb13dac1bb8d9c95 | diff --git a/azure-storage-common/src/Common/Exceptions/ServiceException.php b/azure-storage-common/src/Common/Exceptions/ServiceException.php
index <HASH>..<HASH> 100644
--- a/azure-storage-common/src/Common/Exceptions/ServiceException.php
+++ b/azure-storage-common/src/Common/Exceptions/ServiceException.php
@@ -168,7... | Fix type hint for ServiceException::getResponse()
Returned type is actually `ResponseInterface` and not a `string` | Azure_azure-storage-php | train | php |
54daafa797a1e88e0f7bd8a28f4c719d105e8715 | diff --git a/src/AppBuilder.php b/src/AppBuilder.php
index <HASH>..<HASH> 100644
--- a/src/AppBuilder.php
+++ b/src/AppBuilder.php
@@ -357,7 +357,7 @@ final class AppBuilder {
$info->cacheProvider = $config['cacheProvider'];
$info->request = new HttpRequest();
$info->response = ne... | Fixed bug with missing sessionProvider in configuration. | php-mvc-project_php-mvc | train | php |
b98aa3b4f169b1210e187d1ba6c402d052ad70c5 | diff --git a/whisper/whisperv2/whisper.go b/whisper/whisperv2/whisper.go
index <HASH>..<HASH> 100644
--- a/whisper/whisperv2/whisper.go
+++ b/whisper/whisperv2/whisper.go
@@ -262,7 +262,7 @@ func (self *Whisper) add(envelope *Envelope) error {
// Insert the message into the tracked pool
hash := envelope.Hash()
if... | whisper/whisper2: fix Go <I> vet issues on type mismatches (#<I>) | ethereum_go-ethereum | train | go |
2c9a1b984af085add5b1b822677a5414e9933cd8 | diff --git a/mautrix/appservice/appservice.py b/mautrix/appservice/appservice.py
index <HASH>..<HASH> 100644
--- a/mautrix/appservice/appservice.py
+++ b/mautrix/appservice/appservice.py
@@ -5,7 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Partly based on github.com/Cadair/python-appservice-fr... | Fix error about ClientSession.close not being awaited | tulir_mautrix-python | train | py |
9d034031a84342d159af6547d6b1d21da4f4114b | diff --git a/Lib/fontbakery/specifications/general.py b/Lib/fontbakery/specifications/general.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/general.py
+++ b/Lib/fontbakery/specifications/general.py
@@ -2,6 +2,7 @@ from __future__ import (absolute_import, division, print_function,
... | I deleted an import statement by mistake, sorry! | googlefonts_fontbakery | train | py |
8116b01e766e4619d5af62a7dde33032e32d794c | diff --git a/lib/paho_mqtt/subscriber.rb b/lib/paho_mqtt/subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/paho_mqtt/subscriber.rb
+++ b/lib/paho_mqtt/subscriber.rb
@@ -61,12 +61,12 @@ module PahoMqtt
adjust_qos.delete(t)
else
- @logger.error("The QoS value is invalid in subscribe... | fix reference to global logger in subscriber class | RubyDevInc_paho.mqtt.ruby | train | rb |
faf9ce0c3130ab590756caddb2751313828d9d6d | diff --git a/jacquard/translate.py b/jacquard/translate.py
index <HASH>..<HASH> 100644
--- a/jacquard/translate.py
+++ b/jacquard/translate.py
@@ -173,9 +173,8 @@ def _claim_readers(args):
return factory.claim(file_readers)
def _log_unclaimed_readers(unclaimed_readers):
- sorted_readers = sorted(unclaimed_re... | (jebene) attempt to make travis pass | umich-brcf-bioinf_Jacquard | train | py |
876344549b222f32df737a091555ea148ba79645 | diff --git a/nodeconductor/structure/tests/test_project.py b/nodeconductor/structure/tests/test_project.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/tests/test_project.py
+++ b/nodeconductor/structure/tests/test_project.py
@@ -220,10 +220,13 @@ class ProjectCreateUpdateDeleteTest(test.APITransactionTest... | test that project is created with given groups (nc-<I>) | opennode_waldur-core | train | py |
9c09b0f9413ed85d01355af3e9fbd5257354bf0a | diff --git a/views/v3/partials/post/post-grid.blade.php b/views/v3/partials/post/post-grid.blade.php
index <HASH>..<HASH> 100644
--- a/views/v3/partials/post/post-grid.blade.php
+++ b/views/v3/partials/post/post-grid.blade.php
@@ -5,7 +5,7 @@
@block([
'link' => $post->permalink,
... | Use 1:1 ratio for square grids. | helsingborg-stad_Municipio | train | php |
c8f72ca6d78da1e3d4ee2cc1467ce9a375af7117 | diff --git a/lib/komenda/process.rb b/lib/komenda/process.rb
index <HASH>..<HASH> 100644
--- a/lib/komenda/process.rb
+++ b/lib/komenda/process.rb
@@ -74,19 +74,19 @@ module Komenda
# @param [ProcessBuilder] process_builder
def run_process(process_builder)
- if process_builder.cwd.nil?
- run_pop... | Use Process.spawn "opts" for chdir | chocolateboy_komenda | train | rb |
63b46aea679765a563b4e33386df2a4f2355a7cc | diff --git a/examples/hello_world.py b/examples/hello_world.py
index <HASH>..<HASH> 100644
--- a/examples/hello_world.py
+++ b/examples/hello_world.py
@@ -17,18 +17,18 @@ def main():
# connect to pod
try:
agent, pod, symphony_sid = conn.connect()
- print 'connected: %s' % symphony_sid
- exc... | fix some more bad prints and some bad exceptions | symphonyoss_python-symphony-binding | train | py |
3d61474b5da2ab4b7d33e8435a0c5a601a18ed33 | diff --git a/build.go b/build.go
index <HASH>..<HASH> 100644
--- a/build.go
+++ b/build.go
@@ -49,6 +49,10 @@ func BuildPackages(pkgs ...*Package) (*Action, error) {
}
for _, pkg := range pkgs {
+ if len(pkg.GoFiles)+len(pkg.Cgofiles) == 0 {
+ Debugf("skipping %v: no go files", pkg.ImportPath)
+ continue
+ ... | Skip a package if it contains no Go files | constabulary_gb | train | go |
b72040d76099219815da26916bbd648ba5644748 | diff --git a/tilequeue/tile.py b/tilequeue/tile.py
index <HASH>..<HASH> 100644
--- a/tilequeue/tile.py
+++ b/tilequeue/tile.py
@@ -267,8 +267,8 @@ def coord_children_range(coord, zoom_until):
def tolerance_for_zoom(zoom):
- assert zoom >= 0 and zoom <= 20
- tolerance = tolerances[zoom]
+ tol_idx = zoom if... | Update tolerance zoom lookup
Add support for zooms that are greater than <I>. | tilezen_tilequeue | train | py |
b5531ba3de1cf0c49793cb52b8689745aa3937f4 | diff --git a/lib/core/plugin/node.rb b/lib/core/plugin/node.rb
index <HASH>..<HASH> 100644
--- a/lib/core/plugin/node.rb
+++ b/lib/core/plugin/node.rb
@@ -919,7 +919,6 @@ class Node < Nucleon.plugin_class(:nucleon, :base)
codes :network_load_error
config = Config.ensure(options).defaults({
- :log_level... | Separating the log_level option from the encoded args in the base node plugin action method. | coralnexus_corl | train | rb |
06ad2ed0af91076cc1271f5e9cc3679a2165d6ec | diff --git a/splinter/cookie_manager.py b/splinter/cookie_manager.py
index <HASH>..<HASH> 100644
--- a/splinter/cookie_manager.py
+++ b/splinter/cookie_manager.py
@@ -1,3 +1,6 @@
+# -*- coding: utf-8 -*-
+from splinter.meta import InheritedDocs
+
class CookieManagerAPI(object):
"""
An API that specifies how ... | Inhritance on cookies docs | cobrateam_splinter | train | py |
bd6eef4b6a4098775d1e1838bc093e8b469ef4e0 | diff --git a/lib/appraisal/cli.rb b/lib/appraisal/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/appraisal/cli.rb
+++ b/lib/appraisal/cli.rb
@@ -36,8 +36,9 @@ module Appraisal
end
desc 'install', 'Resolve and install dependencies for each appraisal'
- method_option 'jobs', aliases: 'j', type: :numeric, def... | Updating CLI for MRI <I> friendliness | thoughtbot_appraisal | train | rb |
a1697b6d4b8ecf6dacf9594700e2554f0a9a88af | diff --git a/lib/coverband/integrations/resque.rb b/lib/coverband/integrations/resque.rb
index <HASH>..<HASH> 100644
--- a/lib/coverband/integrations/resque.rb
+++ b/lib/coverband/integrations/resque.rb
@@ -2,9 +2,11 @@
Resque.after_fork do |job|
Coverband.start
+ Coverband.runtime_coverage!
end
Resque.befor... | fix for resque boot storing runtime coverage | danmayer_coverband | train | rb |
f4fa5698c1ff391ea44a85f5136fa2c480e37f23 | diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java
index <HASH>..<HASH> 100755
--- a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java
+++ b/transport/src/main/java/io/netty/channel/DefaultChannelPip... | Add a TODO which should be done when buffer pool is implemented | netty_netty | train | java |
a2b0ef551b51d17e2aa2e65c16477f2cc276124c | diff --git a/Auth/OpenID/Interface.php b/Auth/OpenID/Interface.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Interface.php
+++ b/Auth/OpenID/Interface.php
@@ -165,8 +165,8 @@ class Auth_OpenID_OpenIDStore {
* store. Unlike all other methods in this class, this one
* provides a default implementation, wh... | [project @ Added link to Interface file] | openid_php-openid | train | php |
fe5c029c04db4ec858d4e32d3d82e70d484891dd | diff --git a/lib/synvert/core/rewriter/instance.rb b/lib/synvert/core/rewriter/instance.rb
index <HASH>..<HASH> 100644
--- a/lib/synvert/core/rewriter/instance.rb
+++ b/lib/synvert/core/rewriter/instance.rb
@@ -91,6 +91,7 @@ module Synvert::Core
.glob(file_pattern)
.each do |file_path|
next... | Auto corrected by following Lint Ruby EmptyLine | xinminlabs_synvert-core | train | rb |
6e88044e8793eb2a19c2da992adcd68360477be7 | diff --git a/lib/tkellem/daemon.rb b/lib/tkellem/daemon.rb
index <HASH>..<HASH> 100644
--- a/lib/tkellem/daemon.rb
+++ b/lib/tkellem/daemon.rb
@@ -37,7 +37,7 @@ class Tkellem::Daemon
command = @args.shift
case command
when 'start'
- running?
+ abort_if_running
daemonize
start
... | Rename running? to abort_if_running
Follow ruby naming convention. This method originally
returned a boolean, but I changed what the method did
and forgot to rename the method appropriately. | codekitchen_tkellem | train | rb |
14864453550579542db96be66c032fe141d29a16 | diff --git a/lib/kaskara/spoon/backend/src/main/java/christimperley/kaskara/Main.java b/lib/kaskara/spoon/backend/src/main/java/christimperley/kaskara/Main.java
index <HASH>..<HASH> 100644
--- a/lib/kaskara/spoon/backend/src/main/java/christimperley/kaskara/Main.java
+++ b/lib/kaskara/spoon/backend/src/main/java/christ... | removed dead imports from spoon backend | ChrisTimperley_Kaskara | train | java |
f3d9c5df2b343a201b97ca8d647c778645fefb80 | diff --git a/src/you_get/common.py b/src/you_get/common.py
index <HASH>..<HASH> 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -1128,6 +1128,22 @@ def script_main(script_name, download, download_playlist, **kwargs):
raise
else:
sys.exit(1)
+ except:
+ if n... | [common] improve error message, display a brief instruction to tell users what to do | soimort_you-get | train | py |
c9ddd61b5e72af3561f1e1348f5db094764be6d4 | diff --git a/pycbc/types/frequencyseries.py b/pycbc/types/frequencyseries.py
index <HASH>..<HASH> 100644
--- a/pycbc/types/frequencyseries.py
+++ b/pycbc/types/frequencyseries.py
@@ -575,7 +575,7 @@ def load_frequencyseries(path, group=None):
data = _numpy.loadtxt(path)
elif ext == '.hdf':
key = ... | Declare read-only file as read-only (#<I>) | gwastro_pycbc | train | py |
ffe817fcababca46d4989ff3982807468645d2ea | diff --git a/staging/src/k8s.io/client-go/plugin/pkg/client/auth/openstack/openstack.go b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/openstack/openstack.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/client-go/plugin/pkg/client/auth/openstack/openstack.go
+++ b/staging/src/k8s.io/client-go/plugin/pkg/... | Deprecate the in-tree keystone plugin
We now have the `client-keystone-auth` in cloud-provider-openstack
repository:
<URL> | kubernetes_kubernetes | train | go |
c269b9d4c5a4601f0279dbf469b5474a8e4bad13 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,5 +4,5 @@ require 'bundler/setup'
require 'osrsgrabber'
RSpec.configure do |config|
- #stuff
+ config.mock_with :rspec
end | Added rspec mocking to helper | sambooo_RsHighscores | train | rb |
81ea704043bfcc15c41b0ba4921e595577ff051e | diff --git a/examples/kml.js b/examples/kml.js
index <HASH>..<HASH> 100644
--- a/examples/kml.js
+++ b/examples/kml.js
@@ -23,7 +23,7 @@ var vector = new ol.layer.Vector({
var map = new ol.Map({
layers: [raster, vector],
renderer: ol.RendererHint.CANVAS,
- target: 'map',
+ target: document.getElementById('map'... | Change cursor when over a feature in KML example | openlayers_openlayers | train | js |
533a8dbfa820bf282e0bd07288714acb12f10340 | diff --git a/examples/sinatra/app.rb b/examples/sinatra/app.rb
index <HASH>..<HASH> 100755
--- a/examples/sinatra/app.rb
+++ b/examples/sinatra/app.rb
@@ -29,9 +29,9 @@ get '/dynamic-share' do
.with_pin_auth
.build
)
- .with_callback_endpoint('/profil... | SDK-<I>: Manually correcting indentation in sinatra example project | getyoti_yoti-ruby-sdk | train | rb |
c55f0e3029e800a4dd26eda50a8b4b672911b7ba | diff --git a/src/Repositories/EloquentTag.php b/src/Repositories/EloquentTag.php
index <HASH>..<HASH> 100644
--- a/src/Repositories/EloquentTag.php
+++ b/src/Repositories/EloquentTag.php
@@ -3,6 +3,7 @@
namespace TypiCMS\Modules\Tags\Repositories;
use Illuminate\Database\Eloquent\Collection;
+use Illuminate\Support... | Use of str and array helper removed | TypiCMS_Tags | train | php |
10a4f7cce09248c30410c01dbc27dfbd0aca6144 | diff --git a/generator/classes/propel/engine/database/model/Column.php b/generator/classes/propel/engine/database/model/Column.php
index <HASH>..<HASH> 100644
--- a/generator/classes/propel/engine/database/model/Column.php
+++ b/generator/classes/propel/engine/database/model/Column.php
@@ -678,6 +678,13 @@ class Column... | added isNodeKey and nodeKeySep to attributes generated by toString() | propelorm_Propel | train | php |
3fbdc525bf2cdf8f78b5385ee36b27cb415d8658 | diff --git a/nbt/region.py b/nbt/region.py
index <HASH>..<HASH> 100644
--- a/nbt/region.py
+++ b/nbt/region.py
@@ -63,9 +63,13 @@ class RegionFile(object):
compression = unpack(">B", self.file.read(1))
compression = compression[0]
chunk = self.file.read(length-1)
- chunk = zlib.decompress(chunk)
- chunk... | The two compression methods ARE different (undo 5da<I>be<I>fe<I>dc<I>c<I>dbe<I>a<I>)
Compression mode 1 (GZip: RFC<I>) needs the GzipFile parser, while mode 2 (Zlib: RFC<I>) needs the zlib.decompress() and zlib.compress() to parse. | twoolie_NBT | train | py |
b71b64b2eacc842282b80c8c9382967d7244da7d | diff --git a/js/adapt/cfi.js b/js/adapt/cfi.js
index <HASH>..<HASH> 100644
--- a/js/adapt/cfi.js
+++ b/js/adapt/cfi.js
@@ -413,6 +413,7 @@ adapt.cfi.Fragment.prototype.prependPathFromNode = function(node, offset, after,
node = node.previousSibling;
continue;
case 8: // Comment Node
+ node = node.... | Avoid infinite loop during EPUB CFI resolution when a comment node is specified | vivliostyle_vivliostyle.js | train | js |
ffac3697644f128d2b2b777d5d6518cac3cc2250 | diff --git a/opendata_transport/__init__.py b/opendata_transport/__init__.py
index <HASH>..<HASH> 100644
--- a/opendata_transport/__init__.py
+++ b/opendata_transport/__init__.py
@@ -33,15 +33,19 @@ class OpendataTransport(object):
try:
with async_timeout.timeout(5, loop=self._loop):
- ... | report client errors (#4)
* report client errors python-opendata-transport#3
report client errors so that exceptions like ratelimiting (transport.opendata.ch proxies requests to timetable.search.ch which limits number f daily requests to <I> as in sep'<I> but can change)
* Update style | fabaff_python-opendata-transport | train | py |
7d65b508100f98a504528da2346a64ccdc80be12 | diff --git a/writer.go b/writer.go
index <HASH>..<HASH> 100644
--- a/writer.go
+++ b/writer.go
@@ -110,8 +110,12 @@ func (f *Frame) writeFrame(w *bufio.Writer, l string) error {
return e
}
}
- // Write the last Header LF and the frame Body
- if _, e := fmt.Fprintf(w, "\n%s", f.Body); e != nil {
+ // Write the ... | Try to avoid byte/string conversions. | gmallard_stompngo | train | go |
147adc6e8796504da86c1914edf0d095c4d3af10 | diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py
index <HASH>..<HASH> 100644
--- a/gnupg/gnupg.py
+++ b/gnupg/gnupg.py
@@ -1029,7 +1029,7 @@ generate keys. Please see
>>> encrypted = str(gpg.encrypt(message, key.fingerprint))
>>> assert encrypted != message
>>> assert not encrypted.isspace()
- ... | documentation update for usage of `decrypt()`
The sample in the doc wasn't able to decrypt the message without passing in the passphrase given earlier in the example. | isislovecruft_python-gnupg | train | py |
6ee44b326a30b8b6519e3f16fc05f7d9c05a22ca | diff --git a/test/functional/storage_helper.rb b/test/functional/storage_helper.rb
index <HASH>..<HASH> 100644
--- a/test/functional/storage_helper.rb
+++ b/test/functional/storage_helper.rb
@@ -8,9 +8,8 @@
require 'ruote/storage/hash_storage'
-def locate_storage_impl(arg)
+def locate_storage_impl(pers)
- pers ... | RUOTE_STORAGE env var for tests
since <I>'s test/unit is not happy with -- --storage | jmettraux_ruote | train | rb |
844727134080ba0533068170c070dbf4bb7b1eeb | diff --git a/state/statecmd/upgradecharm_test.go b/state/statecmd/upgradecharm_test.go
index <HASH>..<HASH> 100644
--- a/state/statecmd/upgradecharm_test.go
+++ b/state/statecmd/upgradecharm_test.go
@@ -49,11 +49,7 @@ func (s *UpgradeCharmSuite) TestServiceUpgradeCharm(c *C) {
Force: t.force,
RepoPath: ... | Missed a changed var. | juju_juju | train | go |
472faa97c5ee7fac8b5c99657c4f5a3bb82dbabd | diff --git a/gns3server/utils/get_resource.py b/gns3server/utils/get_resource.py
index <HASH>..<HASH> 100644
--- a/gns3server/utils/get_resource.py
+++ b/gns3server/utils/get_resource.py
@@ -49,8 +49,6 @@ def get_resource(resource_name):
"""
resource_path = None
- if hasattr(sys, "frozen") and sys.platfo... | Due to the migration to cx_freeze darwin and windows share
the same path for resources | GNS3_gns3-server | train | py |
a4657b56184375d374c71dd39b3d6a2531c95a32 | diff --git a/memote/support/basic.py b/memote/support/basic.py
index <HASH>..<HASH> 100644
--- a/memote/support/basic.py
+++ b/memote/support/basic.py
@@ -250,7 +250,6 @@ def find_oxygen_reactions(model):
def find_unique_metabolites(model):
"""Return set of metabolite IDs without duplicates from compartments.""... | docs: remove wrong TODO comment. | opencobra_memote | train | py |
0e4b458fe585f4d0650be7b2a4977e8512d1cdbf | diff --git a/src/main/java/org/junit/contrib/truth/subjects/Subject.java b/src/main/java/org/junit/contrib/truth/subjects/Subject.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/junit/contrib/truth/subjects/Subject.java
+++ b/src/main/java/org/junit/contrib/truth/subjects/Subject.java
@@ -99,7 +99,7 @@ public ... | Per findbugs, don't pass a known null variable into a method, pass in null explicitly. | google_truth | train | java |
498fbdd744db7bba0649c21aa646f17912293dca | diff --git a/src/Aura/Framework/Web/Controller/Front.php b/src/Aura/Framework/Web/Controller/Front.php
index <HASH>..<HASH> 100644
--- a/src/Aura/Framework/Web/Controller/Front.php
+++ b/src/Aura/Framework/Web/Controller/Front.php
@@ -186,9 +186,19 @@ class Front
*/
public function request()
{
+ ... | make allowances for index.php in the path | auraphp_Aura.Framework | train | php |
54cb82617a9fea69d8fd103f33bcd8366e7a7d2d | diff --git a/models/behaviors/csv.php b/models/behaviors/csv.php
index <HASH>..<HASH> 100644
--- a/models/behaviors/csv.php
+++ b/models/behaviors/csv.php
@@ -91,6 +91,9 @@ class CsvBehavior extends ModelBehavior {
while ($row = fgetcsv($file, $options['length'], $options['delimiter'], $options['enclosure'])) {
... | Added null values for columns that don't exist | ProLoser_CakePHP-CSV | train | php |
acf0fd4b9a427773e8ac9b74cad54c1e9014fb16 | diff --git a/test/g_object_test.rb b/test/g_object_test.rb
index <HASH>..<HASH> 100644
--- a/test/g_object_test.rb
+++ b/test/g_object_test.rb
@@ -1,8 +1,8 @@
require File.expand_path('test_helper.rb', File.dirname(__FILE__))
require 'gir_ffi/g_object'
-class HelperGObjectTypeTest < Test::Unit::TestCase
- context ... | Properly name test and explain what it tests. | mvz_gir_ffi | train | rb |
0f116a1aee39e0ff041b45064919c7256ee57432 | diff --git a/src/NaturalLanguage/NaturalLanguageClient.php b/src/NaturalLanguage/NaturalLanguageClient.php
index <HASH>..<HASH> 100644
--- a/src/NaturalLanguage/NaturalLanguageClient.php
+++ b/src/NaturalLanguage/NaturalLanguageClient.php
@@ -128,7 +128,8 @@ class NaturalLanguageClient
* `PLAIN_TEXT` or... | correct doc string to represent the fact the service detects the language of the provided content (#<I>) | googleapis_google-cloud-php | train | php |
6fd6514dbbd9bb30965d3191d4caaee9fafb16c0 | diff --git a/gdown/download_folder.py b/gdown/download_folder.py
index <HASH>..<HASH> 100644
--- a/gdown/download_folder.py
+++ b/gdown/download_folder.py
@@ -306,12 +306,11 @@ def download_folder(
print("Retrieving folder list completed", file=sys.stderr)
print("Building directory structure", file=sy... | Fix root_folder with no output given | wkentaro_gdown | train | py |
e93c11cff4c8115ba6227bd90f27387f6e3b473d | diff --git a/app.rb b/app.rb
index <HASH>..<HASH> 100644
--- a/app.rb
+++ b/app.rb
@@ -3,17 +3,9 @@ require "sinatra"
require "builder"
require "haml"
-def require_or_load(file)
- if Sinatra::Application.environment == :development
- load File.join(File.dirname(__FILE__), "#{file}.rb")
- else
- require file... | Dropped require_or_load now reloading is no longer supported. | gma_nesta | train | rb |
989d0b63a6982d02c5d806937ff5038a5f39eba3 | diff --git a/tests/test_launchpad.py b/tests/test_launchpad.py
index <HASH>..<HASH> 100644
--- a/tests/test_launchpad.py
+++ b/tests/test_launchpad.py
@@ -802,13 +802,23 @@ class TestLaunchpadClient(unittest.TestCase):
def test_http_wrong_status_issue_collection(self):
"""Test if an empty collection is re... | [tests] Add mock http answers to tests launchpad
This patch adds mocked http answers to two tests
(test_http_wrong_status_issue_collection, test_http_wrong_status_user),
thus enabling control over the response. | chaoss_grimoirelab-perceval | train | py |
fdf68a98d99c8b90695ff54c84ba37368a322d30 | diff --git a/src/Browscap/Command/BuildCommand.php b/src/Browscap/Command/BuildCommand.php
index <HASH>..<HASH> 100644
--- a/src/Browscap/Command/BuildCommand.php
+++ b/src/Browscap/Command/BuildCommand.php
@@ -56,7 +56,6 @@ class BuildCommand extends Command
ErrorHandler::register($logger);
$buildG... | Removed call to setOutput as is now deprecated | browscap_browscap | train | php |
6691b087319af6f73e5cd0d41077889ab977e85a | diff --git a/pronto/parser/base.py b/pronto/parser/base.py
index <HASH>..<HASH> 100644
--- a/pronto/parser/base.py
+++ b/pronto/parser/base.py
@@ -13,7 +13,8 @@ class BaseParser(object):
_instances = {}
- @abc.abstractclassmethod
+ @classmethod
+ @abc.abstractmethod
def hook(cls, force=False, pat... | Remove `abstractclassmethod` decorators as they are deprecated | althonos_pronto | train | py |
5c4e1025ce4a9afa1216d53b828637cd105f56f0 | diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py
index <HASH>..<HASH> 100644
--- a/trollimage/xrimage.py
+++ b/trollimage/xrimage.py
@@ -1428,10 +1428,10 @@ class XRImage(object):
Convert a mode "L" (or "LA") grayscale image to a mode "P" (or "PA")
palette image and store the palette in th... | Clarify how to keep palette in image | pytroll_trollimage | train | py |
22f7ad941861efbf0646d130d570ee79513d4b1f | diff --git a/jquery.peity.js b/jquery.peity.js
index <HASH>..<HASH> 100644
--- a/jquery.peity.js
+++ b/jquery.peity.js
@@ -187,12 +187,14 @@
'A', radius, radius, 0, 1, 1, x2, y1,
'L', x2, y2,
'A', innerRadius, innerRadius, 0, 1, 0, cx, y2
- ].join(' ')
+ ... | Include an item's value on pie slices and bars - usable by tooltips for example. | benpickles_peity | train | js |
08180232ef9bfaab87bc6055748b5dcf0dcd4d0d | diff --git a/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java b/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java
index <HASH>..<HASH> 100644
--- a/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java
+++ b/wffweb/src/main/java/com/webfirmframe... | Some unreleased improvement reverted | webfirmframework_wff | train | java |
bea058f21ec3d6de7950d19a6607c2c64f7a3717 | diff --git a/micawber/providers.py b/micawber/providers.py
index <HASH>..<HASH> 100644
--- a/micawber/providers.py
+++ b/micawber/providers.py
@@ -2,6 +2,7 @@ import hashlib
import pickle
import re
import socket
+import ssl
from .compat import get_charset
from .compat import HTTPError
from .compat import OrderedD... | Catch SSLError when fetching. | coleifer_micawber | train | py |
a3b3332ab0c75d36920118ebbbf28cc3206235e7 | diff --git a/rio_color/scripts/cli.py b/rio_color/scripts/cli.py
index <HASH>..<HASH> 100755
--- a/rio_color/scripts/cli.py
+++ b/rio_color/scripts/cli.py
@@ -110,6 +110,8 @@ Example:
arr = color_worker(rasters, window, ij, args)
dest.write(arr, window=window)
+ ... | Explicitly set color interpretation (#<I>)
Previously we were counting on creation keyword storage that is
gone from Rasterio <I>.
Resolves #<I> | mapbox_rio-color | train | py,py |
574e74db583588e94627d4330bf8d5d3aa836507 | diff --git a/salesforce/tests/test_integration.py b/salesforce/tests/test_integration.py
index <HASH>..<HASH> 100644
--- a/salesforce/tests/test_integration.py
+++ b/salesforce/tests/test_integration.py
@@ -47,19 +47,19 @@ class BasicSOQLTest(TestCase):
Get the first five account records.
"""
accounts = Accoun... | some fixes to verify my tests are just shitty, not broken | django-salesforce_django-salesforce | train | py |
13dc884a6b1ea191e378cdda1284668cd4d7c6d9 | diff --git a/views/js/picCreator/dev/studentToolSample/creator/widget/Widget.js b/views/js/picCreator/dev/studentToolSample/creator/widget/Widget.js
index <HASH>..<HASH> 100644
--- a/views/js/picCreator/dev/studentToolSample/creator/widget/Widget.js
+++ b/views/js/picCreator/dev/studentToolSample/creator/widget/Widget.... | student tool creator widget extends pic widget | oat-sa_extension-tao-itemqti-pic | train | js |
540c4c1871c56bc7bcb55dacc1f9e0068ecf3f51 | diff --git a/protocols/raft/src/main/java/io/atomix/protocols/raft/proxy/impl/MemberSelector.java b/protocols/raft/src/main/java/io/atomix/protocols/raft/proxy/impl/MemberSelector.java
index <HASH>..<HASH> 100644
--- a/protocols/raft/src/main/java/io/atomix/protocols/raft/proxy/impl/MemberSelector.java
+++ b/protocols/... | Fix unused argument after cherry pick in MemberSelector. | atomix_atomix | train | java |
3c7b0760a190e09a7aa1e6f95bb272325f6f19a2 | diff --git a/classes/PodsAdmin.php b/classes/PodsAdmin.php
index <HASH>..<HASH> 100644
--- a/classes/PodsAdmin.php
+++ b/classes/PodsAdmin.php
@@ -2944,6 +2944,9 @@ class PodsAdmin {
$ui['views']['dev'] = __( 'Developer Preview', 'pods' );
}
+ // Add our custom callouts.
+ add_action( 'pods_ui_manage_after_c... | Add callouts to components page too | pods-framework_pods | train | php |
e70dcbd8315c1261e98785a9573e7df3f753e2e8 | diff --git a/lib/skittles/client/venue.rb b/lib/skittles/client/venue.rb
index <HASH>..<HASH> 100644
--- a/lib/skittles/client/venue.rb
+++ b/lib/skittles/client/venue.rb
@@ -225,6 +225,9 @@ module Skittles
# @option options [String] query A search term to be applied against titles.
# @option options [Integer] ... | Added documentation for venue search params radius, sw and ne. | anthonator_skittles | train | rb |
ad5bc23ba12388f4919c99ffdbf5fd0415c32af7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(
version='0.4.3',
description='A tiny library for creating wrappers around web APIs',
long_description=long_description,
- url='https://github.com/redodo/tortilla',
+ url='https://gith... | Fix link to repo in setup.py | tortilla_tortilla | train | py |
705f38ec6abcabd67f3620651b488ec96f691dc6 | diff --git a/matchpy/expressions/functions.py b/matchpy/expressions/functions.py
index <HASH>..<HASH> 100644
--- a/matchpy/expressions/functions.py
+++ b/matchpy/expressions/functions.py
@@ -7,7 +7,7 @@ from .expressions import (
__all__ = [
'is_constant', 'is_syntactic', 'get_head', 'match_head', 'preorder_iter... | Updated __all__ of expressions/functions.py | HPAC_matchpy | train | py |
82d7bde271c735022186dd3521bdc251c388c4ec | diff --git a/stats.go b/stats.go
index <HASH>..<HASH> 100644
--- a/stats.go
+++ b/stats.go
@@ -52,7 +52,7 @@ func Sum(input []float64) (sum float64, err error) {
// Add em up
for _, n := range input {
- sum += float64(n)
+ sum += n
}
return sum, nil | Remove unnecassary typecasting in sum func | montanaflynn_stats | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.