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 |
|---|---|---|---|---|---|
42b4a1cc55ed890a465e824d18493b7cad46c5b5 | diff --git a/h2o-core/src/main/java/water/util/Log.java b/h2o-core/src/main/java/water/util/Log.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/util/Log.java
+++ b/h2o-core/src/main/java/water/util/Log.java
@@ -293,5 +293,14 @@ abstract public class Log {
if( strb.length() < size ) strb.appen... | Tiny log functions marking ignored exceptions.
Useful for retry-logic inside HDFS/S3 persist API. | h2oai_h2o-3 | train | java |
d8f22c67d57ea5794fe510bab264a2ed905b00e5 | diff --git a/esda/getisord.py b/esda/getisord.py
index <HASH>..<HASH> 100644
--- a/esda/getisord.py
+++ b/esda/getisord.py
@@ -4,7 +4,7 @@ Getis and Ord G statistic for spatial autocorrelation
__author__ = "Sergio J. Rey <srey@asu.edu>, Myunghwa Hwang <mhwang4@gmail.com> "
__all__ = ['G', 'G_Local']
-from libpysal.... | remove math and swap to numpy | pysal_esda | train | py |
a60f4939699be67e883a0cf411dac0fb98355c1d | diff --git a/cmd/auth.go b/cmd/auth.go
index <HASH>..<HASH> 100644
--- a/cmd/auth.go
+++ b/cmd/auth.go
@@ -241,15 +241,14 @@ func (c *teamCreate) Run(context *Context, client *Client) error {
return nil
}
-type teamRemove struct{}
+type teamRemove struct {
+ ConfirmationCommand
+}
func (c *teamRemove) Run(conte... | cmd: use ConfirmationCommand in teamRemove | tsuru_tsuru | train | go |
65e85c5647072d29effb695d7770ed6d1882e459 | diff --git a/commons/src/main/java/com/composum/sling/core/logging/MessageContainer.java b/commons/src/main/java/com/composum/sling/core/logging/MessageContainer.java
index <HASH>..<HASH> 100644
--- a/commons/src/main/java/com/composum/sling/core/logging/MessageContainer.java
+++ b/commons/src/main/java/com/composum/sl... | Status: ensure that throwable given to error as last argument is logged with stacktrace | ist-dresden_composum | train | java |
adb4f98cf8c35aa974bf639ae626f13912cb738d | diff --git a/osmnx/stats.py b/osmnx/stats.py
index <HASH>..<HASH> 100644
--- a/osmnx/stats.py
+++ b/osmnx/stats.py
@@ -418,8 +418,9 @@ def extended_stats(G, connectivity=False, anc=False, ecc=False, bc=False, cc=Fal
if bc:
# betweenness centrality of a node is the sum of the fraction of
# all-pai... | convert to DiGraph for betweenness centrality calculation | gboeing_osmnx | train | py |
f19982803b3067ca3a7ac705c31b75e64825ddd9 | diff --git a/warren/main.py b/warren/main.py
index <HASH>..<HASH> 100644
--- a/warren/main.py
+++ b/warren/main.py
@@ -72,9 +72,6 @@ class RabbitMQCtl(object):
local_node = self._trim_quotes(match.group(1))
else:
raise Exception('Unexpected header line: {0!r}'.format(output[0]))
- ... | Remove unnecessary get_cluster_status lines
These lines do not exist in newer version of rabbitmq-server and aren't
necessary for the function to execute safely. | RSEmail_warren | train | py |
fbb2886168f593ba69f15bd27bbc6f0e78b87ed6 | diff --git a/src/Offer/OfferIdentifierCollection.php b/src/Offer/OfferIdentifierCollection.php
index <HASH>..<HASH> 100644
--- a/src/Offer/OfferIdentifierCollection.php
+++ b/src/Offer/OfferIdentifierCollection.php
@@ -5,6 +5,7 @@ namespace CultuurNet\UDB3\Offer;
use TwoDotsTwice\Collection\AbstractCollection;
/**
... | III-<I>: Docblock for better type hinting. | cultuurnet_udb3-php | train | php |
9f8e89bb97d6981b64c4e761e265550f8a615b01 | diff --git a/Controller/ConnectController.php b/Controller/ConnectController.php
index <HASH>..<HASH> 100644
--- a/Controller/ConnectController.php
+++ b/Controller/ConnectController.php
@@ -271,7 +271,8 @@ class ConnectController extends Controller
}
}
- return $this->redirect($authoriza... | redirectToServiceAction is not redirecting (SF2 <I>)
redirectToServiceAction is not redirect, in order to work I have done this change. | hwi_HWIOAuthBundle | train | php |
e144f098f154352d92a593733ca3294467d98a84 | diff --git a/actionview/lib/action_view/testing/resolvers.rb b/actionview/lib/action_view/testing/resolvers.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/testing/resolvers.rb
+++ b/actionview/lib/action_view/testing/resolvers.rb
@@ -36,10 +36,11 @@ module ActionView #:nodoc:
end
end
- cla... | Reimplement NullResolver on base resolver | rails_rails | train | rb |
4f14f775884796994b840e25570c47fdccdcfd21 | diff --git a/lib/opal/lexer.rb b/lib/opal/lexer.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/lexer.rb
+++ b/lib/opal/lexer.rb
@@ -1371,6 +1371,7 @@ module Opal
return :SUPER, matched
when 'then'
+ @lex_state = :expr_beg
return :THEN, matched
when 'while' | Fix lex_state after 'then' keyword | opal_opal | train | rb |
e4c67f15027163d2168c6299f1a13a8b9c7c5361 | diff --git a/ghost/admin/components/gh-navitem-url-input.js b/ghost/admin/components/gh-navitem-url-input.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/components/gh-navitem-url-input.js
+++ b/ghost/admin/components/gh-navitem-url-input.js
@@ -27,13 +27,13 @@ var NavItemUrlInputComponent = Ember.TextField.extend({
... | Set 'value' property before a dependent CP is used
No issue.
- Make sure value property has been set before computed
property isRelative is referenced. | TryGhost_Ghost | train | js |
fc4e51a295569347a0491dbc23b85480af987df0 | diff --git a/salt/cloud/clouds/gce.py b/salt/cloud/clouds/gce.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/gce.py
+++ b/salt/cloud/clouds/gce.py
@@ -445,6 +445,15 @@ def __get_network(conn, vm_):
default='default', search_global=False)
return conn.ex_get_network(network)
+def __get_subnetwork(... | bugfix adding subnetwork option to gce
Previously when deploying to custom networks salt-cloud would fail with the error described in #<I>
Now it is possible to specify a subnetwork in the profile, to deploy to a custom network and a specific subnet in that network. | saltstack_salt | train | py |
742c0f5de38972f1e3402c028410566c5c837501 | diff --git a/test/test_helper.js b/test/test_helper.js
index <HASH>..<HASH> 100644
--- a/test/test_helper.js
+++ b/test/test_helper.js
@@ -206,6 +206,10 @@ if (process.env.GLOBAL_CLIENT !== 'false') {
before(() => client.connect()
.then(() => serverInfoHelper.fetch_info())
.then(() => serverInfoHelper.fetc... | Print full connection error if test is unable to connect | aerospike_aerospike-client-nodejs | train | js |
94bb34d1dd7c9c3b18220c1131f4d9eb0d12da70 | diff --git a/templates/module/modularity-mod-slider.php b/templates/module/modularity-mod-slider.php
index <HASH>..<HASH> 100644
--- a/templates/module/modularity-mod-slider.php
+++ b/templates/module/modularity-mod-slider.php
@@ -28,7 +28,7 @@
</div>
<?php elseif ($slide['acf_fc_layout'] == 'vi... | REmoved <I>:9 class. Better to default to cropped view. | helsingborg-stad_Modularity | train | php |
f0c8541aee5ecd86882656f0198bdd3ff1513937 | diff --git a/aeron-cluster/src/test/java/io/aeron/cluster/SingleNodeTest.java b/aeron-cluster/src/test/java/io/aeron/cluster/SingleNodeTest.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/test/java/io/aeron/cluster/SingleNodeTest.java
+++ b/aeron-cluster/src/test/java/io/aeron/cluster/SingleNodeTest.java
@@ -4... | [Java] Put back failing value. | real-logic_aeron | train | java |
f3d44c72f9d7b6d9fa93d9313f02f3a2a124c9ad | diff --git a/Module.php b/Module.php
index <HASH>..<HASH> 100644
--- a/Module.php
+++ b/Module.php
@@ -39,7 +39,7 @@ class Module
public function getConfig()
{
- defined('APPLICTION_PATH') or define('APPLICATION_PATH', realpath(dirname('./')));
+ defined('APPLICATION_PATH') or define('APPL... | fixed typo in module check for APPLICATION_PATH | uthando-cms_uthando-session-manager | train | php |
bf48f8e808cbdca913c79c8cb67a0b0b40f7bd21 | diff --git a/lib/ood_core/job/adapters/pbspro.rb b/lib/ood_core/job/adapters/pbspro.rb
index <HASH>..<HASH> 100644
--- a/lib/ood_core/job/adapters/pbspro.rb
+++ b/lib/ood_core/job/adapters/pbspro.rb
@@ -310,10 +310,6 @@ module OodCore
end
end
- def supports_job_arrays?
- false
- ... | Remove the override for supports_job_arrays? | OSC_ood_core | train | rb |
7fa7381bb55f251f945e2d85f139934b358e41ea | diff --git a/Resources/public/js/apps/ez-editorialapp.js b/Resources/public/js/apps/ez-editorialapp.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/apps/ez-editorialapp.js
+++ b/Resources/public/js/apps/ez-editorialapp.js
@@ -145,6 +145,7 @@ YUI.add('ez-editorialapp', function (Y) {
container.ad... | Fixed: made the first view transition a bit smoother | ezsystems_PlatformUIBundle | train | js |
4d1dd720fd52e5d8188541c0c28c8931504a34cf | diff --git a/src/validators/numeric.js b/src/validators/numeric.js
index <HASH>..<HASH> 100644
--- a/src/validators/numeric.js
+++ b/src/validators/numeric.js
@@ -1,8 +1,6 @@
-const numericRegex = /^[-+]?[0-9]+$/;
-
const validate = val => {
if (val) {
- return numericRegex.test(val);
+ return !isNaN(Number(v... | Cast to number and check if the result isNaN or not | cermati_satpam | train | js |
008b6d9a1598e0c2e7cb6de1ab2aa8bd9d710970 | diff --git a/tests/sanity_tests.py b/tests/sanity_tests.py
index <HASH>..<HASH> 100644
--- a/tests/sanity_tests.py
+++ b/tests/sanity_tests.py
@@ -1 +1,4 @@
-from appengine_fixture_loader.loader import *
+#from appengine_fixture_loader.loader import load_fixture
+
+# TODO: We need a way to test it without relying on Go... | There has to be a better way. Mock, perhaps? | rbanffy_appengine-fixture-loader | train | py |
0452b8cea97c2f8c88de8e1d876756ebf824d6b1 | diff --git a/utilities/src/main/java/org/craftercms/commons/http/HttpUtils.java b/utilities/src/main/java/org/craftercms/commons/http/HttpUtils.java
index <HASH>..<HASH> 100644
--- a/utilities/src/main/java/org/craftercms/commons/http/HttpUtils.java
+++ b/utilities/src/main/java/org/craftercms/commons/http/HttpUtils.ja... | Code style fix:
* Fixed issue with raw type being thrown: now an IllegalStateException is thrown instead of a raw RuntimeException. | craftercms_commons | train | java |
002a1711f6d3ee1873addbc39e7f71ac2945e648 | diff --git a/src/analyse/callback/analyse/Objects.php b/src/analyse/callback/analyse/Objects.php
index <HASH>..<HASH> 100644
--- a/src/analyse/callback/analyse/Objects.php
+++ b/src/analyse/callback/analyse/Objects.php
@@ -323,6 +323,7 @@ class Objects extends AbstractCallback
// We've got ... | Optimized the calling of configured debug methods. | brainworxx_kreXX | train | php |
2eb600fc124876ab2b5f315ddbe27925f3c6ad1a | diff --git a/text/bayes_test.go b/text/bayes_test.go
index <HASH>..<HASH> 100644
--- a/text/bayes_test.go
+++ b/text/bayes_test.go
@@ -253,19 +253,15 @@ func TestConcurrentPredictionAndLearningShouldNotFail(t *testing.T) {
wg.Add(1)
go func() {
defer wg.Done()
- // fmt.Println("beginning predicting")
for i :... | Remove fmt.printf from Naive Bayes test | cdipaolo_goml | train | go |
db0fcc3733529438956fd2b2275fde65a88f9e79 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,12 +13,10 @@
import sys, os
-# import sphinx_rtd_theme
-
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is ... | Trying to make docs work correctly | appdotnet_ADNpy | train | py |
0a5d7a7bd2f159e747ceed5e59c3a6e359dd8ca2 | diff --git a/src/xterm.js b/src/xterm.js
index <HASH>..<HASH> 100644
--- a/src/xterm.js
+++ b/src/xterm.js
@@ -1915,6 +1915,10 @@ Terminal.prototype.resize = function(x, y) {
return;
}
+ if (y > this.getOption('scrollback')) {
+ this.setOption('scrollback', y)
+ }
+
var line
, el
, i | Set minimum scrollback value to number of rows if needed on resize | xtermjs_xterm.js | train | js |
2bd9f42b81c89cfa8a709517a9b7375794dbe6e6 | diff --git a/addon/services/notification.js b/addon/services/notification.js
index <HASH>..<HASH> 100644
--- a/addon/services/notification.js
+++ b/addon/services/notification.js
@@ -15,7 +15,9 @@ function notification(status) {
export default class NotificationService extends Service {
_notification(message, optio... | fix(notification): fix notification options if app doesn't configure anything | adfinis-sygroup_ember-uikit | train | js |
9afe92f0a8f88449b3a2fe09f6caa16c404f9170 | diff --git a/shoebot/gui/gtk_drawingarea.py b/shoebot/gui/gtk_drawingarea.py
index <HASH>..<HASH> 100644
--- a/shoebot/gui/gtk_drawingarea.py
+++ b/shoebot/gui/gtk_drawingarea.py
@@ -48,9 +48,7 @@ class ShoebotDrawingArea(gtk.DrawingArea):
self.is_dynamic = True
if self.is_dynamic:
- ... | Removed extraneous print statements from debugging | shoebot_shoebot | train | py |
3531d91b029c1a2ca509666cdade2a8119645da6 | diff --git a/lint.py b/lint.py
index <HASH>..<HASH> 100644
--- a/lint.py
+++ b/lint.py
@@ -526,6 +526,7 @@ This is used by the global evaluation report (RP0004).'}),
"""
if not modname and filepath is None:
return
+ self.reporter.on_set_current_module(modname, filepath)
se... | Add 'on_set_current_module' event trigerring and event callback for reporters. | PyCQA_pylint | train | py,py |
2f6b5d3368252c896d211b89fe4de63bc4706651 | diff --git a/src/Generator/EntityBundleGenerator.php b/src/Generator/EntityBundleGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Generator/EntityBundleGenerator.php
+++ b/src/Generator/EntityBundleGenerator.php
@@ -48,11 +48,11 @@ class EntityBundleGenerator extends Generator
/**
* Generate core.... | [generate:entity:bundle] Accept blank spaces in human readable name. | hechoendrupal_drupal-console | train | php |
e540499c86021438306a874b547446f7b55acee0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,8 +19,8 @@ setup(
version='0.9',
author='Andrea de Marco',
author_email='<24erre@gmail.com>',
- url='https://github.com/z4r/python-mocket',
- description='A Mock Socket Framework',
+ url='https://gi... | repo fix [ci skip] | mindflayer_python-mocket | train | py |
95381cac9e75291c4440cfaa85f0da7f9cf163ab | diff --git a/sources/scalac/backend/msil/GenMSIL.java b/sources/scalac/backend/msil/GenMSIL.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/backend/msil/GenMSIL.java
+++ b/sources/scalac/backend/msil/GenMSIL.java
@@ -21,7 +21,6 @@ import scalac.ast.Tree;
import scalac.ast.TreeList;
import scalac.atree.AConstant... | Removed in import that prevented proper compila...
Removed in import that prevented proper compilation from the CVS
repository | scala_scala | train | java |
34b191cd219ab736506910202e153a69150bd58b | diff --git a/tests/local/serializer.php b/tests/local/serializer.php
index <HASH>..<HASH> 100644
--- a/tests/local/serializer.php
+++ b/tests/local/serializer.php
@@ -7,9 +7,9 @@ use WebSharks\Core\Classes\CoreFacades as c;
require_once dirname(__FILE__, 2).'/includes/local.php';
/* --------------------------------... | Updating tests against serializer. | wpsharks_core | train | php |
33ccca315b5b542d3b8fddea3c6566b5ee0087dd | diff --git a/src/hmr/hotModuleReplacement.js b/src/hmr/hotModuleReplacement.js
index <HASH>..<HASH> 100644
--- a/src/hmr/hotModuleReplacement.js
+++ b/src/hmr/hotModuleReplacement.js
@@ -174,17 +174,12 @@ function reloadAll() {
function isUrlRequest(url) {
// An URL is not an request if
- // 1. It's an absolute ... | fix: Remove absolute URL condition from HMR request checker. (#<I>) | faceyspacey_extract-css-chunks-webpack-plugin | train | js |
f9054252cf278b8196a7366dfdfbd0bf7be2b486 | diff --git a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
index <HASH>..<HASH> 100644
--- a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
+++ b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
@@ -37,9 +37,15 @@ class ImageConverter extends BaseC... | feature: markdown in image's caption | caouecs_Laravel-SirTrevorJS | train | php |
8366d04bb779feaac299db03d14db3bcca16a5cf | diff --git a/rinoh/dimension.py b/rinoh/dimension.py
index <HASH>..<HASH> 100644
--- a/rinoh/dimension.py
+++ b/rinoh/dimension.py
@@ -135,9 +135,17 @@ class DimensionMultiplication(DimensionBase):
return float(self.multiplicand) * self.multiplier
+class DimensionUnit(object):
+ def __init__(self, point... | Introduce DimensionUnit class
- 1*PT now produces a Dimension instead of a DimensionMultiplication
- Eliminates most of the DimensionMultiplication.__float__ calls
- Allow only right-multiplication with a DimensionUnit | brechtm_rinohtype | train | py |
4b7448442357ee0e9e741f2953711e060c0d0fda | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,12 +1,5 @@
-"use strict";
-module.exports = function(grunt) {
- function readOptionalJSON( filepath ) {
- var data = {};
- try {
- data = grunt.file.readJSON( filepath );
- } catch(e) {}
- ... | Gruntfile: nitpicking | rwaldron_temporal | train | js |
3672b8e7b107f241004353ab00dad42d9e1ddfc4 | diff --git a/salt/states/dockerng.py b/salt/states/dockerng.py
index <HASH>..<HASH> 100644
--- a/salt/states/dockerng.py
+++ b/salt/states/dockerng.py
@@ -183,6 +183,8 @@ def _compare(actual, create_kwargs, defaults_from_image):
continue
elif item == 'environment':
+ if actual_data is... | docker daemon returns sometimes empty list and sometimes None
We deal with it | saltstack_salt | train | py |
699426379f7477fec45543fa0eed128f98c2ca7f | diff --git a/molgenis-omx-biobankconnect/src/main/java/org/molgenis/omx/biobankconnect/ontologyannotator/AsyncOntologyAnnotator.java b/molgenis-omx-biobankconnect/src/main/java/org/molgenis/omx/biobankconnect/ontologyannotator/AsyncOntologyAnnotator.java
index <HASH>..<HASH> 100644
--- a/molgenis-omx-biobankconnect/src... | removed unused comment from AsyncOntologyAnnotator.java | molgenis_molgenis | train | java |
6c2ea3d852f63fe44a6da215f7bd04250a978556 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -26,7 +26,6 @@ import { setAutoPlan, setMapCenter } from './actions/config'
import { getCurrentPosition } from './actions/location'
import { setLocationToCurrent } from './actions/map'
import { findNearbySto... | fix(api): Remove obselete include from index.js | opentripplanner_otp-react-redux | train | js |
ff9a42d144c5eb327bff95461b460926f1e32c2b | diff --git a/languagetool-core/src/main/java/org/languagetool/MultiThreadedJLanguageTool.java b/languagetool-core/src/main/java/org/languagetool/MultiThreadedJLanguageTool.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/main/java/org/languagetool/MultiThreadedJLanguageTool.java
+++ b/languagetool-core/src/... | Rename thred_count property as internal | languagetool-org_languagetool | train | java |
fd32d09e43851204618c923e365e05dbfbfe0cfb | diff --git a/Tests/Entity/Parameters/BodyParameterTest.php b/Tests/Entity/Parameters/BodyParameterTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Entity/Parameters/BodyParameterTest.php
+++ b/Tests/Entity/Parameters/BodyParameterTest.php
@@ -55,7 +55,7 @@ class BodyParameterTest extends \PHPUnit_Framework_TestCase
... | Converted to using class constant in body serialization test | epfremmer_swagger-php | train | php |
78b0ff4577c93adf72e93b51f9d45ad41daf86ba | diff --git a/tests/test_xlsm_wrf.py b/tests/test_xlsm_wrf.py
index <HASH>..<HASH> 100644
--- a/tests/test_xlsm_wrf.py
+++ b/tests/test_xlsm_wrf.py
@@ -53,7 +53,7 @@ def test_read_wrf(wrf):
# make sure coordinates correct
assert wrf.lsm_lat_var in xd.coords
assert wrf.lsm_lon_var in xd.coords
... | rename time dimension for slicing | snowman2_pangaea | train | py |
9a318185518169ebbccfa1b03685baec6ccbf3f6 | diff --git a/carrot/messaging.py b/carrot/messaging.py
index <HASH>..<HASH> 100644
--- a/carrot/messaging.py
+++ b/carrot/messaging.py
@@ -248,7 +248,7 @@ class Consumer(object):
self.decoder = kwargs.get("decoder", deserialize)
if not self.backend:
self.backend = DefaultBackend(connectio... | Consumer.next() is now removed (it was deprecated in favor of Consumer.process_next()) | ask_carrot | train | py |
b7b21273e31d74588e5c3772f1dcce0a69477703 | diff --git a/rados/ioctx.go b/rados/ioctx.go
index <HASH>..<HASH> 100644
--- a/rados/ioctx.go
+++ b/rados/ioctx.go
@@ -137,15 +137,15 @@ func (ioctx *IOContext) Create(oid string, exclusive CreateOption) error {
// Write writes len(data) bytes to the object with key oid starting at byte
// offset offset. It returns a... | rados: naming conventions: fixes in Write function
Fix up variable names that don't meet Go standards. | ceph_go-ceph | train | go |
5be94b753211cf7fd4ed38630e6c58d5419f9e82 | diff --git a/bugwarrior/services/bitbucket.py b/bugwarrior/services/bitbucket.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/bitbucket.py
+++ b/bugwarrior/services/bitbucket.py
@@ -24,7 +24,7 @@ class BitbucketIssue(Issue):
'label': 'Bitbucket URL',
},
FOREIGN_ID: {
- ... | Make bitbucketid numeric. (#<I>)
This silences all the warnings from taskw that a number is being coerced
into a string. | ralphbean_bugwarrior | train | py |
0c4055ffa1d6b87e785af3799a1d876e0e2e81cc | diff --git a/moment.js b/moment.js
index <HASH>..<HASH> 100644
--- a/moment.js
+++ b/moment.js
@@ -1508,12 +1508,12 @@
get : function (units) {
units = normalizeUnits(units);
- return this[units.toLowerCase() + 's']();
+ return this[units.toLowerCase()]();
},
... | removing extra s in get() and set() | moment_moment | train | js |
aeeef21c61cd9999875a85de90c6eb9f534066d7 | diff --git a/event/event.go b/event/event.go
index <HASH>..<HASH> 100644
--- a/event/event.go
+++ b/event/event.go
@@ -28,9 +28,8 @@ var levelNames = [8]string{
"Emergency",
}
-// LevelName converts a level into its textual representation.
-func LevelName(level Level) string {
- return levelNames[level]
+func (l L... | add stringer interface to levels and drop LevelName | phemmer_sawmill | train | go,go |
b29d7671621de14b140bc8710b7325e98af87b8b | diff --git a/lib/rubocop/target_ruby.rb b/lib/rubocop/target_ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/target_ruby.rb
+++ b/lib/rubocop/target_ruby.rb
@@ -7,7 +7,7 @@ module RuboCop
DEFAULT_VERSION = KNOWN_RUBIES.first
OBSOLETE_RUBIES = {
- 1.9 => '0.50', 2.0 => '0.50', 2.1 => '0.58', 2.2 =... | Update target_ruby.rb
rubocop <I> is the last version to support <I> mode, not <I>.
This is a partical revert of <I>a5bee<I>bb<I> | rubocop-hq_rubocop | train | rb |
89b67e7c590b281e4f338a4f74d8605cf3531563 | diff --git a/src/Writer.php b/src/Writer.php
index <HASH>..<HASH> 100644
--- a/src/Writer.php
+++ b/src/Writer.php
@@ -15,6 +15,14 @@ class Writer
/** @var string Write method to be relayed to Colorizer */
protected $method;
+ /** @var Color */
+ protected $colorizer;
+
+ public function __construc... | refactor(writer): colorizer is no longer static, add typehints | adhocore_php-cli | train | php |
6f46d434f54fed068233c8e195244857db46ffce | diff --git a/core-bundle/src/Monolog/ContaoTableHandler.php b/core-bundle/src/Monolog/ContaoTableHandler.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Monolog/ContaoTableHandler.php
+++ b/core-bundle/src/Monolog/ContaoTableHandler.php
@@ -2,8 +2,8 @@
namespace Contao\CoreBundle\Monolog;
-use Contao\CoreBun... | [Core] ScopeAwareTrait namespace has changed | contao_contao | train | php |
9fd5bfc48c2d3bc3a8251bc9c8dba824d1b02dab | diff --git a/decompress_tar_test.go b/decompress_tar_test.go
index <HASH>..<HASH> 100644
--- a/decompress_tar_test.go
+++ b/decompress_tar_test.go
@@ -9,14 +9,18 @@ import (
func TestTar(t *testing.T) {
mtime := time.Unix(0, 0)
cases := []TestDecompressCase{
- {
- "extended_header.tar",
- true,
- false,
- ... | Disable extended headers tar test
Go <I> and <I> can't even parse the tar header anymore (errors with
"invalid header"). I'm not sure if this is a bug so I opened an issue
here: <URL> | hashicorp_go-getter | train | go |
106671ebdf0f77f283876c2c972da4114b7fc689 | diff --git a/test/test-integration-sftp.js b/test/test-integration-sftp.js
index <HASH>..<HASH> 100644
--- a/test/test-integration-sftp.js
+++ b/test/test-integration-sftp.js
@@ -1693,13 +1693,8 @@ function cleanupTemp() {
}
function next() {
- if (t === tests.length - 1) {
- cleanup(function() {
- if (fs.... | test: make sure big testfile is removed on error or normal exit | mscdex_ssh2 | train | js |
c029e630379cfc155db035238e7e3063ae3d312b | diff --git a/openstack_dashboard/api/neutron.py b/openstack_dashboard/api/neutron.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/api/neutron.py
+++ b/openstack_dashboard/api/neutron.py
@@ -283,7 +283,7 @@ class SecurityGroupManager(network_base.SecurityGroupManager):
sg_ids = []
for p in por... | Ensure to return empty when no secgroup is associated to VM
Change-Id: I6a<I>bc6d3d<I>e7cb<I>e<I>e<I>d<I>f2bfbfc5
Closes-Bug: #<I> | openstack_horizon | train | py |
4b4888532a79c54b27f96532ab77a8ef0e6145bb | diff --git a/acceptancetests/assess_bootstrap.py b/acceptancetests/assess_bootstrap.py
index <HASH>..<HASH> 100755
--- a/acceptancetests/assess_bootstrap.py
+++ b/acceptancetests/assess_bootstrap.py
@@ -87,7 +87,8 @@ def assess_to(bs_manager, to):
log.info('To {} bootstrap successful.'.format(to))
add... | Adds detail to assertion error output for deployment tests that
bootstrap with the --to option. | juju_juju | train | py |
359191e6f7cd50119189a546de1de0ad0950ba87 | diff --git a/tests/unit/test_s3.py b/tests/unit/test_s3.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_s3.py
+++ b/tests/unit/test_s3.py
@@ -27,9 +27,9 @@ class S3Tests(unittest.TestCase):
@classmethod
def setUpClass(cls):
# create mock session, replace dummytoken with real token to create cass... | using mock interface in s3 test | DigitalGlobe_gbdxtools | train | py |
746bd1b1bd395f1c3355fe40aa5f07d68e530434 | diff --git a/js/cdax.js b/js/cdax.js
index <HASH>..<HASH> 100644
--- a/js/cdax.js
+++ b/js/cdax.js
@@ -865,6 +865,8 @@ module.exports = class cdax extends Exchange {
// 'transfer': undefined,
'name': name,
'active': active,
+ 'deposit': depositEnabled,
+... | cdax: add deposit/withdraw flag in currencies ccxt/ccxt#<I> | ccxt_ccxt | train | js |
d948c2cd6be24ef60ebb471a55d01a36a1932110 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -95,7 +95,8 @@ module.exports = function(grunt) {
port: port,
base: base,
livereload: true,
- open: true
+ open: true,
+ useAvailablePort: true
}
}
}, | adds `useAvailablePort` option when serving page with connect. | hakimel_reveal.js | train | js |
5e21491835524826825d85cd1f098b6bb18a772a | diff --git a/xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityEngine.java b/xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityEngine.java
index <HASH>..<HASH> 100644
--- a/xwiki-commons-core/xwiki-commons-velocity/src/mai... | [misc] Remove TODO that does not make sense anymore | xwiki_xwiki-commons | train | java |
6c0fe2d32592c2789afa18ba35cdc4b8ba198628 | diff --git a/ipywidgets/static/widgets/js/widget_bool.js b/ipywidgets/static/widgets/js/widget_bool.js
index <HASH>..<HASH> 100644
--- a/ipywidgets/static/widgets/js/widget_bool.js
+++ b/ipywidgets/static/widgets/js/widget_bool.js
@@ -178,9 +178,10 @@ define([
}
this.$el.text(readout);
... | then does not take a context argument | jupyter-widgets_ipywidgets | train | js |
65d77094dcf660c80ddc58ff05d13acb0ba9e5cb | diff --git a/src/DoctrineServiceProvider.php b/src/DoctrineServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/DoctrineServiceProvider.php
+++ b/src/DoctrineServiceProvider.php
@@ -108,7 +108,6 @@ class DoctrineServiceProvider extends ServiceProvider
protected function registerManagerRegistry()
{
... | Applied fixes from StyleCI (#<I>) | laravel-doctrine_orm | train | php |
eb7e0e05e9f507e01a1ffa9a7b279263d55ae08c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
from codecs import open
REPO_URL = "http://github.com/MatMaul/pynetgear"
-VERSION = "0.10.1"
+VERSION = "0.10.2"
with open("requirements.txt") as f:
required = f.read().spl... | bump to version <I> (#<I>) | MatMaul_pynetgear | train | py |
718cbb8d6b7e2a3e7ae036533ae4894b65d149eb | diff --git a/zendesk/endpoints_v2.py b/zendesk/endpoints_v2.py
index <HASH>..<HASH> 100644
--- a/zendesk/endpoints_v2.py
+++ b/zendesk/endpoints_v2.py
@@ -335,11 +335,11 @@ mapping_table = {
'method': 'POST',
},
'update_organzation': {
- 'path': '/organizations.json',
+ 'path': '/organi... | Fixed update and delete organization endpoint for v2 API. | fprimex_zdesk | train | py |
7a27f997b2d022f6dd2bddb3705dbdb9f2523920 | diff --git a/lib/spring/version.rb b/lib/spring/version.rb
index <HASH>..<HASH> 100644
--- a/lib/spring/version.rb
+++ b/lib/spring/version.rb
@@ -1,3 +1,3 @@
module Spring
- VERSION = "1.1.0.beta3"
+ VERSION = "1.1.0.beta4"
end | Bump to <I>.beta4 | rails_spring | train | rb |
6fa17eb4e984c6a05a0eca6d0b41400b5926ff1a | diff --git a/test/rjsconfig.js b/test/rjsconfig.js
index <HASH>..<HASH> 100644
--- a/test/rjsconfig.js
+++ b/test/rjsconfig.js
@@ -2,12 +2,7 @@ var require = {
paths: {
"power-assert": "../build/power-assert",
expect: "../bower_components/expect/index",
- "power-assert-formatter": "../bowe... | Remove unused dependencies from AMD testing. | power-assert-js_power-assert | train | js |
eb02579814540e4da4b6115e9490442e7fc51a59 | diff --git a/src/Floppy/Client/BuzzFileSourceUploader.php b/src/Floppy/Client/BuzzFileSourceUploader.php
index <HASH>..<HASH> 100644
--- a/src/Floppy/Client/BuzzFileSourceUploader.php
+++ b/src/Floppy/Client/BuzzFileSourceUploader.php
@@ -32,7 +32,7 @@ class BuzzFileSourceUploader implements FileSourceUploader
... | fix BuzzFileSourceUploader compatibility with FileSource created from UploadedFile | zineinc_floppy-client | train | php |
da1de4e75f572a56d9c9a3378deebebd36a54f56 | diff --git a/tests/integration/test.replication.js b/tests/integration/test.replication.js
index <HASH>..<HASH> 100644
--- a/tests/integration/test.replication.js
+++ b/tests/integration/test.replication.js
@@ -2924,7 +2924,11 @@ adapters.forEach(function (adapters) {
live: true,
onCha... | (#<I>) - Fix "issue #<I> update_seq after replication"
Do not assume that the update_seq and change seq are equal (not
true in CouchDB <I>). | pouchdb_pouchdb | train | js |
472488d5727f062c7963eb70a70be5469e26182a | diff --git a/test/e2e/driver.go b/test/e2e/driver.go
index <HASH>..<HASH> 100644
--- a/test/e2e/driver.go
+++ b/test/e2e/driver.go
@@ -74,10 +74,7 @@ func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, orderseed
}()
tests := []testSpec{
- /* Disable TestKubernetesROService due to rate limiter... | Reinstate ROService test now that rate limit issue has been addressed | kubernetes_kubernetes | train | go |
7d1913ded50c8f9aec0e65e077ee8e66a78ecb23 | diff --git a/src/main/java/com/j256/ormlite/dao/BaseDaoImpl.java b/src/main/java/com/j256/ormlite/dao/BaseDaoImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/dao/BaseDaoImpl.java
+++ b/src/main/java/com/j256/ormlite/dao/BaseDaoImpl.java
@@ -622,6 +622,9 @@ public abstract class BaseDaoImpl<T, ... | Added a better throw instead of a NPE. | j256_ormlite-core | train | java |
56ce97aea9ebc3460c2208803ab2d5dab5cd4087 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -65,6 +65,7 @@ An extensive
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: Impl... | Added "Implementation :: PyPy" to classifiers. | johnbywater_eventsourcing | train | py |
0838754145316ca685a3af821c457be78e82028a | diff --git a/src/Security/Auth0Service.php b/src/Security/Auth0Service.php
index <HASH>..<HASH> 100644
--- a/src/Security/Auth0Service.php
+++ b/src/Security/Auth0Service.php
@@ -116,6 +116,12 @@ class Auth0Service
*/
public function getUserProfileByA0UID(string $jwt): ?array
{
+ // The /userinfo... | fix: HS<I> does not support /userinfo; return profile based on JWT data in this case. | auth0_jwt-auth-bundle | train | php |
6c1ca693fb17c2b17cb711d18de2295a0ec105a2 | diff --git a/src/Toolbar/LeftElement.react.js b/src/Toolbar/LeftElement.react.js
index <HASH>..<HASH> 100644
--- a/src/Toolbar/LeftElement.react.js
+++ b/src/Toolbar/LeftElement.react.js
@@ -27,7 +27,6 @@ const contextTypes = {
uiTheme: PropTypes.object.isRequired,
};
-const SEARCH_BACK_ICON = 'arrow-back';
co... | Toolbar search without leftElement shows forward icon (#<I>)
* Show back icon while search is active
It should show back icon instead of forward icon
* Show back icon while search is active
* Fix eslint syntax error | xotahal_react-native-material-ui | train | js |
6ea6243b8c54658addae6b7d34d093252a0e84ab | diff --git a/src/components/autocomplete/AutoComplete.js b/src/components/autocomplete/AutoComplete.js
index <HASH>..<HASH> 100644
--- a/src/components/autocomplete/AutoComplete.js
+++ b/src/components/autocomplete/AutoComplete.js
@@ -223,7 +223,7 @@ export class AutoComplete extends Component {
formatValue(valu... | Fixed #<I> - AutoComplete: selectedItemTemplate gets called for query | primefaces_primereact | train | js |
3712707f725a04b42a146802841e56dc93ef09ee | diff --git a/pysswords/__main__.py b/pysswords/__main__.py
index <HASH>..<HASH> 100644
--- a/pysswords/__main__.py
+++ b/pysswords/__main__.py
@@ -1,4 +1,4 @@
-from __future__ import print_function
+from __future__ import print_function, unicode_literals
import argparse
from getpass import getpass | Add unicode literals from future to support python2 | marcwebbie_passpie | train | py |
99f2077852273843eb59e1d4629e7f592ac3d832 | diff --git a/lib/jquery.go.js b/lib/jquery.go.js
index <HASH>..<HASH> 100644
--- a/lib/jquery.go.js
+++ b/lib/jquery.go.js
@@ -311,7 +311,7 @@ var jQuery = _.extend(function(selector, context) {
*/
config: {
addJQuery: true,
- jQuery: '//code.jquery.com/jquery-1.11.1.min.js',
+ jQuery: 'https://code.j... | use https for the jQuery path | travist_jquery.go.js | train | js |
9816755b578e7d1538822be7565031cc09382179 | diff --git a/cmd/juju/subnet/remove.go b/cmd/juju/subnet/remove.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/subnet/remove.go
+++ b/cmd/juju/subnet/remove.go
@@ -19,14 +19,20 @@ type RemoveCommand struct {
}
const removeCommandDoc = `
-Removes an existing and unused subnet from Juju. It does not delete
-the subnet... | Updated "subnet remove" doc | juju_juju | train | go |
0470bd79aaf4a57a3d5f8f236ecc4a5c5c5aac09 | diff --git a/scss/__init__.py b/scss/__init__.py
index <HASH>..<HASH> 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -1033,10 +1033,10 @@ class Scss(object):
log.warn(dequote(to_str(name)))
elif code == '@print':
name = self.calculate(name, rule[CONTEX... | @print and @raw output to the standard error | Kronuz_pyScss | train | py |
efdd48ca2b931e8aa1de50d504add9f6e17e571a | diff --git a/lib/sabisu_rails.rb b/lib/sabisu_rails.rb
index <HASH>..<HASH> 100644
--- a/lib/sabisu_rails.rb
+++ b/lib/sabisu_rails.rb
@@ -50,6 +50,10 @@ module SabisuRails
mattr_accessor :app_name
@@app_name = 'Sabisu'
+ # Sets the default format for requests to the api, :json, :xml
+ mattr_accessor :api_for... | Sets the default format for the api to be json, solves #<I> | kurenn_sabisu-rails | train | rb,rb |
3680ca82b707e3cfc093b8b86ba86ec911698206 | diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py
index <HASH>..<HASH> 100644
--- a/src/requirementslib/models/requirements.py
+++ b/src/requirementslib/models/requirements.py
@@ -920,10 +920,18 @@ class Requirement(object):
:return: A set of requirement strin... | get_dependencies only works for named ireq
So we need to do something else if this is a URL-based, or local requirement. | sarugaku_requirementslib | train | py |
4a752d74fa8f99176d5bb52cbcdf26bc07308948 | diff --git a/multiloader.go b/multiloader.go
index <HASH>..<HASH> 100644
--- a/multiloader.go
+++ b/multiloader.go
@@ -18,3 +18,10 @@ func (m multiLoader) Load(s interface{}) error {
return nil
}
+
+// MustLoad loads the source into the struct, it panics if gets any error
+func (m multiLoader) MustLoad(s interface... | Multiconfig: added MustLoad method | koding_multiconfig | train | go |
1b532cc448e975c65f246ccaa223011c983e37b0 | diff --git a/faststat/faststat.py b/faststat/faststat.py
index <HASH>..<HASH> 100644
--- a/faststat/faststat.py
+++ b/faststat/faststat.py
@@ -138,7 +138,7 @@ try:
# keep buckets for intervals in size from 100ns to ~14 hours
TIME_BUCKETS = sum(
- [(1*10**-x, 2*10**-x, 5*10**-x) for x in (7, 6, 5,... | corrected scale on time buckets to nanoseconds | kurtbrose_faststat | train | py |
85712134617e73ec16d59f316bc9e35abe81985c | diff --git a/lib/cargo_streamer.rb b/lib/cargo_streamer.rb
index <HASH>..<HASH> 100644
--- a/lib/cargo_streamer.rb
+++ b/lib/cargo_streamer.rb
@@ -1,6 +1,5 @@
require 'zlib'
require 'digest/md5'
-require 'set'
require 'exceptions'
@@ -104,27 +103,24 @@ module OfflineMirror
private
- def encod... | Removed the explicit circular loop detection code in cargo streamer; the depth maximum takes care of that anyways | DavidMikeSimon_offroad | train | rb |
997012af55dec2b52a602601457296e04f39dc8c | diff --git a/src/bsh/XThis.java b/src/bsh/XThis.java
index <HASH>..<HASH> 100644
--- a/src/bsh/XThis.java
+++ b/src/bsh/XThis.java
@@ -69,6 +69,10 @@ public class XThis extends This
return "'this' reference (XThis) to Bsh object: " + namespace;
}
+ private Object readResolve() throws ObjectStreamException {
+ t... | Prevent deserialization of XThis | beanshell_beanshell | train | java |
2cd2d2f0b8c8c9706976a08c5deefe781badf2ec | diff --git a/router.go b/router.go
index <HASH>..<HASH> 100644
--- a/router.go
+++ b/router.go
@@ -277,7 +277,7 @@ func (da *doubleArray) findBase(siblings []sibling, start int, usedBase map[int]
if len(da.bc) <= next {
da.extendBaseCheckArray()
}
- if len(da.bc) <= next || !da.bc[next].IsEmpty() {
+ i... | Remove unneeded condition for `if' | naoina_denco | train | go |
41a4fef95d0880fb5b09ef099dd8448756e10037 | diff --git a/src/vimpdb/proxy.py b/src/vimpdb/proxy.py
index <HASH>..<HASH> 100755
--- a/src/vimpdb/proxy.py
+++ b/src/vimpdb/proxy.py
@@ -17,10 +17,10 @@ def getPackagePath(instance):
class ProxyToVim(object):
def __init__(self):
- self.setupRemote()
self.comm_init()
def comm_init(self):... | setupRemote before call to PDB functions in Vim | gotcha_vimpdb | train | py |
2a5e55546d270e21a310c6303f18b4cac07b4516 | diff --git a/mambustruct.py b/mambustruct.py
index <HASH>..<HASH> 100644
--- a/mambustruct.py
+++ b/mambustruct.py
@@ -636,16 +636,14 @@ class MambuStruct(object):
Returns the number of requests done to Mambu.
"""
try:
- try:
- customFieldValue = [l['value'] for l in... | The anidated 'try' was changed by exception 'AttributeError' in mambustruct | jstitch_MambuPy | train | py |
7a9f9bf0835945c744f8973d8791d2e3fb3c8ad0 | diff --git a/rakelib/yard_builder.rb b/rakelib/yard_builder.rb
index <HASH>..<HASH> 100644
--- a/rakelib/yard_builder.rb
+++ b/rakelib/yard_builder.rb
@@ -237,10 +237,10 @@ class YardBuilder
Dir.chdir(gh_pages_repo_dir + "docs" + gem) do
Dir.glob(File.join("**","*.html")).each do |file_path|
... | Fix order of Trace docs fixes
These search and replace calls are here to remove the protobuf templating
directives that were missed before these protos were published.
Unfortunately, these directives look like valid YARD templating when
generating the HTML output, and look like valid Liquid templating for
the source c... | googleapis_google-cloud-ruby | train | rb |
c1faf0c6be9a7802f38d31f0d6fd8bd0fb9988b0 | diff --git a/stun/packet.go b/stun/packet.go
index <HASH>..<HASH> 100644
--- a/stun/packet.go
+++ b/stun/packet.go
@@ -17,6 +17,7 @@
package stun
import (
+ "bytes"
"crypto/rand"
"encoding/binary"
"encoding/hex"
@@ -159,18 +160,24 @@ func (v *packet) send(conn net.PacketConn, addr net.Addr) (net.Addr, *packet... | check trans id in send and resp | ccding_go-stun | train | go |
4555a9bded8dc118de1a892bb0267480e5bf61f6 | diff --git a/classes/Boom/Group/Group.php b/classes/Boom/Group/Group.php
index <HASH>..<HASH> 100644
--- a/classes/Boom/Group/Group.php
+++ b/classes/Boom/Group/Group.php
@@ -69,6 +69,13 @@ class Group
return $this;
}
+ public function delete()
+ {
+ $this->model->delete();
+
+ retur... | Added method Group\Group->delete() | boomcms_boom-core | train | php |
200202c1060ac0c43509e4a9a669a251bbc13390 | diff --git a/multiqc/utils/util_functions.py b/multiqc/utils/util_functions.py
index <HASH>..<HASH> 100644
--- a/multiqc/utils/util_functions.py
+++ b/multiqc/utils/util_functions.py
@@ -85,7 +85,12 @@ def write_data_file(data, fn, sort_cols=False, data_format=None):
if not data: # no items left for regul... | Need to check data format in the condition, too | ewels_MultiQC | train | py |
a74346f7a714be359d28d87471ebc360c801303e | diff --git a/ldapcherry/ppolicy/simple.py b/ldapcherry/ppolicy/simple.py
index <HASH>..<HASH> 100644
--- a/ldapcherry/ppolicy/simple.py
+++ b/ldapcherry/ppolicy/simple.py
@@ -19,14 +19,14 @@ class PPolicy(ldapcherry.ppolicy.PPolicy):
def check(self, password):
if len(password) < self.min_length:
- ... | very small improvements on ppolicy.simple | kakwa_ldapcherry | train | py |
06496403eeeb6f4a3e373debe05424432c29fcae | diff --git a/tests/unit/Codeception/Lib/Driver/MysqlTest.php b/tests/unit/Codeception/Lib/Driver/MysqlTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/Codeception/Lib/Driver/MysqlTest.php
+++ b/tests/unit/Codeception/Lib/Driver/MysqlTest.php
@@ -49,7 +49,7 @@ class MysqlTest extends \PHPUnit_Framework_TestCase
... | Fixed assertion in testCleanupDatabase | Codeception_base | train | php |
fee217f56f64c7e2ad8249830d82e56cd9ad806e | diff --git a/tests/Symfony/Tests/Component/Process/ProcessTest.php b/tests/Symfony/Tests/Component/Process/ProcessTest.php
index <HASH>..<HASH> 100644
--- a/tests/Symfony/Tests/Component/Process/ProcessTest.php
+++ b/tests/Symfony/Tests/Component/Process/ProcessTest.php
@@ -55,8 +55,8 @@ class ProcessTest extends \PHPU... | Update tests/Symfony/Tests/Component/Process/ProcessTest.php | symfony_symfony | train | php |
75bccc353d454725ff72eef7d20cb7c2df20cdd6 | diff --git a/lib/hash/hash_path_proc.rb b/lib/hash/hash_path_proc.rb
index <HASH>..<HASH> 100644
--- a/lib/hash/hash_path_proc.rb
+++ b/lib/hash/hash_path_proc.rb
@@ -1,9 +1,11 @@
require 'time'
class Hash
- def hash_path_proc action, paths, *args, **params
+ def path_proc action, paths, *args, **params
BBLi... | Changed name of method to path_proc and added alias. | bblack16_bblib-ruby | train | rb |
516e077c5d15a4bf8216c1fb76d7b57ad7546fd0 | diff --git a/sovrin_client/test/agent/faber.py b/sovrin_client/test/agent/faber.py
index <HASH>..<HASH> 100644
--- a/sovrin_client/test/agent/faber.py
+++ b/sovrin_client/test/agent/faber.py
@@ -1,18 +1,13 @@
from plenum.common.log import getlogger
from anoncreds.protocol.types import AttribType, AttribDef, SchemaK... | removed unwanted imports causing unnecessary dependencing to run agents | hyperledger-archives_indy-client | train | py |
e9a04489c039e197d119d55f925bff17c26f24a3 | diff --git a/programs/polemap_magic.py b/programs/polemap_magic.py
index <HASH>..<HASH> 100755
--- a/programs/polemap_magic.py
+++ b/programs/polemap_magic.py
@@ -220,6 +220,8 @@ def main():
files = {}
for key in list(FIG.keys()):
+ if len(locations) > 50:
+ locations = locations[:50]
... | prevent heinously long names in polemap_magic | PmagPy_PmagPy | train | py |
12681d1101eb24a288e81c3aa64f98d7422c9b6a | diff --git a/packages/ra-ui-materialui/src/button/BulkDeleteWithConfirmButton.js b/packages/ra-ui-materialui/src/button/BulkDeleteWithConfirmButton.js
index <HASH>..<HASH> 100644
--- a/packages/ra-ui-materialui/src/button/BulkDeleteWithConfirmButton.js
+++ b/packages/ra-ui-materialui/src/button/BulkDeleteWithConfirmBut... | Fic missing fade in BulkDeleteWithConfirmButton | marmelab_react-admin | train | js |
7f29afdda0fa03b227e0bd4d7c8aabd0be63f3b0 | diff --git a/lib/adapter/http.js b/lib/adapter/http.js
index <HASH>..<HASH> 100644
--- a/lib/adapter/http.js
+++ b/lib/adapter/http.js
@@ -50,6 +50,14 @@ function createRequestResponseHandler(params) {
return;
}
var connection = connectionPool.get();
+ if (!connection) {
+ // When the... | Don't create new connection while updating | droonga_express-droonga | train | js |
d510061b7bfc56e9b0bf75ceef6396e1bbca860f | diff --git a/librosa/onset.py b/librosa/onset.py
index <HASH>..<HASH> 100644
--- a/librosa/onset.py
+++ b/librosa/onset.py
@@ -421,7 +421,8 @@ def onset_strength_multi(y=None, sr=22050, S=None, lag=1, max_size=3,
axis=0)
# compensate for lag
- onset_env = np.pad(onset_env, (lag, 0),... | trying center-padding with lag | librosa_librosa | train | py |
68411daa179accd40d08d48d5f9ceb116f4ec9f2 | diff --git a/src/main/com/mongodb/ReplicaSetStatus.java b/src/main/com/mongodb/ReplicaSetStatus.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/ReplicaSetStatus.java
+++ b/src/main/com/mongodb/ReplicaSetStatus.java
@@ -63,6 +63,12 @@ public class ReplicaSetStatus {
sb.append("{replSetName: ").appen... | Added static field value to ReplicaSetStatus.toString() | mongodb_mongo-java-driver | train | java |
42bb8d552d464236d3cfef2eb0086bc0d0a9e2e7 | diff --git a/lib/Less/Node/Rule.php b/lib/Less/Node/Rule.php
index <HASH>..<HASH> 100755
--- a/lib/Less/Node/Rule.php
+++ b/lib/Less/Node/Rule.php
@@ -9,6 +9,7 @@ class Rule
public $important;
public $index;
public $inline;
+ public $variable;
public function __construct($name, $value, $important = null, $... | do not pollute the parent scope after mixin call if variable is defined | oyejorge_less.php | train | php,php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.