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 |
|---|---|---|---|---|---|
e9668df43b1ecc6356216f428bb2330cc54514dd | diff --git a/test/Message.js b/test/Message.js
index <HASH>..<HASH> 100644
--- a/test/Message.js
+++ b/test/Message.js
@@ -335,7 +335,7 @@ describe('Message', function () {
' in\r\n\r\nchunks.\r\n' +
'0\r\n' +
'\r\n'
- ).unchunkedBody, 'to equal', 'Wikipedia... | Added missing semicolon in test. | papandreou_messy | train | js |
81e1e1c05d622dd2e019066fbde9d4a86b1cb652 | diff --git a/lib/string.go b/lib/string.go
index <HASH>..<HASH> 100644
--- a/lib/string.go
+++ b/lib/string.go
@@ -1,9 +1,5 @@
package lib
-import (
- "strings"
-)
-
// StrContains checks if a list contains a string
func StrContains(l []string, s string) bool {
for _, v := range l { | Cull unused function and its unit test.
Pointed out by: @slackpad | hashicorp_consul | train | go |
dd046a99571ea1ad6e7421aa8c9ab8109a4b6352 | diff --git a/openfisca_france_indirect_taxation/build_survey_data/step_0_3_homogeneisation_caracteristiques_menages.py b/openfisca_france_indirect_taxation/build_survey_data/step_0_3_homogeneisation_caracteristiques_menages.py
index <HASH>..<HASH> 100644
--- a/openfisca_france_indirect_taxation/build_survey_data/step_0... | Add role_menage = 0 that used to be added in step_<I> | openfisca_openfisca-france-indirect-taxation | train | py |
d785d9948727bec92bfb310f64331d7fc47e76c4 | diff --git a/src/widgets/WidgetBase.php b/src/widgets/WidgetBase.php
index <HASH>..<HASH> 100755
--- a/src/widgets/WidgetBase.php
+++ b/src/widgets/WidgetBase.php
@@ -121,6 +121,7 @@ abstract class WidgetBase extends \WP_Widget
*/
public function widget($args, $instance)
{
+ $instance['active'] =... | Add instance[active] always to widget.frontend view | Chemaclass_knob-base | train | php |
35a5895e3bc4c973eca8331b3cc280d6ca2a051f | diff --git a/gh-pages.js b/gh-pages.js
index <HASH>..<HASH> 100755
--- a/gh-pages.js
+++ b/gh-pages.js
@@ -12,6 +12,7 @@ const webpack = require('webpack')
const WebpackDevServer = require('webpack-dev-server')
const createServer = config => new Promise((resolve, reject) => {
+ config.devtool = 'none'
const com... | disable sourcemaps in gh-pages | heiseonline_embetty | train | js |
bdd0484f10062f87dc3b6d5af0a992d8be3356bb | diff --git a/blockstack/lib/atlas.py b/blockstack/lib/atlas.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/atlas.py
+++ b/blockstack/lib/atlas.py
@@ -40,6 +40,7 @@ import hashlib
import errno
import socket
import gc
+import subprocess
import blockstack_zones
import virtualchain
@@ -3582,9 +3583,13 @@ class ... | if the zonefile has already hit our cache, we can mark it as present in the atlas db vector | blockstack_blockstack-core | train | py |
fb42c2f4d301bd92c0ae6ee18c907f777ea4b190 | diff --git a/lib/Doctrine/ODM/PHPCR/UnitOfWork.php b/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
+++ b/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
@@ -1763,7 +1763,7 @@ class UnitOfWork
$this->cascadeMergeCollection($managedCol, $mapping);... | fix 2 typos in the same word | doctrine_phpcr-odm | train | php |
ba2f40daa38996dd7fb4af5f2f872a27656b88af | diff --git a/packages/net/csp/transports.js b/packages/net/csp/transports.js
index <HASH>..<HASH> 100644
--- a/packages/net/csp/transports.js
+++ b/packages/net/csp/transports.js
@@ -29,7 +29,8 @@ function canUseXHR(url) {
// if the URL requested is a different domain than the window,
// then we need to check for c... | fix for WebKit Bug <I> where (new XMLHttpRequest()) instanceof XMLHttpRequest fails!
also, reset the xhr.ontimeout callback, which was getting set in _makeRequest | gameclosure_js.io | train | js |
427f3e8879a63319aba31e7ec936c3165a68c6bc | diff --git a/dipper/sources/OMIM.py b/dipper/sources/OMIM.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/OMIM.py
+++ b/dipper/sources/OMIM.py
@@ -67,7 +67,7 @@ class OMIM(OMIMSource):
},
'phenotypicSeries': {
'file': 'phenotypic_series_title_all.txt',
- 'url': 'https://omi... | append 's' to phenotypicSeriesTitles | monarch-initiative_dipper | train | py |
108c2c57ead7c9ad470c218ab6a80c610fbae77d | diff --git a/pyneuroml/pynml.py b/pyneuroml/pynml.py
index <HASH>..<HASH> 100644
--- a/pyneuroml/pynml.py
+++ b/pyneuroml/pynml.py
@@ -1036,6 +1036,9 @@ def run_jneuroml(pre_args,
sys.exit(-1)
else:
return False
+
+ print_comment('Successfully ran the fo... | Report success of running pynml | NeuroML_pyNeuroML | train | py |
ce6d984aca1fa29f3be5fc169c7dba9182ba3202 | diff --git a/lib/components/map/elevation-point-marker.js b/lib/components/map/elevation-point-marker.js
index <HASH>..<HASH> 100644
--- a/lib/components/map/elevation-point-marker.js
+++ b/lib/components/map/elevation-point-marker.js
@@ -1,14 +1,9 @@
import coreUtils from '@opentripplanner/core-utils'
import React, ... | refactor(map): remove unneeded methods and import spacing | opentripplanner_otp-react-redux | train | js |
750d2b87f613cc498b6a0a650b679d1c9b6062bb | diff --git a/exit_wrapper.py b/exit_wrapper.py
index <HASH>..<HASH> 100644
--- a/exit_wrapper.py
+++ b/exit_wrapper.py
@@ -87,8 +87,11 @@ class BBLStack(object):
self._stack_dict[addr] = []
def ret(self, addr):
- # Return from a function. Remove the corresponding stack
- del self._stack_di... | A bug fixing to make loop detection more robust. | angr_angr | train | py |
e738a85e89931490d7cf277727a1b57ed400341a | diff --git a/core/src/main/java/me/prettyprint/cassandra/connection/HConnectionManager.java b/core/src/main/java/me/prettyprint/cassandra/connection/HConnectionManager.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/me/prettyprint/cassandra/connection/HConnectionManager.java
+++ b/core/src/main/java/me/pretty... | added limit on how long client pool can be exhausted | hector-client_hector | train | java |
c9b9920792841153ad441c37a0378a8bed24c71d | diff --git a/src/GovTribe/LaravelKinvey/Client/Plugins/KinveyEntityPathRewritePlugin.php b/src/GovTribe/LaravelKinvey/Client/Plugins/KinveyEntityPathRewritePlugin.php
index <HASH>..<HASH> 100644
--- a/src/GovTribe/LaravelKinvey/Client/Plugins/KinveyEntityPathRewritePlugin.php
+++ b/src/GovTribe/LaravelKinvey/Client/Plu... | When accessing files, send the correct Kinvey API version. | GovTribe_laravel-kinvey | train | php |
94aa112213b0f80acceaabce51fae9a9a1e95f3d | diff --git a/clicktests/environment.js b/clicktests/environment.js
index <HASH>..<HASH> 100644
--- a/clicktests/environment.js
+++ b/clicktests/environment.js
@@ -32,6 +32,8 @@ Environment.prototype.init = function(callback) {
}
Environment.prototype.shutdown = function(callback) {
var self = this;
+ this.page.on... | Expand scope of removing message listeners during shutdown | FredrikNoren_ungit | train | js |
d683287442707b6580f6123a48031405aa9895d2 | diff --git a/python_experiments/condor.py b/python_experiments/condor.py
index <HASH>..<HASH> 100644
--- a/python_experiments/condor.py
+++ b/python_experiments/condor.py
@@ -23,6 +23,14 @@ License along with this package; if not, see
http://www.gnu.org/licenses/lgpl-2.1.html
"""
+"""
+This package might do a few o... | Added a few notes on condor package usage | probcomp_crosscat | train | py |
b91e4ded560a96a815248f116c893e10414296af | diff --git a/src/service/translate.js b/src/service/translate.js
index <HASH>..<HASH> 100644
--- a/src/service/translate.js
+++ b/src/service/translate.js
@@ -1526,6 +1526,11 @@ angular.module('pascalprecht.translate').provider('$translate', ['$STORAGE_KEY',
*/
$translate.instant = function (translationI... | fix($translate): checks modification | angular-translate_angular-translate | train | js |
ae5d0585c5df95c98517c1fb5351b8b2815c8b8c | diff --git a/pychord/constants/scales.py b/pychord/constants/scales.py
index <HASH>..<HASH> 100644
--- a/pychord/constants/scales.py
+++ b/pychord/constants/scales.py
@@ -67,12 +67,14 @@ SCALE_VAL_DICT = {
'G#': SHARPED_SCALE,
}
+# https://en.wikipedia.org/wiki/Mode_(music)#Modern_modes
+# Ionian -> maj, Aeolia... | Add comment
Add comment to RELATIVE_KEY_DICT and sort by note. | yuma-m_pychord | train | py |
dd7159060f60ea04007c069df189a29fda2c655f | diff --git a/cmd/docker/daemon_none.go b/cmd/docker/daemon_none.go
index <HASH>..<HASH> 100644
--- a/cmd/docker/daemon_none.go
+++ b/cmd/docker/daemon_none.go
@@ -12,8 +12,10 @@ import (
func newDaemonCommand() *cobra.Command {
return &cobra.Command{
- Use: "daemon",
- Hidden: true,
+ Use: "da... | cmd: docker: fix TestDaemonCommand
In more recent versions of Cobra, `--help` parsing is done before
anything else resulting in TestDaemonCommand not actually passing. I'm
actually unsure if this test ever passed since it appears that !daemon
is not being run as part of the test suite. | moby_moby | train | go,go |
274ef3a36101ab52ccea9762087655a1f98caf4e | diff --git a/src/main/java/com/graphhopper/util/DouglasPeucker.java b/src/main/java/com/graphhopper/util/DouglasPeucker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/graphhopper/util/DouglasPeucker.java
+++ b/src/main/java/com/graphhopper/util/DouglasPeucker.java
@@ -27,8 +27,8 @@ public class DouglasPeucker... | bug when deployed so reploy again with segmenting | graphhopper_graphhopper | train | java |
612449b8cc75106475fd670cc17a18fff7006b06 | diff --git a/src/navbar/navbar.js b/src/navbar/navbar.js
index <HASH>..<HASH> 100644
--- a/src/navbar/navbar.js
+++ b/src/navbar/navbar.js
@@ -9,7 +9,7 @@ import { AttributeManager } from '../common/attributeManager';
export class MdNavbar {
@bindable({
defaultBindingMode: bindingMode.oneTime
- }) fixed;
+ }... | refactor(navbar): rename fixed attribute to md-fixed | aurelia-ui-toolkits_aurelia-materialize-bridge | train | js |
1265ee44fc3146ffc67e52872ea5dc2526e566c7 | diff --git a/src/robinhood.js b/src/robinhood.js
index <HASH>..<HASH> 100644
--- a/src/robinhood.js
+++ b/src/robinhood.js
@@ -2,7 +2,6 @@
* Robinhood API NodeJS Wrapper
* @author Alejandro U. Alvarez
* @license AGPLv3 - See LICENSE file for more details
- * @version 0.0.1
*/
'use strict'; | Update robinhood.js | aurbano_robinhood-node | train | js |
d834009f255bc8b43b3e3d41605c1a9532fb3128 | diff --git a/yap/Platform/Platform.py b/yap/Platform/Platform.py
index <HASH>..<HASH> 100644
--- a/yap/Platform/Platform.py
+++ b/yap/Platform/Platform.py
@@ -75,11 +75,21 @@ class Platform:
# add_header_search_paths
def add_header_search_paths(self, *paths):
- [self._headerSearchPaths.append(path) for path in p... | Added warning message when trying to add invalid search path | dmsovetov_pygling | train | py |
e31c3ab85b2e6eef36b188a19b71160fdae3c84b | diff --git a/core/Session.php b/core/Session.php
index <HASH>..<HASH> 100644
--- a/core/Session.php
+++ b/core/Session.php
@@ -19,6 +19,12 @@ class Piwik_Session extends Zend_Session
{
public static function start($options = false)
{
+ // use cookies to store session id on the client side
+ @ini_set('session.... | In a default PHP configuration, these are both true/enabled. We now set these explicitly in case the user's configuration deviates from the required values. This also solves an installation issue where some users can't advance to step 2.
git-svn-id: <URL> | matomo-org_matomo | train | php |
3701f2db407be418657b7075ecae8045caeb59a4 | diff --git a/src/js/core/range.js b/src/js/core/range.js
index <HASH>..<HASH> 100644
--- a/src/js/core/range.js
+++ b/src/js/core/range.js
@@ -618,7 +618,7 @@ define([
if (dom.isBR(ec)) {
eo = dom.listPrev(ec).length - 1;
ec = ec.parentNode;
- } else if (dom.isVoid(ec) || dom.isImg... | [IMP] summernote: dom.isImg is unnecessary, because isVoid function contains that. | summernote_summernote | train | js |
1b5b64593f1ae9e8773f95f182ae3a518e938beb | diff --git a/Classes/PluginBase/PluginBase.php b/Classes/PluginBase/PluginBase.php
index <HASH>..<HASH> 100644
--- a/Classes/PluginBase/PluginBase.php
+++ b/Classes/PluginBase/PluginBase.php
@@ -161,7 +161,7 @@ abstract class Tx_Solr_PluginBase_PluginBase extends tslib_pibase {
protected function initialize($configur... | [BUGFIX] PluginBase: Allow overwriting parts of configuration
Base-configuration comes from TypoScript. Allow to explicitly
provide only those values you want to override and keep the
rest unchanged.
Change-Id: Ie2efb9f<I>e<I>de<I>e<I>d<I>b7f8f7da<I>e
Resolves: #<I>
Releases: <I>, <I>
Reviewed-on: <URL> | TYPO3-Solr_ext-solr | train | php |
a6003f564e4bac1596fc911a2a91fb2bb7f7648e | diff --git a/chef/spec/unit/mixin/command_spec.rb b/chef/spec/unit/mixin/command_spec.rb
index <HASH>..<HASH> 100644
--- a/chef/spec/unit/mixin/command_spec.rb
+++ b/chef/spec/unit/mixin/command_spec.rb
@@ -23,7 +23,6 @@ describe Chef::Mixin::Command, "popen4" do
include Chef::Mixin::Command
it "should be pos... | re-enable test, could not make it more reliable though | chef_chef | train | rb |
81709389599f409955c1bb7659ed83a8f883ce01 | diff --git a/pyout/tests/test_tabular.py b/pyout/tests/test_tabular.py
index <HASH>..<HASH> 100644
--- a/pyout/tests/test_tabular.py
+++ b/pyout/tests/test_tabular.py
@@ -47,12 +47,13 @@ class Tabular(TheRealTabular):
"""
def __init__(self, *args, **kwargs):
- interactive = kwargs.pop("interactive", ... | tests: Modify only the stream parameter in Tabular class
Instead of setting both stream and interactive, just make the StringIO
stream report True for isatty(). This has a minor benefit of most the
tests going down a more realistic code path because callers won't
usually be specifying interactive. | pyout_pyout | train | py |
9d323ce2a4b0c7542807728650cc6bbee120d4c7 | diff --git a/entity-store/src/main/java/jetbrains/exodus/entitystore/ReadonlyPersistentStoreTransaction.java b/entity-store/src/main/java/jetbrains/exodus/entitystore/ReadonlyPersistentStoreTransaction.java
index <HASH>..<HASH> 100644
--- a/entity-store/src/main/java/jetbrains/exodus/entitystore/ReadonlyPersistentStore... | Revert: Allow upgrade of transaction from readonly to exclusive | JetBrains_xodus | train | java |
448c3e57379b3902f43dc7602939936e7c88b0d8 | diff --git a/lib/auto_network/action/load_pool.rb b/lib/auto_network/action/load_pool.rb
index <HASH>..<HASH> 100644
--- a/lib/auto_network/action/load_pool.rb
+++ b/lib/auto_network/action/load_pool.rb
@@ -25,7 +25,9 @@ class AutoNetwork::Action::LoadPool
if @statefile.exist?
pool = YAML.load(@statefile.re... | Notify when creating a new pool | oscar-stack_vagrant-auto_network | train | rb |
654456f05ba8d909d24a0f118d507943c9d4351c | diff --git a/spyder/plugins/pylint/tests/test_pylint_config_dialog.py b/spyder/plugins/pylint/tests/test_pylint_config_dialog.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/pylint/tests/test_pylint_config_dialog.py
+++ b/spyder/plugins/pylint/tests/test_pylint_config_dialog.py
@@ -10,9 +10,17 @@ from unittest.mock... | Apply patch from ccordoba<I>:issue-<I> to test_pylint_config_dialog.py as well | spyder-ide_spyder | train | py |
3016e84367b1e9aa362d9f74590a494d9212216b | diff --git a/lynx/src/main/java/com/github/pedrovgs/lynx/LynxActivity.java b/lynx/src/main/java/com/github/pedrovgs/lynx/LynxActivity.java
index <HASH>..<HASH> 100644
--- a/lynx/src/main/java/com/github/pedrovgs/lynx/LynxActivity.java
+++ b/lynx/src/main/java/com/github/pedrovgs/lynx/LynxActivity.java
@@ -43,6 +43,12 @... | Enable and disable LynxShakeDetector from LynxActivity to avoid open LynxActivity more than once. | pedrovgs_Lynx | train | java |
ecaaff7e73fcdf7b6039b972018b7d561b66fe06 | diff --git a/includes/constants.php b/includes/constants.php
index <HASH>..<HASH> 100755
--- a/includes/constants.php
+++ b/includes/constants.php
@@ -30,7 +30,7 @@
*
*/
#TAO version number
-define('TAO_VERSION', '3.1.0-sprint26');
+define('TAO_VERSION', '3.1.0-sprint27');
$version = TAO_VERSION; | update constant to sp <I> | oat-sa_tao-core | train | php |
a1c39d9411f21fd0194ff2df76701aac675596a4 | diff --git a/src/js/viewmodels/viewer-app.js b/src/js/viewmodels/viewer-app.js
index <HASH>..<HASH> 100644
--- a/src/js/viewmodels/viewer-app.js
+++ b/src/js/viewmodels/viewer-app.js
@@ -102,10 +102,9 @@ function ViewerApp() {
this.handleKey = (data, event) => {
const key = keyUtil.identifyKeyFromEvent(ev... | Fix URL input Enter key problem when IME is ON | vivliostyle_vivliostyle.js | train | js |
803ff2f8da1125d23f60f8ee9200797c5226fc4d | diff --git a/lambdas/shared/tests/test_preview.py b/lambdas/shared/tests/test_preview.py
index <HASH>..<HASH> 100644
--- a/lambdas/shared/tests/test_preview.py
+++ b/lambdas/shared/tests/test_preview.py
@@ -34,7 +34,6 @@ def iterate_chunks(file_obj, chunk_size=4096):
class TestPreview(TestCase):
"""Tests the pr... | Remove magic comment from test (#<I>) | quiltdata_quilt | train | py |
008e022c789cfada3916f525c56336818479bf84 | diff --git a/CrashReport/src/org/acra/ErrorReporter.java b/CrashReport/src/org/acra/ErrorReporter.java
index <HASH>..<HASH> 100644
--- a/CrashReport/src/org/acra/ErrorReporter.java
+++ b/CrashReport/src/org/acra/ErrorReporter.java
@@ -1146,4 +1146,13 @@ public class ErrorReporter implements Thread.UncaughtExceptionHand... | Addition of a new setReportSender() that sets a given ReportSender as the new single active sender | ACRA_acra | train | java |
915e0322809ea979a6709e43bd8f46dba48894d9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ kwargs = {'name': 'Glymur',
'glymur.lib.test'],
'package_data': {'glymur': ['data/*.jp2', 'data/*.j2k']},
'scripts': ['bin/jp2dump'],
- 'license': 'LICENSE.... | Changed license line to 'MIT'.
The license itself didn't change, just the way that it is listed in the
trove classifier. | quintusdias_glymur | train | py |
6cd20d3c2c618dedd7e6fe07e702ec4a0ede5e7d | diff --git a/lib/twitter-bootstrap-helpers/view_helpers.rb b/lib/twitter-bootstrap-helpers/view_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter-bootstrap-helpers/view_helpers.rb
+++ b/lib/twitter-bootstrap-helpers/view_helpers.rb
@@ -1,7 +1,7 @@
module TwitterBootstrapHelpers
module ViewHelpers
- def ic... | Allowing you to pass in a string to icon_for. | bradly_twitter-bootstrap-helpers | train | rb |
8687c0cc66290fda8842f6b39f9aca32e29ca2fc | diff --git a/app/src/components/CalibrateTipLength/AskForCalibrationBlockModal.js b/app/src/components/CalibrateTipLength/AskForCalibrationBlockModal.js
index <HASH>..<HASH> 100644
--- a/app/src/components/CalibrateTipLength/AskForCalibrationBlockModal.js
+++ b/app/src/components/CalibrateTipLength/AskForCalibrationBlo... | refactor(app): tip length cal: link to block request (#<I>)
We have a typeform to request a calibration block; link to it in the
block modal instead of the support site.
Closes #<I> | Opentrons_opentrons | train | js |
4777eae2ca6a615b48ffaf4a9494242b30407cad | diff --git a/lib/pod/command/plugins/installed.rb b/lib/pod/command/plugins/installed.rb
index <HASH>..<HASH> 100644
--- a/lib/pod/command/plugins/installed.rb
+++ b/lib/pod/command/plugins/installed.rb
@@ -68,7 +68,7 @@ module Pod
end
end
- # List of registered hook for the given plugin (i... | Fix yard doc for private method in [installed] | CocoaPods_cocoapods-plugins | train | rb |
c1f68c3f4aed02c3943a903ca513528b9ce30bde | diff --git a/markovify/text.py b/markovify/text.py
index <HASH>..<HASH> 100644
--- a/markovify/text.py
+++ b/markovify/text.py
@@ -14,6 +14,8 @@ class ParamError(Exception):
class Text(object):
+ reject_pat = re.compile(r"(^')|('$)|\s'|'\s|[\"(\(\)\[\])]")
+
def __init__(self, input_text, state_size=2, cha... | move reject pattern out of func to allow for modification | jsvine_markovify | train | py |
da3ee58356690c80ffe0bf90df691b81bb0d6017 | diff --git a/SimpleTest.php b/SimpleTest.php
index <HASH>..<HASH> 100644
--- a/SimpleTest.php
+++ b/SimpleTest.php
@@ -127,9 +127,14 @@ class SimpleTest extends \PHPUnit_Framework_TestCase
}
public function testDifferentIvGeneratedOnEachRun() {
- $iv = $this->_instance->generateIv();
- $second... | Better test for ensuring IV generation is different
Runs <I> iterations instead of 2 and ensures all outcomes are unique | archwisp_PHPEncryptData | train | php |
3299750024e289464284bc9943c74e85229189e9 | diff --git a/src/Vivait/BootstrapBundle/Form/Type/DeletableType.php b/src/Vivait/BootstrapBundle/Form/Type/DeletableType.php
index <HASH>..<HASH> 100644
--- a/src/Vivait/BootstrapBundle/Form/Type/DeletableType.php
+++ b/src/Vivait/BootstrapBundle/Form/Type/DeletableType.php
@@ -6,6 +6,7 @@ use Symfony\Component\Form\Ab... | [BRA-<I>] Fix form type being used by alias | vivait_BootstrapBundle | train | php |
3ca60cdf2ef774d37830aeb226283ef5f38cbde6 | diff --git a/tests/DependencyCompilerTest.php b/tests/DependencyCompilerTest.php
index <HASH>..<HASH> 100644
--- a/tests/DependencyCompilerTest.php
+++ b/tests/DependencyCompilerTest.php
@@ -19,7 +19,7 @@ class DependencyCompilerTest extends TestCase
*/
private $dependency;
- protected function setUp()
... | Update DependencyCompilerTest.php | ray-di_Ray.Compiler | train | php |
382f51d257112027d147f583d14d6880618fd3da | diff --git a/mode/mscgen/mscgen.js b/mode/mscgen/mscgen.js
index <HASH>..<HASH> 100644
--- a/mode/mscgen/mscgen.js
+++ b/mode/mscgen/mscgen.js
@@ -69,11 +69,11 @@
CodeMirror.defineMIME("text/x-msgenny", {name: "mscgen", language: "msgenny"});
function wordRegexpBoundary(pWords) {
- return new RegExp("\\b((" ... | [mscgen mode] simplifies the regexps to recognize keywords
for our purposes (=>|<=|...) works just as well as ((<=)|(=>)|...) | codemirror_CodeMirror | train | js |
90fda24ca4f7dc4efc75c2ac9d068280ed8ef634 | diff --git a/test/HistogramPanel_test.py b/test/HistogramPanel_test.py
index <HASH>..<HASH> 100644
--- a/test/HistogramPanel_test.py
+++ b/test/HistogramPanel_test.py
@@ -33,8 +33,6 @@ class TestHistogramPanelClass(unittest.TestCase):
data_ref.data # trigger data loading
# create the histogram ca... | Always needs repaint when creating RootCanvasItem. Remove unused 'begin_repaint' too.
svn r<I> | nion-software_nionswift | train | py |
ae12254a5a3aef8fa6deab65666c0589b04472b0 | diff --git a/example.php b/example.php
index <HASH>..<HASH> 100644
--- a/example.php
+++ b/example.php
@@ -51,5 +51,6 @@ echo $greek->title()->n();
echo $greek->length()->s()->n();
echo $greek->sub(4)->n();
-$a = new A(array('un', 'deux', 'trois'));
+$a = new A(array('un', 'deux', 'trois', 'quatre'));
var_dump(cou... | LastButOnemethod implemented into A class.
Lttle example added too.
See #2 | malenkiki_bah | train | php,php |
428b8d586c7823aa5ea1b8ef6d068b1560139cc4 | diff --git a/glances/__init__.py b/glances/__init__.py
index <HASH>..<HASH> 100644
--- a/glances/__init__.py
+++ b/glances/__init__.py
@@ -29,7 +29,7 @@ import sys
# Global name
# Version should start and end with a numerical char
# See https://packaging.python.org/specifications/core-metadata/#version
-__version__ ... | On the road to Glances <I> | nicolargo_glances | train | py |
bcd0e525d55d26feb55b453a695462ace56b99af | diff --git a/lib/mongo_mapper/plugins/associations/collection.rb b/lib/mongo_mapper/plugins/associations/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo_mapper/plugins/associations/collection.rb
+++ b/lib/mongo_mapper/plugins/associations/collection.rb
@@ -12,6 +12,11 @@ module MongoMapper
end
... | Ensure that include? works on many doc associations. | mongomapper_mongomapper | train | rb,rb |
6c76c640b4ed5803c1fe54842870e93c4d263b25 | diff --git a/lib/fezzik.rb b/lib/fezzik.rb
index <HASH>..<HASH> 100644
--- a/lib/fezzik.rb
+++ b/lib/fezzik.rb
@@ -1,4 +1,14 @@
require "stringio"
+require "thread"
+
+# Synchronize 'puts' because it's annoying to have interleaved output when rake remote task is running
+# several things at once in multiple threads (f... | Make 'puts' threadsafe inside fez tasks.
Fixes #<I>. | dmac_fezzik | train | rb |
6bb8ec1b4738608f19057f5c9fb626029a11d5a8 | diff --git a/wdb/__init__.py b/wdb/__init__.py
index <HASH>..<HASH> 100644
--- a/wdb/__init__.py
+++ b/wdb/__init__.py
@@ -31,7 +31,11 @@ from sys import exc_info
from websocket import WebSocket, WsError
from mimetypes import guess_type
from hashlib import sha512
-from urlparse import parse_qs
+try:
+ from urlpar... | Support old python without parse_qs method | Kozea_wdb | train | py |
a1f275c3fe7386354f61a095e92f8086f650d477 | diff --git a/lib/dnsimple/domain.rb b/lib/dnsimple/domain.rb
index <HASH>..<HASH> 100644
--- a/lib/dnsimple/domain.rb
+++ b/lib/dnsimple/domain.rb
@@ -169,6 +169,7 @@ module Dnsimple
#
# WARNING: this cannot be undone.
#
+ # @see .delete
def delete
self.class.delete(name)
end | Reference class-level method from the instance method | dnsimple_dnsimple-ruby | train | rb |
1497a1f030b1d1f0ba6797370ee69cd12c99c9ad | diff --git a/chalice/awsclient.py b/chalice/awsclient.py
index <HASH>..<HASH> 100644
--- a/chalice/awsclient.py
+++ b/chalice/awsclient.py
@@ -23,7 +23,7 @@ from typing import Any, Optional, Dict, Callable # noqa
class TypedAWSClient(object):
- LAMBDA_CREATE_ATTEMPTS = 5
+ LAMBDA_CREATE_ATTEMPTS = 10
D... | Give up to <I> seconds of retry for creating lambda function
This accounts for the propagation time when first creating a role. | aws_chalice | train | py,py |
ede7dbdf56bd194d2af46ed35d0ff9667a85faca | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -353,6 +353,7 @@ describe('Raw Body', function () {
length: req.headers['content-length']
}, function (err, body) {
if (err) {
+ req.resume()
res.statu... | tests: fix test to properly resume request | stream-utils_raw-body | train | js |
0ca0089f79978074369f6871e6923feff535a4b7 | diff --git a/tasks/bower-concat.js b/tasks/bower-concat.js
index <HASH>..<HASH> 100644
--- a/tasks/bower-concat.js
+++ b/tasks/bower-concat.js
@@ -194,7 +194,7 @@ module.exports = function(grunt) {
// Main file explicitly defined in bower_concat options
if (mains[name]) {
- var componentDir = meta && meta.... | Temporary workaround for mainFile option not working if mainfile is actually present | sapegin_grunt-bower-concat | train | js |
6049e9ac65356b77bce4b6b7ad0c3430c06407ed | diff --git a/core/src/main/java/org/acegisecurity/providers/AbstractAuthenticationToken.java b/core/src/main/java/org/acegisecurity/providers/AbstractAuthenticationToken.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/acegisecurity/providers/AbstractAuthenticationToken.java
+++ b/core/src/main/java/org/ac... | Removed string concatenation from buffer.append methods | spring-projects_spring-security | train | java |
0515f0d0d17ea986decb6e7913e866bb9efafc60 | diff --git a/tests/scripts/fastserializer.py b/tests/scripts/fastserializer.py
index <HASH>..<HASH> 100755
--- a/tests/scripts/fastserializer.py
+++ b/tests/scripts/fastserializer.py
@@ -164,12 +164,10 @@ class FastSerializer:
if username:
# utf8 encode supplied username
- encoded_val... | Updates authentication method to use the new length prefix in Python fast
serializer. | VoltDB_voltdb | train | py |
0d274ae6accd6767ad8c972a5101fb8cba8fe58f | diff --git a/ospec/ospec.js b/ospec/ospec.js
index <HASH>..<HASH> 100644
--- a/ospec/ospec.js
+++ b/ospec/ospec.js
@@ -187,7 +187,10 @@ module.exports = new function init() {
function report() {
for (var i = 0, r; r = results[i]; i++) {
- if (!r.pass) console.error(r.context + ": " + highlight(r.message) + "\n... | ospec: don't show null stack trace on timeout | MithrilJS_mithril.js | train | js |
5a04f38395ae36b1fd8140cc7af3df91107351e6 | diff --git a/src/Resource/Transfers.php b/src/Resource/Transfers.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Transfers.php
+++ b/src/Resource/Transfers.php
@@ -51,7 +51,7 @@ class Transfers extends MoipResource
}
/**
- * Initializes new transferInstrument instance if it doesn't exist
+ * Init... | style(Transfers): Fix StyleCI in intializeTransferInstrument comment | wirecardBrasil_moip-sdk-php | train | php |
67e52df70c50ed53ad315a64fea430a9567e2b1b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ extension = marquise.marquise.FFI.verifier.get_extension()
setup(
name="marquise",
- version="0.2.2",
+ version="0.3.0",
description="Python bindings for libmarquise",
author="Barney Desm... | Cutting version <I>, against libmarquise <I> | WhereSoftwareGoesToDie_pymarquise | train | py |
0178eec4887eb3acb5bca89cdcda214b35122e9a | diff --git a/twitcher/owssecurity.py b/twitcher/owssecurity.py
index <HASH>..<HASH> 100644
--- a/twitcher/owssecurity.py
+++ b/twitcher/owssecurity.py
@@ -36,7 +36,11 @@ class OWSSecurity(object):
def check_request(self, request):
if request.path.startswith(protected_path):
- service_name =... | fixed /ows/wps access | bird-house_twitcher | train | py |
a3be8c341f77a8067bb4a58ced0ce9d00154cf59 | diff --git a/src/utils/color.js b/src/utils/color.js
index <HASH>..<HASH> 100644
--- a/src/utils/color.js
+++ b/src/utils/color.js
@@ -241,6 +241,10 @@
return this;
},
+ clone: function() {
+ return me.pool.pull("me.Color", this.r, this.g, this.b, this.a);
+ },
+
... | added clone method to me.Color | melonjs_melonJS | train | js |
14304e8530de7dbb909c8305591b3a8370dd9dbb | diff --git a/helpers.go b/helpers.go
index <HASH>..<HASH> 100644
--- a/helpers.go
+++ b/helpers.go
@@ -185,6 +185,16 @@ func IsEmpty(obj interface{}) bool {
// IsZero returns if the object is considered as zero value
func IsZero(obj interface{}) bool {
+ if obj == nil || obj == "" || obj == false {
+ return true
+... | Performance matter for IsZero | thoas_go-funk | train | go |
67d0491d0da3df974f4d82e98cbd75966bf2810c | diff --git a/openquake/calculators/gmf_ebrisk.py b/openquake/calculators/gmf_ebrisk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/gmf_ebrisk.py
+++ b/openquake/calculators/gmf_ebrisk.py
@@ -81,6 +81,9 @@ class GmfEbRiskCalculator(base.RiskCalculator):
accum=numpy.zeros((1, self.L * self.I), F3... | Added a docstring [skip CI]
Former-commit-id: <I>fe5fb1b6fc<I>f8c<I>e<I>ff9a<I>d<I> | gem_oq-engine | train | py |
d8917d3314e5cdca98147283fd1814aacfa7627d | diff --git a/bridge.js b/bridge.js
index <HASH>..<HASH> 100644
--- a/bridge.js
+++ b/bridge.js
@@ -164,7 +164,8 @@ function setup_page (page) {
return lookup(page, prop);
}
page.setProperty = function (prop, val) {
- return lookup(page, prop, val);
+ lookup(page, prop, val);
+ return true;
}
page.setFunct... | Also, use lookup for global properties | baudehlo_node-phantom-simple | train | js |
00377a396140e7bf476b9086bbc64a75364bbf6b | diff --git a/scripts/taoTranslate.php b/scripts/taoTranslate.php
index <HASH>..<HASH> 100644
--- a/scripts/taoTranslate.php
+++ b/scripts/taoTranslate.php
@@ -51,6 +51,18 @@ new tao_scripts_TaoTranslate(array(
'type' => 'string',
'shortcut' => 'e',
'description' => 'The TAO extension for which the script ... | login and password scirpt params for Ontology access were added to the script loader.
git-svn-id: <URL> | oat-sa_tao-core | train | php |
9600b37caa62b88406a3f934bd0edcbb92e032e4 | diff --git a/lib/api_matchers/version.rb b/lib/api_matchers/version.rb
index <HASH>..<HASH> 100644
--- a/lib/api_matchers/version.rb
+++ b/lib/api_matchers/version.rb
@@ -1,3 +1,3 @@
module APIMatchers
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
end | Updating to <I> | tomas-stefano_api_matchers | train | rb |
dcfa97c8f143dd38ac07a18a3a49e3e4ac6314df | diff --git a/lib/ssiparser.js b/lib/ssiparser.js
index <HASH>..<HASH> 100644
--- a/lib/ssiparser.js
+++ b/lib/ssiparser.js
@@ -38,7 +38,7 @@ function setFileCache(filepath) {
function sync (text, options, clearCache) {
var i, len, list, index, file, filepath,
fileRoot = options ? options.root : '',
- ... | fix ssi regex
there can be space after # | etylsarin_gulp-ssi | train | js |
b387e365916a8af2830edf90e5da6147e8bf7df4 | diff --git a/synapse/links/ssl.py b/synapse/links/ssl.py
index <HASH>..<HASH> 100644
--- a/synapse/links/ssl.py
+++ b/synapse/links/ssl.py
@@ -82,8 +82,8 @@ class SslRelay(LinkRelay):
wrap.connect( (host,port) )
- except ssl.SSLError as e:
+ except Exception as e:
sock.close(... | added more generic try/except for grabbing SSL errors since they change over versions | vertexproject_synapse | train | py |
c44ae21454cb284dd6dd08e3bf037fa43ee63525 | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -21,8 +21,10 @@ import sys
# See: http://hg.python.org/cpython/rev/e12efebc3ba6/
# TODO: MOVE THIS ELSEWHERE!
# TODO: Make this Python2.6 specific.
-old_chflags = os.chflags
+old_chflags = getattr(os, "chflags",... | Some machines don't have chflags... | mikeboers_sitetools | train | py |
1735258b5ab4e4a0758ba262c138409f20bed9cb | diff --git a/appkit/app.py b/appkit/app.py
index <HASH>..<HASH> 100644
--- a/appkit/app.py
+++ b/appkit/app.py
@@ -6,6 +6,7 @@ import sys
import multiprocessing
from flask import Flask
import socket
+from gevent import pywsgi
try:
from urllib2 import urlopen, HTTPError, URLError
@@ -84,10 +85,15 @@ class App... | Switch to gevent wsgi server | nitipit_appkit | train | py |
0d5aadb62fcfa0d38761fca3568fe1227aedcda5 | diff --git a/src/api/NB_Single.php b/src/api/NB_Single.php
index <HASH>..<HASH> 100644
--- a/src/api/NB_Single.php
+++ b/src/api/NB_Single.php
@@ -73,6 +73,10 @@ class NB_Single
*/
public function verify($email)
{
+ // Sanitize aliases; http_build_query does not encode (+) and
+ // x-w... | Adding sanitization to single verification method for aliases. The (+) in aliases gets treated as a space by default because http_build_query will not encode this character on it's own | NeverBounce_NeverBounceAPI-PHP | train | php |
becb2d076ed48d50cc14f529837fdce6a7a75334 | diff --git a/cumulusci/tasks/bulkdata/extract.py b/cumulusci/tasks/bulkdata/extract.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/bulkdata/extract.py
+++ b/cumulusci/tasks/bulkdata/extract.py
@@ -244,8 +244,8 @@ class ExtractData(SqlAlchemyMixin, BaseSalesforceApiTask):
# If using the autogenerated ... | Split record_iterator without CSV files | SFDO-Tooling_CumulusCI | train | py |
f8f1028797906643f6bf85557ac640d4ea158bd4 | diff --git a/tasktiger/task.py b/tasktiger/task.py
index <HASH>..<HASH> 100644
--- a/tasktiger/task.py
+++ b/tasktiger/task.py
@@ -35,7 +35,7 @@ class Task(object):
Loads a task with the given ID from the given queue in the given
state. An integer may be passed in the load_executions parameter
... | Task.from_id returns None if the task doesn't exist | closeio_tasktiger | train | py |
5e888fa2c3ee5c86e8cabfd0af3a58b01ea67122 | diff --git a/contrib/ec2-testing/src/java/voldemort/utils/app/VoldemortEc2InstanceCreatorApp.java b/contrib/ec2-testing/src/java/voldemort/utils/app/VoldemortEc2InstanceCreatorApp.java
index <HASH>..<HASH> 100644
--- a/contrib/ec2-testing/src/java/voldemort/utils/app/VoldemortEc2InstanceCreatorApp.java
+++ b/contrib/ec... | Removed the preamble in the hosts file to prevent difficulties in command line scripts having to deal with the comments. | voldemort_voldemort | train | java |
2fbfe8acb95cae898359171a8b17b0c960600d21 | diff --git a/raven/base.py b/raven/base.py
index <HASH>..<HASH> 100644
--- a/raven/base.py
+++ b/raven/base.py
@@ -215,7 +215,6 @@ class Client(object):
:param event_type: the module path to the Event class. Builtins can use shorthand class
notation and exclude the full module pat... | Tags do not exist in Raven :) | elastic_apm-agent-python | train | py |
791ab747a866237fd6979b89af96a1184203b3ac | diff --git a/Server.php b/Server.php
index <HASH>..<HASH> 100644
--- a/Server.php
+++ b/Server.php
@@ -23,9 +23,8 @@ class Server extends EventEmitter implements ServerInterface
$this->io->on('connect', function ($conn) use ($server) {
// TODO: http 1.1 keep-alive
- // TODO: chunked t... | [Socket] Fix memory usage
Listeners in the EventEmitter still kept references to outside vars
leading to gc failing and huge increasing memory usage.
Removing the listeners when closing the connection fixes the issue. | reactphp_http | train | php |
e47543980af18262fddf17ef8877eb60deb449a9 | diff --git a/pkg/minikube/bootstrapper/images/images.go b/pkg/minikube/bootstrapper/images/images.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/bootstrapper/images/images.go
+++ b/pkg/minikube/bootstrapper/images/images.go
@@ -20,6 +20,7 @@ package images
import (
"fmt"
"path"
+ "runtime"
"github.com/blang... | use arch tag for legacy versions of k8s/etcd images | kubernetes_minikube | train | go |
d80d97e3550e92e97e02893a593271bbebc8a0ba | diff --git a/src/06-components/atoms/collapse/collapse.js b/src/06-components/atoms/collapse/collapse.js
index <HASH>..<HASH> 100644
--- a/src/06-components/atoms/collapse/collapse.js
+++ b/src/06-components/atoms/collapse/collapse.js
@@ -18,7 +18,7 @@ export default () => {
while(target) {
if (... | get out from while loop in collapse --skip-tests | Scout24_showcar-ui | train | js |
beec4132392dfcc5b69df6712259e59af2db7ae5 | diff --git a/scripts/clusterfit.py b/scripts/clusterfit.py
index <HASH>..<HASH> 100644
--- a/scripts/clusterfit.py
+++ b/scripts/clusterfit.py
@@ -42,8 +42,8 @@ def __main__():
parser = argparse.ArgumentParser()
parser.add_argument('starfile', type=str, help='File with star cluster data.')
- parser.add_a... | default to none for bands and props | timothydmorton_isochrones | train | py |
9466bc6fb476037ebbf31dc5f9ea01c0ed9d4cb3 | diff --git a/lib/review/latexbuilder.rb b/lib/review/latexbuilder.rb
index <HASH>..<HASH> 100644
--- a/lib/review/latexbuilder.rb
+++ b/lib/review/latexbuilder.rb
@@ -390,7 +390,7 @@ module ReVIEW
end
def quote(lines)
- latex_block 'quotation', lines
+ latex_block 'quote', lines.join('\\\\')
... | latexbuilder: use quote and newline as htmlbuilder does | kmuto_review | train | rb |
349f3750fbbe29eee865840a22f69c575f67c0aa | diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -113,6 +113,7 @@ class SortImports(object):
file_contents = file_to_import_sort.read()
if file_contents is None or ("isort:" + "skip_file") in file_contents:
+ ... | Set skipped=True when we skip the file
We already do this when the configuration specifies skipping a file, but not when the file is empty or the _file_ specifies skipping.
The "skipped" flag is relied upon by some tooling (I'm not sure if it constitutes public API, but it should be fixed anyway), and that tooling ... | timothycrosley_isort | train | py |
505b4ce94744408aa70cb9e8908ddf3a1aa1919c | diff --git a/src/main/java/org/xbill/DNS/ExtendedResolver.java b/src/main/java/org/xbill/DNS/ExtendedResolver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/xbill/DNS/ExtendedResolver.java
+++ b/src/main/java/org/xbill/DNS/ExtendedResolver.java
@@ -41,7 +41,7 @@ public class ExtendedResolver implements Resolv... | Fix load balancing (#<I>)
* Fix load balancing
`lbStart.updateAndGet(i -> i++ % resolvers.size())` is a no-op: `i++` increments the local variable, which is lost, and the returned value is simply `i % resolvers.size()`
* Fix precedence
* Update ExtendedResolver.java | dnsjava_dnsjava | train | java |
3407696cfe824836274677d8ae67425b414b0479 | diff --git a/muffin_babel.py b/muffin_babel.py
index <HASH>..<HASH> 100644
--- a/muffin_babel.py
+++ b/muffin_babel.py
@@ -88,8 +88,8 @@ class Plugin(BasePlugin):
@app.manage.command
def extract_messages( # noqa
- dirname, project='', version='', charset='utf-8', domain=self.cfg.dom... | Parse project name and version from app | klen_muffin-babel | train | py |
57d2332beac55b13b87b635a0a715d45c5324f09 | diff --git a/js/bybit.js b/js/bybit.js
index <HASH>..<HASH> 100644
--- a/js/bybit.js
+++ b/js/bybit.js
@@ -2041,7 +2041,7 @@ module.exports = class bybit extends Exchange {
const timestamp = this.nonce ();
const query = this.extend (params, {
'api_key': this.apiKey,
- ... | Bybit recv_window query parameter fix
Noticed that in the api they snake case but when creating the query for signature camel case has been used. This makes that the options that one wants to apply are not valid. | ccxt_ccxt | train | js |
e559cdc0bd0496e7459c62f3fa2e147fc164e776 | diff --git a/pyocd/tools/pyocd.py b/pyocd/tools/pyocd.py
index <HASH>..<HASH> 100755
--- a/pyocd/tools/pyocd.py
+++ b/pyocd/tools/pyocd.py
@@ -27,6 +27,7 @@ import prettytable
import traceback
import pprint
import textwrap
+import colorama
# Attempt to import readline.
try:
@@ -502,7 +503,7 @@ def cmdoptions(opt... | Colorized and changed commander prompt.
- Now a blue "pyocd> ". | mbedmicro_pyOCD | train | py |
04a8053af6e87754117085d7520a63ad4772521d | diff --git a/lib/Cake/Test/Fixture/TagFixture.php b/lib/Cake/Test/Fixture/TagFixture.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Fixture/TagFixture.php
+++ b/lib/Cake/Test/Fixture/TagFixture.php
@@ -31,8 +31,8 @@ class TagFixture extends CakeTestFixture {
public $fields = array(
'id' => array('type' => 'in... | Update TagFixture.php
Updated the tag fixture so that it doesn't break `CakeSchema::_arrayDiffAssoc()` | cakephp_cakephp | train | php |
0e3457dfd7f507ef345d15a74d5ebe0367b8b2d8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
readme = open('README.txt', 'rb').read()
@@ -13,7 +13,7 @@ setup(name = 'OWSLib',
maintainer = 'Sean Gillies',... | fixing setup.py script so coverages is found - find_packages method finds all sub packages
git-svn-id: <URL> | geopython_OWSLib | train | py |
580eb2c30988e59bc4fe455cab1d613d4142b575 | diff --git a/idx/cassandra/cassandra.go b/idx/cassandra/cassandra.go
index <HASH>..<HASH> 100644
--- a/idx/cassandra/cassandra.go
+++ b/idx/cassandra/cassandra.go
@@ -227,7 +227,7 @@ func (c *CasIdx) AddOrUpdate(data *schema.MetricData, partition int32) error {
if inMemory {
if existing.Partition == partition {
... | fix metricDef fuzzy formula
due to the multiplication by <I>, it was subtracting way too much,
so that metricdefs are less likely to be updated.
However the multiplication is good to turn the float value into a useful
factor, but then we have to divide again to compensate.
With this fix applied, we will update the me... | grafana_metrictank | train | go |
4ee0c9b482b5c7689550b98bae625ab44c5f5a07 | diff --git a/run.go b/run.go
index <HASH>..<HASH> 100644
--- a/run.go
+++ b/run.go
@@ -65,7 +65,7 @@ type runner struct {
}
func (r *runner) Run(width, height int, scale float64, title string) error {
- if err := ui.Run(width, height, scale, title, r); err != nil {
+ if err := ui.Run(width, height, scale, title, &u... | loop: Refactoring: Create updater struct | hajimehoshi_ebiten | train | go |
3c53df78c796127543113464514e9cf39b3e63e8 | diff --git a/test/Parser.unittest.js b/test/Parser.unittest.js
index <HASH>..<HASH> 100644
--- a/test/Parser.unittest.js
+++ b/test/Parser.unittest.js
@@ -191,6 +191,13 @@ describe("Parser", () => {
ijksub: ["test"]
}
],
+ "new Foo(...)": [
+ function() {
+ new xyz("membertest");
+ }, {
+ xyz: [... | Added unit tests for new Foo (...) parser feature | webpack_webpack | train | js |
e539e07541169cc42477a0851f7ba1ee40c8f59d | diff --git a/lib/spidr/page.rb b/lib/spidr/page.rb
index <HASH>..<HASH> 100644
--- a/lib/spidr/page.rb
+++ b/lib/spidr/page.rb
@@ -182,10 +182,10 @@ module Spidr
end
#
- # Determines if the page is CSS stylesheet.
+ # Determines if the page is a CSS stylesheet.
#
# @return [Boolean]
- # ... | Wording changes to the docs. | postmodern_spidr | train | rb |
050cb482f3cdb97ea6ddde74b370d2603c21531e | diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/action/builtin/box_add.rb
+++ b/lib/vagrant/action/builtin/box_add.rb
@@ -1,3 +1,5 @@
+require "log4r"
+
require "vagrant/util/platform"
module Vagrant
@@ -7,7 +9,8 @@ module Vagr... | Better logging in the BoxAdd action | hashicorp_vagrant | train | rb |
2692febd1b292ca376a2d02ae57973820874d9f3 | diff --git a/src/js/showcar-clean-cookies.js b/src/js/showcar-clean-cookies.js
index <HASH>..<HASH> 100644
--- a/src/js/showcar-clean-cookies.js
+++ b/src/js/showcar-clean-cookies.js
@@ -64,7 +64,8 @@ const whiteList = [
'page-views-feed',
'last-search-feed',
'home-feed-bucket',
- 'consentForAds'
+ ... | Add acExperiment cookie to the whitelist | Scout24_showcar-ui | train | js |
78247c8de9cbed23eb86df55469ce56e2846107d | diff --git a/tools/harness-automation/autothreadharness/harness_case.py b/tools/harness-automation/autothreadharness/harness_case.py
index <HASH>..<HASH> 100644
--- a/tools/harness-automation/autothreadharness/harness_case.py
+++ b/tools/harness-automation/autothreadharness/harness_case.py
@@ -544,6 +544,8 @@ class Har... | [harness-automation] fix for test cases with many devices (#<I>) | openthread_openthread | train | py |
1ce4d3a8091bdd01383f4ccd72fc4cf0bfdb583a | diff --git a/interfaces/Event.php b/interfaces/Event.php
index <HASH>..<HASH> 100644
--- a/interfaces/Event.php
+++ b/interfaces/Event.php
@@ -1,30 +1,21 @@
<?php namespace nyx\events\interfaces;
-// External dependencies
-use nyx\core;
-
/**
* Event Interface
*
* @package Nyx\Events
* @version 0.1.... | [Events] Simplified interfaces\Event:
- no longer implements core\interfaces\Named (now has a getType() method instead);
- removed event propagation stopping (may return along a worthwhile use-case);
- removed emitter awareness (events may go through several emitters and the meaning of "emitter" or "origin" highly depe... | unyx_events | train | php |
7b89caa984f170d5f26e38f76089810272975748 | diff --git a/lib/xcode/install.rb b/lib/xcode/install.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode/install.rb
+++ b/lib/xcode/install.rb
@@ -85,7 +85,9 @@ module XcodeInstall
end
def installed_versions
- @installed ||= installed.map { |x| InstalledXcode.new(x) }
+ @installed ||= installed.map { |x| Instal... | Sort installed versions of Xcode. | xcpretty_xcode-install | train | rb |
b7f6b2a275f2d2ed63342bf23a406deb32797959 | diff --git a/tasks.py b/tasks.py
index <HASH>..<HASH> 100644
--- a/tasks.py
+++ b/tasks.py
@@ -246,12 +246,12 @@ def log_ver(ctx):
@task
-def release(ctx, notest=False, nodoc=False, pypi_username="Shyue.Ping.Ong"):
+def release(ctx, notest=False, nodoc=False):
ctx.run("rm -r dist build pymatgen.egg-info", war... | Remove unnecessary pypi_username kwarg now TWINE_USERNAME is used | materialsproject_pymatgen | train | py |
9f7ad355809a96865d50759054ed8c87f649cd32 | diff --git a/src/MessageBird/Resources/Base.php b/src/MessageBird/Resources/Base.php
index <HASH>..<HASH> 100644
--- a/src/MessageBird/Resources/Base.php
+++ b/src/MessageBird/Resources/Base.php
@@ -70,17 +70,18 @@ class Base
}
/**
- * @param $object
+ * @param $object
+ * @param array $qu... | Make it possible to sent query information with a create (needed for actions) | messagebird_php-rest-api | train | php |
194726331d563af087f3baacc3e6a527afea4215 | diff --git a/graphviz/files.py b/graphviz/files.py
index <HASH>..<HASH> 100644
--- a/graphviz/files.py
+++ b/graphviz/files.py
@@ -286,3 +286,6 @@ class Source(File):
def __init__(self, source, filename=None, directory=None, format=None, engine=None, encoding=None):
super(Source, self).__init__(filename, ... | adding _repr_svg_ to Source | xflr6_graphviz | train | py |
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.