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 |
|---|---|---|---|---|---|
d2c1bd80350f692c5c2298cb88859564ec0a061b | diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index <HASH>..<HASH> 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -103,10 +103,9 @@ class Git(MethodMissingMixin):
)
# Wait for the process to return
- stdout_value, err = proc.communicate()
+ status = proc.wai... | reverted to the cleaner and safer proc.wait method instead of communicate. | gitpython-developers_GitPython | train | py |
2a6a7f3772a3eb270cca7177b524157f0b1cda26 | diff --git a/lib/Sabre/DAV/Server.php b/lib/Sabre/DAV/Server.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/DAV/Server.php
+++ b/lib/Sabre/DAV/Server.php
@@ -1397,6 +1397,18 @@ class Sabre_DAV_Server {
}
/**
+ * This method is invoked by sub-systems creating a new directory.
+ *
+ * @param stri... | Undoing the removal of the 'createDirectory' method | sabre-io_dav | train | php |
73fe6847d18f45c084261c9fc1d5f285c3edaf9d | diff --git a/lib/rubocop/cop/commissioner.rb b/lib/rubocop/cop/commissioner.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/commissioner.rb
+++ b/lib/rubocop/cop/commissioner.rb
@@ -105,11 +105,9 @@ module RuboCop
# Allow blind rescues here, since we're absorbing and packaging or
# re-raising excepti... | Favor specifying error class over disabling Lint/RescueWithoutErrorClass (#<I>) | rubocop-hq_rubocop | train | rb |
8091b08f15a408d070ec7bd49aadad89f562a588 | diff --git a/lib/oink/rails/instance_type_counter.rb b/lib/oink/rails/instance_type_counter.rb
index <HASH>..<HASH> 100644
--- a/lib/oink/rails/instance_type_counter.rb
+++ b/lib/oink/rails/instance_type_counter.rb
@@ -46,10 +46,23 @@ module Oink
@@total ||= @@instantiated.inject(0) { |i, j| i + j.last }
... | Making compatible with Rack::Bug which also hooks into after_initialize | noahd1_oink | train | rb |
2b18587450c3ac296c8e7cac3cb215ade4353878 | diff --git a/src/AbstractWpEventManager.php b/src/AbstractWpEventManager.php
index <HASH>..<HASH> 100644
--- a/src/AbstractWpEventManager.php
+++ b/src/AbstractWpEventManager.php
@@ -99,7 +99,7 @@ abstract class AbstractWpEventManager extends AbstractEventManager
protected function _detach($event, $callback, $prio... | Fixed priority argument not being passed through (#6) | Dhii_wp-events | train | php |
eb4ffdbf8ba27391482b13f5fe529551c95b9c9a | diff --git a/src/ExpandedSingles.php b/src/ExpandedSingles.php
index <HASH>..<HASH> 100755
--- a/src/ExpandedSingles.php
+++ b/src/ExpandedSingles.php
@@ -39,6 +39,10 @@ class ExpandedSingles extends Plugin
self::$plugin = $this;
+ if (!Craft::$app->getRequest()->getIsCpRequest()) {
+ ret... | Make sure plugin only activates functionality on the CP | verbb_expanded-singles | train | php |
3de7f7aef59d259aae92dcaf938828ae298903d6 | diff --git a/lib/sass/scss/parser.rb b/lib/sass/scss/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/scss/parser.rb
+++ b/lib/sass/scss/parser.rb
@@ -215,12 +215,12 @@ module Sass
end
def special_directive(name, start_pos)
- sym = name.gsub('-', '_').to_sym
+ sym = name.tr('-', '_').t... | Use tr instead of gsub for single characters
Suggested by fasterer gem for better performance. | sass_ruby-sass | train | rb |
b42f89adf97e0bd06d22a5f6db8efd83c2b5af03 | diff --git a/plugins/upload/trumbowyg.upload.js b/plugins/upload/trumbowyg.upload.js
index <HASH>..<HASH> 100644
--- a/plugins/upload/trumbowyg.upload.js
+++ b/plugins/upload/trumbowyg.upload.js
@@ -29,6 +29,11 @@
upload: "Envoi",
file: "Fichier",
uploadError: "Erreu... | add missing cs translations for upload plugin | Alex-D_Trumbowyg | train | js |
7daa43e65d1233c1a31212e9de962dd60e7e3957 | diff --git a/psamm/expression/boolean.py b/psamm/expression/boolean.py
index <HASH>..<HASH> 100644
--- a/psamm/expression/boolean.py
+++ b/psamm/expression/boolean.py
@@ -210,7 +210,7 @@ def Expression(s): # noqa
(\(|\[) | # group_start
(\)|\]) | # group_end
((?:or|and)... | boolean: Impose fewer restrictions on variable names when parsing | zhanglab_psamm | train | py,py |
7c373f96811f07fc1ae2ea5f2cbcddf5fe57c242 | diff --git a/handler.py b/handler.py
index <HASH>..<HASH> 100644
--- a/handler.py
+++ b/handler.py
@@ -178,7 +178,7 @@ class MyHandler():
html = parse(urlopen(req, timeout=3))
title = html.find(".//title").text.strip()
# strip unicode
- title = title.encode('ascii', 'ig... | Switch to utf-8 to support unicode | tjcsl_cslbot | train | py |
881405cd1f24e84253fa6df276f94af4aa86d197 | diff --git a/pseudotypes.go b/pseudotypes.go
index <HASH>..<HASH> 100644
--- a/pseudotypes.go
+++ b/pseudotypes.go
@@ -214,6 +214,6 @@ func reqlGeometryToNativeGeometry(obj map[string]interface{}) (interface{}, erro
}, nil
}
} else {
- return nil, fmt.Errorf("pseudo-type GEOMETRY object %v field has unknown t... | Add obj to fix issue reported by govet | rethinkdb_rethinkdb-go | train | go |
2070bf81a7acffab2fd3236f3c675a1281d7e2b3 | diff --git a/lib/rackstash/fields/hash.rb b/lib/rackstash/fields/hash.rb
index <HASH>..<HASH> 100644
--- a/lib/rackstash/fields/hash.rb
+++ b/lib/rackstash/fields/hash.rb
@@ -212,6 +212,13 @@ module Rackstash
@raw.empty?
end
+ # @param key [String] The name of a key to check. This MUST be a corre... | Move Fields::Hash#forbidden_key? into its correct alphabetical position | meineerde_rackstash | train | rb |
00bac0137604f429db78e4230da51ec51dcd2446 | diff --git a/metasrc/pandoc/convert.py b/metasrc/pandoc/convert.py
index <HASH>..<HASH> 100644
--- a/metasrc/pandoc/convert.py
+++ b/metasrc/pandoc/convert.py
@@ -96,6 +96,8 @@ def convert_text(content, from_fmt, to_fmt, deparagraph=False, mathjax=False,
if deparagraph:
extra_args.append('--filter=metasrc... | Use --wrap=none pandoc argument by default
This lets us ignore hardwraps when testing plain content outputs.
It has minimal impact on html5 output expect that now no newline is
being inserted between elements. | lsst-sqre_lsst-projectmeta-kit | train | py,py |
7fde1dc528d9fcd05f15bfe1cf93bc59716c2a8c | diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index <HASH>..<HASH> 100644
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -272,3 +272,13 @@ class TestScheduler(RQTestCase):
"""
s = Scheduler()
self.assertEqual(s.connection, self.testconn)
+
+ def test_no_fun... | New test: Ensure functions from the __main__ module are not accepted for scheduling. | rq_rq-scheduler | train | py |
646d426d2665a10e9becd2f95fd997df4bad36d9 | diff --git a/src/server/auth/server/api_server.go b/src/server/auth/server/api_server.go
index <HASH>..<HASH> 100644
--- a/src/server/auth/server/api_server.go
+++ b/src/server/auth/server/api_server.go
@@ -876,6 +876,8 @@ func (a *apiServer) getAuthenticatedUser(ctx context.Context) (*authclient.User,
var user authc... | Note error message strings that are matched in the UI
If edited, these messages also need to be updated in the UI code | pachyderm_pachyderm | train | go |
49e4ccadb6319f62ee9eaadc1fd67ea042524e31 | diff --git a/indra/tools/assemble_corpus.py b/indra/tools/assemble_corpus.py
index <HASH>..<HASH> 100644
--- a/indra/tools/assemble_corpus.py
+++ b/indra/tools/assemble_corpus.py
@@ -387,7 +387,7 @@ def run_preassembly(stmts_in, **kwargs):
refinement_fun = kwargs.get('refinement_fun')
use_hierarchies = kwargs... | Handle matches_fun in assemble corpus | sorgerlab_indra | train | py |
7244e2b1cf285ec8a57585eede58e5c3b32f2f24 | diff --git a/apps/loggregator.go b/apps/loggregator.go
index <HASH>..<HASH> 100644
--- a/apps/loggregator.go
+++ b/apps/loggregator.go
@@ -67,7 +67,12 @@ var _ = AppsDescribe("loggregator", func() {
})
It("exercises basic loggregator behavior", func() {
- Eventually(logs, (Config.DefaultTimeoutDuration() + ti... | If running with , header will not be emitted
- CATs will never run as a terminal
[#<I>] | cloudfoundry_cf-acceptance-tests | train | go |
df1bca10b12431923e038ccc616f7fe51a85cfe5 | diff --git a/src/v-tooltip.js b/src/v-tooltip.js
index <HASH>..<HASH> 100644
--- a/src/v-tooltip.js
+++ b/src/v-tooltip.js
@@ -170,14 +170,19 @@ class SuperTooltip extends Tooltip {
return super._dispose()
}
- _show (...args) {
+ _show (reference, options, ...args) {
+ if (options && typeof options.conta... | Fix: Cannot read property appendChild of null (#<I>) | Akryum_v-tooltip | train | js |
204bfbfb949047cbd18c2346e37b455888541351 | diff --git a/nfc/dev/pn53x.py b/nfc/dev/pn53x.py
index <HASH>..<HASH> 100644
--- a/nfc/dev/pn53x.py
+++ b/nfc/dev/pn53x.py
@@ -174,6 +174,7 @@ class pn53x_usb(pn53x):
self.dh = dev.open()
self.usb_out = None
self.usb_inp = None
+ self.dh.setConfiguration(dev.configurations[0])
... | Fixing Windows Compatibility... again (problem with accessing USB device) | nfcpy_nfcpy | train | py |
590eabba3e4477c1af0d3aced310b894731ee947 | diff --git a/Kwf_js/EyeCandy/List.js b/Kwf_js/EyeCandy/List.js
index <HASH>..<HASH> 100644
--- a/Kwf_js/EyeCandy/List.js
+++ b/Kwf_js/EyeCandy/List.js
@@ -77,7 +77,11 @@ Ext.extend(Kwf.EyeCandy.List, Ext.util.Observable, {
*/
this.fireEvent('childStateChanged', item);
}, t... | use initially (from css) set display mode for displaying items
this allows using inline-block or table-cell | koala-framework_koala-framework | train | js |
7200c66faf97406fec8ef8d1475f39b80b595de3 | diff --git a/lib/spinach/generators/feature_generator.rb b/lib/spinach/generators/feature_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/spinach/generators/feature_generator.rb
+++ b/lib/spinach/generators/feature_generator.rb
@@ -69,8 +69,8 @@ module Spinach
# Stores the example feature steps definition int... | Detect existing features in subfolders | codegram_spinach | train | rb |
d81f1af139bf79bcf1b8750fe4d9fd5821718331 | diff --git a/submissions/views.py b/submissions/views.py
index <HASH>..<HASH> 100644
--- a/submissions/views.py
+++ b/submissions/views.py
@@ -3,7 +3,7 @@
import logging
from django.contrib.auth.decorators import login_required
-from django.shortcuts import render_to_response
+from django.shortcuts import render
... | refactor: address ancient django feature removal
this was removed in django 3. (Also this view file can likely be deleted.) | edx_edx-submissions | train | py |
466596c0c98ee4e3ce5987679552efcc3ed79fd9 | diff --git a/mungegithub/mungers/submit-queue.go b/mungegithub/mungers/submit-queue.go
index <HASH>..<HASH> 100644
--- a/mungegithub/mungers/submit-queue.go
+++ b/mungegithub/mungers/submit-queue.go
@@ -51,7 +51,7 @@ const (
jenkinsE2EContext = "Jenkins GCE e2e"
jenkinsUnitContext = "Jenkins unit/integration"
- ... | There is no space in the status name! | kubernetes-retired_contrib | train | go |
090e3b5ff8cd0819339946f74e4aa6c0dfeebd29 | diff --git a/test/qtismtest/runtime/storage/binary/QtiBinaryStreamAccessTest.php b/test/qtismtest/runtime/storage/binary/QtiBinaryStreamAccessTest.php
index <HASH>..<HASH> 100644
--- a/test/qtismtest/runtime/storage/binary/QtiBinaryStreamAccessTest.php
+++ b/test/qtismtest/runtime/storage/binary/QtiBinaryStreamAccessTe... | Additional tests for readShufflingState. | oat-sa_qti-sdk | train | php |
79e617197498484582ade5ff771a62e6cb20f1ff | diff --git a/saucelabs.karma.conf.js b/saucelabs.karma.conf.js
index <HASH>..<HASH> 100644
--- a/saucelabs.karma.conf.js
+++ b/saucelabs.karma.conf.js
@@ -61,6 +61,7 @@ module.exports = (config) => {
'plugins/autoprint.js',
'plugins/addhtml.js',
'plugins/addimage.js',
+ 'plugins/viewerpreferen... | Update saucelabs.karma.conf.js | MrRio_jsPDF | train | js |
857c9654eab5a00753641893c16175377c4651a4 | diff --git a/src/js/load.js b/src/js/load.js
index <HASH>..<HASH> 100644
--- a/src/js/load.js
+++ b/src/js/load.js
@@ -72,8 +72,7 @@
this.image = {
naturalWidth: naturalWidth,
naturalHeight: naturalHeight,
- aspectRatio: naturalWidth / naturalHeight,
- rotate: 0
+ ... | Not set "rotate" by default | fengyuanchen_cropper | train | js |
d4f31b216855024f624b02bcdbd057bd555baff6 | diff --git a/atomic_reactor/plugins/exit_remove_built_image.py b/atomic_reactor/plugins/exit_remove_built_image.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/exit_remove_built_image.py
+++ b/atomic_reactor/plugins/exit_remove_built_image.py
@@ -65,3 +65,6 @@ class GarbageCollectionPlugin(ExitPlugin):
... | remove_built_image: catch exceptions and ignore | projectatomic_atomic-reactor | train | py |
c05ca7b880701655fdb3a70f689ffb9299f413a8 | diff --git a/library/src/main/java/fr/tvbarthel/simplesoundcloud/library/player/SimpleSoundCloudPlayer.java b/library/src/main/java/fr/tvbarthel/simplesoundcloud/library/player/SimpleSoundCloudPlayer.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/fr/tvbarthel/simplesoundcloud/library/player/SimpleSoundClo... | [Notification] fix icon when previous/next is used | tvbarthel_Cheerleader | train | java |
c4432c6fcf4c032bc291fee0abe94109eae59b04 | diff --git a/Element/PhpMethod.php b/Element/PhpMethod.php
index <HASH>..<HASH> 100755
--- a/Element/PhpMethod.php
+++ b/Element/PhpMethod.php
@@ -207,4 +207,16 @@ class PhpMethod extends PhpFunction
}
return array();
}
+ /**
+ * Allows to indicate that children are contained by brackets,
... | override useBracketsForChildren | WsdlToPhp_PhpGenerator | train | php |
e175a32102748730f72987180aeb5992c1d1e2a0 | diff --git a/examples/multiple.php b/examples/multiple.php
index <HASH>..<HASH> 100644
--- a/examples/multiple.php
+++ b/examples/multiple.php
@@ -17,18 +17,6 @@ $guzzle = new Client([
foreach ([
[
- 'name' => 'Amazon',
- 'url' => 'http://www.amazon.com/',
- ],
- [
- 'name' => 'Google... | Simplified the number of sites to test against | WyriHaximus_ReactGuzzle | train | php |
02a248bdf468a9fd7caa1849e01d286da1afd3c1 | diff --git a/src/fuzzfetch/fetch.py b/src/fuzzfetch/fetch.py
index <HASH>..<HASH> 100644
--- a/src/fuzzfetch/fetch.py
+++ b/src/fuzzfetch/fetch.py
@@ -171,10 +171,13 @@ class Platform(object):
"""
Create a platform object from a namespace build string
"""
+ match = []
for syst... | Take the longest match when searching for platform in a namespace.
This was causing intermittent test failures on py<I> and py<I> where
dictionary iteration order is random. | MozillaSecurity_fuzzfetch | train | py |
50f57c4dc31d985575fc441d518338e4002f926a | 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
@@ -22,7 +22,7 @@ RSpec.configure do |config|
config.use_instantiated_fixtures = false
config.fixture_path = "#{::Rails.root}/test/fixtures"
config.global_fixtures =
- %w{ ... | Remove another fixture ... \o/ | publify_publify | train | rb |
6c335bff956214d68ec868ab68d2e7952a12b8d2 | diff --git a/datatools/management/commands/dumpdata.py b/datatools/management/commands/dumpdata.py
index <HASH>..<HASH> 100644
--- a/datatools/management/commands/dumpdata.py
+++ b/datatools/management/commands/dumpdata.py
@@ -67,6 +67,8 @@ def objects_from_queryset(queryset, using='default'):
if obj not in ob... | it helps to actually return the objects in dumpdata | dcramer_django-data-tools | train | py |
2bdc70ec7b9cc1898c2ff6b3a1f50d289d9b0458 | diff --git a/DependencyInjection/CLSlackExtension.php b/DependencyInjection/CLSlackExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/CLSlackExtension.php
+++ b/DependencyInjection/CLSlackExtension.php
@@ -11,10 +11,10 @@
namespace CL\Bundle\SlackBundle\DependencyInjection;
-use Symfony\Component\... | Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
<URL> | cleentfaar_CLSlackBundle | train | php |
419608d8da7fcb0e63d9cfc73cb05d59b2de0e56 | diff --git a/beets/mediafile.py b/beets/mediafile.py
index <HASH>..<HASH> 100644
--- a/beets/mediafile.py
+++ b/beets/mediafile.py
@@ -945,6 +945,10 @@ class MediaFile(object):
return self.mgfile.info.length
@property
+ def samplerate(self):
+ return self.mgfile.info.sample_rate
+
+ @proper... | Added a property for sample rate, mutagen provides this as sample_rate
Original: beetbox/beets@cda7b4d | beetbox_mediafile | train | py |
ab18a6a4433892790e7e7d5f8ed52853f5fcf504 | diff --git a/lib/bandcamp/getter.rb b/lib/bandcamp/getter.rb
index <HASH>..<HASH> 100644
--- a/lib/bandcamp/getter.rb
+++ b/lib/bandcamp/getter.rb
@@ -39,5 +39,11 @@ module BandCamp
end
end
+ def band name
+ response = @request.band name
+ response.nil? ? nil : Band.new(response)
+ end
+
+... | Added Getter#band
Returns the Band object for the given id. | sleepycat_bandcamp_api | train | rb,rb |
b07a280c80082b76f1c7adb270cbd5aa8343c759 | diff --git a/fragments/apply.py b/fragments/apply.py
index <HASH>..<HASH> 100644
--- a/fragments/apply.py
+++ b/fragments/apply.py
@@ -9,9 +9,10 @@ from . import Prompt, _iterate_over_files
def apply(*args):
"""
- Apply changes in SOURCE_FILENAME that were made since last commit.
- Apply changes to TARGET... | I guess I need to start using fragments to manage its own documentation | glyphobet_fragments | train | py |
6b8142c041b921d0b93613451d48625c48453696 | diff --git a/aikif/toolbox/network_tools.py b/aikif/toolbox/network_tools.py
index <HASH>..<HASH> 100644
--- a/aikif/toolbox/network_tools.py
+++ b/aikif/toolbox/network_tools.py
@@ -62,6 +62,22 @@ def download_file_no_logon(url, filename):
#print (response.read().decode('utf-8'))
f.write(response.rea... | added download file function using requests which works for odd sites | acutesoftware_AIKIF | train | py |
8a92d768e5a67582304f7ff173ec0e01179c2a15 | diff --git a/samples/Workforce/load_assignments_csv.py b/samples/Workforce/load_assignments_csv.py
index <HASH>..<HASH> 100644
--- a/samples/Workforce/load_assignments_csv.py
+++ b/samples/Workforce/load_assignments_csv.py
@@ -128,9 +128,9 @@ def main():
json_string['attributes']['assignmen... | resolved field name change in workorder script | Esri_ArcREST | train | py |
fca063609065a820fe813a84b55c32bea89e29fa | diff --git a/pkg/scheduler/apis/config/types.go b/pkg/scheduler/apis/config/types.go
index <HASH>..<HASH> 100644
--- a/pkg/scheduler/apis/config/types.go
+++ b/pkg/scheduler/apis/config/types.go
@@ -26,12 +26,6 @@ import (
)
const (
- // SchedulerDefaultLockObjectNamespace defines default scheduler lock object name... | cleanup unused constants for deprecated flags | kubernetes_kubernetes | train | go |
e48f237136b55bb6395fa460c8a1b25084b51f7b | diff --git a/GDAX/AuthenticatedClient.py b/GDAX/AuthenticatedClient.py
index <HASH>..<HASH> 100644
--- a/GDAX/AuthenticatedClient.py
+++ b/GDAX/AuthenticatedClient.py
@@ -71,6 +71,13 @@ class AuthenticatedClient(PublicClient):
r = requests.delete(self.url + '/orders/' + orderId, auth=self.auth)
return... | Added cancel all orders ability to authenticated client | danpaquin_coinbasepro-python | train | py |
c39acda81a533f8fe6ca65c901b4ba871c0194d6 | diff --git a/tests/Unit/InMemoryProductRepositoryTest.php b/tests/Unit/InMemoryProductRepositoryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/InMemoryProductRepositoryTest.php
+++ b/tests/Unit/InMemoryProductRepositoryTest.php
@@ -6,7 +6,8 @@ namespace Brera\PoC;
/**
* Class InMemoryProductRepositoryTest
*... | Issue #1: add missing use tags for phpunit and absolute class name | lizards-and-pumpkins_catalog | train | php |
19b2defb1a3c200af9b823c2d43fe60bc7c20e95 | diff --git a/config/console.php b/config/console.php
index <HASH>..<HASH> 100644
--- a/config/console.php
+++ b/config/console.php
@@ -25,10 +25,6 @@ return [
],
],
'db' => $db,
- 'fixture' => [
- 'class' => 'yii\test\DbFixtureManager',
- 'basePath' => '@tests/unit/fixtures',
- ],
],
'params' => $pa... | refactored fixture feature. | yiisoft_yii2-app-basic | train | php,php |
c65921d4226a7be67566d6d1de302cce6a769745 | diff --git a/lib/listlib.php b/lib/listlib.php
index <HASH>..<HASH> 100644
--- a/lib/listlib.php
+++ b/lib/listlib.php
@@ -64,7 +64,6 @@ class moodle_list {
var $parentitem = null;
var $table;
var $fieldnamesparent = 'parent';
- var $sortby = 'parent, sortorder, name';
/**
* Records from db... | Question categories. Move code to a more appropriate place. | moodle_moodle | train | php,php |
119dcc1d4b9c5884924274da4441e52585b177a2 | diff --git a/src/Response/Body.php b/src/Response/Body.php
index <HASH>..<HASH> 100644
--- a/src/Response/Body.php
+++ b/src/Response/Body.php
@@ -47,11 +47,14 @@ final class Body
/**
* Constructor.
- * @param any $data
+ * @param string|null $data
+ * @param string $type
+ * @param st... | Add more args to constructor. | froq_froq-http | train | php |
97ba9409f092868c1fa7a8efacc90353e02683ca | diff --git a/anchore/anchore_feeds.py b/anchore/anchore_feeds.py
index <HASH>..<HASH> 100644
--- a/anchore/anchore_feeds.py
+++ b/anchore/anchore_feeds.py
@@ -232,10 +232,9 @@ def sync_feeds(force_since=None):
_logger.warn("\t\tWARN: failed to download feed/group data ("+str(feed)+"/"+s... | fix small bug to print accurately when skipping sync of unsubscribed feeds | anchore_anchore | train | py |
55e96f7761f0ed6a972d93df851a2d0c3eddedb6 | diff --git a/examples/cuda/reduction.py b/examples/cuda/reduction.py
index <HASH>..<HASH> 100755
--- a/examples/cuda/reduction.py
+++ b/examples/cuda/reduction.py
@@ -26,7 +26,7 @@ def tune():
args = [sum_x, x, n]
#tune the first kernel
- first_kernel = tune_kernel("sum_floats", kernel_string, problem_si... | updated reduction example, following changes in what tune_kernel returns | benvanwerkhoven_kernel_tuner | train | py |
b605594388fe7b242b4df902dcc78752525ff96d | diff --git a/bin/hacker.js b/bin/hacker.js
index <HASH>..<HASH> 100755
--- a/bin/hacker.js
+++ b/bin/hacker.js
@@ -6,6 +6,7 @@ var Liftoff = require('liftoff');
var Hacker = new Liftoff({
localDeps: ['hacker'],
configName: 'hackerfile',
+ processTitle: 'hacker',
cwdOpt: 'cwd',
requireOpt: 'require'
}).on... | Update: Add process title & improve callback invocation | gulpjs_hacker | train | js |
d4a167e7c6c42506f167cf447846f826a9844c95 | diff --git a/src/core/observer/watcher.js b/src/core/observer/watcher.js
index <HASH>..<HASH> 100644
--- a/src/core/observer/watcher.js
+++ b/src/core/observer/watcher.js
@@ -99,12 +99,12 @@ export default class Watcher {
this.vm
)
}
- /* istanbul ignore else */
- if (conf... | watcher errors should be handled in production mode as well | IOriens_wxml-transpiler | train | js |
3d434bada4d1194f102cde6e0791e4b41002db1e | diff --git a/lib/all/callback.rb b/lib/all/callback.rb
index <HASH>..<HASH> 100644
--- a/lib/all/callback.rb
+++ b/lib/all/callback.rb
@@ -6,7 +6,7 @@ module CallbacksAttachable
@once = opts.fetch(:once?, false)
@instance_scope = instance_scope
@callback = callback
- @canceled = false
+ @... | renamed Callback#canceled? to #cancelled? | christopheraue_m-ruby-callbacks_attachable | train | rb |
0c34e3946127d929095742778b661ec5c27cb510 | diff --git a/jspdf.plugin.cell.js b/jspdf.plugin.cell.js
index <HASH>..<HASH> 100644
--- a/jspdf.plugin.cell.js
+++ b/jspdf.plugin.cell.js
@@ -52,7 +52,8 @@
getLnP = function (x) {
return lnP;
};
- jsPDFAPI.getTextDimentions = function (txt) {
+
+ jsPDFAPI.getTextDimensions = functi... | [DASH-<I>] Create Export to PDF
Fixed typo | MrRio_jsPDF | train | js |
a5e854611254efd214f063895384f73aefc06f46 | diff --git a/lib/rack/cors.rb b/lib/rack/cors.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/cors.rb
+++ b/lib/rack/cors.rb
@@ -338,7 +338,7 @@ module Rack
self.path = path
self.credentials = public_resource ? false : (opts[:credentials] == true)
- self.max_age = opts[:max_... | Reduce default max_age to a more sensible value
Browsers cap the value of Access-Control-Max-Age, Chromium being the most aggressive at 2 hours:
<URL> | cyu_rack-cors | train | rb |
c0a1dd99316f926c8eae15ca6ea810eab234bb1a | diff --git a/test/parameters_test.rb b/test/parameters_test.rb
index <HASH>..<HASH> 100644
--- a/test/parameters_test.rb
+++ b/test/parameters_test.rb
@@ -1,4 +1,5 @@
require 'test_helper'
+require 'action_controller'
parameters_classes = [Delocalize::Parameters]
@@ -8,6 +9,8 @@ if defined?(ActionController::Para... | Ensure we actually test against ActionController::Parameters | clemens_delocalize | train | rb |
700a7e67a130c57f4366a030f79427b3442d4abe | diff --git a/cloudvolume/frontends/graphene.py b/cloudvolume/frontends/graphene.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/frontends/graphene.py
+++ b/cloudvolume/frontends/graphene.py
@@ -215,7 +215,7 @@ class CloudVolumeGraphene(CloudVolumePrecomputed):
leaves = self.get_leaves(segid, mip0_bbox, 0)
... | fix(graphene/images): don't let shared memory buffer get GC'd | seung-lab_cloud-volume | train | py |
8e61e0f9b9ce8b1526ad82e7ea85d6bcb8a50913 | diff --git a/course/view.php b/course/view.php
index <HASH>..<HASH> 100644
--- a/course/view.php
+++ b/course/view.php
@@ -104,10 +104,18 @@
// Check user is allowed to see it.
if (!$coursesections->uservisible) {
- // Note: We actually already know they don't have this capability
- ... | MDL-<I> course: Error when accessing a conditionally hidden section
Show a nice error when the user accidentally views a section
that is conditionally hidden. Otherwise, continue to show
original error when section is just hidden to them. | moodle_moodle | train | php |
fd8bfce6d2ead55184ea0c9d48a02c979b1a9ab8 | diff --git a/lib/onebox/sanitize_config.rb b/lib/onebox/sanitize_config.rb
index <HASH>..<HASH> 100644
--- a/lib/onebox/sanitize_config.rb
+++ b/lib/onebox/sanitize_config.rb
@@ -10,7 +10,7 @@ class Sanitize
attributes: {
'a' => RELAXED[:attributes]['a'] + %w(target),
- 'audio' => %w[controls],... | FIX: Allow controlslist attribute for audio (#<I>)
Same as video, this allows for nofullscreen, nodownload etc. | discourse_onebox | train | rb,rb |
f72db77edacc8e8fdc51590604d9e5d13c90d18f | diff --git a/src/main/java/base/messages/Message.java b/src/main/java/base/messages/Message.java
index <HASH>..<HASH> 100644
--- a/src/main/java/base/messages/Message.java
+++ b/src/main/java/base/messages/Message.java
@@ -123,6 +123,7 @@ public abstract class Message {
}
public static String decryptPayload... | Added null testing in the decryptPayload method in the Message class and tests. | SG-O_miIO | train | java,java |
9a7411a92b52022f881280d953a77c424b0f9a78 | diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -382,7 +382,7 @@ modul... | Refactor grep call to remove .each
Grep already yields the matching keys to the given block. | rails_rails | train | rb |
29c8f66bc012ee1f56e09f846669cbd671ee8fb6 | diff --git a/bosh-dev/lib/bosh/dev/sandbox/main.rb b/bosh-dev/lib/bosh/dev/sandbox/main.rb
index <HASH>..<HASH> 100644
--- a/bosh-dev/lib/bosh/dev/sandbox/main.rb
+++ b/bosh-dev/lib/bosh/dev/sandbox/main.rb
@@ -229,8 +229,8 @@ module Bosh::Dev::Sandbox
@worker_process.start
# CI does not have enough tim... | Fix math for sandbox director wait time | cloudfoundry_bosh | train | rb |
c2630dcd41b37c09c4ca00b43d45b74da48bf964 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,6 +34,19 @@ setup(
py_modules=['voluptuous'],
author='Alec Thomas',
author_email='alec@swapoff.org',
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: ... | Added package classifiers to indicate support for Python 3.x | alecthomas_voluptuous | train | py |
0eb64c4a69cd97126acafeabc12e999a586c8f75 | diff --git a/ca/django_ca/crl.py b/ca/django_ca/crl.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/crl.py
+++ b/ca/django_ca/crl.py
@@ -68,5 +68,10 @@ def get_crl(ca, encoding, expires, algorithm, password, ca_crl=False):
for cert in qs.revoked():
builder = builder.add_revoked_certificate(cert.get_revo... | add some todos for CRLs | mathiasertl_django-ca | train | py |
faea9063df2f17b614e7eb285a69e8a21a9ecc09 | diff --git a/go/vt/srvtopo/resilient_server_flaky_test.go b/go/vt/srvtopo/resilient_server_flaky_test.go
index <HASH>..<HASH> 100644
--- a/go/vt/srvtopo/resilient_server_flaky_test.go
+++ b/go/vt/srvtopo/resilient_server_flaky_test.go
@@ -134,16 +134,26 @@ func TestGetSrvKeyspace(t *testing.T) {
forceErr := fmt.Error... | handle a race in the test on slow execution machines | vitessio_vitess | train | go |
4db733f0d304018cffb647fcd68f75f0ecbc8bd7 | diff --git a/spyder/widgets/variableexplorer/tests/test_arrayeditor.py b/spyder/widgets/variableexplorer/tests/test_arrayeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/variableexplorer/tests/test_arrayeditor.py
+++ b/spyder/widgets/variableexplorer/tests/test_arrayeditor.py
@@ -101,7 +101,7 @@ def test_arra... | Fix a pep8 to trigger CI tests after rebase | spyder-ide_spyder | train | py |
6735d5e5e4d0ef32c78dee0ee242137c0d680069 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ def read_version():
return finder.version
-with open("README.md", "r") as desc_file:
+with codecs.open("README.md", "r", encoding='utf-8') as desc_file:
long_description = desc_file.read() | Use correct encodings for reading files in setup.py | timofurrer_colorful | train | py |
1a3abf0c1acf7864ce0a0bf9e00c777f5c710af3 | diff --git a/src/main/java/org/jboss/pressgang/ccms/rest/v1/client/PressGangCCMSProxyFactoryV1.java b/src/main/java/org/jboss/pressgang/ccms/rest/v1/client/PressGangCCMSProxyFactoryV1.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/rest/v1/client/PressGangCCMSProxyFactoryV1.java
+++ b/src/... | Updated the proxy factory to make sure it uses the right ResteasyProxyFactory instance. | pressgang-ccms_PressGangCCMSRESTv1Common | train | java |
04db639b61ef9afdefa552ee9fc1830c91678ec5 | diff --git a/bin/irkit b/bin/irkit
index <HASH>..<HASH> 100755
--- a/bin/irkit
+++ b/bin/irkit
@@ -98,7 +98,7 @@ unless irkit
exit 1
end
-p irkit
+puts irkit
if args.has_param? :get
name = args[:get]
diff --git a/lib/irkit/device.rb b/lib/irkit/device.rb
index <HASH>..<HASH> 100644
--- a/lib/irkit/device.rb... | hide deviceid and clientkey on irkit command #2 | shokai_ruby-irkit | train | irkit,rb,rb |
23352927a84ec641722d52552b3c1d7560d103fe | diff --git a/tests/PHPStan/Analyser/NodeScopeResolverTest.php b/tests/PHPStan/Analyser/NodeScopeResolverTest.php
index <HASH>..<HASH> 100644
--- a/tests/PHPStan/Analyser/NodeScopeResolverTest.php
+++ b/tests/PHPStan/Analyser/NodeScopeResolverTest.php
@@ -2585,6 +2585,10 @@ class NodeScopeResolverTest extends \PHPStan\T... | Test that combining types in complex branches works | phpstan_phpstan | train | php,php |
e6c172f762c033cf9c94ab7509d724a0bdee763c | diff --git a/src/Record/Collector/Core_Load_Collector.php b/src/Record/Collector/Core_Load_Collector.php
index <HASH>..<HASH> 100644
--- a/src/Record/Collector/Core_Load_Collector.php
+++ b/src/Record/Collector/Core_Load_Collector.php
@@ -37,7 +37,11 @@ class Core_Load_Collector implements Record_Collector_Interface {
... | Additionally silenced opcache status call | Rarst_laps | train | php |
6432ea6f1f5e3fc51dd57258c389695392a9110b | diff --git a/tests/backlinks_test.py b/tests/backlinks_test.py
index <HASH>..<HASH> 100644
--- a/tests/backlinks_test.py
+++ b/tests/backlinks_test.py
@@ -10,6 +10,10 @@ class TestBackLinks(unittest.TestCase):
self.wiki = wikipediaapi.Wikipedia("en")
self.wiki._query = wikipedia_api_request
+ def... | Add tests for backlinks for non existing page | martin-majlis_Wikipedia-API | train | py,py |
ca15847c88d78e88894318d6a67373c9d5394a7b | diff --git a/lib/redis/connection/memory.rb b/lib/redis/connection/memory.rb
index <HASH>..<HASH> 100644
--- a/lib/redis/connection/memory.rb
+++ b/lib/redis/connection/memory.rb
@@ -9,7 +9,7 @@ class Redis
class Memory
include Redis::Connection::CommandHelper
- attr_accessor :replies, :buffer
+ ... | Remove initialize by moving to accessor setup | guilleiguaran_fakeredis | train | rb |
3a819fafb7337dcb22585498c5be063186b2268a | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -291,7 +291,8 @@ if setup_spec.type == SetupType.RAY:
"click >= 7.0, <= 8.0.4",
"dataclasses; python_version < '3.7'",
"filelock",
- "grpcio >= 1.28.1, <= 1.43.0",
... | Force grpcio to be >= <I> for python <I> (#<I>) | ray-project_ray | train | py |
5cfa90e3192f16028667d4e8ecc6bc0a7903466d | diff --git a/karaage/plugins/kgapplications/views/project.py b/karaage/plugins/kgapplications/views/project.py
index <HASH>..<HASH> 100644
--- a/karaage/plugins/kgapplications/views/project.py
+++ b/karaage/plugins/kgapplications/views/project.py
@@ -772,7 +772,7 @@ def get_application_state_machine():
StateWa... | If error processing application, don't change state
Previously the state would move automatically to Declined, and no
information was stored or emailed as to why application was declined.
Change-Id: Ie<I>c9b<I>c8ccaf9f<I>b7abd1c2eec<I>ee<I>c | Karaage-Cluster_karaage | train | py |
13654d7159a7c8b82f1fc3e5bd222441448b3f47 | diff --git a/src/django_markup/fields.py b/src/django_markup/fields.py
index <HASH>..<HASH> 100644
--- a/src/django_markup/fields.py
+++ b/src/django_markup/fields.py
@@ -19,4 +19,13 @@ class MarkupField(CharField):
kwargs.setdefault('max_length', 255)
kwargs.setdefault('choices', formatter.choices())... | Adding an introspection rule to tell South how to handle MarkupField | bartTC_django-markup | train | py |
b9dba14d26450fd064beb76a65578bc9a0ae10a2 | diff --git a/app/controllers/concerns/referrals/cookies_concern.rb b/app/controllers/concerns/referrals/cookies_concern.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/concerns/referrals/cookies_concern.rb
+++ b/app/controllers/concerns/referrals/cookies_concern.rb
@@ -20,7 +20,7 @@ module Referrals
end
... | Code optimization - remove looking by reflection | psagan_referrals | train | rb |
1fb74cd5dd652c8f7b86af2dad80387ea0bb515d | diff --git a/lib/change_stream.js b/lib/change_stream.js
index <HASH>..<HASH> 100644
--- a/lib/change_stream.js
+++ b/lib/change_stream.js
@@ -335,7 +335,7 @@ var processNewChange = function(self, err, change, callback) {
// Cache the resume token if it is present. If it is not present return an error.
if (!chang... | style(change-streams): fix typo in change stream error message | mongodb_node-mongodb-native | train | js |
b5fe20adb8b863acb9ca7e41e626ec9e622b7289 | diff --git a/javascript/web/TermDetails.js b/javascript/web/TermDetails.js
index <HASH>..<HASH> 100644
--- a/javascript/web/TermDetails.js
+++ b/javascript/web/TermDetails.js
@@ -40,9 +40,6 @@ var dlimit = defs.download_limit;
// #620.
//var default_closure_relation_set = 'regulates';
var default_closure_relation_se... | slight simplification to earlier state; work on #<I> | geneontology_amigo | train | js |
76048116755fd9ee5345789008d3b11cccbd400f | diff --git a/src/command/KeyMap.js b/src/command/KeyMap.js
index <HASH>..<HASH> 100644
--- a/src/command/KeyMap.js
+++ b/src/command/KeyMap.js
@@ -132,9 +132,6 @@ define(function (require, exports, module) {
} else if (finalMap[normalizedKey]) {
console.log("KeyMap _normalizeMap() - Reject... | Remove "corrected a malformed key" warning as this is benign and expected as part of the key normalization process | adobe_brackets | train | js |
23d9dbe06f4d27d594c4c0d1ddf2107ee01b6775 | diff --git a/pkg/mux/msg/msg.go b/pkg/mux/msg/msg.go
index <HASH>..<HASH> 100644
--- a/pkg/mux/msg/msg.go
+++ b/pkg/mux/msg/msg.go
@@ -101,11 +101,11 @@ func (m Msg) ProcessPrivateRaw() (interface{}, error) {
case "ps":
return position.SnapshotFromRaw(data)
case "pn":
- // TODO
+ return position.NewFromRa... | adding ability to capture new, update and cancel/close position type messages | bitfinexcom_bitfinex-api-go | train | go |
ed94d8381f595a69967b8a7058281ec2ee18ece3 | diff --git a/commerce-account-web/src/main/java/com/liferay/commerce/account/web/internal/portlet/action/EditCommerceAccountMVCActionCommand.java b/commerce-account-web/src/main/java/com/liferay/commerce/account/web/internal/portlet/action/EditCommerceAccountMVCActionCommand.java
index <HASH>..<HASH> 100644
--- a/comme... | COMMERCE-<I> Add backend to toggle active status of account from Minium UI | liferay_com-liferay-commerce | train | java |
f44d66148e68e3df89fdab9673074804a2c3feca | diff --git a/src/Http/Controllers/Controller.php b/src/Http/Controllers/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Controller.php
+++ b/src/Http/Controllers/Controller.php
@@ -6,6 +6,7 @@ use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
... | Fix validation for array elements (#<I>)
Fixes validation when array does not contain files, ex. belongsToMany relationship. | the-control-group_voyager | train | php |
7c47633280854c2919150bcfe71627aa45a1cbf5 | diff --git a/charmhelpers/contrib/openstack/neutron.py b/charmhelpers/contrib/openstack/neutron.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/openstack/neutron.py
+++ b/charmhelpers/contrib/openstack/neutron.py
@@ -217,6 +217,11 @@ def neutron_plugins():
plugins['nsx']['config'] = '/etc/neutron/nsx... | adding newton & above release support for nuage (#<I>)
Nuage VSP requires core_plugin to be ml2 and
have it's own mech driver. | juju_charm-helpers | train | py |
47c9133db5277f8a45dd8e8eda448e184db1f8f2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,17 @@
# -*- coding: utf-8 -*-
"""Python client for the Diffbot API."""
-
+import sys
from setuptools import find_packages, setup
+PY_VERSION = sys.version_info[0], sys.version_info[1]
+
+requirements = []
+
+if ... | Add argparse to setup.py to fix dependency issue in py<I> | attilaolah_diffbot.py | train | py |
8a140441087dc1180d5892506e58e690892fae74 | diff --git a/src/views/widgets/LoginForm.php b/src/views/widgets/LoginForm.php
index <HASH>..<HASH> 100644
--- a/src/views/widgets/LoginForm.php
+++ b/src/views/widgets/LoginForm.php
@@ -26,11 +26,20 @@ $this->registerCss(<<<'CSS'
}
CSS
);
+
?>
<div class="login-box-body">
- <h1><?= Html::encode($widget->... | improved showing header and message in LoginForm | hiqdev_yii2-theme-adminlte | train | php |
136519ebe16b078bee6bc808f1fd674b8ce6d28b | diff --git a/src/main/java/ar/com/fdvs/dj/core/DJJRDesignHelper.java b/src/main/java/ar/com/fdvs/dj/core/DJJRDesignHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/ar/com/fdvs/dj/core/DJJRDesignHelper.java
+++ b/src/main/java/ar/com/fdvs/dj/core/DJJRDesignHelper.java
@@ -115,8 +115,10 @@ public class DJJRDes... | Fixed potential NoSuchElementException when loading from templates with no detail band | intive-FDV_DynamicJasper | train | java |
80142fd48d62a75821660de40137d45366b1e968 | diff --git a/src/main/java/com/github/webdriverextensions/internal/WebComponentList.java b/src/main/java/com/github/webdriverextensions/internal/WebComponentList.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/webdriverextensions/internal/WebComponentList.java
+++ b/src/main/java/com/github/webdriverext... | Revertet package private fields to private | webdriverextensions_webdriverextensions | train | java |
9abb8678374b3e64b9748e13246abbe536aed109 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -6,8 +6,8 @@ describe("Encode->decode test", function() {
{
input: "asdf & ÿ ü '",
xml: "asdf & ÿ ü '",
- html4: "asdf & ÿ ü '",... | tests: use single quotes, fixed indentation | fb55_entities | train | js |
cb30ff4fa11701f77f255f839dc9a53799002ff4 | diff --git a/public/js/extux/ext.ux.form.fileuploadfield.js b/public/js/extux/ext.ux.form.fileuploadfield.js
index <HASH>..<HASH> 100755
--- a/public/js/extux/ext.ux.form.fileuploadfield.js
+++ b/public/js/extux/ext.ux.form.fileuploadfield.js
@@ -119,9 +119,12 @@ Ext.ux.form.FileUploadField = Ext.extend(Ext.form.TextFi... | i<I>n issue with fileuploads | grrr-amsterdam_garp3 | train | js |
e4cd9747f02ca31cb56cd7707c0e6d639fbc13b0 | diff --git a/lib/cisco_node_utils/feature.rb b/lib/cisco_node_utils/feature.rb
index <HASH>..<HASH> 100644
--- a/lib/cisco_node_utils/feature.rb
+++ b/lib/cisco_node_utils/feature.rb
@@ -1,6 +1,6 @@
# January 2016, Robert W Gries
#
-# Copyright (c) 2015-2017 Cisco and/or its affiliates.
+# Copyright (c) 2015-2019 Cis... | vdc patch for compatible_interfaces method | cisco_cisco-network-node-utils | train | rb |
f8a0c8d51a3936a9bda2772c092a9eaa545d875e | diff --git a/src/plugins/XHRUpload.js b/src/plugins/XHRUpload.js
index <HASH>..<HASH> 100644
--- a/src/plugins/XHRUpload.js
+++ b/src/plugins/XHRUpload.js
@@ -126,6 +126,8 @@ module.exports = class XHRUpload extends Plugin {
createProgressTimeout (timeout, timeoutHandler) {
const uppy = this.uppy
const sel... | Ignore progress events in timeout tracker after upload was aborted. | transloadit_uppy | train | js |
f77bead2cc3e816e9baf6cad15d956ae3a8c05ae | diff --git a/equals.go b/equals.go
index <HASH>..<HASH> 100644
--- a/equals.go
+++ b/equals.go
@@ -25,8 +25,6 @@ import (
// Equals returns a matcher that matches any value v such that v == x, with the
// exception that if x is a numeric type, Equals(x) will match equivalent
// numeric values of any type.
-//
-// TO... | Deleted a TODO.
For #4. | jacobsa_oglematchers | train | go |
35288f6f4c09961afaeddfc64593c916842af30e | diff --git a/eventsourcing/utils/topic.py b/eventsourcing/utils/topic.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/utils/topic.py
+++ b/eventsourcing/utils/topic.py
@@ -15,6 +15,9 @@ def get_topic(domain_class):
return domain_class.__module__ + '#' + getattr(domain_class, '__qualname__', domain_class.__name_... | Added support for topic substitutions.
This allows domain classes to be moved and renamed. | johnbywater_eventsourcing | train | py |
6dac81e310cbc297038b92307c83d782e674c463 | diff --git a/src/plugins/notify.js b/src/plugins/notify.js
index <HASH>..<HASH> 100644
--- a/src/plugins/notify.js
+++ b/src/plugins/notify.js
@@ -163,7 +163,6 @@ export default {
if (this.__installed) { return }
this.__installed = true
- console.log('install')
if (!isSSR) {
init.call(this, a... | chore: Addition to previous commit; remove debugging | quasarframework_quasar | train | js |
e5d990ef8f95532518de1b31ceb0e85d5c044071 | diff --git a/riak/transports/pbc/transport.py b/riak/transports/pbc/transport.py
index <HASH>..<HASH> 100644
--- a/riak/transports/pbc/transport.py
+++ b/riak/transports/pbc/transport.py
@@ -410,7 +410,9 @@ class RiakPbcTransport(RiakTransport, RiakPbcConnection, RiakPbcCodec):
for doc in resp.docs:
... | Documents returning from Riak Search always use UTF-8.
See also basho/riak-ruby-client#<I>. | basho_riak-python-client | train | py |
0ca3739158ca2702e8a377e1337c0f1330abc2c5 | diff --git a/spec/shared_context.rb b/spec/shared_context.rb
index <HASH>..<HASH> 100644
--- a/spec/shared_context.rb
+++ b/spec/shared_context.rb
@@ -6,6 +6,9 @@ RSpec.shared_context 'shared context', a: :b do
options_200 = { url: 'https://oneview.example.com', user: 'Administrator', password: 'secret123' }
... | added integration tests structure and changed client versions | HewlettPackard_oneview-sdk-ruby | train | rb |
6410fb383666d309069a635f4ff0967c021a577f | diff --git a/optimizer.py b/optimizer.py
index <HASH>..<HASH> 100644
--- a/optimizer.py
+++ b/optimizer.py
@@ -1006,14 +1006,21 @@ class MemCell(object):
result.add('a')
result.add('f')
- elif i in ['or', 'xor', 'and', 'cp']:
- # xor a, or a, and a and cp a don't need the ... | A register is needed for OR and AND, but not for CP nor XOR | boriel_zxbasic | train | py |
7fa5bbeaf1905a3549eda69f3408a20a677de3b5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ with open('pulsar/__init__.py', 'rb') as f:
f.read().decode('utf-8')).group(1)))
setup(
- name='pulsar',
+ name='pulsar-app',
version=version,
description='Distributed job execution a... | Update in setup.py to name it pulsar-app.
Couldn't get pulsar on PyPI. | galaxyproject_pulsar | train | py |
4a0647dad1341fa023c86b4c96568957debba361 | diff --git a/lib/writeexcel/workbook.rb b/lib/writeexcel/workbook.rb
index <HASH>..<HASH> 100644
--- a/lib/writeexcel/workbook.rb
+++ b/lib/writeexcel/workbook.rb
@@ -301,7 +301,7 @@ class Workbook < BIFFWriter
#
# :type (required)
# :name (optional)
- # :encoding (optional)
+ # :name_utf1... | modify comment according to change from encoding to name_utf<I>be. | cxn03651_writeexcel | train | rb |
236951cd01e0c218dccd15c4eb9836b114aeb419 | diff --git a/lib/track.js b/lib/track.js
index <HASH>..<HASH> 100644
--- a/lib/track.js
+++ b/lib/track.js
@@ -94,7 +94,7 @@ Track.prototype.orderId = function(){
*/
Track.prototype.subtotal = function(){
- var subtotal = this.obj.properties.subtotal;
+ var subtotal = get(this.properties(), 'subtotal');
var t... | track#subtotal: fix lookup and add tests | segmentio_facade | train | js,js |
a5e57001f6c1f2929364b45f5ff93006a9311c28 | diff --git a/src/main/java/de/jfachwert/bank/Geldbetrag.java b/src/main/java/de/jfachwert/bank/Geldbetrag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/jfachwert/bank/Geldbetrag.java
+++ b/src/main/java/de/jfachwert/bank/Geldbetrag.java
@@ -459,7 +459,7 @@ public class Geldbetrag implements MonetaryAmount, Co... | isEqualsTo(..) corrected;
TCK: still <I> tests failing | oboehm_jfachwert | train | java |
712695de99599948505eecd1a68928729f7706a9 | diff --git a/teoria.js b/teoria.js
index <HASH>..<HASH> 100755
--- a/teoria.js
+++ b/teoria.js
@@ -606,6 +606,10 @@ var scope = (typeof exports === 'object') ? exports : window;
parseFloat(c);
if (!isNaN(c)) {
chordLength = (c - 1) / 2;
+ i... | Throw when an invalid interval extension is parsed | saebekassebil_teoria | train | js |
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.