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 |
|---|---|---|---|---|---|
a4957da1ab59e101ff41d5702681803a13442812 | diff --git a/Treant.js b/Treant.js
index <HASH>..<HASH> 100644
--- a/Treant.js
+++ b/Treant.js
@@ -1864,6 +1864,12 @@
// TEXT
if ( this.text ) {
for ( var key in this.text ) {
+
+ // adding DATA Attributes to the node
+ if(key.match(/data/g)){
+ node.setAttribute(key, this.te... | Updated Treant.js
Updated Treant.js so that data-attributes could be added | fperucic_treant-js | train | js |
ac2b76daa7aec1fa0234c5da6a684b62f466737f | diff --git a/core/src/main/java/org/parboiled/buffers/MutableInputBuffer.java b/core/src/main/java/org/parboiled/buffers/MutableInputBuffer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/parboiled/buffers/MutableInputBuffer.java
+++ b/core/src/main/java/org/parboiled/buffers/MutableInputBuffer.java
@@ -5... | core: Fix in MutableInputBuffer | sirthias_parboiled | train | java |
e37b9a236323481b1cc024b03f0a68ba1b5c837e | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -30,7 +30,7 @@ return array(
'label' => 'Browser and OS diagnostic tool',
'description' => 'Check compatibility of the os and browser of a client',
'license' => 'GPL-2.0',
- 'version... | TTD-<I> changed major version | oat-sa_extension-tao-clientdiag | train | php,php |
b094a62dee994674cbd07fa8765b95e28a192654 | diff --git a/heron/executor/tests/python/heron_executor_unittest.py b/heron/executor/tests/python/heron_executor_unittest.py
index <HASH>..<HASH> 100644
--- a/heron/executor/tests/python/heron_executor_unittest.py
+++ b/heron/executor/tests/python/heron_executor_unittest.py
@@ -121,7 +121,7 @@ class HeronExecutorTest(u... | fix the executor unit test (#<I>) | apache_incubator-heron | train | py |
125070958d3f5bdf8a66bed74179b22c4bc30e7b | diff --git a/transport/src/main/java/io/netty/channel/ChannelPipeline.java b/transport/src/main/java/io/netty/channel/ChannelPipeline.java
index <HASH>..<HASH> 100644
--- a/transport/src/main/java/io/netty/channel/ChannelPipeline.java
+++ b/transport/src/main/java/io/netty/channel/ChannelPipeline.java
@@ -117,7 +117,7 ... | Fix up ChannelPipeline javadocs by add lost "don't " | netty_netty | train | java |
3ab76e40ff0962c14a86c34a479d169b8e5a1da3 | diff --git a/src/Symfony/Component/Console/Helper/ProcessHelper.php b/src/Symfony/Component/Console/Helper/ProcessHelper.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Helper/ProcessHelper.php
+++ b/src/Symfony/Component/Console/Helper/ProcessHelper.php
@@ -37,6 +37,10 @@ class ProcessHelper extend... | Add meaningful message when Process is not installed (ProcessHelper) | symfony_symfony | train | php |
fdc5141d59ee8158be76ffe9cea1605eaa356b3a | diff --git a/courriers/forms.py b/courriers/forms.py
index <HASH>..<HASH> 100644
--- a/courriers/forms.py
+++ b/courriers/forms.py
@@ -69,7 +69,7 @@ class UnsubscribeForm(forms.Form):
return email
def save(self, user=None):
- from_all = self.cleaned_data['from_all']
+ from_all = self.clean... | Fix from_all in UnsubscribeForm.save | ulule_django-courriers | train | py |
c43a00d46d94ac23d39e938eaf9cfd6c9a32d6b8 | diff --git a/src/Charcoal/Queue/AbstractQueueManager.php b/src/Charcoal/Queue/AbstractQueueManager.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Queue/AbstractQueueManager.php
+++ b/src/Charcoal/Queue/AbstractQueueManager.php
@@ -465,7 +465,14 @@ abstract class AbstractQueueManager implements
*/
public ... | Fix use of chunk size and limit on queue manager | locomotivemtl_charcoal-queue | train | php |
7c95b0e1f3990cb926ac2fe1dac02b8109ec95f2 | diff --git a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java
+++ b/src/main/java/com/lmax/disruptor/dsl/Disruptor.java
@@ -248,7 +248,7 @@ public class Disruptor<T>
ch... | More accurate exception message when attempting to use setDefaultExceptionHandler after handleExceptionsWith. | LMAX-Exchange_disruptor | train | java |
d2fc0a46764b1ac8a657cbc4db009167e9c909b0 | diff --git a/lib/contextify.js b/lib/contextify.js
index <HASH>..<HASH> 100644
--- a/lib/contextify.js
+++ b/lib/contextify.js
@@ -18,13 +18,13 @@ function Contextify (sandbox) {
sandbox.dispose = function () {
sandbox.run = function () {
- throw new Error("Called run() after dispose().");
+ ... | Fix to use single quotes instead of double quotes | brianmcd_contextify | train | js |
3f148c74ba3d9383002fc28af39c53a2117724d5 | diff --git a/catalog/src/main/java/org/killbill/billing/catalog/plugin/StandaloneCatalogMapper.java b/catalog/src/main/java/org/killbill/billing/catalog/plugin/StandaloneCatalogMapper.java
index <HASH>..<HASH> 100644
--- a/catalog/src/main/java/org/killbill/billing/catalog/plugin/StandaloneCatalogMapper.java
+++ b/cata... | catalog: Remove unused copy of plans and products. Improvement on <I>a<I>c<I>c5be0ac<I>bb<I>c0efad3aafdb0 | killbill_killbill | train | java |
65ecd11b4d4689108eabd464377afdb20ff95240 | diff --git a/rest_framework_simplejwt/utils.py b/rest_framework_simplejwt/utils.py
index <HASH>..<HASH> 100644
--- a/rest_framework_simplejwt/utils.py
+++ b/rest_framework_simplejwt/utils.py
@@ -6,11 +6,11 @@ from datetime import datetime
from django.conf import settings
from django.utils import six
from django.util... | Use is_naive here for clarity | davesque_django-rest-framework-simplejwt | train | py |
2e4d89bc84b978314dde5b962a72c6a55ceffc27 | diff --git a/pyum/repometadata/base.py b/pyum/repometadata/base.py
index <HASH>..<HASH> 100644
--- a/pyum/repometadata/base.py
+++ b/pyum/repometadata/base.py
@@ -21,12 +21,12 @@ class Data(HTTPClient):
self.repo_url = new_url
def location(self):
- return "{0}/{1}".format(self.repo_url.replace('r... | Removed unused args. | drewsonne_pyum | train | py |
75707c2bee85a17a0c8f2d9a78f79c2346be309e | diff --git a/src/stickyfill.js b/src/stickyfill.js
index <HASH>..<HASH> 100644
--- a/src/stickyfill.js
+++ b/src/stickyfill.js
@@ -196,11 +196,11 @@
},
//checks whether stickies start or stop positions have changed
- _fastCheck: function() {
+ _dirtyCheck: function() {
var... | additional checks for api functions, naming changes | wilddeer_stickyfill | train | js |
c44a415bfdea2deaa2dab01f5fbc5ec6f341f64d | diff --git a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
+++ b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
@... | Fix category on Git Status related link | eclipse_orion.client | train | js |
865c7d84368583ed04d5361528bc6bdd284ee18e | diff --git a/splitlog-core/src/main/java/com/github/triceo/splitlog/DefaultMessage.java b/splitlog-core/src/main/java/com/github/triceo/splitlog/DefaultMessage.java
index <HASH>..<HASH> 100644
--- a/splitlog-core/src/main/java/com/github/triceo/splitlog/DefaultMessage.java
+++ b/splitlog-core/src/main/java/com/github/t... | Issue #<I>: DefaultMessage needn't be public anymore | triceo_splitlog | train | java |
955e3ce26dae2332d9fe1ca1c1aabd38d83389ea | diff --git a/client-runtime/src/main/java/com/microsoft/rest/RestClient.java b/client-runtime/src/main/java/com/microsoft/rest/RestClient.java
index <HASH>..<HASH> 100644
--- a/client-runtime/src/main/java/com/microsoft/rest/RestClient.java
+++ b/client-runtime/src/main/java/com/microsoft/rest/RestClient.java
@@ -12,7 ... | Fix import package.*
Fixing IntelliJ settings so it won't do that any more... | Azure_azure-sdk-for-java | train | java |
653256c85895ed3abf362522bcb669eac3d8f853 | diff --git a/lib/mongify/database/column.rb b/lib/mongify/database/column.rb
index <HASH>..<HASH> 100644
--- a/lib/mongify/database/column.rb
+++ b/lib/mongify/database/column.rb
@@ -122,7 +122,7 @@ module Mongify
return {} if ignored?
case type
when :key
- {"pre_mongified_id" => val... | Bug fixed where pre_mongified_id was being changed to a string. | anlek_mongify | train | rb,rb |
1c91aea6fd92edbfe95020a310a8150141f6bc7f | diff --git a/durastore/src/main/java/org/duracloud/durastore/config/PropertyConfig.java b/durastore/src/main/java/org/duracloud/durastore/config/PropertyConfig.java
index <HASH>..<HASH> 100644
--- a/durastore/src/main/java/org/duracloud/durastore/config/PropertyConfig.java
+++ b/durastore/src/main/java/org/duracloud/du... | Sets the PropertyConfig method in DuraStore to be static. This makes it consistent with DurAdmin and resolves a runtime warning. | duracloud_duracloud | train | java |
552238b72a3e2e3e0e434bb9ce38a31ffdcb2c43 | diff --git a/vyper/codegen/return_.py b/vyper/codegen/return_.py
index <HASH>..<HASH> 100644
--- a/vyper/codegen/return_.py
+++ b/vyper/codegen/return_.py
@@ -8,6 +8,7 @@ from vyper.parser.lll_node import (
from vyper.parser.parser_utils import (
getpos,
zero_pad,
+ make_setter, # typechecker
)
from vyp... | Run typechecker in gen_tuple_return
by using make_setter for its typechecking side effects. | ethereum_vyper | train | py |
e8db3a0391f27c7b81dd423f585ee5a501768adc | diff --git a/error/custom.js b/error/custom.js
index <HASH>..<HASH> 100644
--- a/error/custom.js
+++ b/error/custom.js
@@ -14,7 +14,7 @@ exports = module.exports = function (message/*, code, ext*/) {
}
}
if (ext != null) assign(err, ext);
- if (code != null) err.code = String(code);
+ if (code != null) err.code ... | fix(Error.custom): allow non-string code | medikoo_es5-ext | train | js |
ddeae8ab020e8aca782124ac368126b9dea4c659 | diff --git a/Source/com/drew/tools/ProcessAllImagesInFolderUtility.java b/Source/com/drew/tools/ProcessAllImagesInFolderUtility.java
index <HASH>..<HASH> 100644
--- a/Source/com/drew/tools/ProcessAllImagesInFolderUtility.java
+++ b/Source/com/drew/tools/ProcessAllImagesInFolderUtility.java
@@ -510,7 +510,7 @@ public cl... | Log 4-char hex, not 5. | drewnoakes_metadata-extractor | train | java |
752d9945656a1a9bf375fe5e02a16dc3607d7c7e | diff --git a/src/Builder.php b/src/Builder.php
index <HASH>..<HASH> 100644
--- a/src/Builder.php
+++ b/src/Builder.php
@@ -74,6 +74,9 @@ class Builder
if ($parsedHeaders['Content-Type'] === null) {
$parsedHeaders['Content-Type'] = 'application/octet-stream';
}
+ if ($this->operatio... | Calculate Content-MD5 for user on DeleteMultipleObjects | yunify_qingstor-sdk-php | train | php |
881390a9d89db556be4e92299d72524c2a3fe509 | diff --git a/lib/rabl/helpers.rb b/lib/rabl/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/rabl/helpers.rb
+++ b/lib/rabl/helpers.rb
@@ -4,7 +4,7 @@ module Rabl
# data_object(@user => :person) => @user
# data_object(:user => :person) => @_object.send(:user)
def data_object(data)
- data = (data.is_... | changed for <I> compatibility (does not have one? method on Enumerable) | nesquena_rabl | train | rb |
7e6f4624954d62e6900c3927c7608785cb4a593f | diff --git a/tests/test_ops/test_rotated_feature_align.py b/tests/test_ops/test_rotated_feature_align.py
index <HASH>..<HASH> 100644
--- a/tests/test_ops/test_rotated_feature_align.py
+++ b/tests/test_ops/test_rotated_feature_align.py
@@ -3,11 +3,21 @@ import pytest
import torch
from mmcv.ops import rotated_feature... | [Fix] Skip CPU test in test_rotated_feature_align.py for parrots (#<I>)
* skip test_rotated_feature_align.py for parrots | open-mmlab_mmcv | train | py |
7bf6a678d4ce55bbac92f94e3d73300ce13f336a | diff --git a/src/frontend/org/voltcore/logging/VoltLog4jLogger.java b/src/frontend/org/voltcore/logging/VoltLog4jLogger.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltcore/logging/VoltLog4jLogger.java
+++ b/src/frontend/org/voltcore/logging/VoltLog4jLogger.java
@@ -51,16 +51,6 @@ public class VoltLog4jLogg... | ENG-<I>:
Register VoltLogger shutdown hook in the config path rather than in the VoltLogger ClassLoader path because the ShutdownHook is cleaned up after each test even when the class survives between tests. | VoltDB_voltdb | train | java |
0a0322a8ea3bc9bc2e7b4c2a839a576db3ad7898 | diff --git a/spec/matchers/login_system_matcher.rb b/spec/matchers/login_system_matcher.rb
index <HASH>..<HASH> 100644
--- a/spec/matchers/login_system_matcher.rb
+++ b/spec/matchers/login_system_matcher.rb
@@ -62,8 +62,8 @@ module RSpec
@example.request.session['user_id'] = user.id
@proc.call... | Replace response.redirect_url_match? w/ response.location =~ regexp | radiant_radiant | train | rb |
e92689a24f5c4a4d7c14c37c74c344a6d0867ce5 | diff --git a/grimoire/elk/bugzilla.py b/grimoire/elk/bugzilla.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/bugzilla.py
+++ b/grimoire/elk/bugzilla.py
@@ -172,6 +172,10 @@ class BugzillaEnrich(Enrich):
u = urlparse(self.perceval_backend.url)
return u.scheme+"//"+u.netloc
+ if 'bug... | [Enrich Bugzilla] Some bug comes without bug_id. Handle it. | chaoss_grimoirelab-elk | train | py |
3b2de5f15049a3b5d2a66f24e06c75e2581e5d83 | diff --git a/charmhelpers/contrib/openstack/context.py b/charmhelpers/contrib/openstack/context.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/openstack/context.py
+++ b/charmhelpers/contrib/openstack/context.py
@@ -506,7 +506,9 @@ class ApacheSSLContext(OSContextGenerator):
content=b64de... | Ensure ca_cert is decoded | juju_charm-helpers | train | py |
e9d821ec5b6f45ea9cec58522a4c5f7011843c34 | diff --git a/test/create-server-test.js b/test/create-server-test.js
index <HASH>..<HASH> 100644
--- a/test/create-server-test.js
+++ b/test/create-server-test.js
@@ -57,13 +57,13 @@ vows.describe('nssocket/create-server').addBatch({
"When using NsSocket": {
"with `(PORT)` argument": getBatch(PORT),
"with ... | [test fix] Remove failing tests until #gh-4 is resolved | foreverjs_nssocket | train | js |
b15997fa50c2e569ad081d4b3c2a75f8adbfd35e | diff --git a/src/Illuminate/Log/Logger.php b/src/Illuminate/Log/Logger.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Log/Logger.php
+++ b/src/Illuminate/Log/Logger.php
@@ -36,10 +36,7 @@ class Logger implements LoggerInterface
public function __construct(LoggerInterface $logger, Dispatcher $dispatcher = nul... | Unnecessary to check EventDispatcher on Logger constructor (#<I>) (#<I>)
(cherry picked from commit <I>da<I>a) | laravel_framework | train | php |
a0c232174b36fb882105de2643754b6f091329ad | diff --git a/lxc/list_test.go b/lxc/list_test.go
index <HASH>..<HASH> 100644
--- a/lxc/list_test.go
+++ b/lxc/list_test.go
@@ -52,7 +52,7 @@ func TestShouldShow(t *testing.T) {
}
// Used by TestColumns and TestInvalidColumns
-const shorthand = "46abcdlnpPsSt"
+const shorthand = "46abcdlnNpPsSt"
const alphanum = "0... | lxc_list_test: added N option to tests | lxc_lxd | train | go |
be7d54f6b9ddc80f3d07f81a4c1757cad233ee67 | diff --git a/library/Public.php b/library/Public.php
index <HASH>..<HASH> 100644
--- a/library/Public.php
+++ b/library/Public.php
@@ -194,3 +194,14 @@ if (!function_exists('municipio_post_taxonomies_to_display')) {
return $taxonomies;
}
}
+
+if (!function_exists('municipio_current_url')) {
+ /**
+ ... | Function to retrive current url | helsingborg-stad_Municipio | train | php |
93fa8ff3ffb4dd542dcad0b8af43ee31141b60f9 | diff --git a/tests/test_players.py b/tests/test_players.py
index <HASH>..<HASH> 100644
--- a/tests/test_players.py
+++ b/tests/test_players.py
@@ -21,7 +21,7 @@ class TestPlayers(unittest.TestCase):
def test_random(self):
self._test_player_interface(dominoes.players.random)
- gs = [dominoes.Game.... | being explicit about starting_player=0 in random player test | abw333_dominoes | train | py |
1f3e1f2e373f4ffbe18cd9ee2e345d8fbdc005c8 | diff --git a/closure/goog/dom/tagname.js b/closure/goog/dom/tagname.js
index <HASH>..<HASH> 100644
--- a/closure/goog/dom/tagname.js
+++ b/closure/goog/dom/tagname.js
@@ -26,14 +26,6 @@ goog.require('goog.dom.HtmlElement');
* and that's not possible with literal or enum types. It is a record type so
* that runtime ... | Delete outdated comments from `tagname.js`.
RELNOTES: n/a
PiperOrigin-RevId: <I> | google_closure-library | train | js |
f233b1f0f093ae2e6865475bbd80071bd70e48a3 | diff --git a/source/MySQLiMultiple.php b/source/MySQLiMultiple.php
index <HASH>..<HASH> 100644
--- a/source/MySQLiMultiple.php
+++ b/source/MySQLiMultiple.php
@@ -41,7 +41,7 @@ trait MySQLiMultiple
$stmt = $this->mySQLconnection->stmt_init();
$alocated = $stmt->prepare($qry);
if ($stmt->e... | exceptions just added are meant to standard PHP functionality and now that will be crystal clear | danielgp_common-lib | train | php |
9beed9c70627aa84c8efa1176882151b430f7829 | diff --git a/js/src/qgrid.editors.js b/js/src/qgrid.editors.js
index <HASH>..<HASH> 100644
--- a/js/src/qgrid.editors.js
+++ b/js/src/qgrid.editors.js
@@ -63,11 +63,17 @@ class SelectEditor {
}
var option_str = "";
+
+ this.elem = $("<SELECT tabIndex='0' class='editor-select'>");
+
for (var i in... | Fix for issue where editing a categorical fails when selecting an item with single quotes, issue #<I>. | quantopian_qgrid | train | js |
4934eb4d746503a70d0c9ad535d0765691fb3f7c | diff --git a/_pydevd_bundle/pydevd_comm.py b/_pydevd_bundle/pydevd_comm.py
index <HASH>..<HASH> 100644
--- a/_pydevd_bundle/pydevd_comm.py
+++ b/_pydevd_bundle/pydevd_comm.py
@@ -266,7 +266,9 @@ class PyDBDaemonThread(threading.Thread):
created_pydb_daemon[self] = 1
try:
try:
- ... | Debugger hangs on Jython with "Attach to subprocess" option enabled (PY-<I>)
We shouldn't update sys.modules for the main thread, cause it leads to the second importing 'threading' module, and the new instance of main thread is created. In this case we lose thread id and thread additional info, so it totally breaks th... | fabioz_PyDev.Debugger | train | py |
31aa0f64e8cca2a6b1d463db2a33d804adba44c9 | diff --git a/actions/poll/edit.php b/actions/poll/edit.php
index <HASH>..<HASH> 100644
--- a/actions/poll/edit.php
+++ b/actions/poll/edit.php
@@ -95,7 +95,7 @@ $poll->question = $question;
$poll->title = $question;
$poll->description = $description;
$poll->open_poll = $open_poll ? 1 : 0;
-$poll->close_date = $close... | Make sure closing date gets saved only if it has a value | iionly_poll | train | php |
fc433ad757145ba008fc03baef4dca2f489a1fd4 | diff --git a/src/main/java/org/minimalj/security/Subject.java b/src/main/java/org/minimalj/security/Subject.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/minimalj/security/Subject.java
+++ b/src/main/java/org/minimalj/security/Subject.java
@@ -41,6 +41,11 @@ public class Subject implements Serializable {
... | Subject: added static helper method to check current role | BrunoEberhard_minimal-j | train | java |
04754daaa9601993051e1baff50b28cdf8647cc6 | diff --git a/demos/widgets.js b/demos/widgets.js
index <HASH>..<HASH> 100644
--- a/demos/widgets.js
+++ b/demos/widgets.js
@@ -81,11 +81,14 @@ $( function () {
{
'widget': new OO.ui.ToggleSwitchWidget( {
'onLabel': 'Any',
- 'offLabel': 'Label',
+ 'offLabel': 'Label'
} )
},
{
... | Change label of disabled switch to 'disabled' in demo
To match other disabled widgets in the demo.
Change-Id: I<I>b<I>aa<I>a<I>be<I>f0c<I>ea1d | wikimedia_oojs-ui | train | js |
8e40313abf0bb1b0d07dd35baf134c7049b29ddd | diff --git a/gcloud/datastore/connection.py b/gcloud/datastore/connection.py
index <HASH>..<HASH> 100644
--- a/gcloud/datastore/connection.py
+++ b/gcloud/datastore/connection.py
@@ -339,8 +339,9 @@ class Connection(connection.Connection):
"""Save an entity to the Cloud Datastore with the provided properties.
... | Update doctstrings for 'Entity.save' and 'Connection.save_entity'.
Reinforce that previously-stored properties which don't have values set
in the current entity instance will be removed. | googleapis_google-cloud-python | train | py,py |
e1671df1928d2dfb2e6f12d4613bb902cc02311b | diff --git a/src/singleton.js b/src/singleton.js
index <HASH>..<HASH> 100644
--- a/src/singleton.js
+++ b/src/singleton.js
@@ -11,6 +11,15 @@ define(
Singleton.extends(Base);
+ Singleton.method(meta({
+ "entity": "method",
+ "for": "Singleton",
+ "static": true,
+ "name": "getInstance",
+ "description... | flagging getInstance as a static method | bob-gray_solv | train | js |
5e4a6c0f2ae0bd9334b9726a3384bf99b1af1245 | diff --git a/test/ntp-client_test.js b/test/ntp-client_test.js
index <HASH>..<HASH> 100644
--- a/test/ntp-client_test.js
+++ b/test/ntp-client_test.js
@@ -33,15 +33,17 @@
ntpClient.getNetworkTime(ntpClient.defaultNtpServer, ntpClient.defaultNtpPort, function (err, date) {
var now = new Date();
+... | Travis CI is not blocking communication on the <I> port, tests are working as expected. | moonpyk_node-ntp-client | train | js |
b34fb8ff55347f63235b73ee8497832f2ca49eba | diff --git a/Crud/ActionHandler/DetailActionHandler.php b/Crud/ActionHandler/DetailActionHandler.php
index <HASH>..<HASH> 100644
--- a/Crud/ActionHandler/DetailActionHandler.php
+++ b/Crud/ActionHandler/DetailActionHandler.php
@@ -117,6 +117,10 @@ class DetailActionHandler extends AbstractActionHandler implements Conta... | bugfix: when using advance config in grid | SymfonyId_SymfonyIdAdminBundle | train | php |
c08f4a92ddb5b3ffb045bb6e268631b8b145295b | diff --git a/geojson.js b/geojson.js
index <HASH>..<HASH> 100644
--- a/geojson.js
+++ b/geojson.js
@@ -1,13 +1,15 @@
-exports.version = '0.0.5';
+exports.version = '0.0.6';
exports.defaults = {};
exports.parse = function(objects, params) {
- var geojson = {"type": "FeatureCollection", "features": []};
- setGeom... | Implemented handling for default settings. Closes #3 | caseycesari_GeoJSON.js | train | js |
f578f88886c26db7f04452feff30e4967c882a62 | diff --git a/Pragma/ORM/Model.php b/Pragma/ORM/Model.php
index <HASH>..<HASH> 100644
--- a/Pragma/ORM/Model.php
+++ b/Pragma/ORM/Model.php
@@ -491,10 +491,10 @@ class Model extends QueryBuilder implements \JsonSerializable{
return $this;
}
- public function describe() {
+ public function describe($force = false)... | EVO ORM\Model::describe() allows to force the description even it has already be done | pragma-framework_core | train | php |
b23681b840f50a64014d550a3bd46c4bf44d03b8 | diff --git a/playhouse/tests/test_reflection.py b/playhouse/tests/test_reflection.py
index <HASH>..<HASH> 100644
--- a/playhouse/tests/test_reflection.py
+++ b/playhouse/tests/test_reflection.py
@@ -45,7 +45,7 @@ class ColTypes(BaseModel):
class Meta:
indexes = (
(('f10', 'f11'), True),
- ... | Fix index with unspecified length. | coleifer_peewee | train | py |
cbd4c963651e8bc3800c52bc6f81c217bb8aade4 | diff --git a/fbchat_archive_parser/name_resolver.py b/fbchat_archive_parser/name_resolver.py
index <HASH>..<HASH> 100644
--- a/fbchat_archive_parser/name_resolver.py
+++ b/fbchat_archive_parser/name_resolver.py
@@ -156,6 +156,10 @@ class FacebookNameResolver(object):
class DummyNameResolver(FacebookNameResolver):
... | fix dummy parser to not try to go online | ownaginatious_fbchat-archive-parser | train | py |
e8cc0c3f765959417451174a289a2685053b8d41 | diff --git a/packages/lingui-i18n/src/compile.test.js b/packages/lingui-i18n/src/compile.test.js
index <HASH>..<HASH> 100644
--- a/packages/lingui-i18n/src/compile.test.js
+++ b/packages/lingui-i18n/src/compile.test.js
@@ -50,7 +50,8 @@ describe('compile', function () {
const currency = compile('en', '{value, numb... | test: Fix test suit to run correctly on node 4 | lingui_js-lingui | train | js,js |
6d79a9a00d3ec76753cc4e7cb944bf2551af009a | diff --git a/integration/networking/networking_suite_test.go b/integration/networking/networking_suite_test.go
index <HASH>..<HASH> 100644
--- a/integration/networking/networking_suite_test.go
+++ b/integration/networking/networking_suite_test.go
@@ -56,6 +56,13 @@ func restartGarden(argv ...string) {
startGarden(arg... | Ensure garden is running before stopping it (during tests)
Mirrors the code from lifecyce suite, avoids an occasional deadlock when
the server isn't running and we wait for it to stop. | cloudfoundry-attic_garden-linux | train | go |
d31ce5ebf7dd2ca17ef7ddf14adb102a7d431c11 | diff --git a/symphony/lib/boot/defines.php b/symphony/lib/boot/defines.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/boot/defines.php
+++ b/symphony/lib/boot/defines.php
@@ -241,6 +241,14 @@ define_safe('__SECURE__',
);
/**
+ * Returns the protocol used to this request.
+ * If __SECURE__ it will be https:
+ * ... | Split out the http protocol logic into a constant
This extraction creates a new constant, HTTP_PROTO, whill which will
either hold http: or https:
The URL constant value will remain unchanged.
Re: <I>
Picked from e<I>f2f<I> | symphonycms_symphony-2 | train | php |
0e009ab613a25ebd140a4f307aaa0b8ae8dd3eba | diff --git a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php
+++ b/tests/TestCase/Controller/Component/RequestHandlerComponentTe... | Remove a bunch of dead code.
This code is basically garbage and does nothing. | cakephp_cakephp | train | php |
09fe8cf57990fa0a6ff7c6fb00e39f3172a97dd7 | diff --git a/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java b/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java
+++ b/src/main/java/com/j256/ormlite/android/AndroidDatabaseC... | Renamed stupid getAutoCommit() to be is...(). | j256_ormlite-android | train | java |
a6d67bce2033dfea0a239705a66c7b2042beb46c | diff --git a/tensorlayer/layers/convolution/dorefa_conv.py b/tensorlayer/layers/convolution/dorefa_conv.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/layers/convolution/dorefa_conv.py
+++ b/tensorlayer/layers/convolution/dorefa_conv.py
@@ -18,7 +18,7 @@ __all__ = ['DorefaConv2d']
class DorefaConv2d(Layer):
- ... | Fix wrong description (#<I>) | tensorlayer_tensorlayer | train | py |
f3bec365175205b1c156292d41356fe1af01f4e7 | diff --git a/allegedb/allegedb/window.py b/allegedb/allegedb/window.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/window.py
+++ b/allegedb/allegedb/window.py
@@ -96,7 +96,10 @@ class WindowDictItemsView(ItemsView):
class WindowDictPastFutureKeysView(KeysView):
def __contains__(self, item):
- for... | Simple optimizations for some WindowDict views | LogicalDash_LiSE | train | py |
24a4319809af4633146b2673699a36ccd93cc837 | diff --git a/convertbng/util.py b/convertbng/util.py
index <HASH>..<HASH> 100644
--- a/convertbng/util.py
+++ b/convertbng/util.py
@@ -36,7 +36,7 @@ import numpy as np
import os
__author__ = u"Stephan Hügel"
-__version__ = "0.5.5"
+__version__ = "0.5.6"
file_path = os.path.dirname(__file__)
@@ -133,8 +133,6 @@... | No need to drop array, since Rust doesn't take ownership of it | urschrei_convertbng | train | py |
b41059f4fca56429a5956b98630ed7fb1de3bd86 | diff --git a/src/cryptojwt/key_issuer.py b/src/cryptojwt/key_issuer.py
index <HASH>..<HASH> 100755
--- a/src/cryptojwt/key_issuer.py
+++ b/src/cryptojwt/key_issuer.py
@@ -323,15 +323,20 @@ class KeyIssuer(object):
lst = [key for key in lst if not key.alg or key.alg == alg]
# if elliptic curve, h... | Allow setting crv as argument when looking for a key. | openid_JWTConnect-Python-CryptoJWT | train | py |
a03c25c74cefb212864f9d79446c3b7a53adee61 | diff --git a/pkg/client/sync.go b/pkg/client/sync.go
index <HASH>..<HASH> 100644
--- a/pkg/client/sync.go
+++ b/pkg/client/sync.go
@@ -24,7 +24,7 @@ import (
// enumerations of blobs from two blob servers) and sends to
// 'destMissing' any blobs which appear on the source but not at the
// destination. destMissing ... | client: qualify channel directions
Change-Id: I<I>d7c9d<I>b<I>beb1fbc7af2a<I>da<I>cf<I>a2 | perkeep_perkeep | train | go |
cd58c5cb44141c19a0481237eb2f2fdb603802ee | diff --git a/tests/phpunit/unit/Storage/RepositoryTest.php b/tests/phpunit/unit/Storage/RepositoryTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/unit/Storage/RepositoryTest.php
+++ b/tests/phpunit/unit/Storage/RepositoryTest.php
@@ -177,6 +177,7 @@ class RepositoryTest extends BoltUnitTest
{
$th... | [Tests] Fix "Undefined variable: count" in RepositoryTest::testInsert | bolt_bolt | train | php |
0cfa1e48e8ed05fd22ae8099bb7bebbd4822d33f | diff --git a/examples/consumer/finish_auth.php b/examples/consumer/finish_auth.php
index <HASH>..<HASH> 100644
--- a/examples/consumer/finish_auth.php
+++ b/examples/consumer/finish_auth.php
@@ -27,7 +27,7 @@ if ($status != Auth_OpenID_SUCCESS) {
$esc_identity
);
... | [project @ Fixed a typo in consumer example code.] | openid_php-openid | train | php |
31a3cc95c5b0f6a79414e2975475adc7c6a68b87 | diff --git a/ipyrad/analysis/svd4tet.py b/ipyrad/analysis/svd4tet.py
index <HASH>..<HASH> 100644
--- a/ipyrad/analysis/svd4tet.py
+++ b/ipyrad/analysis/svd4tet.py
@@ -354,7 +354,7 @@ def svdconvert(arr, sidxs):
best = 10000
## filter the array to remove Ns
- narr = arr[sidx, :]
+ narr = arr[sidxs, :]
... | tmp fix for svd4tet test function so we can put up this hotfix | dereneaton_ipyrad | train | py |
d12314136c228af4f07393febb7dc6be837f7456 | diff --git a/pypot/utils/stoppablethread.py b/pypot/utils/stoppablethread.py
index <HASH>..<HASH> 100644
--- a/pypot/utils/stoppablethread.py
+++ b/pypot/utils/stoppablethread.py
@@ -166,7 +166,11 @@ def make_update_loop(thread, update_func):
thread.wait_to_resume()
start = time.time()
+ ... | Add an _updated event in the LoopThread to add the possibility to check whether the update loop has been called. | poppy-project_pypot | train | py |
22e12d6767d6293b425dc1fa44536096da9f7f47 | diff --git a/lib/openassets/api.rb b/lib/openassets/api.rb
index <HASH>..<HASH> 100644
--- a/lib/openassets/api.rb
+++ b/lib/openassets/api.rb
@@ -31,7 +31,7 @@ module OpenAssets
# get UTXO for colored coins.
# @param [String] address Obtain the balance of this address only, or all addresses if unspecified.... | modify listunspent argument. String to Array. | haw-itn_openassets-ruby | train | rb,rb |
5cb6f7210a1f2278e63620bb1fb6a1f386f88820 | diff --git a/lib/draper/base.rb b/lib/draper/base.rb
index <HASH>..<HASH> 100644
--- a/lib/draper/base.rb
+++ b/lib/draper/base.rb
@@ -51,6 +51,7 @@ module Draper
def self.decorates(input)
self.model_class = input.to_s.camelize.constantize
model_class.send :include, Draper::ModelSupport
+ define... | Automatically create a named accessor method for the wrapped model | drapergem_draper | train | rb,rb |
0c172823d9830a091e36148aa081574fb583d720 | diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/PushPartialAggregationThroughJoin.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/PushPartialAggregationThroughJoin.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/s... | Add support for filter functions in partial aggregation pushdown | prestodb_presto | train | java |
8bd1730fc8570fe8d0b71a6de06690ee49d18ebc | diff --git a/mutation_summary.js b/mutation_summary.js
index <HASH>..<HASH> 100644
--- a/mutation_summary.js
+++ b/mutation_summary.js
@@ -758,6 +758,9 @@
parentNode = change.oldParentNode;
change = this.childlistChanges.get(parentNode);
+ if (!change)
+ return false;
+
if (change.m... | exit early from wasRemoved if no childlist changes exist | rafaelw_mutation-summary | train | js |
a7de5388afe8b8962dcc7c08c2064876b25d6c8e | diff --git a/polyaxon/logs_handlers/log_queries/base.py b/polyaxon/logs_handlers/log_queries/base.py
index <HASH>..<HASH> 100644
--- a/polyaxon/logs_handlers/log_queries/base.py
+++ b/polyaxon/logs_handlers/log_queries/base.py
@@ -15,6 +15,7 @@ def query_logs(k8s_manager, pod_id, container_job_name, stream=False):
... | Use k8s log timestamps | polyaxon_polyaxon | train | py |
e30314a24da8de00bb016f78237fcd93c71498f8 | diff --git a/src/Behat/Behat/Gherkin/Subject/Locator/FilesystemFeatureLocator.php b/src/Behat/Behat/Gherkin/Subject/Locator/FilesystemFeatureLocator.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Behat/Gherkin/Subject/Locator/FilesystemFeatureLocator.php
+++ b/src/Behat/Behat/Gherkin/Subject/Locator/FilesystemFeatureL... | Simplified FilesystemFeatureLocator::findFeatureFiles | Behat_Behat | train | php |
d745765c7590d90919e02cc4b6acd29f954eb750 | diff --git a/nion/swift/Workspace.py b/nion/swift/Workspace.py
index <HASH>..<HASH> 100644
--- a/nion/swift/Workspace.py
+++ b/nion/swift/Workspace.py
@@ -144,21 +144,9 @@ class Workspace(object):
self.__data_item_deleted_event_listener = None
def periodic(self):
- # for each of the panels too
- ... | Speed up two critical pieces of code for updating. | nion-software_nionswift | train | py |
cf4883dc03537ea73d78f35f16dd9d8f4b9dcaa8 | diff --git a/src/Env.php b/src/Env.php
index <HASH>..<HASH> 100644
--- a/src/Env.php
+++ b/src/Env.php
@@ -1,8 +1,6 @@
<?php
namespace Sil\PhpEnv;
-use Sil\PhpEnv;
-
class Env
{
/**
@@ -61,7 +59,7 @@ class Env
$message = 'Required environment variable: ' . $varname . ', not found.';
... | Two minor improvements to Env.php. | silinternational_php-env | train | php |
2c7e200aded7c83e0dd10bdc1543bcc21bbc619f | diff --git a/Tone/core/OfflineContext.js b/Tone/core/OfflineContext.js
index <HASH>..<HASH> 100644
--- a/Tone/core/OfflineContext.js
+++ b/Tone/core/OfflineContext.js
@@ -17,7 +17,7 @@ define(["Tone/core/Tone", "Tone/core/Context"], function (Tone) {
* @param {Number} sampleRate the sample rate to render at
*/
... | close returns promise like in AudioContext | Tonejs_Tone.js | train | js |
6f375117a7b3a26b7f33549f066d4b69fa8a7eb6 | diff --git a/plan/physical_plans.go b/plan/physical_plans.go
index <HASH>..<HASH> 100644
--- a/plan/physical_plans.go
+++ b/plan/physical_plans.go
@@ -642,10 +642,8 @@ func buildSchema(p PhysicalPlan) {
func rebuildSchema(p PhysicalPlan) bool {
needRebuild := false
for _, ch := range p.Children() {
- needRebuild ... | plan: check every child and rebuild their schema if necessary (#<I>) | pingcap_tidb | train | go |
e3600281b629fe7694267921f05ee7924516e766 | diff --git a/src/Illuminate/Foundation/Testing/TestResponse.php b/src/Illuminate/Foundation/Testing/TestResponse.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Testing/TestResponse.php
+++ b/src/Illuminate/Foundation/Testing/TestResponse.php
@@ -114,7 +114,7 @@ class TestResponse
if (! is_nu... | allow using assertSessionHasErrors to look into different error bags | laravel_framework | train | php |
0c9dec513355fade2c1961e1ef9fc7b4b86f5993 | diff --git a/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/env/GrailsEnvironment.java b/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/env/GrailsEnvironment.java
index <HASH>..<HASH> 100644
--- a/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/env/GrailsEnvironment.java
+... | Fix error "Property source name must contain at least one character" | grails_grails-core | train | java |
17cf5c3fa310a0c6076d34f6bb466cfd88b8aed1 | diff --git a/backend.js b/backend.js
index <HASH>..<HASH> 100644
--- a/backend.js
+++ b/backend.js
@@ -129,6 +129,10 @@ Backend.prototype.buildVectorTile = function(z, x, y, callback) {
var buffer = image.getData(self.dataopts);
buffer.metatile = self.metatile;
buffer._vtile = image;
+ buffer._vx = x;
+ ... | Expose vector tile z,y,z on buffer for downstream plugins (x,y,z not available on mapnik.VectorTile) | naturalatlas_tilestrata-vtile | train | js,js |
63975a07ad84b76bfc793a82d3da13ca9180684f | diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index <HASH>..<HASH> 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -2849,7 +2849,7 @@ class Mastodon:
# Connect function (called and then potentially passed to async handler)
def connect_func():
- headers =... | Only set authorization header if access_token is present | halcy_Mastodon.py | train | py |
4ea27ce1d7ec31ec5a96a03f3c00e53aacc2ab0b | diff --git a/packages/react-solid-state/src/index.js b/packages/react-solid-state/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/react-solid-state/src/index.js
+++ b/packages/react-solid-state/src/index.js
@@ -3,6 +3,7 @@ import {
createEffect,
createMemo,
createComputed,
+ createMutable,
crea... | useMutableState hook for React via createMutable (#<I>)
* useMutableState hook for React via createMutable
* useMutableState -> useMutable | ryansolid_solid | train | js |
cf6bafc07ef355d7d7bb11a42560955f8cb06c53 | diff --git a/oscrypto/_win/tls.py b/oscrypto/_win/tls.py
index <HASH>..<HASH> 100644
--- a/oscrypto/_win/tls.py
+++ b/oscrypto/_win/tls.py
@@ -345,6 +345,20 @@ class TLSSocket(object):
return new_socket
def __init__(self, address, port, timeout=10, session=None):
+ """
+ :param address:
+ ... | Add a missing docstring for tls.TLSSocket on Windows | wbond_oscrypto | train | py |
88667377fe2d829dd8aa55b3b7a8db90304a5b70 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -12,6 +12,7 @@ window.CodeMirror = (function() {
var ie_lt9 = /MSIE [1-8]\b/.test(navigator.userAgent);
var ie_lt10 = /MSIE [1-9]\b/.test(navigator.userAgent);
var webkit = /WebKit\... | Add Qt webkit as exception for Ctrl and Cmd key event properties
Just like Opera, it flips the ctrlKey and metaKey on Mac
Closes #<I> | codemirror_CodeMirror | train | js |
ebf60c080d297d6680b112121082876977e34276 | diff --git a/lib/rspec/benchmark/timing_matcher.rb b/lib/rspec/benchmark/timing_matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec/benchmark/timing_matcher.rb
+++ b/lib/rspec/benchmark/timing_matcher.rb
@@ -50,12 +50,12 @@ module RSpec
def positive_failure_reason
return 'wan not a block' unles... | Change to stop rounding for increased accuracy. | piotrmurach_rspec-benchmark | train | rb |
b0a603615fe91a2a5a1d8ff825e195cc70fe78b0 | diff --git a/logic/sentiments.js b/logic/sentiments.js
index <HASH>..<HASH> 100644
--- a/logic/sentiments.js
+++ b/logic/sentiments.js
@@ -1,17 +1,17 @@
var dbA = require('../db/dbA');
var sentiment = require('sentiment');
-var posSentiment;
-var negSentiment;
-var posTweets;
-var negTweets;
-var nullTweets;
+var p... | added inital values for tweet and sentiment counters, fixed sentiment score lookup | Rostlab_JS16_ProjectD_Group5 | train | js |
50b060241cd59bb94212ecbc7c59eaec1ad490a0 | diff --git a/lfs/pointer_smudge.go b/lfs/pointer_smudge.go
index <HASH>..<HASH> 100644
--- a/lfs/pointer_smudge.go
+++ b/lfs/pointer_smudge.go
@@ -111,7 +111,7 @@ func downloadObject(ptr *Pointer, obj *ObjectResource, mediafile string, cb Copy
}
if err := bufferDownloadedFile(mediafile, reader, ptr.Size, cb); err... | Be consistent in error reporting from bufferDownloadedFile result | git-lfs_git-lfs | train | go |
2c547fb70f1c7ab5b58c7daa2712c6e9d6f534af | diff --git a/pythonforandroid/recipes/flask/__init__.py b/pythonforandroid/recipes/flask/__init__.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipes/flask/__init__.py
+++ b/pythonforandroid/recipes/flask/__init__.py
@@ -3,7 +3,7 @@ from pythonforandroid.recipe import PythonRecipe
class FlaskRecipe(Pytho... | Upgrading the flask version to avoid exception at the start of webview application | kivy_python-for-android | train | py |
f85db6a59339c484a9404cedd03fefb29465475c | diff --git a/hdf5storage/utilities.py b/hdf5storage/utilities.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/utilities.py
+++ b/hdf5storage/utilities.py
@@ -451,7 +451,7 @@ def convert_numpy_str_to_uint16(data):
strings) to UTF-16 in the equivalent array of ``numpy.uint16``. The
conversion will throw an exc... | Fixed errors in the docstrings regarding the shapes of the converted objects in the convert_numpy_str_to_uint<I> and convert_numpy_str_to_uint<I> functions in utilities. | frejanordsiek_hdf5storage | train | py |
016010c4c5c423b77d2284196bc225588d5a157b | diff --git a/lib/openxml/has_children.rb b/lib/openxml/has_children.rb
index <HASH>..<HASH> 100644
--- a/lib/openxml/has_children.rb
+++ b/lib/openxml/has_children.rb
@@ -2,7 +2,8 @@ module OpenXml
module HasChildren
attr_reader :children
- def initialize
+ def initialize(*)
+ super
@childre... | [improvement] Ensured HasChildren mixin doesn’t clobber initialize (1m) | openxml_openxml-package | train | rb |
ca477bb6e8ce0190b894a3cda4dac1757285183c | diff --git a/src/bn/pagination.php b/src/bn/pagination.php
index <HASH>..<HASH> 100644
--- a/src/bn/pagination.php
+++ b/src/bn/pagination.php
@@ -13,7 +13,7 @@ return [
|
*/
- 'previous' => '« Previous',
- 'next' => 'Next »',
+ 'previous' => '« আগে',
+ 'next' => 'পরবর্... | update pagination.php file and add bangla language | caouecs_Laravel-lang | train | php |
eae0cd988cdf9f894c9be0a98e2ea438d78e3c91 | diff --git a/src/WebMidi.js b/src/WebMidi.js
index <HASH>..<HASH> 100644
--- a/src/WebMidi.js
+++ b/src/WebMidi.js
@@ -1125,10 +1125,15 @@ class WebMidi extends EventEmitter {
// extensible (properties can be added at will).
const wm = new WebMidi();
wm.constructor = null;
-export {wm as WebMidi};
export {Enumera... | Explicitly export all classes (mainly for TypeScript) | djipco_webmidi | train | js |
1b042744fcab9d28766b8ce86c7249b765a74167 | diff --git a/flask_sqlalchemy_bundle/meta/model_registry.py b/flask_sqlalchemy_bundle/meta/model_registry.py
index <HASH>..<HASH> 100644
--- a/flask_sqlalchemy_bundle/meta/model_registry.py
+++ b/flask_sqlalchemy_bundle/meta/model_registry.py
@@ -2,7 +2,7 @@ import sqlalchemy as sa
import warnings
from collections ... | add comment for ModelRegistry._base_model-classes | briancappello_flask-sqlalchemy-bundle | train | py |
3768b14276aac0581a2bf57a7f576b6c00529be9 | diff --git a/jackal/core.py b/jackal/core.py
index <HASH>..<HASH> 100755
--- a/jackal/core.py
+++ b/jackal/core.py
@@ -31,8 +31,8 @@ class CoreSearch(object):
else:
response = search.scan()
- for hit in response:
- yield hit
+ return [hit for hit in response]
+
de... | Changed generator to a list of results. | mwgielen_jackal | train | py |
d215bb705cfceae01ea0f228e25bb83077e19cd9 | diff --git a/lib/serializer.js b/lib/serializer.js
index <HASH>..<HASH> 100644
--- a/lib/serializer.js
+++ b/lib/serializer.js
@@ -540,7 +540,7 @@ class Serializer {
let prm;
let prmValue;
if (item.param) {
- prm = item.param.toUpperCase();
+ prm = item.param;
prmValue = self._inputParam... | Fix: always named params are always upper cased issue | sqbjs_sqb | train | js |
4acf771bdb53af9ab2a8b22955b1ddba92c291f4 | diff --git a/readabilitySAX.js b/readabilitySAX.js
index <HASH>..<HASH> 100644
--- a/readabilitySAX.js
+++ b/readabilitySAX.js
@@ -491,10 +491,8 @@ Readability.prototype.onclosetag = function(tagName){
if(contentLength === 0){
if(elem.children.length === 0) return;
- if("a" in elem.info.tagCount) return;
... | Removed two rules from cleanConditionally
Fixes #<I> & #<I>
Images shouldn't get removed anymore without a reason (just because
they have a container element or link to a bigger version) | fb55_readabilitySAX | train | js |
d622cf1b70e086fbd56b81082eed802b0805053e | diff --git a/src/Behat/Behat/Context/ContextClass/SimpleClassGenerator.php b/src/Behat/Behat/Context/ContextClass/SimpleClassGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Behat/Context/ContextClass/SimpleClassGenerator.php
+++ b/src/Behat/Behat/Context/ContextClass/SimpleClassGenerator.php
@@ -25,20 +25,22 ... | Improve generated context class
- Force it to implement both Context and SnippetAcceptingContext
interfaces
- Change the class description with something closer to real life | Behat_Behat | train | php |
78a0826d5322379d26a69de3d3ae4360c6c1144c | diff --git a/gromacs/version.py b/gromacs/version.py
index <HASH>..<HASH> 100644
--- a/gromacs/version.py
+++ b/gromacs/version.py
@@ -5,7 +5,7 @@
#: Package version; this is the only place where it is set.
-VERSION = 0,4,1
+VERSION = 0,5,0
#: Set to ``True`` for a release. If set to ``False`` then the patch leve... | bumped release to <I>-dev | Becksteinlab_GromacsWrapper | train | py |
f9d78d026eebb1f8101c91ea0d03a0fc4dd9a36f | diff --git a/lib/aws/credentials.rb b/lib/aws/credentials.rb
index <HASH>..<HASH> 100644
--- a/lib/aws/credentials.rb
+++ b/lib/aws/credentials.rb
@@ -14,15 +14,6 @@
module Aws
class Credentials
- # @return [String, nil]
- attr_accessor :access_key_id
-
- # @return [String, nil]
- attr_accessor :secre... | Reordered credentials class to be consistent with how other code is formatted. | aws_aws-sdk-ruby | train | rb |
66294d54f798908928eb126924cda70f78e256e2 | diff --git a/uncompyle6/parsers/parse26.py b/uncompyle6/parsers/parse26.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse26.py
+++ b/uncompyle6/parsers/parse26.py
@@ -145,6 +145,9 @@ class Python26Parser(Python2Parser):
whilestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_cf_pop bp_come_from
... | Comment what's up in last change. | rocky_python-uncompyle6 | train | py |
797d315457d171b60a969a5bafa6e28da1a0699f | diff --git a/src/Response.php b/src/Response.php
index <HASH>..<HASH> 100644
--- a/src/Response.php
+++ b/src/Response.php
@@ -39,7 +39,7 @@ final class Response extends Message
/**
* @param int $code Status code.
- * @param string[][] $headers
+ * @param string[]|s... | Improve documented header type for Response::__construct (#<I>) | amphp_http-server | train | php |
598d7ac6b3a588712428fe827e01c7ecabed9967 | diff --git a/validation.py b/validation.py
index <HASH>..<HASH> 100644
--- a/validation.py
+++ b/validation.py
@@ -53,7 +53,8 @@ TERMINAL_VOWELS = {
STRIPPED_VOWELS = set(map(mark.strip, VOWELS))
-STRIPPED_TERMINAL_VOWELS = set(map(mark.strip, TERMINAL_VOWELS))
+# 'uo' may clash with 'ươ' and prevent typing 'thươn... | Remove 'uo' from STRIPPED_TERMINAL_VOWELS
It may clash with 'ươ' and prevent typing 'thương'. | BoGoEngine_bogo-python | train | py |
f8ff5723ce1f670bd2a455adfdcdc41f279e7375 | diff --git a/src/Generators/Google.php b/src/Generators/Google.php
index <HASH>..<HASH> 100644
--- a/src/Generators/Google.php
+++ b/src/Generators/Google.php
@@ -27,8 +27,7 @@ class Google implements Generator
// Add timezone name if it is specified in both from and to dates and is the same for both... | Change timezone check to anything false-y | spatie_calendar-links | train | php |
1feed296d9d67823207223d0fa7b4e9af8eb7e25 | diff --git a/spec/unit/provider/group_spec.rb b/spec/unit/provider/group_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/provider/group_spec.rb
+++ b/spec/unit/provider/group_spec.rb
@@ -101,19 +101,19 @@ describe Chef::Provider::User do
end
it "should return false if append is true and the group member... | Revert some changes to tests that now pass again
The dup'ing of property defaults change now allows these to pass
again so the breaking change here in the API is reverted. | chef_chef | train | rb |
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.