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 |
|---|---|---|---|---|---|
91f5929ef0191a632402eea43596380f60783f7c | diff --git a/sunspot_rails/lib/sunspot/rails/searchable.rb b/sunspot_rails/lib/sunspot/rails/searchable.rb
index <HASH>..<HASH> 100644
--- a/sunspot_rails/lib/sunspot/rails/searchable.rb
+++ b/sunspot_rails/lib/sunspot/rails/searchable.rb
@@ -232,7 +232,7 @@ module Sunspot #:nodoc:
progress_bar = options[:pr... | On reindex the :start => option is now passed to find_in_batches | sunspot_sunspot | train | rb |
937532169ff5c969cd70c3210c0065042d2d20c4 | diff --git a/config/drivers.php b/config/drivers.php
index <HASH>..<HASH> 100644
--- a/config/drivers.php
+++ b/config/drivers.php
@@ -6,18 +6,18 @@
return [
'chrome' => [
'mac' => [
- 'version' => '2.9',
- 'url' => 'http://chromedriver.storage.googleapis.com/2.9/chromedriver_... | updated versions for ChromeDriver download links (#<I>) | Modelizer_Laravel-Selenium | train | php |
11602b8e4ecbd9cd53b49e0affbdad7fc19f7ee7 | diff --git a/lib/fast_find.rb b/lib/fast_find.rb
index <HASH>..<HASH> 100644
--- a/lib/fast_find.rb
+++ b/lib/fast_find.rb
@@ -32,7 +32,7 @@ module FastFind
@mutex.synchronize do
return if @walkers
- @walkers = concurrency.times.map { Walker.new.spawn(@queue) }
+ @walkers = @concurrency.times.map { Wal... | Drop private attributes and just use @'s | Freaky_fast_find | train | rb |
1aebce8d6eff330898098086fb56b001579fef7a | diff --git a/java/src/main/java/org/whispersystems/signalservice/api/SignalServiceMessageSender.java b/java/src/main/java/org/whispersystems/signalservice/api/SignalServiceMessageSender.java
index <HASH>..<HASH> 100644
--- a/java/src/main/java/org/whispersystems/signalservice/api/SignalServiceMessageSender.java
+++ b/j... | Fix self-sync timestamp inconsistency | signalapp_libsignal-service-java | train | java |
7edb3dd7cdb07f2bd80d4f5764d1c0519b0ca37c | diff --git a/src/main/java/org/cactoos/collection/CollectionOf.java b/src/main/java/org/cactoos/collection/CollectionOf.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cactoos/collection/CollectionOf.java
+++ b/src/main/java/org/cactoos/collection/CollectionOf.java
@@ -53,8 +53,8 @@ import org.cactoos.scalar.U... | (#<I>) Small spelling fixes done | yegor256_cactoos | train | java |
3b0be68eef64784acfba2fae11d08c208f5c90f7 | diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -1943,10 +1943,11 @@ class NameChecker(_BasicChecker):
class DocStringChecker(_BasicChecker):
msgs = {
"C0112": (
- "Empty %s docstring", #... | [docstrings] Add W<I> as the old name for empty-docstring | PyCQA_pylint | train | py |
7ff9801bebf46180813b7afbfe881ccd9c69b0de | diff --git a/moa/src/main/java/moa/tasks/active/ALPrequentialEvaluationTask.java b/moa/src/main/java/moa/tasks/active/ALPrequentialEvaluationTask.java
index <HASH>..<HASH> 100644
--- a/moa/src/main/java/moa/tasks/active/ALPrequentialEvaluationTask.java
+++ b/moa/src/main/java/moa/tasks/active/ALPrequentialEvaluationTas... | Set default learner to ALRandom | Waikato_moa | train | java |
ec7e19ce19f4c4630bef9313aa4411f227dde472 | diff --git a/hepdata_validator/full_submission_validator.py b/hepdata_validator/full_submission_validator.py
index <HASH>..<HASH> 100644
--- a/hepdata_validator/full_submission_validator.py
+++ b/hepdata_validator/full_submission_validator.py
@@ -43,6 +43,7 @@ class FullSubmissionValidator(Validator):
"""
... | Ensure self.directory is updated at each call to validate | HEPData_hepdata-validator | train | py |
09474810b671f65ec4ce829bd345ddc94d038a63 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(
author_email='aymeric.augustin@m4x.org',
url='https://github.com/trac-hacks/trac-github',
description='Trac - GitHub integration',
- download_url='http://pypi.python.org/pypi/trac-github',... | Use HTTPS in download URL
It appears that PyPI is now HTTPS-only. | trac-hacks_trac-github | train | py |
0efa046ff035f14376dd6a99ad2dd00e980d3969 | diff --git a/lib/arjdbc/postgresql/adapter.rb b/lib/arjdbc/postgresql/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/postgresql/adapter.rb
+++ b/lib/arjdbc/postgresql/adapter.rb
@@ -1081,6 +1081,7 @@ module ArJdbc
# Returns the list of all column definitions for a table.
def columns(table_name, name ... | Update postgres adapter column definition with cast_type | jruby_activerecord-jdbc-adapter | train | rb |
29efe1fc7eccf3eb99a69c52427efbdb30de1a9f | diff --git a/core/types/transaction.go b/core/types/transaction.go
index <HASH>..<HASH> 100644
--- a/core/types/transaction.go
+++ b/core/types/transaction.go
@@ -213,7 +213,7 @@ func (tx *Transaction) Hash() common.Hash {
}
// Size returns the true RLP encoded storage size of the transaction, either by
-// encodin... | core/types: fixed typo (#<I>) | ethereum_go-ethereum | train | go |
6921aaeca8f1a49327f532a53f26ffd8deca62f3 | diff --git a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/RewardBase.java b/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/RewardBase.java
index <HASH>..<HASH> 100755
--- a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/RewardBase.java
+++ b/Minecraft/src/main/java/com/microsoft... | Fixed bug with reward distibution. | Microsoft_malmo | train | java |
9f68e0c6df10784faa9dec692e670d7bc427de39 | diff --git a/python/dllib/src/bigdl/dllib/utils/common.py b/python/dllib/src/bigdl/dllib/utils/common.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/utils/common.py
+++ b/python/dllib/src/bigdl/dllib/utils/common.py
@@ -462,6 +462,17 @@ def create_spark_conf():
sparkConf.setAll(bigdl_conf.items(... | Support BigDL for Spark on k8s (#<I>)
* maybe some refactor
* handle k8s master url
* k8s
* add doc
* add more doc
* add doc | intel-analytics_BigDL | train | py |
ad1d13faea8b94ac63068bd6c3d82e6f2af19039 | diff --git a/lib/formwandler/form.rb b/lib/formwandler/form.rb
index <HASH>..<HASH> 100644
--- a/lib/formwandler/form.rb
+++ b/lib/formwandler/form.rb
@@ -96,7 +96,9 @@ module Formwandler
def submit
if valid? && models_valid?
- save_models!
+ ActiveRecord::Base.transaction do
+ save... | Add transaction around #save_models! call (fixes #3) | sbilharz_formwandler | train | rb |
79c15566da3f267d66cfd6cc8e2257b6aacc0e38 | diff --git a/actionpack/lib/action_dispatch/journey/path/pattern.rb b/actionpack/lib/action_dispatch/journey/path/pattern.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/journey/path/pattern.rb
+++ b/actionpack/lib/action_dispatch/journey/path/pattern.rb
@@ -136,6 +136,10 @@ module ActionDispatch
... | Adds named_captures to MatchData to emulate Regex
This change adds a `named_captures` method to
`ActionDispatch::Journey::Path::MatchData` in order to emulate a similar
method present on `Regex`'s `MatchData` present in Ruby core.
This method can be useful for introspection of routes without the need
to use `zip` whi... | rails_rails | train | rb,rb |
9737783eb6a057247392129fe6a49f3cbfddb97e | diff --git a/gns3server/modules/base_manager.py b/gns3server/modules/base_manager.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/base_manager.py
+++ b/gns3server/modules/base_manager.py
@@ -372,8 +372,8 @@ class BaseManager:
nio = NIOUDP(lport, rhost, rport)
elif nio_settings["type"] == "... | Do not require a TAP interface to already exist. Fixes #<I>. | GNS3_gns3-server | train | py |
f917170386963e9f0f5e69ffaf900e8497641c9a | diff --git a/openquake/baselib/node.py b/openquake/baselib/node.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/node.py
+++ b/openquake/baselib/node.py
@@ -729,13 +729,14 @@ def node_from_xml(xmlfile, nodefactory=Node):
return node_from_elem(root, nodefactory)
-def node_to_xml(node, output=sys.stdout, n... | Small fix in node_to_xml [ci skip] | gem_oq-engine | train | py |
2cbc647259ff161af07cc5b64a373b5c99e81f78 | diff --git a/autoinput.js b/autoinput.js
index <HASH>..<HASH> 100644
--- a/autoinput.js
+++ b/autoinput.js
@@ -65,8 +65,8 @@ BlockQuote.register("autoInput", "startBlockQuote", new InputRule(
OrderedList.register("autoInput", "startOrderedList", new InputRule(
/^(\d+)\. $/, " ",
function(pm, match, pos) {
- w... | Allow any JSON-serializeable value as attribute value | ProseMirror_prosemirror-inputrules | train | js |
2f50cc54b27407aa517a15050c31f656dc696b19 | diff --git a/src/tagify.js b/src/tagify.js
index <HASH>..<HASH> 100644
--- a/src/tagify.js
+++ b/src/tagify.js
@@ -997,8 +997,9 @@ Tagify.prototype = {
},
fixFirefoxLastTagNoCaret(){
- if( isFirefox && this.DOM.input.lastChild.nodeType == 1 ){
- this.DOM.input.appendChild(document.createTe... | fixed major bug with previous commit regarding "originalInputValueFormat" in "update" method | yairEO_tagify | train | js |
47d23eea2932c855e37b6a3b1adbb60fb7f0a707 | diff --git a/java/core/libjoynr/src/main/java/io/joynr/proxy/ProxyInvocationHandler.java b/java/core/libjoynr/src/main/java/io/joynr/proxy/ProxyInvocationHandler.java
index <HASH>..<HASH> 100644
--- a/java/core/libjoynr/src/main/java/io/joynr/proxy/ProxyInvocationHandler.java
+++ b/java/core/libjoynr/src/main/java/io/j... | [Java] Moved log to loglevel trace in ProxyInvocationHandler | bmwcarit_joynr | train | java |
b3710d83841e74006eacae85b53f06ffc0b2e162 | diff --git a/concrete/src/Cache/CacheClearer.php b/concrete/src/Cache/CacheClearer.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Cache/CacheClearer.php
+++ b/concrete/src/Cache/CacheClearer.php
@@ -145,7 +145,13 @@ class CacheClearer
*/
protected function filesToClear($directory)
{
- $iterat... | Catch exception when cache directory doesn't exist | concrete5_concrete5 | train | php |
d426b2ae98f3624f1113e237daec27d22e431ecb | diff --git a/lib/icomoon-phantomjs.js b/lib/icomoon-phantomjs.js
index <HASH>..<HASH> 100644
--- a/lib/icomoon-phantomjs.js
+++ b/lib/icomoon-phantomjs.js
@@ -7,14 +7,20 @@ var casper = require('casper').create({
casper.start('http://icomoon.io/app');
// Wait for loading to complete
-casper.waitFor(function waitFor... | Going for short-term of getting this working first before talking directly to backend | twolfson_icomoon-phantomjs | train | js |
ca623b8402a104be965cb3d56cfeef66ac551b2c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -65,21 +65,30 @@ SQLite3Connection.prototype.query = function (text, values, callback) {
this.emit('query', query)
if (query.text.match(/^\s*(insert|update|replace)\s+/i)) {
- this._db.run(query.text,
- ... | Move differing run/each behaviour into helpers | grncdr_node-any-db | train | js |
83a52d7f14967ca3bdd65355078a9737ac8efdb2 | diff --git a/Eloquent/Relations/Concerns/InteractsWithPivotTable.php b/Eloquent/Relations/Concerns/InteractsWithPivotTable.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Relations/Concerns/InteractsWithPivotTable.php
+++ b/Eloquent/Relations/Concerns/InteractsWithPivotTable.php
@@ -225,7 +225,7 @@ trait InteractsWithPi... | Prevent timestamp update when pivot is not dirty (#<I>) | illuminate_database | train | php |
89b49a25a1a03281c1f7452b37184dfb4621d79f | diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractConnection.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractConnection.java
index <HASH>..<HASH> 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractConnection.java
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/A... | jinterface: Fix a NullPointerException in AbstractConnection
After a call to close(), the socket is set to null which could
lead to a NullPointerException in the receive_loop when handling
tick messages. End the receive_loop instead in this case. | erlang_otp | train | java |
076738bb5db0a103425b837353ba72efb6a2a0d5 | diff --git a/src/PhoreDirectory.php b/src/PhoreDirectory.php
index <HASH>..<HASH> 100644
--- a/src/PhoreDirectory.php
+++ b/src/PhoreDirectory.php
@@ -145,4 +145,14 @@ class PhoreDirectory extends PhoreUri
return $ret;
}
+ /**
+ * Import file contents of parameter 1 to this directory
+ *
+ ... | added importZipFile to directory | phore_phore-filesystem | train | php,php |
e78c28a8c872d0432a233a223da3953742b21cf9 | diff --git a/allaccess/tests/custom/views.py b/allaccess/tests/custom/views.py
index <HASH>..<HASH> 100644
--- a/allaccess/tests/custom/views.py
+++ b/allaccess/tests/custom/views.py
@@ -5,7 +5,7 @@ import hashlib
from django.core.urlresolvers import reverse
-from allaccess.compat import get_user_model, smart_byte... | Custom test view needs to convert digest back to string. | mlavin_django-all-access | train | py |
b034eaaad4c4f96726dcc4e708efa4a10fc4ada9 | diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/_actor.py
+++ b/spinoff/actor/_actor.py
@@ -539,9 +539,10 @@ class Node(object):
_all = []
@classmethod
+ @inlineCallbacks
def stop_all(cls):
for node in cls._all:
- nod... | Node.stop now first stops the actors and then remoting, and then waits a bit before shutting down remoting to allow actors to send termination or other notifications in post_stop | eallik_spinoff | train | py |
4f48fbc50a4f680811be95096301927b2da7ecf5 | diff --git a/iopipe/context.py b/iopipe/context.py
index <HASH>..<HASH> 100644
--- a/iopipe/context.py
+++ b/iopipe/context.py
@@ -55,6 +55,13 @@ class IOpipeContext(object):
log = metric
def label(self, name):
+ if self.instance.report is None:
+ warnings.warn(
+ "Attemptin... | Check if there's a report before labeling (#<I>)
Closes #<I> | iopipe_iopipe-python | train | py |
4e3b5a3bda064a84b9e1cd5d99a329f3ef544981 | diff --git a/backends/etcdv3/client.go b/backends/etcdv3/client.go
index <HASH>..<HASH> 100644
--- a/backends/etcdv3/client.go
+++ b/backends/etcdv3/client.go
@@ -21,8 +21,10 @@ type Client struct {
// NewEtcdClient returns an *etcdv3.Client with a connection to named machines.
func NewEtcdClient(machines []string, c... | Configure keepalives for etcdv3 backend | kelseyhightower_confd | train | go |
716c4ae49be062497e6996cf48d501b73aeea159 | diff --git a/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/util/DefaultTraversal.java b/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/util/DefaultTraversal.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/util/DefaultTraversal.java
+++ b/gremlin-core/... | Commented out toString execution of traversal optimizations.
This causes early evaluation in the debugger and then really crazy stuff starts happening. | apache_tinkerpop | train | java |
94cf4314e66d772ae2338e333823dda502710d1d | diff --git a/rules/DowngradePhp70/Rector/Spaceship/DowngradeSpaceshipRector.php b/rules/DowngradePhp70/Rector/Spaceship/DowngradeSpaceshipRector.php
index <HASH>..<HASH> 100644
--- a/rules/DowngradePhp70/Rector/Spaceship/DowngradeSpaceshipRector.php
+++ b/rules/DowngradePhp70/Rector/Spaceship/DowngradeSpaceshipRector.p... | Fix DowngradeSpaceshipRector sample code (#<I>) | rectorphp_rector | train | php |
ae992dc25c16fd24c7aaf9052535e9f3f332444a | diff --git a/src/Http/Middleware/DynamicMenusBuilder.php b/src/Http/Middleware/DynamicMenusBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Http/Middleware/DynamicMenusBuilder.php
+++ b/src/Http/Middleware/DynamicMenusBuilder.php
@@ -26,16 +26,18 @@ class DynamicMenusBuilder
*/
public function handle($reque... | Flash active menu session on every request. | yajra_cms-core | train | php |
67fca5bdc7b007aae35ca271ffcb8adaf8b7bb8f | diff --git a/js/lib/mediawiki.ApiRequest.js b/js/lib/mediawiki.ApiRequest.js
index <HASH>..<HASH> 100644
--- a/js/lib/mediawiki.ApiRequest.js
+++ b/js/lib/mediawiki.ApiRequest.js
@@ -560,12 +560,16 @@ function ParsoidCacheRequest ( env, title, oldid, options ) {
timeout: 60 * 1000, // 60 seconds: less than 100s VE t... | Only set cookie header on API requests when one was passed in
We don't send Vary: Cookie headers ourselves, but it seems to be well possible
that our Varnish config (by using various MW defaults) varies on cookies by
default. That would explain the cache misses on selser that we are seeing in
production.
Change-Id: I... | wikimedia_parsoid | train | js |
a8f3d5a63446ec52e669e1dd12caba36d1c9ae45 | diff --git a/lib/typed/parfait/type.rb b/lib/typed/parfait/type.rb
index <HASH>..<HASH> 100644
--- a/lib/typed/parfait/type.rb
+++ b/lib/typed/parfait/type.rb
@@ -61,9 +61,17 @@ module Parfait
end
def self.str_hash(str)
- str = str.hash
+ if RUBY_ENGINE == "OPAL"
+ hash = 5381
+ str.... | had to fix the string hash for opal | ruby-x_rubyx | train | rb |
f1b5d7ef521248e327569a1b1a181a05105ede94 | diff --git a/src/properties/class-papi-property-group.php b/src/properties/class-papi-property-group.php
index <HASH>..<HASH> 100644
--- a/src/properties/class-papi-property-group.php
+++ b/src/properties/class-papi-property-group.php
@@ -115,7 +115,7 @@ class Papi_Property_Group extends Papi_Property_Repeater {
* @... | Fix empty array issue with group property test | wp-papi_papi | train | php |
1ecc0ccdef4e71b3a47c4b6c5dadb85fcb3a523f | diff --git a/cell/tests/actors/test_agents.py b/cell/tests/actors/test_agents.py
index <HASH>..<HASH> 100644
--- a/cell/tests/actors/test_agents.py
+++ b/cell/tests/actors/test_agents.py
@@ -35,11 +35,12 @@ class test_dAgent(Case):
ag, a = dA(conn), A()
ag.cast = Mock()
- proxy = ag.spawn(qua... | Fix tests broken due the additional kwargs argument in spawn | celery_cell | train | py |
887b26497a991f91334b7ade419f3195fde0ff1d | diff --git a/system/modules/generalDriver/GeneralControllerDefault.php b/system/modules/generalDriver/GeneralControllerDefault.php
index <HASH>..<HASH> 100644
--- a/system/modules/generalDriver/GeneralControllerDefault.php
+++ b/system/modules/generalDriver/GeneralControllerDefault.php
@@ -1589,7 +1589,7 @@ class Gener... | Update the "getNewPosition" function. Add some checks to validate the after sorting value. | contao-community-alliance_dc-general | train | php |
91561429c2fd621d545645ba4977dc17c254359a | diff --git a/oct2py/session.py b/oct2py/session.py
index <HASH>..<HASH> 100644
--- a/oct2py/session.py
+++ b/oct2py/session.py
@@ -397,8 +397,12 @@ class Oct2Py(object):
except Oct2PyError as e:
if 'syntax error' in str(e):
raise(e)
- doc = self._eval('type {0}'.form... | Improve error message when function is not found | blink1073_oct2py | train | py |
92c2356d4c640135f7e4dae56abeba18158ce5ae | diff --git a/example-expo/AccessoryBar.js b/example-expo/AccessoryBar.js
index <HASH>..<HASH> 100644
--- a/example-expo/AccessoryBar.js
+++ b/example-expo/AccessoryBar.js
@@ -10,8 +10,7 @@ import {
export default class AccessoryBar extends React.Component {
render() {
- const { onSend } = this.props
- const... | refactor(typing-indicator): DRY in example | FaridSafi_react-native-gifted-chat | train | js |
84ea54a1966148bd152eed4dadb2e2426456fa7e | diff --git a/lib/knife-cloudformation/aws_commons.rb b/lib/knife-cloudformation/aws_commons.rb
index <HASH>..<HASH> 100644
--- a/lib/knife-cloudformation/aws_commons.rb
+++ b/lib/knife-cloudformation/aws_commons.rb
@@ -120,6 +120,7 @@ module KnifeCloudformation
cache.apply_limit(:stacks, args[:refresh_every]... | Restamp the cached value prior to detached fetching | sparkleformation_sfn | train | rb |
c44e74e676ab6bda3eac97690893f73350c34e9e | diff --git a/cli/command/system/info.go b/cli/command/system/info.go
index <HASH>..<HASH> 100644
--- a/cli/command/system/info.go
+++ b/cli/command/system/info.go
@@ -91,6 +91,10 @@ func prettyPrintInfo(dockerCli *command.DockerCli, info types.Info) error {
fmt.Fprintf(dockerCli.Out(), "\n")
}
+ fmt.Fprintf(dock... | Add logdrivers to /info
This is required for swarmkit to be able to filter based on log driver. | docker_cli | train | go |
d6a0e86aae97fa4d1572301b57767d094b9edff5 | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -49,7 +49,7 @@ module.exports = [{
}, {
entry: './src/demo.js',
output: {
- path: path.join(__dirname, 'assets/dist'),
+ path: path.join(__dirname, 'dist'),
filename: '[nam... | fix webpack config (#<I>) | sstur_react-rte | train | js |
d37ca7c7f819aac06adc0365bbe438da38e20d57 | diff --git a/backup/restorelib.php b/backup/restorelib.php
index <HASH>..<HASH> 100644
--- a/backup/restorelib.php
+++ b/backup/restorelib.php
@@ -10,7 +10,7 @@
$status = true;
if (empty($CFG->unzip)) { // Use built-in php-based unzip function
- include_once("$CFG->wwwroot/lib/pclzip/p... | Chanfed to locate the pclzip properly. | moodle_moodle | train | php |
758e7fb279303911c90157e147c41b4370f64a34 | diff --git a/src/Corpus/TextCorpus.php b/src/Corpus/TextCorpus.php
index <HASH>..<HASH> 100644
--- a/src/Corpus/TextCorpus.php
+++ b/src/Corpus/TextCorpus.php
@@ -150,23 +150,6 @@ class TextCorpus
}
/**
- * Mark the neddle and get its context
- *
- * @return String
- */
- private function ext... | Removed unused method
Removed extractExcerptTerm method that was not used anymore. | yooper_php-text-analysis | train | php |
e6dd59c409a9ac01a170b359801743f2f9e35a60 | diff --git a/lib/fog/rackspace/models/auto_scale/group_config.rb b/lib/fog/rackspace/models/auto_scale/group_config.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/rackspace/models/auto_scale/group_config.rb
+++ b/lib/fog/rackspace/models/auto_scale/group_config.rb
@@ -49,11 +49,30 @@ module Fog
options['maxEnt... | [rackspace|auto_scale] fixed bug with group_config.update; added save and reload method | fog_fog | train | rb |
8072b4be084637b65846b662e4307b3d5a3a2f79 | diff --git a/spec/unit/application/face_base_spec.rb b/spec/unit/application/face_base_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/application/face_base_spec.rb
+++ b/spec/unit/application/face_base_spec.rb
@@ -97,6 +97,17 @@ describe Puppet::Application::FaceBase do
end
end
+ [%w{something_I_c... | #<I>: Test unknown options don't shadow unknown actions.
Unknown options used to shadow unknown actions:
$ puppet node something_I_cannot_do --unknown-option
Could not parse options: invalid option: --unknown-option
The earlier changes have fixed this problem, but we now add extra testing to
make sure that w... | puppetlabs_puppet | train | rb |
c85c4ae82a9ff766aafc9f2235ccb0b41e1d15d4 | diff --git a/stitch/src/main/java/com/mongodb/stitch/android/auth/anonymous/AnonymousAuthProviderInfo.java b/stitch/src/main/java/com/mongodb/stitch/android/auth/anonymous/AnonymousAuthProviderInfo.java
index <HASH>..<HASH> 100644
--- a/stitch/src/main/java/com/mongodb/stitch/android/auth/anonymous/AnonymousAuthProvide... | fix FQ_NAME for anon provider (#<I>) | mongodb_stitch-android-sdk | train | java |
f29f5cb53ec11de0bb46e9a375164170e5526caa | diff --git a/app/models/content.js b/app/models/content.js
index <HASH>..<HASH> 100644
--- a/app/models/content.js
+++ b/app/models/content.js
@@ -1,6 +1,8 @@
import DS from 'ember-data';
import { get, computed } from '@ember/object';
+import { deprecate } from '@ember/application/deprecations';
+
export default D... | turning contet.author deprecation into a real deprecation | empress_empress-blog | train | js |
bd7652823c5c682f43d0c8c02fb34be516ac6afb | diff --git a/lib/optimize/ConcatenatedModule.js b/lib/optimize/ConcatenatedModule.js
index <HASH>..<HASH> 100644
--- a/lib/optimize/ConcatenatedModule.js
+++ b/lib/optimize/ConcatenatedModule.js
@@ -576,9 +576,12 @@ class ConcatenatedModule extends Module {
moduleToInfoMap
)
);
+
+ // Must use full identif... | Invalidate concatenated module on dep change
When the moduleSet for a given concatenated module changed, the source for the embedded modules would not necessarily, which lead to caching mismatch between the source and the modulesWithInfo structure.
Fixes #<I> | webpack_webpack | train | js |
1d794896ac63c55d1eaf61b9b581cc9c2c5ac46b | diff --git a/web/web.go b/web/web.go
index <HASH>..<HASH> 100644
--- a/web/web.go
+++ b/web/web.go
@@ -31,6 +31,7 @@ import (
var (
listenAddress = flag.String("listenAddress", ":9090", "Address to listen on for web interface.")
useLocalAssets = flag.Bool("useLocalAssets", false, "Read assets/templates from file ... | Support user-provided static asset directory
[fix #<I>] | prometheus_prometheus | train | go |
4e8dcf7597b9aa3b6aa933d7fd6bf3ed9e25a85e | diff --git a/src/library.js b/src/library.js
index <HASH>..<HASH> 100644
--- a/src/library.js
+++ b/src/library.js
@@ -82,6 +82,7 @@
} else if (Isla.Utils.type(o) === "String" ||
Isla.Utils.type(o) === "Boolean" ||
Isla.Utils.type(o) === "Function") {
+ o === n... | Fix library.clone so it preserves nulls. | maryrosecook_isla | train | js |
6f51ba2f34bd7db87beb16263d495468e2616918 | diff --git a/trustar/models/page.py b/trustar/models/page.py
index <HASH>..<HASH> 100644
--- a/trustar/models/page.py
+++ b/trustar/models/page.py
@@ -148,31 +148,6 @@ class Page(ModelBase):
from_time=from_time,
to_time=to_time)... | moved cursor-based pagination to own class | trustar_trustar-python | train | py |
95671c345dbb73dd7b200d6ed1da3414ce53b54d | diff --git a/src/main/java/org/freecompany/redline/header/Header.java b/src/main/java/org/freecompany/redline/header/Header.java
index <HASH>..<HASH> 100755
--- a/src/main/java/org/freecompany/redline/header/Header.java
+++ b/src/main/java/org/freecompany/redline/header/Header.java
@@ -96,7 +96,7 @@ public class Header... | Changed data types for string arrays | craigwblake_redline | train | java |
35adfe95cd2f1587d595aef8d8bf108d01a32a24 | diff --git a/input/_relation.js b/input/_relation.js
index <HASH>..<HASH> 100644
--- a/input/_relation.js
+++ b/input/_relation.js
@@ -2,6 +2,7 @@
var d = require('es5-ext/lib/Object/descriptor')
, copy = require('es5-ext/lib/Object/copy')
+ , extend = require('es5-ext/lib/Object/e... | Allow to provide custom input options to component | medikoo_dbjs-dom | train | js |
7eea4ec409f5ac04d6420b503e326218d5e5c082 | diff --git a/src/Enhavo/Bundle/NavigationBundle/Form/Type/NodeCollectionType.php b/src/Enhavo/Bundle/NavigationBundle/Form/Type/NodeCollectionType.php
index <HASH>..<HASH> 100644
--- a/src/Enhavo/Bundle/NavigationBundle/Form/Type/NodeCollectionType.php
+++ b/src/Enhavo/Bundle/NavigationBundle/Form/Type/NodeCollectionTy... | Fix empty navigation model (#<I>) | enhavo_enhavo | train | php |
123bdd4572959d7d647f7a0b4a70999dc4c40e35 | diff --git a/lib/workers/branch/parent.js b/lib/workers/branch/parent.js
index <HASH>..<HASH> 100644
--- a/lib/workers/branch/parent.js
+++ b/lib/workers/branch/parent.js
@@ -28,7 +28,14 @@ async function getParentBranch(config) {
}
if (pr.labels && pr.labels.includes(config.rebaseLabel)) {
logger.info... | fix: ignore delete label if dry-run (#<I>) | renovatebot_renovate | train | js |
f0e777f0c0cf025071956a5ffa8f4ab6ddea5d28 | diff --git a/mapmyfitness/__init__.py b/mapmyfitness/__init__.py
index <HASH>..<HASH> 100644
--- a/mapmyfitness/__init__.py
+++ b/mapmyfitness/__init__.py
@@ -11,7 +11,7 @@ class MapMyFitness(object):
def __new__(cls, *args, **kwargs):
if not cls._instance:
- cls._instance = super(MapMyFitnes... | Trying to make python3 happy with the singleton's use of super. | JasonSanford_mapmyfitness-python | train | py |
190b20ebce90dab848bbdbeee3600b4e62050c13 | diff --git a/test/spec/ol/interaction/modify.test.js b/test/spec/ol/interaction/modify.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/interaction/modify.test.js
+++ b/test/spec/ol/interaction/modify.test.js
@@ -423,6 +423,37 @@ describe('ol.interaction.Modify', function () {
expect(lineFeature.getGeome... | Add vertex insertion test for modify interaction | openlayers_openlayers | train | js |
6e2864680510124e57d10ff6ccda465ac161c2a8 | diff --git a/src/org/parosproxy/paros/network/HttpSender.java b/src/org/parosproxy/paros/network/HttpSender.java
index <HASH>..<HASH> 100644
--- a/src/org/parosproxy/paros/network/HttpSender.java
+++ b/src/org/parosproxy/paros/network/HttpSender.java
@@ -31,6 +31,7 @@
// ZAP: 2013/01/23 Clean up of exception handling/... | Issue <I>: Cannot send non standard http methods | zaproxy_zaproxy | train | java |
02695300d8732055bc3fda37411a3cbd821f50ab | diff --git a/src/Canonical.php b/src/Canonical.php
index <HASH>..<HASH> 100644
--- a/src/Canonical.php
+++ b/src/Canonical.php
@@ -84,14 +84,15 @@ class Canonical implements EventSubscriberInterface
$override = $this->override;
- $schemeStubbed = false;
+ // Prepend scheme if not included so ... | Change canonical to only override scheme if it is an upgrade. i.e. don't https -> http. | bolt_bolt | train | php |
b14ea46391ab00119f999bb57b42481d52729ec4 | diff --git a/src/editor/EditorManager.js b/src/editor/EditorManager.js
index <HASH>..<HASH> 100644
--- a/src/editor/EditorManager.js
+++ b/src/editor/EditorManager.js
@@ -407,6 +407,7 @@ define(function (require, exports, module) {
_destroyEditorIfUnneeded(_currentEditorsDocument);
_doFocusedE... | hide status bar when ther is no editor | adobe_brackets | train | js |
ed2aa831feff89e5d5bce004c91f5551990d423f | diff --git a/test/com/google/javascript/jscomp/fuzzing/ControlledRandom.java b/test/com/google/javascript/jscomp/fuzzing/ControlledRandom.java
index <HASH>..<HASH> 100644
--- a/test/com/google/javascript/jscomp/fuzzing/ControlledRandom.java
+++ b/test/com/google/javascript/jscomp/fuzzing/ControlledRandom.java
@@ -26,7 ... | Fixing failed tests
-------------
Created by MOE: <URL> | google_closure-compiler | train | java |
5b634473e393b996104dc112bcff2ce33cf99a76 | diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py
index <HASH>..<HASH> 100644
--- a/napalm_junos/junos.py
+++ b/napalm_junos/junos.py
@@ -854,20 +854,22 @@ class JunOSDriver(NetworkDriver):
def get_mac_address_table(self):
- mac_address_table = list()
+ mac_address_table = []
... | Diffrent RPC for EX & QFX series | napalm-automation_napalm | train | py |
ef767afb2f131e0771a08254f23b13cc3dabfd61 | diff --git a/executor/opensubmit/executor/__init__.py b/executor/opensubmit/executor/__init__.py
index <HASH>..<HASH> 100755
--- a/executor/opensubmit/executor/__init__.py
+++ b/executor/opensubmit/executor/__init__.py
@@ -147,7 +147,7 @@ def _infos_cmd(cmd, stdhndl=" 2>&1", e_shell=True):
except Exception as e:
... | fixing issues #<I>.
NameError: global name 'config' is not defined IF Validator ZIP package does not contain validator.py | troeger_opensubmit | train | py |
12dfe14ddf98d5ed4507980f3352c930bfce985f | diff --git a/internal/frame/frame.go b/internal/frame/frame.go
index <HASH>..<HASH> 100644
--- a/internal/frame/frame.go
+++ b/internal/frame/frame.go
@@ -139,7 +139,7 @@ func (f *Frame) requantizeProcessLong(gr, ch, is_pos, sfb int) {
if f.sideInfo.ScalefacScale[gr][ch] != 0 {
sf_mult = 1.0
}
- tmp1 := 1.0
+ tm... | Reduce noises (but not all the problems are solved) (#<I>) | hajimehoshi_go-mp3 | train | go |
fb6c9e51889b9c357463295395320bcefa15d05b | diff --git a/lib/taskrabbit/task.rb b/lib/taskrabbit/task.rb
index <HASH>..<HASH> 100644
--- a/lib/taskrabbit/task.rb
+++ b/lib/taskrabbit/task.rb
@@ -50,6 +50,10 @@ module Taskrabbit
end
end
+ def new_record?
+ !id
+ end
+
def delete!
reload('delete', "tasks/#{id.to_s}")
end
d... | Add new_record? to Taskrabbit::Task | jrichardlai_taskrabbit | train | rb,rb |
51ea1f03f9088095fd1192278fd67a5fdf8eb5ab | diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/RequireCommand.php
+++ b/src/Composer/Command/RequireCommand.php
@@ -20,6 +20,7 @@ use Composer\Factory;
use Composer\Installer;
use Composer\Json\JsonFile;
use Compos... | Validate constraints in require command, fixes #<I> | mothership-ec_composer | train | php |
db1d66c2d2aae8f7c43935a34fe950c9b3e54abd | diff --git a/addon/merge/merge.js b/addon/merge/merge.js
index <HASH>..<HASH> 100644
--- a/addon/merge/merge.js
+++ b/addon/merge/merge.js
@@ -918,7 +918,7 @@
hasMarker: function(n) {
var handle = this.cm.getLineHandle(n)
if (handle.markedSpans) for (var i = 0; i < handle.markedSpans.length; i++)
- ... | [merge addon] Fix typo in hasMarker()
This was causing exceptions to be thrown when using custom
markers. | codemirror_CodeMirror | train | js |
894cdfdf5d37fe444d473b79beda6109c73ec08f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -115,6 +115,7 @@ setup(
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
],
... | misc: list Python <I> (sic!) in setup.py.
This is a "bump" commit to force CircleCI picking up the new
branch.
Python <I> is known-to-work and regularly tested; it missing in
setup.py is an oversight.
Python <I> is not yet known to work, is just starting to get one
module tested, - therefore not adding it here (yet)... | ethereum_py-evm | train | py |
c0528d0fd4ab3d350ff3c85731255423c32256ff | diff --git a/src/main/java/org/fluentd/logger/Sender.java b/src/main/java/org/fluentd/logger/Sender.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fluentd/logger/Sender.java
+++ b/src/main/java/org/fluentd/logger/Sender.java
@@ -1,3 +1,20 @@
+//
+// A Structured Logger for Fluent
+//
+// Copyright (C) 2011 Mu... | added copyright notation in Sender.java | fluent_fluent-logger-java | train | java |
0d66ea910ddc68890f10d7f5d489afd0d6bc96af | diff --git a/phpsec/phpsec.rand.php b/phpsec/phpsec.rand.php
index <HASH>..<HASH> 100644
--- a/phpsec/phpsec.rand.php
+++ b/phpsec/phpsec.rand.php
@@ -3,7 +3,7 @@
phpSec - A PHP security library
@author Audun Larsen <larsen@xqus.com>
- @copyright Copyright (c) Audun Larsen, 2011
+ @copyright Copyright (c) ... | Updates URL to the blogpost by Enrico Zimuel. | phpsec_phpSec | train | php |
3dafed4c908ec62c4e8036c097802612c3749cbf | diff --git a/spec/support/star_wars/schema.rb b/spec/support/star_wars/schema.rb
index <HASH>..<HASH> 100644
--- a/spec/support/star_wars/schema.rb
+++ b/spec/support/star_wars/schema.rb
@@ -17,7 +17,6 @@ module StarWars
global_id_field :id
field :name, types.String
field :planet, types.String
- conne... | test(BaseType) show bug on self-referenctial connections | rmosolgo_graphql-ruby | train | rb |
eb2aedb5a47ee6da709e58c3a6fbd4d84435b265 | diff --git a/activerecord/lib/active_record/railties/collection_cache_association_loading.rb b/activerecord/lib/active_record/railties/collection_cache_association_loading.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/railties/collection_cache_association_loading.rb
+++ b/activerecord/lib/active_r... | Remove hash deconstruction
I don't think this hash deconstruction buys us much in terms of
readability. We only need two parameters, the rest are ignored, and on
top of that we have to allocate a hash. Convert to positional
parameters instead. | rails_rails | train | rb |
98489440dfec641d2d77274fd9a4c420a33f0dd7 | diff --git a/kontrol/storage.go b/kontrol/storage.go
index <HASH>..<HASH> 100644
--- a/kontrol/storage.go
+++ b/kontrol/storage.go
@@ -2,6 +2,7 @@ package kontrol
import (
"errors"
+ "net/http"
"strings"
"time"
@@ -44,6 +45,10 @@ func NewEtcd(machines []string) (*Etcd, error) {
return nil, errors.New("can... | kontrol: checkRetry is spamming etcd
Disable it by returning simply an error. Otherwise subsequent calls are
made which are ddosing the server. go-etcd should be smart, but is not. | koding_kite | train | go |
011084425a9c3a07923e9bd1ef5f2940d8e6d1fd | diff --git a/tests/test_alignmentSimulationRandomSeed.py b/tests/test_alignmentSimulationRandomSeed.py
index <HASH>..<HASH> 100644
--- a/tests/test_alignmentSimulationRandomSeed.py
+++ b/tests/test_alignmentSimulationRandomSeed.py
@@ -86,8 +86,8 @@ class test_simulateAlignmentRandomSeed_ExpCM(unittest.TestCase):
... | changed assert to self.assertTrue/self.assertFalse in random seed test | jbloomlab_phydms | train | py |
ba504c99928290d6cb8e8a41633e12e9b1cd7afe | diff --git a/lib/backburner.js b/lib/backburner.js
index <HASH>..<HASH> 100644
--- a/lib/backburner.js
+++ b/lib/backburner.js
@@ -39,9 +39,6 @@ export default function Backburner(queueNames, options) {
};
}
-// ms of delay before we conclude a timeout was lost
-var TIMEOUT_STALLED_THRESHOLD = 1000;
-
Backburner... | Remove dead code used for dropping stalled timeouts | BackburnerJS_backburner.js | train | js |
34a24cdb0273e9e94a8b5abd75e085554fc930ae | diff --git a/pymatgen/analysis/chemenv/connectivity/connected_components.py b/pymatgen/analysis/chemenv/connectivity/connected_components.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/chemenv/connectivity/connected_components.py
+++ b/pymatgen/analysis/chemenv/connectivity/connected_components.py
@@ -285,10 +2... | Fixed minor issue in connected_components. | materialsproject_pymatgen | train | py |
1f5069df039d2526453212ffce0b1892f39481ce | diff --git a/lib/mongoid/slug/criterion.rb b/lib/mongoid/slug/criterion.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/slug/criterion.rb
+++ b/lib/mongoid/slug/criterion.rb
@@ -83,7 +83,7 @@ module Mongoid
end
def for_slugs(slugs)
- where({ _slugs: { '$in' => slugs } })
+ where({ _slugs: { '$in'... | Limit the query in #find to at most the number of suppled params/slugs. | mongoid_mongoid-slug | train | rb |
68fb38c6818d88462555ed191b918919e4f2ef00 | diff --git a/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py b/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py
index <HASH>..<HASH> 100644
--- a/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py
+++ b/examples/v3arch/asyncore/agent/cmdrsp/multiple-usm-users.py
@@ -15,6 +15,7 @@
#
# $... | missing snmpwalk command added | etingof_pysnmp | train | py |
1b90f872697c272511e95818bb986c79796fd367 | diff --git a/app/services/foreman_ansible/ansible_report_importer.rb b/app/services/foreman_ansible/ansible_report_importer.rb
index <HASH>..<HASH> 100644
--- a/app/services/foreman_ansible/ansible_report_importer.rb
+++ b/app/services/foreman_ansible/ansible_report_importer.rb
@@ -18,6 +18,10 @@ module ForemanAnsible
... | Fixes #<I> - Ansible can submit ConfigReport's too | theforeman_foreman_ansible | train | rb |
f9aaa678fdfe85e58968719570a888f4531509c4 | diff --git a/lib/tilelive/tile.js b/lib/tilelive/tile.js
index <HASH>..<HASH> 100644
--- a/lib/tilelive/tile.js
+++ b/lib/tilelive/tile.js
@@ -71,4 +71,12 @@ Tile.prototype.render = function(callback) {
);
};
+Tile.prototype.getMap = function(callback) {
+ Pool.acquire(this.type, this.datasource, this.option... | expose a function to get the map for a given tile | mapbox_tilelive | train | js |
b03a1a05b68a57984fe059701b706a22ad734dfe | diff --git a/acos_client/errors.py b/acos_client/errors.py
index <HASH>..<HASH> 100644
--- a/acos_client/errors.py
+++ b/acos_client/errors.py
@@ -131,3 +131,7 @@ class ACOSSystemNotReady(ACOSException):
class ACOSSystemIsBusy(ACOSException):
pass
+
+
+class LicenseOptionNotAllowed(ACOSException):
+ pass
dif... | Added error for scenario where a glm license option has been set but is not allowed by the license type | a10networks_acos-client | train | py,py |
bda5e69184de7f4d3a87d3d4c4c78359803d7570 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -24,7 +24,7 @@ module.exports = {
const app = express();
const HOTE = 'localhost';
- const PORT = 10500;
+ const PORT = 9220;
/**
* Sur appel de l'URL /abc | [fix] duniter-ui should listen on port <I> | duniter_duniter-ui | train | js |
e32330ad95132c50f9c93efb1f3a68ffd46b2129 | diff --git a/openvidu-server/docker/openvidu-health-checker/openvidu_helth_check.py b/openvidu-server/docker/openvidu-health-checker/openvidu_helth_check.py
index <HASH>..<HASH> 100644
--- a/openvidu-server/docker/openvidu-health-checker/openvidu_helth_check.py
+++ b/openvidu-server/docker/openvidu-health-checker/openv... | deployment: find_element instead of find_elements in openvidu_health_check | OpenVidu_openvidu | train | py |
6b52cf5c67802add22aa784343d960cf64fe6345 | diff --git a/lib/ronin/installation.rb b/lib/ronin/installation.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/installation.rb
+++ b/lib/ronin/installation.rb
@@ -96,8 +96,9 @@ module Ronin
if Installation.gems.empty?
# if there are no gems installed, do a raw Dir.glob
root_dir = File.expand_pa... | Only pass back the found sub-paths from Installation.each_file. | ronin-ruby_ronin | train | rb |
24899b7a6a5ceb567b260a330cb27df67ee5e3bb | diff --git a/app/models/fluentd/agent/td_agent.rb b/app/models/fluentd/agent/td_agent.rb
index <HASH>..<HASH> 100644
--- a/app/models/fluentd/agent/td_agent.rb
+++ b/app/models/fluentd/agent/td_agent.rb
@@ -36,6 +36,7 @@ class Fluentd
Bundler.with_clean_env do
spawn(cmd)
end
+ sleep ... | Don't too quickly response of td-agent start/stop/restart | fluent_fluentd-ui | train | rb |
405fffccea8983ce21a87e7c5f192cf7e7e41f3e | diff --git a/Classes/ViewHelpers/HtmlViewHelper.php b/Classes/ViewHelpers/HtmlViewHelper.php
index <HASH>..<HASH> 100644
--- a/Classes/ViewHelpers/HtmlViewHelper.php
+++ b/Classes/ViewHelpers/HtmlViewHelper.php
@@ -38,7 +38,8 @@ class Tx_HappyFeet_ViewHelpers_HtmlViewHelper extends \TYPO3\CMS\Fluid\ViewHelpe
* @p... | fix checkstyle warning "Opening brace should be on a new line" | AOEpeople_happy_feet | train | php |
f5c3712f9064d4a0db7e6e8de11aaf7a062a00a8 | diff --git a/data/handleDB.php b/data/handleDB.php
index <HASH>..<HASH> 100644
--- a/data/handleDB.php
+++ b/data/handleDB.php
@@ -1984,5 +1984,5 @@ class DbHandleApplication extends Application
}
}
-$application = new DbHandleApplication('Database handler for CompatInfo', '1.28.0');
+$application = new DbHandl... | Bump new version <I> | llaville_php-compatinfo-db | train | php |
9aecf903f4a05393acff73cb410c178ea209f0bd | diff --git a/examples/benchmarks/json/cpu.py b/examples/benchmarks/json/cpu.py
index <HASH>..<HASH> 100755
--- a/examples/benchmarks/json/cpu.py
+++ b/examples/benchmarks/json/cpu.py
@@ -44,6 +44,10 @@ except:
def parse_time(_json_string, _iterations):
return float('inf')
+ @staticmethod
... | Added version to CPU benchmark stubs. | eerimoq_textparser | train | py |
2664356b7f306b6efe2add089a86c88f0e85b1b1 | diff --git a/skyfield/timelib.py b/skyfield/timelib.py
index <HASH>..<HASH> 100644
--- a/skyfield/timelib.py
+++ b/skyfield/timelib.py
@@ -3,7 +3,7 @@ import datetime as dt_module
import re
from collections import namedtuple
from datetime import date, datetime
-from numpy import (array, concatenate, cos, float_, int... | Fix new internal "UTC seconds" on <I> bit platforms | skyfielders_python-skyfield | train | py |
329083400930ede6ddd3a1b037bafa8dfc4c0f36 | diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py
index <HASH>..<HASH> 100644
--- a/spyder/app/mainwindow.py
+++ b/spyder/app/mainwindow.py
@@ -1235,9 +1235,6 @@ class MainWindow(QMainWindow):
logger.info("Setting up window...")
self.setup_layout(default=False)
- if self.spl... | Main Window: Hide splash screen in post_visible_setup
This maintains the splash visible until the very last second before
loading the previous session. | spyder-ide_spyder | train | py |
bacac38842e822485f4d78e068436f8c13fd6ac2 | diff --git a/internetarchive/item.py b/internetarchive/item.py
index <HASH>..<HASH> 100644
--- a/internetarchive/item.py
+++ b/internetarchive/item.py
@@ -337,6 +337,8 @@ class Item(object):
ignore_bucket=ignore_bucket)
request = Request('PUT', endpoint, headers=headers)
... | Added comment about why we are using `contextlib.closing()` in the `upload_file()` method (StringIO). | jjjake_internetarchive | train | py |
84bd1731c43a941758e486e68b890d5b6dbde73c | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -332,6 +332,7 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSer... | reset global scopes when booted models get cleared | laravel_framework | train | php |
ed17875c40bf4504a612780838fff0fd1e64ad93 | diff --git a/hadoop/src/main/java/water/hadoop/h2odriver.java b/hadoop/src/main/java/water/hadoop/h2odriver.java
index <HASH>..<HASH> 100644
--- a/hadoop/src/main/java/water/hadoop/h2odriver.java
+++ b/hadoop/src/main/java/water/hadoop/h2odriver.java
@@ -138,7 +138,7 @@ public class h2odriver extends Configured impleme... | Rename swallowed exceptions to not be named _. Java 8 change.
No semantic change. | h2oai_h2o-2 | train | java,java |
776f24a90e2fa86a2bac01b0955a265812e1c2a8 | diff --git a/menu/Container.php b/menu/Container.php
index <HASH>..<HASH> 100644
--- a/menu/Container.php
+++ b/menu/Container.php
@@ -359,7 +359,7 @@ class Container extends \yii\base\Component implements ArrayAccess
if (empty($requestPath)) {
$home = $this->getHome();
if (!$home) {
... | changed menu exception to NotFoundHttpException to hide informations
from api as those exception are not system errors. | luyadev_luya-module-cms | train | php |
cd80c2ef822ad362ba92b9bc9555c6e3c157078c | diff --git a/bench.py b/bench.py
index <HASH>..<HASH> 100644
--- a/bench.py
+++ b/bench.py
@@ -29,7 +29,7 @@ def timed(fn):
start = time.time()
fn(*args, **kwargs)
times.append(time.time() - start)
- print fn.__name__, round(sum(times) / N, 3)
+ print(fn.__name__, ro... | python 3 fix for bench.py | coleifer_peewee | train | py |
8ea3037fa4515b0cb825e423a622bb5e78de1b7b | diff --git a/src/RouteConditionApplier.php b/src/RouteConditionApplier.php
index <HASH>..<HASH> 100644
--- a/src/RouteConditionApplier.php
+++ b/src/RouteConditionApplier.php
@@ -63,7 +63,18 @@ class RouteConditionApplier
public function getActions($action)
{
- return $this->actions[$action] ?? funct... | make controller actions be matched with patterns | imanghafoori1_laravel-heyman | train | php |
07ede3afa60b9aeeb4cc1c5223fef61e5a80991a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,6 @@ tests_require = [
'isort>=4.2.2',
'jsonresolver[jsonschema]>=0.2.1',
'pydocstyle>=2.0.0',
- 'pytest-cache>=1.0',
'pytest-cov>=1.8.0',
'pytest-pep8>=1.0.6',
'pytest>=2.8.0', | installation: removed pytest-cache dependency | inveniosoftware_invenio-jsonschemas | train | py |
05d652d02473276f6c2292c3aa80b24141f97037 | diff --git a/tests/VatCalculatorTest.php b/tests/VatCalculatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/VatCalculatorTest.php
+++ b/tests/VatCalculatorTest.php
@@ -921,6 +921,6 @@ class VatCalculatorTest extends PHPUnit
$vatCalculator = new VatCalculator();
$result = $vatCalculator->calculate($... | Update VatCalculatorTest.php | mpociot_vat-calculator | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.