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 |
|---|---|---|---|---|---|
b63fa1ad44ddb14840045d101dd731f133982651 | diff --git a/src/autosize.js b/src/autosize.js
index <HASH>..<HASH> 100644
--- a/src/autosize.js
+++ b/src/autosize.js
@@ -18,7 +18,10 @@ function assign(ta, {setOverflowX = true, setOverflowY = true} = {}) {
} else {
heightOffset = parseFloat(style.borderTopWidth)+parseFloat(style.borderBottomWidth);
}
-
+ ... | Fix when a textarea is not on document body and heightOffset is Not a Number | jackmoore_autosize | train | js |
ba562657ab6f44117645e77cef0f946441b15a37 | diff --git a/src/Illuminate/Support/Stringable.php b/src/Illuminate/Support/Stringable.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Support/Stringable.php
+++ b/src/Illuminate/Support/Stringable.php
@@ -85,7 +85,7 @@ class Stringable
*/
public function append(...$values)
{
- return new st... | Apply fixes from StyleCI (#<I>) | laravel_framework | train | php |
bce13c81d326b571ff3eb830eca60ce15fe754e7 | diff --git a/examples/morphgnt/verbs.py b/examples/morphgnt/verbs.py
index <HASH>..<HASH> 100755
--- a/examples/morphgnt/verbs.py
+++ b/examples/morphgnt/verbs.py
@@ -4,7 +4,7 @@
from domain import *
-greek_forms = parse("forms.txt", ("form", "pos", "parse", "lemma"))
+greek_forms = parse_cols("forms.txt", ("form"... | renamed parse to parse_cols now we have more than one type | jtauber_qmorph | train | py,py |
d97ef755ad709bd6b60d9288ec0bb88a8ab69558 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,12 @@
from setuptools import setup, find_packages
-with open('README.rst') as readme, open('AUTHORS') as authors:
- long_description = '{}\n\n{}'.format(readme.read(), authors.read())
+with open('README.rst') ... | Updated long description and version
This release is primarily to test PyPI publishing from TravisCI. | edx_edx-rest-api-client | train | py |
550e293e519e8438a58204e2246304c887d04fd1 | diff --git a/src/graphitesend.py b/src/graphitesend.py
index <HASH>..<HASH> 100755
--- a/src/graphitesend.py
+++ b/src/graphitesend.py
@@ -8,7 +8,6 @@ __version__ = "0.0.1"
graphite_server = 'graphite'
-
class GraphiteClient(object):
""" Graphite Client that will setup a TCP connection to your graphite
... | fixes for pep8.
added main | daniellawrence_graphitesend | train | py |
b959b0ceb2abf78d8018b3ecf496718184319200 | diff --git a/src/Ouzo/Goodies/Utilities/Clock.php b/src/Ouzo/Goodies/Utilities/Clock.php
index <HASH>..<HASH> 100644
--- a/src/Ouzo/Goodies/Utilities/Clock.php
+++ b/src/Ouzo/Goodies/Utilities/Clock.php
@@ -19,11 +19,12 @@ class Clock
/** @var DateTime|Clock */
public static $freezeDate;
+ /** @var DateT... | #<I> Clock won't change DateTime passed as constructor parameter | letsdrink_ouzo | train | php |
65781a65f9208c2e2500126c041c10b9380109d9 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -18,7 +18,7 @@ class Configuration implements ConfigurationInterface
public function getConfigTreeBuilder... | This config local variable is declared but never used. You should remove it. | Kronhyx_BaseBundle | train | php,php |
44e97f39f900598d52554d125fc0fca1c19c0be5 | diff --git a/thumbor/handlers/__init__.py b/thumbor/handlers/__init__.py
index <HASH>..<HASH> 100644
--- a/thumbor/handlers/__init__.py
+++ b/thumbor/handlers/__init__.py
@@ -96,7 +96,11 @@ class BaseHandler(tornado.web.RequestHandler):
if self.context.modules.result_storage and should_store:
star... | BaseHandler: Added new treatment of exception in get image from result_storage | thumbor_thumbor | train | py |
10663acc92489e2ff94d6a9058229eb40080c165 | diff --git a/generators/server/templates/src/main/java/package/config/_MicroserviceSecurityConfiguration.java b/generators/server/templates/src/main/java/package/config/_MicroserviceSecurityConfiguration.java
index <HASH>..<HASH> 100644
--- a/generators/server/templates/src/main/java/package/config/_MicroserviceSecurit... | Fix wrong imports in MicroserviceSecurityConfiguration. | jhipster_generator-jhipster | train | java |
0a5b70a1538fe014fca75339c24e3fd53844e8b1 | diff --git a/src/Mongolid/Cursor/Cursor.php b/src/Mongolid/Cursor/Cursor.php
index <HASH>..<HASH> 100644
--- a/src/Mongolid/Cursor/Cursor.php
+++ b/src/Mongolid/Cursor/Cursor.php
@@ -190,7 +190,10 @@ class Cursor implements CursorInterface, Serializable
$documentToArray = (array) $document;
}
- ... | Fixed logic mistake in Cursor class | leroy-merlin-br_mongolid | train | php |
896956fe780b2e1163492396d0f8919e23f60816 | diff --git a/src/danog/MadelineProto/Exception.php b/src/danog/MadelineProto/Exception.php
index <HASH>..<HASH> 100644
--- a/src/danog/MadelineProto/Exception.php
+++ b/src/danog/MadelineProto/Exception.php
@@ -25,7 +25,7 @@ class Exception extends \Exception
if (error_reporting() === 0) {
return ... | Log errors only if the logger is constructed | danog_MadelineProto | train | php |
cd9a4a1e54955b68e2c1ad95245087b0bcb094b5 | diff --git a/vendors.php b/vendors.php
index <HASH>..<HASH> 100755
--- a/vendors.php
+++ b/vendors.php
@@ -24,9 +24,8 @@ if (!is_dir($vendorDir = dirname(__FILE__).'/vendor')) {
}
$deps = array(
- array('assetic', 'http://github.com/kriswallsmith/assetic.git', 'origin/HEAD'),
- array('doctrine', 'http://githu... | updated Doctrine to master (Symfony2 will ship with Doctrine <I>) | symfony_symfony | train | php |
cafb8ae9cf80cc8905248c4c6383b40a23b47074 | diff --git a/src/main/java/com/hackoeur/jglm/Vec3.java b/src/main/java/com/hackoeur/jglm/Vec3.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hackoeur/jglm/Vec3.java
+++ b/src/main/java/com/hackoeur/jglm/Vec3.java
@@ -121,6 +121,14 @@ public final class Vec3 extends AbstractVec {
);
}
+ public Vec4 toD... | Added methods to convert vec3 to vec4 points/directions. | jroyalty_jglm | train | java |
c58473b0cd304d9e54a354eacf86688a210584d7 | diff --git a/client/lib/feed-stream-store/index.js b/client/lib/feed-stream-store/index.js
index <HASH>..<HASH> 100644
--- a/client/lib/feed-stream-store/index.js
+++ b/client/lib/feed-stream-store/index.js
@@ -58,6 +58,11 @@ function limitSiteParamsForLikes( params ) {
params.fields += ',date_liked';
}
+function ... | Reader: Add tagged_on to the list of params (#<I>)
Fixes getting updates to tag streams | Automattic_wp-calypso | train | js |
eaf48b017afde528a31af6d7af378064835bb9f2 | diff --git a/src/de/lmu/ifi/dbs/elki/visualization/gui/detail/DetailView.java b/src/de/lmu/ifi/dbs/elki/visualization/gui/detail/DetailView.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/elki/visualization/gui/detail/DetailView.java
+++ b/src/de/lmu/ifi/dbs/elki/visualization/gui/detail/DetailView.java
@@ -2... | Bug fix: allow hiding of visualizers in detail view. | elki-project_elki | train | java |
631e8a517a924081efd433976d8b413f932f4cc0 | diff --git a/oauth2/__init__.py b/oauth2/__init__.py
index <HASH>..<HASH> 100644
--- a/oauth2/__init__.py
+++ b/oauth2/__init__.py
@@ -490,7 +490,7 @@ class Request(dict):
# section 4.1.1 "OAuth Consumers MUST NOT include an
# oauth_body_hash parameter on requests with form-encoded
... | fix problem with python<I> | joestump_python-oauth2 | train | py |
eb1138b2ac04e731879f6c04c089e14c8def0bed | diff --git a/haphilipsjs/__init__.py b/haphilipsjs/__init__.py
index <HASH>..<HASH> 100644
--- a/haphilipsjs/__init__.py
+++ b/haphilipsjs/__init__.py
@@ -261,6 +261,7 @@ class PhilipsTV(object):
self.ambilight_current_configuration: Optional[
AmbilightCurrentConfiguration
] = None
+ ... | added HueLamp state control for Ambilight+Hue functionality | danielperna84_ha-philipsjs | train | py |
9d1b97d65a8b8fdb4dc8285754f24f5e4eccfce4 | diff --git a/client/conversation.py b/client/conversation.py
index <HASH>..<HASH> 100644
--- a/client/conversation.py
+++ b/client/conversation.py
@@ -35,6 +35,7 @@ class Conversation(object):
"I'm sorry. It seems that Spotify is not enabled. Please read the documentation to learn how to config... | Readd missing line in conversation.py | benhoff_vexbot | train | py |
60766d0cc4e8e3dddaf4726c22607c61922c562e | diff --git a/safe_qgis/widgets/dock.py b/safe_qgis/widgets/dock.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/widgets/dock.py
+++ b/safe_qgis/widgets/dock.py
@@ -204,8 +204,7 @@ class Dock(QtGui.QDockWidget, Ui_DockBase):
except IndexError:
version_type = 'final'
# Allowed version na... | Fix string interpoation in window title of dock | inasafe_inasafe | train | py |
a46276b2dce104be340c3879a95c3b47e95d205f | diff --git a/upcloud_api/server.py b/upcloud_api/server.py
index <HASH>..<HASH> 100644
--- a/upcloud_api/server.py
+++ b/upcloud_api/server.py
@@ -160,14 +160,14 @@ class Server(object):
"""
self.shutdown()
- def start(self):
+ def start(self, timeout=120):
"""
Start the serv... | server: Run start() with a generous timeout by default
The <I> second CloudManager default is not quite sufficient here. | UpCloudLtd_upcloud-python-api | train | py |
0c334b10b4c426566224613f38a19ee168ce44ae | diff --git a/cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/AuthenticationContextValidator.java b/cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/AuthenticationContextValidator.java
index <HASH>..<HASH> 100644
--- a/cas-server-core-authentication/src/main/java/org/ja... | updated to merge with master and account for reviews | apereo_cas | train | java |
8e07d3c9d6269ad6bcd33ec440d01f3e65bbf040 | diff --git a/src/Majora/Framework/Normalizer/MajoraNormalizer.php b/src/Majora/Framework/Normalizer/MajoraNormalizer.php
index <HASH>..<HASH> 100644
--- a/src/Majora/Framework/Normalizer/MajoraNormalizer.php
+++ b/src/Majora/Framework/Normalizer/MajoraNormalizer.php
@@ -3,6 +3,7 @@
namespace Majora\Framework\Normalize... | Hotfix EntityCollection normalization | Linkvalue-Interne_MajoraFrameworkExtraBundle | train | php |
5786239bcb401b4e0e3097721fd8806a6e7c0c43 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -137,8 +137,8 @@ html_theme_options = {
'github_banner': True,
'show_powered_by': False,
'extra_nav_links': {
- 'invenio-records@GitHub': 'http://github.com/inveniosoftware/invenio-records... | docs: autodoc configuration and HTTPS fix
* Replaces HTTP links with HTTPS where possible. | inveniosoftware_invenio-records | train | py |
ce8474868103d31639ab39f81e458b8c3cb139e0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,13 +13,15 @@ try:
)
p.wait()
if p.returncode != 0:
- e = subprocess.CalledProcessError()
- e.returncode = p.returncode
- e.cmd = cmd
- e.output = " ".join(p.communicate())
+ ... | subprocess related fix for setup.py. | array-split_array_split | train | py |
45460de79ed699cf5aec56f14898b1ab4a870a69 | diff --git a/vncdotool/rfb.py b/vncdotool/rfb.py
index <HASH>..<HASH> 100644
--- a/vncdotool/rfb.py
+++ b/vncdotool/rfb.py
@@ -129,7 +129,7 @@ class RFBClient(Protocol):
#~ print "rfb"
maj, min = [int(x) for x in buffer[3:-1].split('.')]
#~ print maj, min
- ... | rfb: give VNC <I> a chance
- untested due to lack of access to <I> servers | sibson_vncdotool | train | py |
af1ae5c2a02ebc86d4b8601271100f870b3019ac | diff --git a/src/basic/Fab.js b/src/basic/Fab.js
index <HASH>..<HASH> 100644
--- a/src/basic/Fab.js
+++ b/src/basic/Fab.js
@@ -8,7 +8,8 @@ import {
Dimensions,
TouchableOpacity,
TouchableNativeFeedback,
- View
+ View,
+ StyleSheet
} from "react-native";
import { Icon } from "./Icon";
import { IconNB } fr... | Added stylesheet support for styling Fab child buttons.
Fix for issue #<I> (FAB children buttons don't use style from stylesheet) | GeekyAnts_NativeBase | train | js |
7c1f1978bcbc229d24dadfd692d33836095fca74 | diff --git a/src/main/java/com/arangodb/springframework/core/repository/query/ArangoResultConverter.java b/src/main/java/com/arangodb/springframework/core/repository/query/ArangoResultConverter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/arangodb/springframework/core/repository/query/ArangoResultConverter.... | Added braces into ArangoResultConverter | arangodb_spring-data | train | java |
5b39f7a12e429626890d93a364bdb0c7520a6d5c | diff --git a/intranet/apps/users/admin.py b/intranet/apps/users/admin.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/users/admin.py
+++ b/intranet/apps/users/admin.py
@@ -1,5 +1,8 @@
from django.contrib import admin
-from ..users.models import User
+from ..users.models import User, UserProperties, Course, Sectio... | fix(users): register models | tjcsl_ion | train | py |
e0ff4b47883861a030e696190b40cf264e3d2c8d | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueSubclassLeaked.java b/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueSubclassLeaked.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueSubclassLeaked.java
+++ b/core/src/main/java/... | AutoValueSubclassLeaked: point it at the AutoValue FAQ.
Add a problem statement for open source world.
-------------
Created by MOE: <URL> | google_error-prone | train | java |
752c4bc40c83b1e5dbcfa5a633eb6c250851d48b | diff --git a/driver/src/test/functional/org/mongodb/MongoQueryCursorTest.java b/driver/src/test/functional/org/mongodb/MongoQueryCursorTest.java
index <HASH>..<HASH> 100644
--- a/driver/src/test/functional/org/mongodb/MongoQueryCursorTest.java
+++ b/driver/src/test/functional/org/mongodb/MongoQueryCursorTest.java
@@ -1... | Partially fixing test to release lock in finally block. | mongodb_mongo-java-driver | train | java |
d6fd480cf62a6ee0852c2ba6ceb83fa9ffe0fdf4 | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -66,6 +66,11 @@ def pytest_configure(config):
if config.getoption("--regenerate-output"):
tests.CLICONFIG.REGENERATE_OUTPUT = config.getoption(
"--regenerate-outpu... | tests: Run unittests with custom HOME | python-bugzilla_python-bugzilla | train | py |
91103eb241ba46a8534c7ce41bec312131af584a | diff --git a/lottie/src/main/java/com/airbnb/lottie/model/layer/TextLayer.java b/lottie/src/main/java/com/airbnb/lottie/model/layer/TextLayer.java
index <HASH>..<HASH> 100644
--- a/lottie/src/main/java/com/airbnb/lottie/model/layer/TextLayer.java
+++ b/lottie/src/main/java/com/airbnb/lottie/model/layer/TextLayer.java
@... | Fixed two bugs with text alpha and stroke | airbnb_lottie-android | train | java |
7448774699d2f46ca171bd175972c5013a8b534f | diff --git a/src/ContaoCommunityAlliance/Composer/Plugin/RunonceExecutor.php b/src/ContaoCommunityAlliance/Composer/Plugin/RunonceExecutor.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/Composer/Plugin/RunonceExecutor.php
+++ b/src/ContaoCommunityAlliance/Composer/Plugin/RunonceExecutor.php
@@ -41,7 ... | Use native restore_error_handler as it also recognize the set error_types setting. | contao-community-alliance_composer-plugin | train | php |
c3bb736962d77d1fdd0207ba2ee487c1177451c7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ classifiers = [
]
setup(name='PyEventEmitter',
- version='1.0.2',
+ version='1.0.3',
description='Simple python events library',
long_description=long_description,
author='Etie... | Upgrade version to publish a release without tests | etissieres_PyEventEmitter | train | py |
1eeb8aa137617b032c4a9f65a74a7e49802da920 | diff --git a/dev/idangerous.swiper.js b/dev/idangerous.swiper.js
index <HASH>..<HASH> 100644
--- a/dev/idangerous.swiper.js
+++ b/dev/idangerous.swiper.js
@@ -718,7 +718,7 @@ var Swiper = function (selector, params) {
}
else {
_this.callPlugins('onInit');
- if (params.onFirstIn... | Check for onInit instead of onFirstInit before calling onInit. | nolimits4web_swiper | train | js |
62a1c839059d755f6ad42344e38983d62201c579 | diff --git a/datalist-polyfill.js b/datalist-polyfill.js
index <HASH>..<HASH> 100644
--- a/datalist-polyfill.js
+++ b/datalist-polyfill.js
@@ -21,19 +21,6 @@
return false;
}
- //Customevent for IE
- (function () {
- if ( typeof window.CustomEvent === "function" ) return false; //If not IE
- function C... | Uses Event instead of CustomEvent for emitting input-changed event | mfranzke_datalist-polyfill | train | js |
940779a984a2ed11c6a5032f759eb18323ea5782 | diff --git a/src/ro/nextreports/engine/util/DateUtil.java b/src/ro/nextreports/engine/util/DateUtil.java
index <HASH>..<HASH> 100644
--- a/src/ro/nextreports/engine/util/DateUtil.java
+++ b/src/ro/nextreports/engine/util/DateUtil.java
@@ -560,8 +560,7 @@ public class DateUtil {
*/
public static Date getLastD... | getLastDayFromCurrentWeek, getLastDayFromPreviousWeek changes | nextreports_nextreports-engine | train | java |
c40bddc7dd44fa9216f0b41d978c25b1d3149ed7 | diff --git a/mrblib/callbacks_attachable.rb b/mrblib/callbacks_attachable.rb
index <HASH>..<HASH> 100644
--- a/mrblib/callbacks_attachable.rb
+++ b/mrblib/callbacks_attachable.rb
@@ -29,6 +29,10 @@ module CallbacksAttachable
end
alias trigger_event trigger
+ def triggers_on?(event)
+ __callback_regi... | added #triggers_on? to class interface | christopheraue_m-ruby-callbacks_attachable | train | rb |
55d6d2045d63b2be0184b969f24457c7f476cdc6 | diff --git a/src/test/java/com/linecorp/armeria/server/http/tomcat/UnmanagedTomcatServiceTest.java b/src/test/java/com/linecorp/armeria/server/http/tomcat/UnmanagedTomcatServiceTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/linecorp/armeria/server/http/tomcat/UnmanagedTomcatServiceTest.java
+++ b/src/tes... | Do not create 'tomcat<I>' directory under project root directory
Motivation:
UnmanagedTomcatServiceTest does not specify the base directory of the
Tomcat, which makes the Tomcat create an empty 'tomcat<I>' directory
under the project root directory. It could be created somewhere under
'/target' instead for less distr... | line_armeria | train | java |
27cea743c4d27c70ee63d15aa33172a597b84de7 | diff --git a/lib/metasploit_data_models/version.rb b/lib/metasploit_data_models/version.rb
index <HASH>..<HASH> 100755
--- a/lib/metasploit_data_models/version.rb
+++ b/lib/metasploit_data_models/version.rb
@@ -4,5 +4,5 @@ module MetasploitDataModels
# metasploit-framework/data/sql/migrate to db/migrate in this proj... | Fix specs
[#<I>] | rapid7_metasploit_data_models | train | rb,rb |
406f0955d0992f3a24d260b6ee33e64d49d526d3 | diff --git a/tests/performance/_support/Factory.php b/tests/performance/_support/Factory.php
index <HASH>..<HASH> 100644
--- a/tests/performance/_support/Factory.php
+++ b/tests/performance/_support/Factory.php
@@ -265,6 +265,14 @@ class Factory {
$api->delete_pod( [ 'id' => $pod['id'] ] );
}
+ $api->cache_fl... | Flush cache and delete transients | pods-framework_pods | train | php |
d5feac10e846ded2aaca4c76a36462ebebbdcde9 | diff --git a/src/RedirectConfig.js b/src/RedirectConfig.js
index <HASH>..<HASH> 100644
--- a/src/RedirectConfig.js
+++ b/src/RedirectConfig.js
@@ -37,15 +37,7 @@ class RedirectConfig extends SchemaDerivedConfig {
}
async match(path) {
- return this.redirects.reduce((matched, redirect) => {
- if (matched... | refactor(redirects): use find instead of reduce | adobe_helix-shared | train | js |
6a2a42a274ddcd8ba2c1af9ea6ab7eac1eb71cda | diff --git a/treeherder/webapp/api/logslice.py b/treeherder/webapp/api/logslice.py
index <HASH>..<HASH> 100644
--- a/treeherder/webapp/api/logslice.py
+++ b/treeherder/webapp/api/logslice.py
@@ -75,4 +75,4 @@ class LogSliceView(viewsets.ViewSet):
gz_file.close()
else:
- return... | replaced returning a response with raising an exception | mozilla_treeherder | train | py |
ae8d93f223107d6fde7c1426187ac36e4747b010 | diff --git a/src/utils/isReactModuleName.js b/src/utils/isReactModuleName.js
index <HASH>..<HASH> 100644
--- a/src/utils/isReactModuleName.js
+++ b/src/utils/isReactModuleName.js
@@ -10,7 +10,7 @@
*
*/
-var reactModules = ['react', 'react/addons'];
+var reactModules = ['react', 'react/addons', 'react-native'];
... | Add support for PropTypes import from react-native
See issue #<I> | reactjs_react-docgen | train | js |
5abfb52ca204ba28ee933abf513fe619413e00b1 | diff --git a/Kwf/Model/Db.php b/Kwf/Model/Db.php
index <HASH>..<HASH> 100644
--- a/Kwf/Model/Db.php
+++ b/Kwf/Model/Db.php
@@ -173,7 +173,7 @@ class Kwf_Model_Db extends Kwf_Model_Abstract
return $this->_fieldWithTableName($f, $tableNameAlias);
}
$ret = $this->_formatFieldInternal($field,... | Check for correct type as Expr_Integer(0) makes problems | koala-framework_koala-framework | train | php |
273b51b3428ebdd5ca5cf58da6ac396df7c02333 | diff --git a/lib/srv/sess.go b/lib/srv/sess.go
index <HASH>..<HASH> 100644
--- a/lib/srv/sess.go
+++ b/lib/srv/sess.go
@@ -508,11 +508,21 @@ func (m *multiWriter) deleteWriter(id string) {
delete(m.writers, id)
}
+// Write multiplexes the input to multiple sub-writers. The entire point
+// of multiWriter is to do ... | Fixed deadlock inside of the session multi-writer | gravitational_teleport | train | go |
1817361f6df01594480ce386e4598c739d2f43d5 | diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php
index <HASH>..<HASH> 100644
--- a/core/DataFiles/SearchEngines.php
+++ b/core/DataFiles/SearchEngines.php
@@ -376,8 +376,6 @@ if(!isset($GLOBALS['Piwik_SearchEngines'] ))
// Google
'google.com' => array('Google', 'q', 'search?q={k... | revert [<I>]; this was already handled; add test case as a sanity check
git-svn-id: <URL> | matomo-org_matomo | train | php,php |
4c2a163e25f0eb8908044600c4168b445b473e91 | diff --git a/duct.py b/duct.py
index <HASH>..<HASH> 100644
--- a/duct.py
+++ b/duct.py
@@ -78,8 +78,8 @@ class CheckedError(subprocess.CalledProcessError):
self.expression = expression
def __str__(self):
- return 'Expression {0} returned non-zero exit status {1}.'.format(
- self.expres... | include captured output in CheckedError's repr
I suspect CI is failing because of a PYTHONPATH issue, but it's hard to
tell because I'm not seeing captured output in my errors. This should
fix the issue. | oconnor663_duct.py | train | py |
3096629d297a77a9b64747a0ac2df6b2cbf47a68 | diff --git a/railties/lib/rails.rb b/railties/lib/rails.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails.rb
+++ b/railties/lib/rails.rb
@@ -22,8 +22,10 @@ require 'action_dispatch/railtie'
if RUBY_VERSION < '1.9'
$KCODE='u'
else
- Encoding.default_external = Encoding::UTF_8
- Encoding.default_internal = E... | we are *sure* we want to set the encoding, so silence warnings around it | rails_rails | train | rb,rb |
2ae6b944a25dc2d371e0496895e3bdbe29c3d046 | diff --git a/release/alert.py b/release/alert.py
index <HASH>..<HASH> 100644
--- a/release/alert.py
+++ b/release/alert.py
@@ -32,6 +32,8 @@ GLOBAL_CONFIG["SLACK_WEBHOOK"] = os.environ.get("SLACK_WEBHOOK", "")
GLOBAL_CONFIG["SLACK_CHANNEL"] = os.environ.get("SLACK_CHANNEL",
... | [release tests] limit number of results fetched for alerting (#<I>) | ray-project_ray | train | py |
2dee70d5d8bcc889c0d594c7b46a5faad17841af | diff --git a/lib/dm-sweatshop/sweatshop.rb b/lib/dm-sweatshop/sweatshop.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-sweatshop/sweatshop.rb
+++ b/lib/dm-sweatshop/sweatshop.rb
@@ -1,5 +1,8 @@
module DataMapper
class Sweatshop
+ class NoFixturesExist < Exception
+ end
+
class << self
attr_accessor :... | Add NoFixtureExist exception so dm-sweatshop doesn't blow up when fixture does not exist. | datamapper_dm-sweatshop | train | rb |
e00471797b48276c36d3f168c5acb5e42a2939ff | diff --git a/pavement.py b/pavement.py
index <HASH>..<HASH> 100644
--- a/pavement.py
+++ b/pavement.py
@@ -12,7 +12,7 @@ install_distutils_tasks()
# Platform-independent package requirements.
install_requires = ['microdrop-utility>=0.4', 'networkx>=1.10', 'pandas',
'path-helpers>=0.2', 'svg_model... | Bump required version of pygst-utils package | sci-bots_dmf-device-ui | train | py |
b2244c609a7f104ba2883c980d2cc2d26fc049fa | diff --git a/src/Payum/Paypal/ExpressCheckout/Nvp/PaymentFactory.php b/src/Payum/Paypal/ExpressCheckout/Nvp/PaymentFactory.php
index <HASH>..<HASH> 100644
--- a/src/Payum/Paypal/ExpressCheckout/Nvp/PaymentFactory.php
+++ b/src/Payum/Paypal/ExpressCheckout/Nvp/PaymentFactory.php
@@ -11,6 +11,7 @@ use Payum\Paypal\Expres... | Add CancelRecurringPaymentsProfileAction to payment factory | Payum_Payum | train | php |
726ace49d84aa8ed549db49443ca49ae80733e70 | diff --git a/test/view.test.js b/test/view.test.js
index <HASH>..<HASH> 100644
--- a/test/view.test.js
+++ b/test/view.test.js
@@ -486,6 +486,25 @@ module.exports = {
{ body: 'We have 5 cool pets\n' });
},
+ 'test #partial() locals with collection': function(assert){
+ var app = create... | Added partial locals test with collection | expressjs_express | train | js |
1aec6483d37d4c23cebc5580a598ffd8d0bf0136 | diff --git a/goagen/gen_swagger/swagger.go b/goagen/gen_swagger/swagger.go
index <HASH>..<HASH> 100644
--- a/goagen/gen_swagger/swagger.go
+++ b/goagen/gen_swagger/swagger.go
@@ -463,10 +463,21 @@ func buildPathFromDefinition(s *Swagger, api *design.APIDefinition, route *desig
}
params = append(params, pp)
}
+ ... | Make sure OperationID is unique in swagger | goadesign_goa | train | go |
904d90e65ffa1ac3ada1075f5b5432ff25e3f5a0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,6 +54,7 @@ setup(
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
... | Add Python <I> to the list of supported versions | browniebroke_deezer-python | train | py |
b12f811bb1f7609c62b9245c204e8a41ede1d6e9 | diff --git a/moco-runner/src/test/java/com/github/dreamhead/moco/MocoTemplateStandaloneTest.java b/moco-runner/src/test/java/com/github/dreamhead/moco/MocoTemplateStandaloneTest.java
index <HASH>..<HASH> 100644
--- a/moco-runner/src/test/java/com/github/dreamhead/moco/MocoTemplateStandaloneTest.java
+++ b/moco-runner/s... | modified test in template standalone test to fix travis build | dreamhead_moco | train | java |
d4ae0f1f94f08a6237162138a02a3cd33f106618 | diff --git a/pgmpy/factors/Factor.py b/pgmpy/factors/Factor.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/Factor.py
+++ b/pgmpy/factors/Factor.py
@@ -523,7 +523,7 @@ class Factor:
for k, index in enumerate(map(other._index_for_assignment, transformed_assign)):
transformed_indexes[k] =... | Fixed floating point issue in factor __eq__ method | pgmpy_pgmpy | train | py |
b76a67cdf7ac38158dcd8b3e9573c288c3e632dd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(
'Operating System :: OS Independent',
],
install_requires=[
- 'redis',
+ 'redis<3.0',
'celery',
'python-dateutil',
'tenacity' | Added version specifier for redis-py. | sibson_redbeat | train | py |
09653b8554161ad38cf06341a4893c610da44f5a | diff --git a/command/build_scripts.py b/command/build_scripts.py
index <HASH>..<HASH> 100644
--- a/command/build_scripts.py
+++ b/command/build_scripts.py
@@ -128,10 +128,9 @@ class build_scripts(Command):
"The shebang ({!r}) is not decodable "
"from the script ... | Issue #<I>, issue #<I>: port 6ad<I> fix from distutils to packaging
build_scripts command of packaging now handles correctly non-ASCII path (path
to the Python executable). Open and write the script in binary mode, but ensure
that the shebang is decodable from UTF-8 and from the encoding of the script. | pypa_setuptools | train | py |
9e6950fad424b5a7ee2b921d12701ae2d681d81e | diff --git a/qtawesome/animation.py b/qtawesome/animation.py
index <HASH>..<HASH> 100644
--- a/qtawesome/animation.py
+++ b/qtawesome/animation.py
@@ -22,7 +22,7 @@ class Spin:
def setup(self, icon_painter, painter, rect):
if self.parent_widget not in self.info:
- timer = QTimer()
+ ... | Timer should belong to parent widget
If parent widget gets deleted timer automatically deleted to, instead timer tries to update already deleted widget. | spyder-ide_qtawesome | train | py |
0bb886defd7df576a5dba2a2fe856ec22e903211 | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -241,7 +241,7 @@ exports.client = function(callpoint) {
_.each(pins, function(pin) {
pin = _.clone(pin)
pin.client$ = true
-
+ pin.strict$ = { add: true }
sd.add(pin, transport_client)
... | Add other does not matter in mesh/balance plugin
<URL> | senecajs_seneca | train | js |
625d3530ec7de43dff05f6d38c19d11fe8fa85df | diff --git a/project_generator/project.py b/project_generator/project.py
index <HASH>..<HASH> 100644
--- a/project_generator/project.py
+++ b/project_generator/project.py
@@ -64,9 +64,7 @@ class ToolSpecificSettings:
def __init__(self):
self.include_paths = []
self.source_paths = []
- self... | Squashed commit of #<I>:
Removal of default virtual directory. | project-generator_project_generator | train | py |
5e44845229a14ddaf98d7d0f64ff50c8b87076ef | diff --git a/Tests/Integration/SimpleFileFetcherTest.php b/Tests/Integration/SimpleFileFetcherTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Integration/SimpleFileFetcherTest.php
+++ b/Tests/Integration/SimpleFileFetcherTest.php
@@ -29,7 +29,7 @@ class SimpleFileFetcherTest extends \PHPUnit_Framework_TestCase {
pub... | Avoid failure on PHP <I> since GitHub has cert issues | JeroenDeDauw_FileFetcher | train | php |
01295b2b068f23d6e07ec3328231820a76e554a8 | diff --git a/models/forms/LoginForm.php b/models/forms/LoginForm.php
index <HASH>..<HASH> 100644
--- a/models/forms/LoginForm.php
+++ b/models/forms/LoginForm.php
@@ -141,9 +141,14 @@ class LoginForm extends Model
public function attributeLabels()
{
// calculate attribute label for "username"
- ... | display "Email / Username" when both loginEmail and loginUsername are true | amnah_yii2-user | train | php |
4039f11a97fde8b3935ea47e3738974eed6fa010 | diff --git a/Carew/Carew.php b/Carew/Carew.php
index <HASH>..<HASH> 100644
--- a/Carew/Carew.php
+++ b/Carew/Carew.php
@@ -8,7 +8,7 @@ use Symfony\Component\Console\Command\Command;
class Carew
{
- const VERSION = '1.1.0';
+ const VERSION = '1.2.0-DEV';
private $container;
private $application; | bumped version to <I>-DEV | carew_carew | train | php |
54777004062089317aea84724802153114d853cb | diff --git a/Winwheel.js b/Winwheel.js
index <HASH>..<HASH> 100644
--- a/Winwheel.js
+++ b/Winwheel.js
@@ -1689,11 +1689,16 @@ Winwheel.prototype.stopAnimation = function(canCallback)
// @TODO as part of multiwheel, need to work out how to stop the tween for a single wheel but allow others to continue.
... | Fix stop animation error
Fixed error in stopAnimation when animation has not run before. | zarocknz_javascript-winwheel | train | js |
981dc4c9e06f3d3a94d099bc31cdb2ae98abfc77 | diff --git a/lib/collect.js b/lib/collect.js
index <HASH>..<HASH> 100644
--- a/lib/collect.js
+++ b/lib/collect.js
@@ -56,6 +56,14 @@ module.exports = {
receive: getTiming(entry, 'receive')
};
+ const totalTime =
+ timings.blocked +
+ timings.dns +
+ timings.connect +
+ timings.send... | Fixes #<I> - adding totalTime to results for each asset and domain (#<I>) | sitespeedio_pagexray | train | js |
bd50a67ab1972446a5b9490e860f44d385d3edce | diff --git a/src/net/sf/mpxj/reader/UniversalProjectReader.java b/src/net/sf/mpxj/reader/UniversalProjectReader.java
index <HASH>..<HASH> 100644
--- a/src/net/sf/mpxj/reader/UniversalProjectReader.java
+++ b/src/net/sf/mpxj/reader/UniversalProjectReader.java
@@ -98,7 +98,7 @@ public class UniversalProjectReader extends... | Don't raise an exception for small files. | joniles_mpxj | train | java |
fbfea46676763920f411d4296f02acdc3a4cf12b | diff --git a/reflect/src/main/java/org/powermock/reflect/Whitebox.java b/reflect/src/main/java/org/powermock/reflect/Whitebox.java
index <HASH>..<HASH> 100644
--- a/reflect/src/main/java/org/powermock/reflect/Whitebox.java
+++ b/reflect/src/main/java/org/powermock/reflect/Whitebox.java
@@ -269,7 +269,6 @@ public class ... | Removed unused suppression of warnings | powermock_powermock | train | java |
047edc386831bf8cff105ca4b79987bff2a1c41d | diff --git a/src/app/Models/Menu.php b/src/app/Models/Menu.php
index <HASH>..<HASH> 100644
--- a/src/app/Models/Menu.php
+++ b/src/app/Models/Menu.php
@@ -15,7 +15,10 @@ class Menu extends Model
'name', 'icon', 'order_index', 'link', 'has_children', 'parent_id',
];
- protected $casts = ['has_children... | Update Menu model to always cast parent_id to int
Some database drivers implicitly convert (non-primary?) keys to string.
This caused a mismatch in the hasChildren check breaking submenus | laravel-enso_MenuManager | train | php |
4fc605b4d85f746cbf7a3030d997a6161ed7d3d4 | diff --git a/server/pages/index.js b/server/pages/index.js
index <HASH>..<HASH> 100644
--- a/server/pages/index.js
+++ b/server/pages/index.js
@@ -7,6 +7,7 @@ var express = require( 'express' ),
i18nUtils = require( 'lib/i18n-utils' ),
debug = require( 'debug' )( 'calypso:pages' ),
superagent = require( 'superage... | Server: /design: whitelist for theme tiers
Avoids potential memory leaks | Automattic_wp-calypso | train | js |
56e34c71f4fb6ca259b48d82c561759acf9484be | diff --git a/lib/vines/stream/server.rb b/lib/vines/stream/server.rb
index <HASH>..<HASH> 100644
--- a/lib/vines/stream/server.rb
+++ b/lib/vines/stream/server.rb
@@ -109,7 +109,7 @@ module Vines
raise StreamErrors::UnsupportedVersion unless node['version'] == '1.0'
raise StreamErrors::ImproperAddress... | Check whether the destination domain allows cross_domain_messages before accepting a s2s stream. There's no point in accepting the connection when every packet sent over it is ignored. | negativecode_vines | train | rb |
b6bff5172a99046c8d2a1aa017be0e4110c7fd24 | diff --git a/discord/ext/commands/formatter.py b/discord/ext/commands/formatter.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/formatter.py
+++ b/discord/ext/commands/formatter.py
@@ -364,8 +364,10 @@ class HelpFormatter:
self._add_subcommands_to_page(max_width, commands)
else:
- ... | [commands] Remove Commands: if no commands can be run in help command. | Rapptz_discord.py | train | py |
f46514a47a16ff18044ef697b2da0d80e2225960 | diff --git a/master/buildbot/status/buildrequest.py b/master/buildbot/status/buildrequest.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/status/buildrequest.py
+++ b/master/buildbot/status/buildrequest.py
@@ -17,7 +17,6 @@ from zope.interface import implements
from twisted.python import log
from twisted.interne... | fix reference loop between buildbot.status.buildrequest and buildbot.process.buildrequest | buildbot_buildbot | train | py |
dcc0d63940ffb5ccdffc4c8c7003fe4f1fcdd543 | diff --git a/src/slick-pager.js b/src/slick-pager.js
index <HASH>..<HASH> 100644
--- a/src/slick-pager.js
+++ b/src/slick-pager.js
@@ -1,5 +1,5 @@
import {bindable} from 'aurelia-framework';
-import $ from 'bootstrap';
+import $ from 'jquery';
export class SlickPager {
@bindable gridoptions; | changed import $ to jquery instead of bootstrap | ghiscoding_aurelia-slickgrid | train | js |
41bd3fca12e0daa974842236268d1c29ddbae097 | diff --git a/lib/mongoid/sessions/options.rb b/lib/mongoid/sessions/options.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/sessions/options.rb
+++ b/lib/mongoid/sessions/options.rb
@@ -161,7 +161,7 @@ module Mongoid
@target.send(name, *args, &block)
ensure
set_persistence_options(@targe... | Small indentation fix [skip ci] | mongodb_mongoid | train | rb |
020836752b23fc7d6a8fb06382b95767910e7e2a | diff --git a/src/PackageJsonSynchronizer.php b/src/PackageJsonSynchronizer.php
index <HASH>..<HASH> 100644
--- a/src/PackageJsonSynchronizer.php
+++ b/src/PackageJsonSynchronizer.php
@@ -207,7 +207,7 @@ class PackageJsonSynchronizer
return null;
}
- foreach (['/assets', '/Resources/assets... | Look into vendor's src/Resources/assets for package.json | symfony_flex | train | php |
9a78b2fbc8d4c2259641980a0d2e68ee05796c9e | diff --git a/src/Psalm/Storage/FunctionLikeStorage.php b/src/Psalm/Storage/FunctionLikeStorage.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Storage/FunctionLikeStorage.php
+++ b/src/Psalm/Storage/FunctionLikeStorage.php
@@ -277,6 +277,8 @@ abstract class FunctionLikeStorage
}
/**
+ * @internal
+ ... | Mark FunctionLikeStorage::setParams()/addParam() as internal | vimeo_psalm | train | php |
0bb6a9245d8e301eaab4553b8cad67b9f828708b | diff --git a/inc/cloner/class-cloner.php b/inc/cloner/class-cloner.php
index <HASH>..<HASH> 100644
--- a/inc/cloner/class-cloner.php
+++ b/inc/cloner/class-cloner.php
@@ -997,8 +997,8 @@ class Cloner {
* @return bool Whether or not the book is public and licensed for cloning (or true if the current user is a network... | fix: improve hook handling for clonable hook (#<I>) | pressbooks_pressbooks | train | php |
e41f2e6b4f83d1138efdb56a4aea2e65de1589c0 | diff --git a/src/pdfCropMargins/external_program_calls.py b/src/pdfCropMargins/external_program_calls.py
index <HASH>..<HASH> 100644
--- a/src/pdfCropMargins/external_program_calls.py
+++ b/src/pdfCropMargins/external_program_calls.py
@@ -69,6 +69,8 @@ else: system_bits = 32
gs_executables = (
("Linux", "gs", "gs... | Added macOs support
Added Darwin an option when the program checks for path against the OS. This allows it to work on MacOS | abarker_pdfCropMargins | train | py |
ed95b7143f12bfc6bd1f02f8d44429ea865d767f | diff --git a/grab/grab.py b/grab/grab.py
index <HASH>..<HASH> 100644
--- a/grab/grab.py
+++ b/grab/grab.py
@@ -7,6 +7,7 @@ from copy import copy
import threading
from urlparse import urljoin
from copy import deepcopy
+import time
from html import make_unicode, find_refresh_url
import user_agent
@@ -364,3 +365,15... | Add sleep method to grab which by default stop program exucution for the random time in (0, 1) seconds range. | lorien_grab | train | py |
007282503bb8923cdcb995f76c0ed054fc546151 | diff --git a/test/id-utils.spec.js b/test/id-utils.spec.js
index <HASH>..<HASH> 100644
--- a/test/id-utils.spec.js
+++ b/test/id-utils.spec.js
@@ -158,6 +158,7 @@ test('resolveModuleId returns clean id', t => {
test('resolveModuleId can work on base with ..', t => {
t.equal(resolveModuleId('../foo', './bar'), '../b... | test: add test coverage on above surface module resolution | dumberjs_dumber-module-loader | train | js |
02987fa71bc6cc65f85a98e457ebf55b318957a5 | diff --git a/velbus/module.py b/velbus/module.py
index <HASH>..<HASH> 100644
--- a/velbus/module.py
+++ b/velbus/module.py
@@ -39,7 +39,7 @@ class Module(object):
self._loaded_callbacks = []
self.loaded = False
- self._load_in_progress = False
+ self._loading_triggered = False
... | Rename _load_in_progress into _loading_triggered | thomasdelaet_python-velbus | train | py |
efe6ed72264e49939f4ae013ebde4e3adb60a420 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -32,12 +32,12 @@ Hammer.defaults = {
};
// detect touchevents
-Hammer.HAS_POINTEREVENTS = navigator.pointerEnabled || navigator.msPointerEnabled;
+Hammer.HAS_POINTEREVENTS = window.navigator.pointerEnabled || w... | eliminiated references to globals "navigator" and "document".
changed to "window.navigator" and "window.document" so that the injected
"window" instance is used. | hammerjs_hammer.js | train | js |
7bac265f3435d6ee9bde2a4bd0cf3165eb97e5e5 | diff --git a/lib/bud.rb b/lib/bud.rb
index <HASH>..<HASH> 100644
--- a/lib/bud.rb
+++ b/lib/bud.rb
@@ -115,7 +115,6 @@ module Bud
@state_methods = lookup_state_methods
init_state
- do_bootstrap
# NB: Somewhat hacky. Dependency analysis and stratification are implemented
# by Bud programs, so ... | reinstate the move of do_boostrap to the beginning of 1st tick. | bloom-lang_bud | train | rb |
1a456092111d4d6da35cba6c6a0d3cd095e440c6 | diff --git a/spec/compressor/gzip_spec.rb b/spec/compressor/gzip_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/compressor/gzip_spec.rb
+++ b/spec/compressor/gzip_spec.rb
@@ -21,6 +21,7 @@ describe Backup::Compressor::Gzip do
describe '#perform!' do
before do
+ [:run, :utility].each { |method| compressor... | Forgot to stub out particular methods for the Backup::Compressor::Gzip specs. | backup_backup | train | rb |
c410a86814abde8ce05aaf46383f38ef9f981a8c | diff --git a/tests/basics/special_methods.py b/tests/basics/special_methods.py
index <HASH>..<HASH> 100644
--- a/tests/basics/special_methods.py
+++ b/tests/basics/special_methods.py
@@ -100,6 +100,10 @@ cud1 = Cud()
cud2 = Cud()
str(cud1)
+cud1 == cud1
+cud1 == cud2
+cud1 != cud1
+cud1 != cud2
cud1 < cud2
cud1 <... | tests/basics: Enable == and != special-method tests now that they work.
These work since 3aab<I>bf<I>e7f<I>a<I>ea<I>f1bac<I>fad8c | micropython_micropython | train | py,py |
3b12391529cd9e7c47368ec579356d373229cc6a | diff --git a/lib/Loop/UvDriver.php b/lib/Loop/UvDriver.php
index <HASH>..<HASH> 100644
--- a/lib/Loop/UvDriver.php
+++ b/lib/Loop/UvDriver.php
@@ -50,6 +50,8 @@ class UvDriver extends Driver {
}
foreach ($watchers as $watcher) {
+ // $events is OR'ed with 4 to trigger watcher ... | Add note about OR'ing with 4 | amphp_amp | train | php |
da6af368a63bb1b1b632719e1525ae5d28d4b119 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,9 +2,10 @@
from setuptools import setup
-from ripe.atlas.cousteau.version import __version__
+# import manually __version__ variable
+exec(open('ripe/atlas/cousteau/version.py').read())
-install_requires = ["python-d... | after adding dependencies version could be imported; so we needed a hack to import __version__ | RIPE-NCC_ripe-atlas-cousteau | train | py |
0b10ab0db8626c177c89ec09d50df07c1f9c04b5 | diff --git a/mustache.js b/mustache.js
index <HASH>..<HASH> 100644
--- a/mustache.js
+++ b/mustache.js
@@ -62,7 +62,7 @@ var Mustache = function() {
}
var that = this;
- var regex = new RegExp(this.otag + "%([\\w_-]+) ?([\\w]+=[\\w]+)?" +
+ var regex = new RegExp(this.otag + "%([\\w-]+) ?([\\w... | Regex: \w includes "_". Thanks Leeoniya. | janl_mustache.js | train | js |
9b98d7abfaf1cf82849d7d8951a9f2e52865b0de | diff --git a/src/Library/Plugin/UpdateData.php b/src/Library/Plugin/UpdateData.php
index <HASH>..<HASH> 100644
--- a/src/Library/Plugin/UpdateData.php
+++ b/src/Library/Plugin/UpdateData.php
@@ -198,7 +198,15 @@ class UpdateData {
$is_timely_updates = apply_filters( 'boldgrid_backup_is_timely_updates', false );
... | add check for old transient (#<I>) | BoldGrid_library | train | php |
15d599c8e6188c94591ec85f9deb7aba1a696991 | diff --git a/code/libraries/koowa/libraries/dispatcher/behavior/persistable.php b/code/libraries/koowa/libraries/dispatcher/behavior/persistable.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/libraries/dispatcher/behavior/persistable.php
+++ b/code/libraries/koowa/libraries/dispatcher/behavior/persistable.p... | re #<I>: Do not persist internal states | joomlatools_joomlatools-framework | train | php |
950f7bcb5647d84cb53b0e08647fa600e397d032 | diff --git a/platform/net/ip/interface_addresses_validator.go b/platform/net/ip/interface_addresses_validator.go
index <HASH>..<HASH> 100644
--- a/platform/net/ip/interface_addresses_validator.go
+++ b/platform/net/ip/interface_addresses_validator.go
@@ -28,12 +28,12 @@ func (i *interfaceAddressesValidator) Validate(de... | Use Errorf to get rid of nil cause
err was always nil | cloudfoundry_bosh-agent | train | go |
ae8f1fed05e3e1b99893c21ed1ae20c10c5bd7f7 | diff --git a/telethon_generator/parsers/tlobject/tlarg.py b/telethon_generator/parsers/tlobject/tlarg.py
index <HASH>..<HASH> 100644
--- a/telethon_generator/parsers/tlobject/tlarg.py
+++ b/telethon_generator/parsers/tlobject/tlarg.py
@@ -140,7 +140,7 @@ class TLArg:
# treated as a "date" object. Note that... | Treat arguments with _until or _since in their name as dates | LonamiWebs_Telethon | train | py |
75e4d301515bf6e7629e009a9c67d347d3248d7d | diff --git a/src/Composer/Installer/BinaryInstaller.php b/src/Composer/Installer/BinaryInstaller.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Installer/BinaryInstaller.php
+++ b/src/Composer/Installer/BinaryInstaller.php
@@ -355,7 +355,12 @@ if (PHP_VERSION_ID < 80000) {
public function url_stat(\$... | Fix warnings when some code reuses the phpvfscomposer:// stream wrapper to try and access other files, refs #<I> | composer_composer | train | php |
65bd6d791c9f507a52b174f154a09f435c679e76 | diff --git a/lib/transforms/moveAssets.js b/lib/transforms/moveAssets.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/moveAssets.js
+++ b/lib/transforms/moveAssets.js
@@ -6,7 +6,15 @@ var URL = require('url'),
exports.moveAssets = function (query, newUrlFunction) {
return function moveAssets(assetGraph, cb) {... | transforms.moveAssets: Keep the existing file name if the new url ends in a slash. | assetgraph_assetgraph | train | js |
3463ee64a7dd8902eef83da31f453b08c903d6d2 | diff --git a/src/plugins/Dashboard/StatusBar.js b/src/plugins/Dashboard/StatusBar.js
index <HASH>..<HASH> 100644
--- a/src/plugins/Dashboard/StatusBar.js
+++ b/src/plugins/Dashboard/StatusBar.js
@@ -14,7 +14,7 @@ export default (props) => {
<div class="UppyDashboard-statusBarContent">
${props.isUploadSt... | Reorder status bar item order
"Uploading... 1/3 - <I>% - (...)" feels like the first of 3 files is uploading (whereas it means that one file is completely uploaded)
This commit changes it to "Uploading... <I>% - 1/3 - (...)" | transloadit_uppy | train | js |
6c2992800ef7502bc1dd1bf3739cf5714615b9f8 | diff --git a/src/org/jgroups/protocols/FD_SOCK.java b/src/org/jgroups/protocols/FD_SOCK.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/FD_SOCK.java
+++ b/src/org/jgroups/protocols/FD_SOCK.java
@@ -1,4 +1,4 @@
-// $Id: FD_SOCK.java,v 1.15 2004/10/06 08:09:25 belaban Exp $
+// $Id: FD_SOCK.java,v 1.16 2... | using srv_sock_bind_addr correctly now in IpAddress | belaban_JGroups | train | java |
3cd5c433412df7f5ec63db4812a09835d1657725 | diff --git a/ast.go b/ast.go
index <HASH>..<HASH> 100644
--- a/ast.go
+++ b/ast.go
@@ -926,8 +926,8 @@ func (s *SelectStatement) validateDerivative() error {
// Derivative requires two arguments
derivativeCall := aggr[0]
- if len(derivativeCall.Args) != 2 {
- return fmt.Errorf("derivative requires a field and du... | Make duration argument optional for derivatives
If it's not specified, it defaults to 1s for raw queries and to the
group by duration on group by queries. | influxdata_influxql | train | go |
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.