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 |
|---|---|---|---|---|---|
f34d4e2600398742b1c1cc5f9a9004d63886f17b | diff --git a/lib/jquery.gridList.js b/lib/jquery.gridList.js
index <HASH>..<HASH> 100644
--- a/lib/jquery.gridList.js
+++ b/lib/jquery.gridList.js
@@ -268,6 +268,12 @@
}
this.each(function() {
instance = $(this).data('_gridList');
+ // The plugin call be called with no method on an existing GridLi... | Allow re-initialization of a GridList instance | hootsuite_grid | train | js |
6256d50d51525e9442d6cdd68245aedd3e8d9e98 | diff --git a/seneca-log-filter.js b/seneca-log-filter.js
index <HASH>..<HASH> 100644
--- a/seneca-log-filter.js
+++ b/seneca-log-filter.js
@@ -19,14 +19,14 @@ function logfilter (options) {
return function filter (data) {
if (calculatedLevels.indexOf(data.level) !== -1) {
- let ret = _.clone(data)
+ ... | Changed ret to cloned. | senecajs_seneca-log-filter | train | js |
027cae3bd0ead2849930875c790dee6755c3d382 | diff --git a/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java b/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java
index <HASH>..<HASH> 100644
--- a/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java
+++ b/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java
@... | Remove unnecessary synchronization in SmackReater.schedule()
The DelayQueue 'scheduledActions' is already thread-safe. | igniterealtime_Smack | train | java |
ca2537c16481550f879c91224a57b6412a0fa851 | diff --git a/scout/server/blueprints/variants/views.py b/scout/server/blueprints/variants/views.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/variants/views.py
+++ b/scout/server/blueprints/variants/views.py
@@ -474,8 +474,11 @@ def cancer_variants(institute_id, case_name):
if(request.method == "P... | ..and handle page from POST.. | Clinical-Genomics_scout | train | py |
e0c2b6ab28cd1aa50d32d8f7a380e7adfeb8e0ee | diff --git a/lib/yard.rb b/lib/yard.rb
index <HASH>..<HASH> 100644
--- a/lib/yard.rb
+++ b/lib/yard.rb
@@ -49,7 +49,7 @@ end
$LOAD_PATH.push('.') if RUBY_VERSION >= '1.9.2'
# Keep track of Ruby version for compatibility code
-RUBY19, RUBY18 = *(RUBY_VERSION >= "1.9" ? [true, false] : [false, true])
+RUBY19, RUBY18 ... | Don't treat <I> as a true "<I>"
Closes gh-<I> | lsegal_yard | train | rb |
bcf89eab8a1be37673be346b4a820a626f5b925e | diff --git a/tweepy/streaming.py b/tweepy/streaming.py
index <HASH>..<HASH> 100644
--- a/tweepy/streaming.py
+++ b/tweepy/streaming.py
@@ -386,6 +386,11 @@ class Stream(BaseStream):
threaded : bool
Whether or not to use a thread to run the stream
+ Raises
+ ------
+ TweepyEx... | Add Raises section to Stream.sample documentation | tweepy_tweepy | train | py |
ed0e428f836d814b112c5d2c924d7c5d80989d04 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -99,7 +99,15 @@ var next = [
var nonStandardAttributes = [].concat(legacy, custom, next)
// Some SVG properties:
-var nonStandardSVGAttributes = ['paint-order', 'vector-effect']
+var nonStandardSVGAttributes = [
+ 'paint-orde... | Fix tests to support recently removed SVG values | wooorm_property-information | train | js |
a380941b576fbbb55b9d117495e408efcf81a0ff | diff --git a/Connectors/MySqlConnector.php b/Connectors/MySqlConnector.php
index <HASH>..<HASH> 100755
--- a/Connectors/MySqlConnector.php
+++ b/Connectors/MySqlConnector.php
@@ -36,6 +36,16 @@ class MySqlConnector extends Connector implements ConnectorInterface {
$connection->prepare($names)->execute();
+ // N... | Set the timezone if it is set for MySQL. | illuminate_database | train | php |
69071404b865bb7e4dbd28dbd1357d904c0a1e74 | diff --git a/visidata/sheets.py b/visidata/sheets.py
index <HASH>..<HASH> 100644
--- a/visidata/sheets.py
+++ b/visidata/sheets.py
@@ -942,7 +942,7 @@ class IndexSheet(Sheet):
precious = False
columns = [
- ColumnAttr('name'),
+ Column('name', getter=lambda c,r: r.names[-1], setter=lambda c,r,... | [indexsheet] subsheet name is last element of Sheet.names | saulpw_visidata | train | py |
e20a0d053376ad6a6735dc96731d09265ff846e5 | diff --git a/alignak/macroresolver.py b/alignak/macroresolver.py
index <HASH>..<HASH> 100644
--- a/alignak/macroresolver.py
+++ b/alignak/macroresolver.py
@@ -185,10 +185,10 @@ class MacroResolver(Borg):
return unicode(value())
else:
return unicode(value)
- except A... | Enh: - Pylint W<I> in macroresolver.py | Alignak-monitoring_alignak | train | py |
1cbd734ed3c245baf67e6928e62b4aa1e91affa3 | diff --git a/worker/symantecDistrust/symantecDistrust.go b/worker/symantecDistrust/symantecDistrust.go
index <HASH>..<HASH> 100644
--- a/worker/symantecDistrust/symantecDistrust.go
+++ b/worker/symantecDistrust/symantecDistrust.go
@@ -218,7 +218,7 @@ func evalPaths(paths certificate.Paths) (distrust bool, reasons []str... | It's Mozilla, with a capital M. Show some respect! | mozilla_tls-observatory | train | go |
205213897520408092ac5d65be5c0f979aad129e | diff --git a/tests/library/CM/Clockwork/ManagerTest.php b/tests/library/CM/Clockwork/ManagerTest.php
index <HASH>..<HASH> 100644
--- a/tests/library/CM/Clockwork/ManagerTest.php
+++ b/tests/library/CM/Clockwork/ManagerTest.php
@@ -55,7 +55,7 @@ class CM_Clockwork_ManagerTest extends CMTest_TestCase {
public func... | assign correct datetime object to current time holder-variable in tests | cargomedia_cm | train | php |
db91601c7ad50f0db45eb817be74651acdb82f50 | diff --git a/tests/example_project/tests/test_newman/test_articles.py b/tests/example_project/tests/test_newman/test_articles.py
index <HASH>..<HASH> 100644
--- a/tests/example_project/tests/test_newman/test_articles.py
+++ b/tests/example_project/tests/test_newman/test_articles.py
@@ -18,7 +18,7 @@ class TestArticleBa... | Add some Czech character to test, too | ella_ella | train | py |
8d9b7ccc56aa19ef77b9b4eacc1123f908c74571 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -36,11 +36,13 @@ RSpec.configure do |config|
config.filter_run_excluding broken: broken_filter
config.expect_with :rspec do |expectations|
+ expectations.include_chain_cla... | Enable RSpec settings that will default in RSpec 4 | rubocop-hq_rubocop | train | rb |
9b2cbeba18a9ec428eb037fc50aa8e2e29088bd4 | diff --git a/nodeconductor/iaas/serializers.py b/nodeconductor/iaas/serializers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/serializers.py
+++ b/nodeconductor/iaas/serializers.py
@@ -175,13 +175,18 @@ class NestedSecurityGroupRuleSerializer(serializers.ModelSerializer):
class SecurityGroupSerializer(seri... | Add state field to serializer (itacloud-<I>) | opennode_waldur-core | train | py |
b359d14f4c14febe96cea20d1061cd1cf24e64ec | diff --git a/persephone/config.py b/persephone/config.py
index <HASH>..<HASH> 100644
--- a/persephone/config.py
+++ b/persephone/config.py
@@ -1,4 +1,13 @@
-""" Configuration for some variables that may be system dependent. """
+""" Configuration for some variables that may be system dependent.
+
+Supply a settings.ini... | Put info about config into docstring | persephone-tools_persephone | train | py |
bc177a8c777d9b3c2a5c6369b0212a7e3863bbc2 | diff --git a/src/Jigsaw.php b/src/Jigsaw.php
index <HASH>..<HASH> 100644
--- a/src/Jigsaw.php
+++ b/src/Jigsaw.php
@@ -47,6 +47,11 @@ class Jigsaw
$this->app->events->fire($event, $this);
}
+ public function getSiteData()
+ {
+ return $this->siteData;
+ }
+
public function getEnviro... | Set both top-level SiteData and 'page' when calling setConfig in Jigsaw | tightenco_jigsaw | train | php |
6e61af3667de9e1a0cfbfb0b2c8a962429550a90 | diff --git a/werkzeug/testsuite/urls.py b/werkzeug/testsuite/urls.py
index <HASH>..<HASH> 100644
--- a/werkzeug/testsuite/urls.py
+++ b/werkzeug/testsuite/urls.py
@@ -47,6 +47,12 @@ class URLsTestCase(WerkzeugTestCase):
x = urls.url_decode(b'%C3%9Ch=H%C3%A4nsel', decode_keys=True)
self.assert_strict_e... | Added testcase for url_decode without character set | pallets_werkzeug | train | py |
ab42cf7234407308ab26d3883ae34fc7a34e2961 | diff --git a/pyecore/ecore.py b/pyecore/ecore.py
index <HASH>..<HASH> 100644
--- a/pyecore/ecore.py
+++ b/pyecore/ecore.py
@@ -567,9 +567,9 @@ EClass.eStructuralFeatures = EReference('eStructuralFeatures',
EStructuralFeature,
upper=-1, co... | Fix merge issues in ecore.py | pyecore_pyecore | train | py |
5b1ae5018bbdd2796283d833aa3d532444440e03 | diff --git a/lib/dive.js b/lib/dive.js
index <HASH>..<HASH> 100644
--- a/lib/dive.js
+++ b/lib/dive.js
@@ -98,7 +98,7 @@
// That means that the surface pressure on mars is roughly 166 times weaker than
// the surface pressure on Earth. Given that Mars's gravity is roughly 3.724m/s2.
// Which... | Forgot to update newtons/m3 weight density calc for mars related to fresh water | nyxtom_dive | train | js |
28d04b0ad41a529466b0a77066e52053641f3caf | diff --git a/src/you_get/common.py b/src/you_get/common.py
index <HASH>..<HASH> 100755
--- a/src/you_get/common.py
+++ b/src/you_get/common.py
@@ -540,8 +540,8 @@ def url_save_chunked(url, filepath, bar, refer = None, is_part = False, faker =
os.rename(temp_filepath, filepath)
class SimpleProgressBar:
- bar... | [bar] dynamically calculate bar size
or it'll may be too short or too long as 'total_pieces' changes
old one has problems with <URL> | soimort_you-get | train | py |
f667f8d45a912bf2ff6a4c02b3b4ed1508a8c420 | diff --git a/lib/parslet/slice.rb b/lib/parslet/slice.rb
index <HASH>..<HASH> 100644
--- a/lib/parslet/slice.rb
+++ b/lib/parslet/slice.rb
@@ -105,6 +105,6 @@ class Parslet::Slice
# Prints the slice as <code>"string"@offset</code>.
def inspect
- str.inspect << "@#{offset}"
+ str.inspect + "@#{offset}"
... | Use + instead of << in Slice#inspect
Makes it run on Opal, which doesn't support mutable strings. | kschiess_parslet | train | rb |
c48cebdcaf9565a477c0c5225685bb49ddd6d9b5 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
'use strict';
var assert = require('assert');
-var URI = require('URIjs');
+var URI = require('urijs');
var _ = require('lodash');
var jsonCompat = require('json-schema-compatibility');
var ... | Switch from 'URIjs' to 'urijs' lib. part 2 | APIs-guru_raml-to-swagger | train | js |
f5478d9263e9aa036a09199be7a5fe0644e02031 | diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -254,8 +254,6 @@ module ActiveSupport
# on the object.
def m... | make_lambda is never called with an Array | rails_rails | train | rb |
d9d8029783c9643af4b29fdb65b9995f59cf3199 | diff --git a/test/acceptance/box_test.rb b/test/acceptance/box_test.rb
index <HASH>..<HASH> 100644
--- a/test/acceptance/box_test.rb
+++ b/test/acceptance/box_test.rb
@@ -20,14 +20,25 @@ class BoxTest < AcceptanceTest
assert(results.stdout.read =~ /^foo$/, "Box should exist after it is added")
end
- should "... | Test that adding an invalid box results in an error | hashicorp_vagrant | train | rb |
9618def229e32e80f126d1782e29f411077a056b | diff --git a/src/Krystal/Cache/Tests/ArraySignatureTest.php b/src/Krystal/Cache/Tests/ArraySignatureTest.php
index <HASH>..<HASH> 100644
--- a/src/Krystal/Cache/Tests/ArraySignatureTest.php
+++ b/src/Krystal/Cache/Tests/ArraySignatureTest.php
@@ -6,5 +6,21 @@ use Krystal\Cache\FileEngine\ArraySignature;
class ArrayS... | Added test case for ArraySignature | krystal-framework_krystal.framework | train | php |
26544df4441ef7fef4900ec631bd2f1326e9b0f1 | diff --git a/pyxcli/__init__.py b/pyxcli/__init__.py
index <HASH>..<HASH> 100644
--- a/pyxcli/__init__.py
+++ b/pyxcli/__init__.py
@@ -22,7 +22,7 @@ IBM XCLI Client Module
XCLI_DEFAULT_LOGGER = "xcli"
XCLI_DEFAULT_PORT = 7778
-version_tuple = (1, 2, 0)
+version_tuple = (1, 2, 1)
def get_version_string(): | Develop (#<I>)
update version number to <I> | IBM_pyxcli | train | py |
7d844bb938783105c48aa9f4a34663f7d4190c32 | diff --git a/codec/decode.go b/codec/decode.go
index <HASH>..<HASH> 100644
--- a/codec/decode.go
+++ b/codec/decode.go
@@ -205,7 +205,7 @@ func NewDecoderBytes(in []byte, h Handle) *Decoder {
// Note that a pointer to a nil interface is not a nil pointer.
// If you do not know what type of stream it is, pass in a poi... | codec: updated docs to say that numbers and floats are decoded into nil interfaces as int<I>/uint<I>/float<I>. | ugorji_go | train | go |
2ff8ed2e967138c4d1c9c8145de702bb95baff54 | diff --git a/tests/HttpResponseTest.php b/tests/HttpResponseTest.php
index <HASH>..<HASH> 100644
--- a/tests/HttpResponseTest.php
+++ b/tests/HttpResponseTest.php
@@ -58,4 +58,18 @@ class HttpResponseTest extends \PHPUnit_Framework_TestCase {
$this->assertSame($headers['Connection'], $httpResponse->getHeader('... | Added test for denying body on non-body codes in HttpResponse. | kiler129_CherryHttp | train | php |
31a009874d213c890041ebd3ae20f8115a5ab237 | diff --git a/angular-bind-html-compile.js b/angular-bind-html-compile.js
index <HASH>..<HASH> 100644
--- a/angular-bind-html-compile.js
+++ b/angular-bind-html-compile.js
@@ -1,9 +1,9 @@
(function (angular) {
'use strict';
- var module = angular.module('angular-bind-html-compile', []);
+ var mod = angular... | Added module.exports to main script | incuna_angular-bind-html-compile | train | js |
81dedf11d2098e4b98082b25e7d9d9ea59dbaa52 | diff --git a/lib/manager.js b/lib/manager.js
index <HASH>..<HASH> 100644
--- a/lib/manager.js
+++ b/lib/manager.js
@@ -196,9 +196,9 @@ Manager.prototype.disabled = function (key) {
Manager.prototype.configure = function (env, fn) {
if ('function' == typeof env) {
- env();
+ env.call(this);
} else if (env... | Fixed; keep scope for `Manager#configure`. | socketio_socket.io | train | js |
822b54401ec8c20546e0bba3563c54f1f4ca1b88 | diff --git a/services/language_translation/v2.js b/services/language_translation/v2.js
index <HASH>..<HASH> 100644
--- a/services/language_translation/v2.js
+++ b/services/language_translation/v2.js
@@ -112,7 +112,9 @@ module.exports = function (RED) {
text: 'requesting training'
});
- temp.open(... | file extension to xml (for tmx) | watson-developer-cloud_node-red-node-watson | train | js |
8f7967acd0efcbf9d1483ac33cf26a27baaf4e74 | diff --git a/lib/output/generatePages.js b/lib/output/generatePages.js
index <HASH>..<HASH> 100644
--- a/lib/output/generatePages.js
+++ b/lib/output/generatePages.js
@@ -25,6 +25,10 @@ function generatePages(generator, output) {
return generatePage(out, page)
.then(function(resultPage) {
... | Log page causing error when a bug occurs during generation | GitbookIO_gitbook | train | js |
c8cc21c04a201eefd2e42153a522c1e9e0abe2d0 | diff --git a/src/MB_Toolbox_cURL.php b/src/MB_Toolbox_cURL.php
index <HASH>..<HASH> 100644
--- a/src/MB_Toolbox_cURL.php
+++ b/src/MB_Toolbox_cURL.php
@@ -4,6 +4,8 @@
*/
namespace DoSomething\MB_Toolbox;
+
+use DoSomething\MB_Toolbox\MB_ToolboxL;
use DoSomething\MBStatTracker\StatHat;
class MB_Toolbox_cURL
@@ ... | Support POST methods still in MB_Toolbox() | DoSomething_mb-toolbox | train | php |
cd00076cadf4a9fdb09e0f24b2a5c70c46bfcec3 | diff --git a/server/webapp/WEB-INF/rails.new/app/assets/new_javascripts/models/validatable_mixin.js b/server/webapp/WEB-INF/rails.new/app/assets/new_javascripts/models/validatable_mixin.js
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails.new/app/assets/new_javascripts/models/validatable_mixin.js
+++ b/serv... | Fix a typo with a variable name | gocd_gocd | train | js |
7bd0e6017bbab820ad2f6c67863bde2cb22a13c3 | diff --git a/test/extended/prometheus/prometheus.go b/test/extended/prometheus/prometheus.go
index <HASH>..<HASH> 100644
--- a/test/extended/prometheus/prometheus.go
+++ b/test/extended/prometheus/prometheus.go
@@ -213,7 +213,7 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() {
tests := ... | Make the metric more readable when fails | openshift_origin | train | go |
d33012c4547f279449926e21e6ef35e6d0561d14 | diff --git a/src/Model/BlogController.php b/src/Model/BlogController.php
index <HASH>..<HASH> 100644
--- a/src/Model/BlogController.php
+++ b/src/Model/BlogController.php
@@ -107,7 +107,7 @@ class BlogController extends PageController
*/
public function rss()
{
- $this->blogPosts = $this->getBlog... | Add limit to rss (PostsPerPage) | axllent_silverstripe-weblog | train | php |
937f53b0b272c83796c5231baaa0e824209a31f4 | diff --git a/src/geshi/vbscript.php b/src/geshi/vbscript.php
index <HASH>..<HASH> 100644
--- a/src/geshi/vbscript.php
+++ b/src/geshi/vbscript.php
@@ -88,7 +88,7 @@ $language_data = array (
),
),
'SYMBOLS' => array(
- '-', '&', '*', '/', '\\', '^', '+', '<', '<=', '<>', '=', '=', '>', ... | fix: Some minor fixups for VBScript | GeSHi_geshi-1.0 | train | php |
6f2969b399e8e90a9e39a6760a1cae7a5f220bae | diff --git a/command/v7/shared/app_stager_test.go b/command/v7/shared/app_stager_test.go
index <HASH>..<HASH> 100644
--- a/command/v7/shared/app_stager_test.go
+++ b/command/v7/shared/app_stager_test.go
@@ -253,7 +253,8 @@ var _ = Describe("app stager", func() {
})
It("displays that it's restarting the app", ... | Check error in test to appease linter | cloudfoundry_cli | train | go |
947e5dc18f997092ebc1b738b6adeff045bce24b | diff --git a/ariba/mapping.py b/ariba/mapping.py
index <HASH>..<HASH> 100644
--- a/ariba/mapping.py
+++ b/ariba/mapping.py
@@ -1,5 +1,6 @@
import os
import sys
+from distutils.version import LooseVersion
import pysam
import pyfastaq
from ariba import common
@@ -82,7 +83,7 @@ def run_bowtie2(
'-2', reads_r... | Change mapping options bor bowtie <I> and later | sanger-pathogens_ariba | train | py |
dd7984f279c1e72da2e3b80cde0943edc5452eac | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -86,6 +86,11 @@ function NodeCG(bundle, socket) {
* @param {mixed} [data] The data to send.
*/
NodeCG.prototype.sendMessage = function (messageName, data, callback) {
+ if (typeof callback === 'undefine... | [replicants] i'm actually mad :angry: | nodecg_nodecg | train | js,js |
a0474d9907957db436bbaaf5c190c4aefa1e193b | diff --git a/src/loaders/OBJLoader2.js b/src/loaders/OBJLoader2.js
index <HASH>..<HASH> 100644
--- a/src/loaders/OBJLoader2.js
+++ b/src/loaders/OBJLoader2.js
@@ -1354,7 +1354,7 @@ THREE.OBJLoader2 = (function () {
var onError = function ( event ) {
var output = 'Error occurred while downloading "' + resou... | Fixed wrong scope in case of error in loadMtl | kaisalmen_WWOBJLoader | train | js |
82faf6cbb283c33fda42df4debcada88365c8297 | diff --git a/onyx-database/src/com/onyx/fetch/impl/PartitionIndexScanner.java b/onyx-database/src/com/onyx/fetch/impl/PartitionIndexScanner.java
index <HASH>..<HASH> 100644
--- a/onyx-database/src/com/onyx/fetch/impl/PartitionIndexScanner.java
+++ b/onyx-database/src/com/onyx/fetch/impl/PartitionIndexScanner.java
@@ -1... | Fix for indexes sitting in different partition | OnyxDevTools_onyx-database-parent | train | java |
781cb8e463da273951c37462e84baac9aa85ec6b | diff --git a/seleniumbase/core/mysql.py b/seleniumbase/core/mysql.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/core/mysql.py
+++ b/seleniumbase/core/mysql.py
@@ -23,7 +23,7 @@ class DatabaseManager():
db_user = settings.DB_USERNAME
db_pass = settings.DB_PASSWORD
db_schema = settings.DB_S... | Better error-handling with custom settings parsing | seleniumbase_SeleniumBase | train | py |
fad335c38d40c522122e527bc7dc8eb1965580fb | diff --git a/src/DrupalExtension/Context/ScreenShotContext.php b/src/DrupalExtension/Context/ScreenShotContext.php
index <HASH>..<HASH> 100644
--- a/src/DrupalExtension/Context/ScreenShotContext.php
+++ b/src/DrupalExtension/Context/ScreenShotContext.php
@@ -96,7 +96,7 @@ class ScreenShotContext extends RawMinkContext ... | Take screenshot after step failed: only if test result is failed. | nuvoleweb_drupal-behat | train | php |
16c3cced33dabb6a7854be96b8b31c5f3430ac06 | diff --git a/spec/mongo/cursor_spec.rb b/spec/mongo/cursor_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongo/cursor_spec.rb
+++ b/spec/mongo/cursor_spec.rb
@@ -1,6 +1,10 @@
require 'spec_helper'
describe Mongo::Cursor do
+ let(:authorized_collection) do
+ authorized_client['cursor_spec_collection']
+ end
+
... | Fix the intermittent failure in cursor spec #<I> | mongodb_mongo-ruby-driver | train | rb |
126f33815ee94163fb79eb76c0e67ae74a8a31ea | diff --git a/android/src/com/google/zxing/client/android/AmbientLightManager.java b/android/src/com/google/zxing/client/android/AmbientLightManager.java
index <HASH>..<HASH> 100644
--- a/android/src/com/google/zxing/client/android/AmbientLightManager.java
+++ b/android/src/com/google/zxing/client/android/AmbientLightMa... | Make light thresholds less sensitive to avoid rapid on/off on some devices
git-svn-id: <URL> | zxing_zxing | train | java |
d72d2b7d31a00f96d11fc1b793a1ae56e5445145 | diff --git a/lib/webmock/request_stub.rb b/lib/webmock/request_stub.rb
index <HASH>..<HASH> 100644
--- a/lib/webmock/request_stub.rb
+++ b/lib/webmock/request_stub.rb
@@ -22,6 +22,7 @@ module WebMock
end
self
end
+ alias_method :and_return, :to_return
def to_rack(app, options={})
@re... | Allow RSpec like syntax
This PR allows a more intuitive approach when using RSpec.
Since double and mock in RSpec already permit a `.and_return` syntax,
mimic this behaviour in webmock for easier reading and integration. | bblimke_webmock | train | rb |
8f3c7fe27853beead95415c534549f35391aa64f | diff --git a/test/test_framework.go b/test/test_framework.go
index <HASH>..<HASH> 100644
--- a/test/test_framework.go
+++ b/test/test_framework.go
@@ -117,13 +117,13 @@ func newServer(t *t, opts ...options) server {
}
priv := "cat /tmp/sshkey | " + base64
privKey, err := exec.Command("bash", "-c", priv).Output... | test: error if no jwt keys present in jwt tests | micro_micro | train | go |
0d1a9832d7e3502c63007fc6ec34a306da4f77aa | diff --git a/anyvcs/svn.py b/anyvcs/svn.py
index <HASH>..<HASH> 100644
--- a/anyvcs/svn.py
+++ b/anyvcs/svn.py
@@ -175,9 +175,13 @@ class SvnRepo(VCSRepo):
return (rev, '/' + head)
def canonical_rev(self, rev):
+ try:
+ types = (str, unicode)
+ except NameError:
+ types = str
if isinsta... | fix reference to unicode in SvnRepo.canonical_rev
Python 3 deprecates the need for 'unicode' so this causes a NameError when
it is referred to. | ScottDuckworth_python-anyvcs | train | py |
c1c02e61583e2ec682dacb4e6ffee9ee75901979 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -118,9 +118,7 @@ end
def test_oauth_credentials
{
app_key: test_trello_app_key,
- app_secret: test_trello_app_secret,
- oauth_token: test_trello_oauth_token,
- oaut... | only app key and oauth token needed for oauth credentials | rossta_tacokit.rb | train | rb |
cc8ecb6ff561517e8dea75d81c0303345f1d6301 | diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpointTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpointTests.java
index <HASH>..<HASH> 100644
--- a/spring-boot-actuator/src/test/java/org/springframework/bo... | Clear VCAP_APPLICATION after tests
So that other CF tests do not fail. | spring-projects_spring-boot | train | java |
439dec8131368bccbab5ee9c8eaf0f310ffa855e | diff --git a/src/server/pkg/sync/sync.go b/src/server/pkg/sync/sync.go
index <HASH>..<HASH> 100644
--- a/src/server/pkg/sync/sync.go
+++ b/src/server/pkg/sync/sync.go
@@ -16,8 +16,11 @@ import (
// Puller as a struct for managing a Pull operation.
type Puller struct {
- errCh chan error
- pipes map[string]bool
... | Adds comments for Puller struct. | pachyderm_pachyderm | train | go |
b45c8c1506405dd1afe35f1a617866f05624cf95 | diff --git a/lib/alephant/storage.rb b/lib/alephant/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/alephant/storage.rb
+++ b/lib/alephant/storage.rb
@@ -95,9 +95,18 @@ module Alephant
}
end
+ def override_host_path?
+ ENV['AWS_S3_HOST_OVERRIDE'] == 'true'
+ end
+
+
def client
opti... | Added an env variable directive to override default hostname path for the s3 bucket | BBC-News_alephant-storage | train | rb |
5d466c13e1c98a6fc893b43d257d2b966ea4ac00 | diff --git a/bcbio/rnaseq/sailfish.py b/bcbio/rnaseq/sailfish.py
index <HASH>..<HASH> 100644
--- a/bcbio/rnaseq/sailfish.py
+++ b/bcbio/rnaseq/sailfish.py
@@ -56,11 +56,12 @@ def sailfish(fq1, fq2, sailfish_dir, gtf_file, ref_file, strandedness, data):
def sailfish_index(gtf_file, ref_file, data):
sailfish = co... | Index sailfish in parallel.
Closes #<I>. | bcbio_bcbio-nextgen | train | py |
6103a1f56f9bb76ab2b5b399080d870bc79ec19d | diff --git a/src/load/index.js b/src/load/index.js
index <HASH>..<HASH> 100644
--- a/src/load/index.js
+++ b/src/load/index.js
@@ -1,6 +1,8 @@
import load from './load.module';
/**
+ * This function is deprecated and you should try to migrate to using parse.
+ * This function will fetch the whole file in order to p... | added deprecation warning to load | GeoTIFF_geoblaze | train | js |
e47ff83ef45a52f8e365aa5c97405e563db2021a | diff --git a/src/frontend/org/voltcore/utils/InstanceId.java b/src/frontend/org/voltcore/utils/InstanceId.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltcore/utils/InstanceId.java
+++ b/src/frontend/org/voltcore/utils/InstanceId.java
@@ -51,7 +51,8 @@ public class InstanceId
return m_timestamp;
... | Findbugs: need a hashcode for InstanceId | VoltDB_voltdb | train | java |
4ad33958d841cb6518864763f9029f713d57066e | diff --git a/tests/test_sql.php b/tests/test_sql.php
index <HASH>..<HASH> 100644
--- a/tests/test_sql.php
+++ b/tests/test_sql.php
@@ -46,7 +46,7 @@ SQL::each('SELECT id FROM users',function($row) use (&$cc) {
$cc += $row->id;
});
-test($cc == 3,'SQL','Each, row callback.');
+test($cc == 10,'SQL','Each, row cal... | [TEST] Absolute path 2 | caffeina-core_core | train | php |
2dbfee70feaf33ce7697587c33527fc21ca51da2 | diff --git a/lib/apple_tv_converter/command_line.rb b/lib/apple_tv_converter/command_line.rb
index <HASH>..<HASH> 100644
--- a/lib/apple_tv_converter/command_line.rb
+++ b/lib/apple_tv_converter/command_line.rb
@@ -12,7 +12,8 @@ module AppleTvConverter
converter = AppleTvConverter::MediaConverter.new(options... | Added progress information to the command line utility | gokuu_apple-tv-converter | train | rb |
7082a1ac0f409938900f717eeda50ff14ddd9bcf | diff --git a/gandi/cli/commands/vm.py b/gandi/cli/commands/vm.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/commands/vm.py
+++ b/gandi/cli/commands/vm.py
@@ -140,7 +140,6 @@ def delete(gandi, background, force, resource):
"""
output_keys = ['id', 'type', 'step']
- iaas_list = gandi.iaas.list()
poss... | vm: avoid listing vm too early
when deleting a vm we may fail in possible_resources or in confirmation.
we only need the complete vm list afterwards | Gandi_gandi.cli | train | py |
dcf32f91a6e664df530d42fa0d652695091d7a35 | diff --git a/heartbeat/heartbeat.py b/heartbeat/heartbeat.py
index <HASH>..<HASH> 100644
--- a/heartbeat/heartbeat.py
+++ b/heartbeat/heartbeat.py
@@ -63,7 +63,7 @@ class Heartbeat(object):
so Node A can verify that Node B has a specified file.
"""
- def __init__(self, filepath):
+ def __init__(self, ... | Add support for a secret attribute and constructor kwarg | StorjOld_heartbeat | train | py |
8b9b149d5412dd3c775caf4fc3df39ebad90184f | diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go
index <HASH>..<HASH> 100644
--- a/swarm/api/http/server.go
+++ b/swarm/api/http/server.go
@@ -129,7 +129,7 @@ func NewServer(api *api.API, corsString string) *Server {
})
mux.Handle("/bzz-immutable:/", methodHandler{
"GET": Adapt(
- http.HandlerF... | swarm/api/http: bzz-immutable wrong handler bug (#<I>) | ethereum_go-ethereum | train | go,go |
7299a7c6f0a25d68f1e2e0ca6ab80584b432edeb | diff --git a/src/main/java/org/jsoup/nodes/Element.java b/src/main/java/org/jsoup/nodes/Element.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jsoup/nodes/Element.java
+++ b/src/main/java/org/jsoup/nodes/Element.java
@@ -508,9 +508,7 @@ public class Element extends Node {
}
/**
- <b>Beta:</b> ... | Moved xpath support out of beta | jhy_jsoup | train | java |
aa3066cba9985d54bd085d40d4952ec794fd4ac7 | diff --git a/src/Error/ExceptionTrap.php b/src/Error/ExceptionTrap.php
index <HASH>..<HASH> 100644
--- a/src/Error/ExceptionTrap.php
+++ b/src/Error/ExceptionTrap.php
@@ -341,7 +341,6 @@ class ExceptionTrap
*/
public function logException(Throwable $exception, ?ServerRequestInterface $request = null): void
... | Delay creation of error logger. | cakephp_cakephp | train | php |
394d6fb808f665d441b1bbe4f28bad1ed04b5767 | diff --git a/src/Connections/Dbo.php b/src/Connections/Dbo.php
index <HASH>..<HASH> 100644
--- a/src/Connections/Dbo.php
+++ b/src/Connections/Dbo.php
@@ -164,7 +164,8 @@
elseif ($queryType == "INSERT" && $return === true && $single === true)
{
$id = $this->connection->lastInsertId();
- $table = substr(... | Update table name selection to not require a trailing space | irwtdvoys_bolt-core | train | php |
078aed5269465de1b6b8f697a717d47a6eede18b | diff --git a/lib/clock.js b/lib/clock.js
index <HASH>..<HASH> 100644
--- a/lib/clock.js
+++ b/lib/clock.js
@@ -187,9 +187,6 @@ Clock.prototype.min = function(v) {
if (!arguments.length) {
return this.valid.min();
}
- if (v) {
- v.minute = coerceMinutes(v.minute);
- }
this.valid.min(v);
this.markIn... | Stop coercing min and max values
We should only coerce minutes for values that we intend to select | pirxpilot_clock | train | js |
ec1349d90cf04d318f546e441afc3aaa8ee003ce | diff --git a/lib/rspotify/user.rb b/lib/rspotify/user.rb
index <HASH>..<HASH> 100644
--- a/lib/rspotify/user.rb
+++ b/lib/rspotify/user.rb
@@ -116,7 +116,12 @@ module RSpotify
# playlists.first.class #=> RSpotify::Playlist
# playlists.first.name #=> "Movie Soundtrack Masterpieces"
de... | User#playlists support for private playlists | guilhermesad_rspotify | train | rb |
847143cd60986c6558167a8ad28a778b09330a7c | diff --git a/gocd/server.py b/gocd/server.py
index <HASH>..<HASH> 100644
--- a/gocd/server.py
+++ b/gocd/server.py
@@ -21,9 +21,11 @@ class Server(object):
return Pipeline(self, name)
def _add_basic_auth(self):
- auth_handler = urllib2.HTTPBasicAuthHandler()
+ auth_handler = urllib2.HTTPBa... | Remove hard coded realm and assume any is fine | gaqzi_py-gocd | train | py |
739204b819e11bd98a1335a2369238fdb65f9bb9 | diff --git a/harness/reflect.go b/harness/reflect.go
index <HASH>..<HASH> 100644
--- a/harness/reflect.go
+++ b/harness/reflect.go
@@ -4,7 +4,6 @@ package harness
// It catalogs the controllers, their methods, and their arguments.
import (
- "github.com/revel/revel"
"go/ast"
"go/build"
"go/parser"
@@ -14,6 +1... | Fix #<I>
Removed log statement that causes a lot of unncessary output | revel_revel | train | go |
bc77895124417970dcee97fd8b040bce57016831 | diff --git a/pycent.py b/pycent.py
index <HASH>..<HASH> 100644
--- a/pycent.py
+++ b/pycent.py
@@ -24,6 +24,8 @@ class pycent:
1.0
"""
+ percent = float(percent)
+ whole = float(whole)
return (percent * whole) / 100
def percentage(self, part: FloatIn, whole: Flo... | Converts to float rather than assuming user inputted float | flashmeow_pycent | train | py |
b188b33c2907f9c5110101b89e7b490c7417f293 | diff --git a/db/migrate/11_update_url_and_redirect_url_value.rb b/db/migrate/11_update_url_and_redirect_url_value.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/11_update_url_and_redirect_url_value.rb
+++ b/db/migrate/11_update_url_and_redirect_url_value.rb
@@ -19,7 +19,6 @@ class UpdateUrlAndRedirectUrlValue < Active... | do not clear url in redirect pages | brandleadership_kuhsaft | train | rb |
1498a4691926e7d91aad001d24a083ec05de13d8 | diff --git a/components/base/base-int/src/main/java/org/torquebox/services/deployers/ServicesDeployer.java b/components/base/base-int/src/main/java/org/torquebox/services/deployers/ServicesDeployer.java
index <HASH>..<HASH> 100644
--- a/components/base/base-int/src/main/java/org/torquebox/services/deployers/ServicesDep... | Remove empty statement (hanging semicolon) from ServicesDeployer | torquebox_torquebox | train | java |
6a138caa8a4d0b6aea130e96490b1a88ab0ff24e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,6 @@ REQUIRES = [
'pyarrow>=0.14.1,<1.0',
'google-cloud-bigquery>=1.19.0,<2.0',
'geojson>=2.5.0,<3.0',
- 'matplotlib>=2.0.2',
# 'Rtree>=0.8.3,<1.0'
] | Remove matplotlib as a dep | CartoDB_cartoframes | train | py |
439b9b840f5896b5521b0ff1200d7bd97aebd2ba | diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py
index <HASH>..<HASH> 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -78,7 +78,7 @@ class FactTree(gtk.TreeView):
self.connect("row-activated", self._on_row_activated)
self.connect("b... | listen on any "e" keypress, not just ctrl+e one. also listen on key release not press to avoid the dropdown on popup | projecthamster_hamster | train | py |
40a7a833e4c4b8247885c998cd26d739baedb2fa | diff --git a/lib/staticTransform.js b/lib/staticTransform.js
index <HASH>..<HASH> 100644
--- a/lib/staticTransform.js
+++ b/lib/staticTransform.js
@@ -1,4 +1,4 @@
-/*jshint node:true strict:false*/
+/*jshint node:true strict:false sub:true*/
// Dependencies
var parse = require('../node_modules/connect/lib/utils').par... | Updated lib/staticTransform.js to pass JSHint. | knpwrs_connect-static-transform | train | js |
d00ff7cb58f7c68d70e1342b1b6971c8991c5c08 | diff --git a/agent/proxy/manager.go b/agent/proxy/manager.go
index <HASH>..<HASH> 100644
--- a/agent/proxy/manager.go
+++ b/agent/proxy/manager.go
@@ -335,13 +335,6 @@ func (m *Manager) newProxy(mp *local.ManagedProxy) (Proxy, error) {
return nil, fmt.Errorf("internal error: nil *local.ManagedProxy or Proxy field")
... | agent/proxy: don't create the directory in newProxy | hashicorp_consul | train | go |
f95efffc2568adc76f8d2de02f9b4b1d92337fb7 | diff --git a/lib/temple/engine.rb b/lib/temple/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/temple/engine.rb
+++ b/lib/temple/engine.rb
@@ -64,7 +64,7 @@ module Temple
filter.new(ImmutableHash.new(local_options, filtered_options))
when UnboundMethod
filter = filter.bind(self)
- ... | fix arity checks for wildcards | judofyr_temple | train | rb,rb |
ca095a5059550bf070078c68b382151d4a8f93e7 | diff --git a/lib/scorpio/schema_object_base.rb b/lib/scorpio/schema_object_base.rb
index <HASH>..<HASH> 100644
--- a/lib/scorpio/schema_object_base.rb
+++ b/lib/scorpio/schema_object_base.rb
@@ -15,13 +15,13 @@ module Scorpio
attr_reader :object
def fully_validate
- ::JSON::Validator.fully_validate(mod... | SchemaObjectBase#validate and friends delegate to the schema's helpers | notEthan_jsi | train | rb |
8e3bc00025f3b9934e529efd0c4d6a66a98444be | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/util/KeyboardUtil.java b/library/src/main/java/com/mikepenz/materialdrawer/util/KeyboardUtil.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/util/KeyboardUtil.java
+++ b/library/src/main/java/com/mikepenz/materialdra... | * the KeyboardUtil is only required for api >= <I> | mikepenz_MaterialDrawer | train | java |
b398e2b1b0b1e423c6b217a0fd07ade113c062d6 | diff --git a/testing/stubs.go b/testing/stubs.go
index <HASH>..<HASH> 100644
--- a/testing/stubs.go
+++ b/testing/stubs.go
@@ -106,6 +106,8 @@ func TestDecisionInterceptor(testID string, stubbedWorkflows, stubbedShortWorkfl
}
case swf.DecisionTypeScheduleActivityTask:
d.ScheduleActivityTaskDecisionAttr... | swap in the test task list in test decision interceptor handling of continuations | sclasen_swfsm | train | go |
4b0466a5b3d9160863872159cd8ba12526f9ef4a | diff --git a/src/Api/Api.php b/src/Api/Api.php
index <HASH>..<HASH> 100644
--- a/src/Api/Api.php
+++ b/src/Api/Api.php
@@ -189,7 +189,9 @@ abstract class Api implements ApiInterface
$request = $request->withHeader('Idempotency-Key', $idempotencykey);
}
- $request = $request->w... | fix: Issue with account id being invalid without being set.
Fixes: #<I> | cartalyst_stripe | train | php |
eff09ef450aae6751ce45dcbce117d46fdb4f944 | diff --git a/test/mocha/testUtils.js b/test/mocha/testUtils.js
index <HASH>..<HASH> 100644
--- a/test/mocha/testUtils.js
+++ b/test/mocha/testUtils.js
@@ -13,16 +13,15 @@
define([
"api",
"chai",
- "sinon-chai",
- "underscore"
+ "sinon-chai"
],
-function(FauxtonAPI,chai, sinonChai) {
... | Cleanup: testUtils.js - underscore is not needed | apache_couchdb-fauxton | train | js |
cdc8797eac1d0a8608566795fe91e9c2d9758499 | diff --git a/src/commands/view/ComponentExit.js b/src/commands/view/ComponentExit.js
index <HASH>..<HASH> 100644
--- a/src/commands/view/ComponentExit.js
+++ b/src/commands/view/ComponentExit.js
@@ -1,6 +1,6 @@
module.exports = {
- run(ed) {
- if (!ed.Canvas.hasFocus()) return;
+ run(ed, snd, opts = {}) {
+ if... | Force component exit command in the toolbar | artf_grapesjs | train | js,js |
642e5f8b076729b0a3f69be05c0907d31d595d41 | diff --git a/modules/metarefresh/hooks/hook_cron.php b/modules/metarefresh/hooks/hook_cron.php
index <HASH>..<HASH> 100644
--- a/modules/metarefresh/hooks/hook_cron.php
+++ b/modules/metarefresh/hooks/hook_cron.php
@@ -13,9 +13,14 @@ function metarefresh_hook_cron(&$croninfo) {
try {
$config = SimpleSAML_Configu... | metarefresh: Avoid warning from cron when missing configuration file. | simplesamlphp_saml2 | train | php |
b7f74f1e42fa14b99815b64171805723fcc1d13c | diff --git a/tchannel/tornado/tchannel.py b/tchannel/tornado/tchannel.py
index <HASH>..<HASH> 100644
--- a/tchannel/tornado/tchannel.py
+++ b/tchannel/tornado/tchannel.py
@@ -464,7 +464,7 @@ class TChannel(object):
else:
scheme = "raw"
scheme = scheme.lower()
- if scheme ==... | Allowing bytestrings in schema | uber_tchannel-python | train | py |
0a5534506023e6f1d19698daf3e424c52836b30a | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1410,8 +1410,22 @@ describe('Page', function() {
expect(await page.evaluate(() => 'ontouchstart' in window)).toBe(false);
await page.setViewport(iPhone.viewport);
expect(await page.evaluat... | Test touch emulation more completely (#<I>) | GoogleChrome_puppeteer | train | js |
7e7f0a5ef3b70a5f79ab7534228769a197035efc | diff --git a/packages/ember-routing/lib/system/router.js b/packages/ember-routing/lib/system/router.js
index <HASH>..<HASH> 100644
--- a/packages/ember-routing/lib/system/router.js
+++ b/packages/ember-routing/lib/system/router.js
@@ -119,8 +119,6 @@ const EmberRouter = EmberObject.extend(Evented, {
let owner = ge... | Router.map variable declared twice with same value
Minor, just noticed this while getting ready to send another PR to improve `Router.map` | emberjs_ember.js | train | js |
e1a35bb2679c7118da605c2d820544cfb84ddc9d | diff --git a/host.go b/host.go
index <HASH>..<HASH> 100644
--- a/host.go
+++ b/host.go
@@ -643,12 +643,14 @@ func (h *Host) Kill() error {
}
func (h *Host) Restart() error {
- if err := h.Stop(); err != nil {
- return err
- }
+ if h.MachineInState(state.Running)() {
+ if err := h.Stop(); err != nil {
+ return e... | vbox: fix issue where could not restart a stopped instance | docker_machine | train | go |
cafb3fc58525e24ee2d2af1c5fa5c77deaa1485b | diff --git a/src/renderer.js b/src/renderer.js
index <HASH>..<HASH> 100644
--- a/src/renderer.js
+++ b/src/renderer.js
@@ -49,7 +49,8 @@ vgl.renderer = function() {
m_y = 0,
m_width = 0,
m_height = 0,
- m_resizable = true;
+ m_resizable = true,
+ m_resetScene = true;
m_camera.ad... | Reset camera when a first drawble is added or last drawable is removed | OpenGeoscience_vgl | train | js |
9d707017b12a7569fc960a862db6c91082a1d319 | diff --git a/core/src/main/java/lucee/runtime/exp/DatabaseException.java b/core/src/main/java/lucee/runtime/exp/DatabaseException.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/lucee/runtime/exp/DatabaseException.java
+++ b/core/src/main/java/lucee/runtime/exp/DatabaseException.java
@@ -49,7 +49,7 @@ public ... | Update pull per Micha's recommendation | lucee_Lucee | train | java |
f26f766afa141b5b0175f2c1d7af3929e3957a5a | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -103,13 +103,14 @@ gulp.task('release-clean', async () => {
});
gulp.task('release-copy', ['build', 'release-clean'], () => (
- gulp.src('build/**')
+ gulp.src(['build/**', 'README.md', 'LICENSE'])
.pipe... | update release script to add README to package (#<I>) | ringcentral_ringcentral-js-widgets | train | js |
d6dee81274f7c94cc971ef6360762abc0f3756a5 | diff --git a/upload/install/controller/upgrade/upgrade_8.php b/upload/install/controller/upgrade/upgrade_8.php
index <HASH>..<HASH> 100644
--- a/upload/install/controller/upgrade/upgrade_8.php
+++ b/upload/install/controller/upgrade/upgrade_8.php
@@ -202,6 +202,16 @@ class Upgrade8 extends \Opencart\System\Engine\Contr... | Added cart subscription_plan_id lookup | opencart_opencart | train | php |
ab6b35be5efbc26837b0d6fb2de0795a40cd1461 | diff --git a/Grid/Grid.php b/Grid/Grid.php
index <HASH>..<HASH> 100644
--- a/Grid/Grid.php
+++ b/Grid/Grid.php
@@ -670,7 +670,7 @@ class Grid
protected function set($key, $data)
{
// Only the filters values are removed from the session
- if (key_exists($key, $this->sessionData) && is_array($da... | Fix bug - Write data to the session when a null operator is selected | APY_APYDataGridBundle | train | php |
34b1e89cdce4a4551020330bfe1a50881b684f8e | diff --git a/bin/PCoA.py b/bin/PCoA.py
index <HASH>..<HASH> 100755
--- a/bin/PCoA.py
+++ b/bin/PCoA.py
@@ -1,11 +1,4 @@
-#!usr/bin/env python
-"""
-Author: Akshay Paropkari
-
-Abstract: Python file for personal testing and debugging.
-"""
#!/usr/bin/env python
-# coding: utf-8
import argparse
from collections import... | Updated PCoA .py
Removed irrelevant information from final script. | smdabdoub_phylotoast | train | py |
d338dea3425dabfaaec1566690aa98e9e7d2db7e | diff --git a/src/Http/Response/ProblemResponse.php b/src/Http/Response/ProblemResponse.php
index <HASH>..<HASH> 100644
--- a/src/Http/Response/ProblemResponse.php
+++ b/src/Http/Response/ProblemResponse.php
@@ -44,7 +44,7 @@ class ProblemResponse extends AbstractResponse
$body->title = substr($this->statusCode... | Fix a bug when errors in ProblemResponse body encoding was not caught correctly | Lou117_core | train | php |
356fbb04f1b12a97f77886ae297000d10c69c532 | diff --git a/src/js/client/ajaxCapable.js b/src/js/client/ajaxCapable.js
index <HASH>..<HASH> 100644
--- a/src/js/client/ajaxCapable.js
+++ b/src/js/client/ajaxCapable.js
@@ -27,6 +27,8 @@ For the second use case, you can start with the `templateFormControl` component.
If you need to do both (or each multiple times), ... | GPII-<I>: Added a note about the long-term need to convert to a data source. | GPII_gpii-handlebars | train | js |
b2c24763babce537a154dc9870b81029f1abf6dc | diff --git a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java
+++ b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.ja... | Logging to help debug repeated subscription to cluster objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
b40b3eb0d5f4aea51ea020a05fc41c5393cef60f | diff --git a/provider/openstack/legacy_networking.go b/provider/openstack/legacy_networking.go
index <HASH>..<HASH> 100644
--- a/provider/openstack/legacy_networking.go
+++ b/provider/openstack/legacy_networking.go
@@ -70,7 +70,9 @@ func (n *LegacyNovaNetworking) ResolveNetwork(name string, external bool) (strin
ret... | Forces positive match on "" for Nova network resolution. | juju_juju | train | go |
2a8c3cd52ddf7aa2fdf842dbb3cadc95a294743f | diff --git a/librosa/core/time_frequency.py b/librosa/core/time_frequency.py
index <HASH>..<HASH> 100644
--- a/librosa/core/time_frequency.py
+++ b/librosa/core/time_frequency.py
@@ -756,7 +756,7 @@ def octs_to_hz(octs, A440=440.0):
def fft_frequencies(sr=22050, n_fft=2048):
- '''Alternative implementation of `... | Fix a typo in time_frequency.py
Can't find a `np.fft.fftfreqs` function - maybe this should be `np.fft.fftfreq`? | librosa_librosa | train | py |
91e34682585ed5e76860dc097066c2073d7cc787 | diff --git a/src/programs/Migrate.php b/src/programs/Migrate.php
index <HASH>..<HASH> 100644
--- a/src/programs/Migrate.php
+++ b/src/programs/Migrate.php
@@ -326,8 +326,6 @@ class Migrate implements iCommand
self::largeHttpGetRequestsToFile(self::$remoteUrl . $uri . '?license=' . self::$license, $im... | updating migrations to only check for dump complete count in sql | RichardTMiles_CarbonPHP | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.