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 |
|---|---|---|---|---|---|
ecfc54a2aff8e96cfbd5f292676350ee5eff3cd1 | diff --git a/user/config-sample.php b/user/config-sample.php
index <HASH>..<HASH> 100644
--- a/user/config-sample.php
+++ b/user/config-sample.php
@@ -68,9 +68,10 @@ $yourls_user_passwords = [
// You can have one or more 'login'=>'password' lines
];
-/** URL shortening method: 36 or 62
+/** URL shortening method: ... | Clarify what setting is for
Wiki page added: <URL> | YOURLS_YOURLS | train | php |
17ba7371853a8e73e48c8500afe748a0800a2858 | diff --git a/spyder/widgets/tests/test_editor.py b/spyder/widgets/tests/test_editor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/tests/test_editor.py
+++ b/spyder/widgets/tests/test_editor.py
@@ -517,7 +517,7 @@ def test_tab_copies_find_to_replace(editor_find_replace_bot):
finder.search_text.set_current_tex... | Fix method call
combox box currentText is a method, not a property. | spyder-ide_spyder | train | py |
7983925e1dac4481008c6c7a913f5c4a7524ee37 | diff --git a/src/Robo/Commands/Validate/PhpcsCommand.php b/src/Robo/Commands/Validate/PhpcsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Robo/Commands/Validate/PhpcsCommand.php
+++ b/src/Robo/Commands/Validate/PhpcsCommand.php
@@ -25,6 +25,7 @@ class PhpcsCommand extends BltTasks {
->run();
$exit_code =... | Adding notification after phphcs failure. | acquia_blt | train | php |
867de2a614caef5e86582c49177aed1c724cc3a7 | diff --git a/acestream/request.py b/acestream/request.py
index <HASH>..<HASH> 100644
--- a/acestream/request.py
+++ b/acestream/request.py
@@ -92,7 +92,7 @@ class Request(object):
def _parse_json(self, string):
try:
- return json.loads(str(string))
+ return json.loads(string)
except (IOError, V... | request: fix json parsing | jonian_python-acestream | train | py |
beb9965c148678656a9137420236d03c51eb40b6 | diff --git a/wepay.php b/wepay.php
index <HASH>..<HASH> 100644
--- a/wepay.php
+++ b/wepay.php
@@ -230,7 +230,7 @@ class WePay {
$headers[] = "Api-Version: " . self::$api_version;
}
- curl_setopt(self::$ch, CURLOPT_USERAGENT, 'WePay v2 PHP SDK v' . self::VERSION);
+ curl_setopt(self::$ch, CURLOPT_USERAGENT, ... | add client_id to user agent for debugging purpose | wepay_PHP-SDK | train | php |
23f407bd0711ab940181b2c31e5c84e0e5b93fd1 | diff --git a/client/index.js b/client/index.js
index <HASH>..<HASH> 100644
--- a/client/index.js
+++ b/client/index.js
@@ -5,14 +5,9 @@ var events = require('events'),
util = require('util'),
utils = require('../lib/utils');
-var transports = {};
-
-fs.readdirSync(path.join(__dirname, 'transports')).forE... | Don't be overly clever when loading client transports
There won't be many of these, and they won't change very often. | nylen_lockd | train | js |
f4ebdb71313bba3281d6f26ec184dd2d3a6be688 | diff --git a/sprout/rakefile.rb b/sprout/rakefile.rb
index <HASH>..<HASH> 100644
--- a/sprout/rakefile.rb
+++ b/sprout/rakefile.rb
@@ -55,7 +55,7 @@ def apply_shared_spec(s)
s.add_dependency('rubyzip', '>= 0.9.1')
s.add_dependency('archive-tar-minitar', '>= 0.5.1')
- s.add_dependency('rubigen', '= 1.3.3'... | Updated rubigen version dependency to <I> - thanks to cjheath | lukebayes_project-sprouts | train | rb |
02b7e1b56535d99364d2f47e142e1345e738ea60 | diff --git a/core/src/main/java/org/owasp/dependencycheck/analyzer/OssIndexAnalyzer.java b/core/src/main/java/org/owasp/dependencycheck/analyzer/OssIndexAnalyzer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/owasp/dependencycheck/analyzer/OssIndexAnalyzer.java
+++ b/core/src/main/java/org/owasp/dependen... | Extract external references from OSS Index API response | jeremylong_DependencyCheck | train | java |
de6e962adf9f3880fc5c4ebb8379c7af9c86aed4 | diff --git a/src/filesystem/FileSystem.js b/src/filesystem/FileSystem.js
index <HASH>..<HASH> 100644
--- a/src/filesystem/FileSystem.js
+++ b/src/filesystem/FileSystem.js
@@ -840,7 +840,13 @@ define(function (require, exports, module) {
FileSystem.prototype._unwatchAll = function () {
console.warn("File w... | Type error in _unwatchAll: unwatch takes a FileSystemEntry, not a path | adobe_brackets | train | js |
d7e635030ef887a5bb0d46911697c189f8c952ca | diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -45,7 +45,8 @@ RUPTURES_PER_BLOCK = 200 # decided by MS
def weight(src):
# heuristic weight
- return l... | Tried another weight [skip CI]
Former-commit-id: <I>a<I>f<I>acb<I>dbffa<I>dcb<I>b5a7c<I>a3 | gem_oq-engine | train | py |
10c0135222f37be42e3b3facb392984723b27f71 | diff --git a/lib/blueprint.js b/lib/blueprint.js
index <HASH>..<HASH> 100644
--- a/lib/blueprint.js
+++ b/lib/blueprint.js
@@ -8,6 +8,7 @@
// Scoped in API under /v1/{objectName} standard namespaces.
exports.apiObjects = [
'activities',
+ 'activityFields',
'activityTypes',
'authorizations',
'companyFeatures', | adding activityFields api object to blueprint | pipedrive_client-nodejs | train | js |
b0c75223579c768927f33f2b89d2aca11d750388 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,6 +5,7 @@ from setuptools import setup, find_packages
import tomodachi.__version__
install_requires = [
+ 'pycparser=>2.18',
'aioamqp>=0.10.0, <0.11.0',
'ujson>=1.35',
'uvloop>=0.8.1', | Added pycparser to setup.py | kalaspuff_tomodachi | train | py |
4f343d18c2a4831a9ef0a86d0aae2fb0b4c74340 | diff --git a/spec/building_block_spec.rb b/spec/building_block_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/building_block_spec.rb
+++ b/spec/building_block_spec.rb
@@ -44,17 +44,4 @@ describe Cxxproject::BuildingBlock do
end.to raise_exception(RuntimeError, 'ERROR: while reading config file for 1: dependent bui... | removed tests for transitive_configs | marcmo_cxxproject | train | rb |
24843c74f05446ef694477825dc6475c9efbbab5 | diff --git a/squarespace-server.js b/squarespace-server.js
index <HASH>..<HASH> 100644
--- a/squarespace-server.js
+++ b/squarespace-server.js
@@ -201,9 +201,9 @@ renderResponse = function ( appRequest, appResponse ) {
} else {
sqsMiddleware.getJson( url, qrs, function ( error, json ) {
... | correctly send and cache page json returned from the middleware. | NodeSquarespace_node-squarespace-server | train | js |
665f5d03e1bd30f886dc2108e4964ca0c2d1d7ad | diff --git a/desktop/ui/src/main/java/org/datacleaner/windows/DataCloudLogInWindow.java b/desktop/ui/src/main/java/org/datacleaner/windows/DataCloudLogInWindow.java
index <HASH>..<HASH> 100644
--- a/desktop/ui/src/main/java/org/datacleaner/windows/DataCloudLogInWindow.java
+++ b/desktop/ui/src/main/java/org/datacleaner... | T&C was not displayed - editor pane's content-type must be set before a text is set in it | datacleaner_DataCleaner | train | java |
bb7dfe62dddf37ee82b0754a873fe730a158de31 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,6 +17,7 @@ import sys, os
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, ... | can readthedocs find apilinks? | meejah_txtorcon | train | py |
99382b6ee9eb821802fccab42c7b40efadca9f31 | diff --git a/src/main/java/net/jodah/lyra/config/ChannelConfig.java b/src/main/java/net/jodah/lyra/config/ChannelConfig.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/jodah/lyra/config/ChannelConfig.java
+++ b/src/main/java/net/jodah/lyra/config/ChannelConfig.java
@@ -42,7 +42,8 @@ public interface ChannelCon... | Better Javadocs for queue recovery. | jhalterman_lyra | train | java |
96d9add659867ceab2d8b29504565cf51737cda2 | diff --git a/outline/manager.js b/outline/manager.js
index <HASH>..<HASH> 100644
--- a/outline/manager.js
+++ b/outline/manager.js
@@ -380,8 +380,21 @@ module.exports = function (doc) {
async function getRelevantPanes (panes, subject, dom) {
const relevantPanes = panes.list.filter(pane => pane.label(subject, ... | Show most relevant pane in some cases
Handle the case that Tim describes in <URL> | solid_solid-panes | train | js |
9fdd4a8b1f07c60c2b6442c5aa1af924b337a183 | diff --git a/pyked/tests/test_chemked.py b/pyked/tests/test_chemked.py
index <HASH>..<HASH> 100644
--- a/pyked/tests/test_chemked.py
+++ b/pyked/tests/test_chemked.py
@@ -17,6 +17,9 @@ import pytest
from ..validation import schema, OurValidator, yaml, Q_
from ..chemked import ChemKED, DataPoint
from ..converters imp... | Allow alpha versions to be specified during testing | pr-omethe-us_PyKED | train | py,py |
0fcf1a6a40f603650966ea4051740ac9657936f7 | diff --git a/rest_framework_gis/serializers.py b/rest_framework_gis/serializers.py
index <HASH>..<HASH> 100644
--- a/rest_framework_gis/serializers.py
+++ b/rest_framework_gis/serializers.py
@@ -49,7 +49,7 @@ class GeoFeatureModelSerializer(GeoModelSerializer):
# if 'fields' are declared, make sure it incl... | make sure geo_field is always included even when fields are explicitly specified | djangonauts_django-rest-framework-gis | train | py |
8bdc6fd615030e802895149ab97fdebea68d1282 | diff --git a/Model/Report.php b/Model/Report.php
index <HASH>..<HASH> 100644
--- a/Model/Report.php
+++ b/Model/Report.php
@@ -21,51 +21,53 @@ use Sylius\Component\Report\Renderer\DefaultRenderers;
class Report implements ReportInterface
{
/**
- *@var integer
+ * @var integer
*/
- private $id;
+... | [Report] Replace private variable declarations with protected ones | Sylius_Report | train | php |
9903cdced242f5a77360d31b20351fedfa7221f7 | diff --git a/pycbc/strain.py b/pycbc/strain.py
index <HASH>..<HASH> 100644
--- a/pycbc/strain.py
+++ b/pycbc/strain.py
@@ -62,11 +62,14 @@ def from_cli(opt, dyn_range_fac=1, precision='single'):
end_time=opt.gps_end_time+opt.pad_data)
if opt.zpk_z and opt.zpk_p and opt.zpk_k:
+ ... | In pycbc.strain high-pass filter before doing zero-pole-gain filter.
Also now pass filter_zpk frequencies instead of angular frequencies
since the input to the function has been changed. | gwastro_pycbc | train | py |
b83d16801120d9449447afee6c5dfc4e31b584fe | diff --git a/src/Codeception/Util/JsonArray.php b/src/Codeception/Util/JsonArray.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Util/JsonArray.php
+++ b/src/Codeception/Util/JsonArray.php
@@ -145,7 +145,7 @@ class JsonArray
continue;
}
- if ($value1 == $valu... | replace weak check with special case for numbers | Codeception_base | train | php |
1f60dd24e71899b62556229918e15f27ec70f872 | diff --git a/django_summernote/models.py b/django_summernote/models.py
index <HASH>..<HASH> 100644
--- a/django_summernote/models.py
+++ b/django_summernote/models.py
@@ -2,11 +2,7 @@ from __future__ import unicode_literals
from django.db import models
from django.core.files.storage import default_storage
from djang... | Remove useless try-except for importlib | summernote_django-summernote | train | py |
61d98924208eb30e482984197a4dad4ba1eef352 | diff --git a/bot/multithreading/scheduler.py b/bot/multithreading/scheduler.py
index <HASH>..<HASH> 100644
--- a/bot/multithreading/scheduler.py
+++ b/bot/multithreading/scheduler.py
@@ -42,8 +42,7 @@ class SchedulerApi:
Can be safely called multiple times on the same worker (for workers that support it)
... | Encapsulate scheduler-started threads in a SchedulerThread class | alvarogzp_telegram-bot-framework | train | py |
e448245588bf11862eb5d0d574286d1bb6c59c95 | diff --git a/panicwrap.go b/panicwrap.go
index <HASH>..<HASH> 100644
--- a/panicwrap.go
+++ b/panicwrap.go
@@ -22,7 +22,7 @@ func defaultPanicHandler() {
defaultNotifier.Config.logf("bugsnag.handleUncaughtPanic: %v", err)
}
state := HandledState{SeverityReasonUnhandledPanic, SeverityError, true, ""}
- Notify... | [fix] Ensure fatal panics are notified
Due to a bug in the existing `notifier.NotifySync` method, we end up
using the notifier's config value to determine whether to send
synchronously or async. In the case of a fatal panic (i.e not
`AutoNotified` or `Recover`-ed) it still got sent asynchronously.
This change ensures ... | bugsnag_bugsnag-go | train | go |
f3b18e9b3f7470dcfd47baa5a5aad302b0fd5e1f | diff --git a/polyaxon/scheduler/spawners/dockerizer_spawner.py b/polyaxon/scheduler/spawners/dockerizer_spawner.py
index <HASH>..<HASH> 100644
--- a/polyaxon/scheduler/spawners/dockerizer_spawner.py
+++ b/polyaxon/scheduler/spawners/dockerizer_spawner.py
@@ -48,7 +48,8 @@ class DockerizerSpawner(ProjectJobSpawner):
... | Return to_dict from pod_resp | polyaxon_polyaxon | train | py |
69b2a7aae9cb84cc123f0c08f4520a62ebf3a07c | diff --git a/Source/classes/Modal.js b/Source/classes/Modal.js
index <HASH>..<HASH> 100644
--- a/Source/classes/Modal.js
+++ b/Source/classes/Modal.js
@@ -107,6 +107,8 @@ Garnish.Modal = Garnish.Base.extend({
Garnish.Modal.visibleModal = this;
Garnish.Modal.$shade.fadeIn(50);
this.addListener(Garnish.Modal.$sh... | onShow() and onHide() callbacks for Garnish.Modal | pixelandtonic_garnishjs | train | js |
1bbfeb8f94ea3a9a75af35f4f618be78c46da39f | diff --git a/src/Picqer/Financials/Exact/Model.php b/src/Picqer/Financials/Exact/Model.php
index <HASH>..<HASH> 100644
--- a/src/Picqer/Financials/Exact/Model.php
+++ b/src/Picqer/Financials/Exact/Model.php
@@ -181,4 +181,24 @@ abstract class Model implements \JsonSerializable
]);
return isset($result... | Added method Model::findId
method search records on a key like 'Code' and returns the value of the
primary key. | picqer_exact-php-client | train | php |
1bbb22784fcc136436670fb3db9ef671923b8140 | diff --git a/app/get.js b/app/get.js
index <HASH>..<HASH> 100644
--- a/app/get.js
+++ b/app/get.js
@@ -44,7 +44,7 @@ export default async function get(app, createContext) {
let props = {}
if (!isRequireable(name)) {
- const inline = window.panelsJson && window.panelsJson[location.hostname]
+ const inline ... | fix: use the app's domain instead of the location of the page | UXtemple_panels | train | js |
cae52bbb9282ffebea1fc0e13205a3cc37338ff6 | diff --git a/tests/pytesseract_test.py b/tests/pytesseract_test.py
index <HASH>..<HASH> 100644
--- a/tests/pytesseract_test.py
+++ b/tests/pytesseract_test.py
@@ -293,7 +293,7 @@ def test_image_to_data_common_output(test_file_small, output):
elif output is Output.DICT:
confidence_values = expected_dict_... | Fix linting: assertion logic | madmaze_pytesseract | train | py |
b409881783bd94f23a343a249440e8693ed09b11 | diff --git a/raven/utils/json.py b/raven/utils/json.py
index <HASH>..<HASH> 100644
--- a/raven/utils/json.py
+++ b/raven/utils/json.py
@@ -23,16 +23,21 @@ except AttributeError:
JSONDecodeError = ValueError
+ENCODER_BY_TYPE = {
+ uuid.UUID: lambda o: o.hex,
+ datetime.datetime: lambda o: o.strftime('%Y-%... | We actually do a lot of json encoding and this is faster | getsentry_raven-python | train | py |
f5bb7517f616a17d3bc4bdea47babff474eff45c | diff --git a/mopidy_gmusic/session.py b/mopidy_gmusic/session.py
index <HASH>..<HASH> 100644
--- a/mopidy_gmusic/session.py
+++ b/mopidy_gmusic/session.py
@@ -12,7 +12,7 @@ class GMusicSession(object):
def __init__(self):
super(GMusicSession, self).__init__()
logger.info('Mopidy uses Google Music... | Avoid gmusicapi protocol validation. The Webclient interface is not stable and will be replaced soon anyway. | mopidy_mopidy-gmusic | train | py |
4647d463faeec20f2bbafcdc821145baab7af841 | diff --git a/src/Model/FieldType.php b/src/Model/FieldType.php
index <HASH>..<HASH> 100644
--- a/src/Model/FieldType.php
+++ b/src/Model/FieldType.php
@@ -66,7 +66,7 @@ class FieldType
$sPath = $sPath . 'src/FormBuilder/FieldType/';
if (is_dir($sPath)) {
-
+ Factory::helper('dir... | Loading directory helper prior to calling directory functions | nails_module-form-builder | train | php |
dd72c9e19a4c3ac261e56cd91a2f1ec1803b5ebf | diff --git a/src/main/java/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java b/src/main/java/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/stripesstuff/plugin/waitpage/WaitPageInterceptor.java
+++ b/src/main/java/org/stripesstuff/plugin/waitpage/Wa... | Fixes #<I>. Messages are copied from wait page to final page.
FlashScope.putAll method does not call FlashScope.put method so entries
are not added to request.
FlashScope.put is now called for each wait page's FlashScope entries. | StripesFramework_stripes-stuff | train | java |
023ed6c11e2cfb79b7b89f2bab33969abb684a98 | diff --git a/lib/adapters/sqlite3.js b/lib/adapters/sqlite3.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/sqlite3.js
+++ b/lib/adapters/sqlite3.js
@@ -40,6 +40,9 @@ SQLite3.createConnection = function (url, callback) {
if (callback) {
db.on('open', function () { callback(null, adapter) })
}
+
+ db.serialize(... | Put SQLite3 database handles into serial-execution mode | grncdr_node-any-db | train | js |
c57603a86215a50b3827c7156158df16e918b0e3 | diff --git a/lib/helper/WebDriverIO.js b/lib/helper/WebDriverIO.js
index <HASH>..<HASH> 100644
--- a/lib/helper/WebDriverIO.js
+++ b/lib/helper/WebDriverIO.js
@@ -42,7 +42,7 @@ class WebDriverIO extends Helper {
this.options.desiredCapabilities.browserName = config.browser;
this.options.baseUrl = config.url;
... | Update the proxy json object for desiredcapabilities | Codeception_CodeceptJS | train | js |
067fc7eba652b8de9b81c530c1468104f7e1148d | diff --git a/kernel/classes/datatypes/ezurl/ezurlobjectlink.php b/kernel/classes/datatypes/ezurl/ezurlobjectlink.php
index <HASH>..<HASH> 100644
--- a/kernel/classes/datatypes/ezurl/ezurlobjectlink.php
+++ b/kernel/classes/datatypes/ezurl/ezurlobjectlink.php
@@ -50,6 +50,10 @@ class eZURLObjectLink extends eZPersistent... | Fix EZP-<I>: eZOracle: Link management doesn't show Objects using URL
ezcontentobject_attribute column contentobject_attribute_version
is named contentobject_attr_version in oracle.
eZURLObjectLink->definition updated accordingly | ezsystems_ezpublish-legacy | train | php |
492d279c981b66aeea19d4dd5d7708e0878e1040 | diff --git a/Classes/Property/TypeConverter/PackageConverter.php b/Classes/Property/TypeConverter/PackageConverter.php
index <HASH>..<HASH> 100644
--- a/Classes/Property/TypeConverter/PackageConverter.php
+++ b/Classes/Property/TypeConverter/PackageConverter.php
@@ -147,7 +147,20 @@ class PackageConverter extends Abstr... | TASK: Remove maintainer not declared on packagist | neos_Neos.MarketPlace | train | php |
2b2260e17fe4dcf5c31bded4faf2e46ee36dfb79 | diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/in_tail.rb
+++ b/lib/fluent/plugin/in_tail.rb
@@ -926,7 +926,7 @@ module Fluent::Plugin
@fifo << io.readpartial(8192, @iobuf)
@fifo.read_lines(@lines)
... | in_tail: Guard for read empty lines | fluent_fluentd | train | rb |
26d428fd518a7e4e1f533a654924aa8096830b15 | diff --git a/src/Sortable.php b/src/Sortable.php
index <HASH>..<HASH> 100644
--- a/src/Sortable.php
+++ b/src/Sortable.php
@@ -26,7 +26,6 @@ interface Sortable
*
* @param array|\ArrayAccess $ids
* @param int $startOrder
- *
*/
public static function setNewOrder($ids, int $startOrder = 1... | Applied fixes from StyleCI (#<I>) | spatie_eloquent-sortable | train | php,php |
d84380ee7be5fcf16f242540151c0449a4278149 | diff --git a/multiqc/templates/default/assets/js/multiqc_tour.js b/multiqc/templates/default/assets/js/multiqc_tour.js
index <HASH>..<HASH> 100644
--- a/multiqc/templates/default/assets/js/multiqc_tour.js
+++ b/multiqc/templates/default/assets/js/multiqc_tour.js
@@ -85,6 +85,18 @@ var tour_steps = [
backdropPaddin... | Added tour step about exporting plots. | ewels_MultiQC | train | js |
bb3040ef8445b258bc36bafcea44df91b2713fc7 | diff --git a/Library/HTTP/Middleware/AntiCsrf.php b/Library/HTTP/Middleware/AntiCsrf.php
index <HASH>..<HASH> 100644
--- a/Library/HTTP/Middleware/AntiCsrf.php
+++ b/Library/HTTP/Middleware/AntiCsrf.php
@@ -21,7 +21,7 @@ use \Lollipop\HTTP\Response;
/**
* Lollipop AntiCsrf Middleware
*
- * @version 1.0.1
+ * @... | HTTP/Middleware/AntiCsrf: header check | jabernardo_lollipop-php | train | php |
eada8fedc41e772b85150a9e13344c8bc3352598 | diff --git a/bin/job-worker.php b/bin/job-worker.php
index <HASH>..<HASH> 100644
--- a/bin/job-worker.php
+++ b/bin/job-worker.php
@@ -8,9 +8,11 @@ use Hodor\Config\LoaderFacade as Config;
use Hodor\JobQueue\QueueFactory as QueueFactory;
$args = new Arguments();
-$config = Config::loadFromFile($args->getConfigFile(... | feat(queue): add queue name argument to job-worker | lightster_hodor | train | php |
d42bb3ae6ff69870be3d38814e260c0cc577d204 | diff --git a/app/AppKernel.php b/app/AppKernel.php
index <HASH>..<HASH> 100644
--- a/app/AppKernel.php
+++ b/app/AppKernel.php
@@ -113,4 +113,40 @@ class AppKernel extends Kernel
{
$loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml');
}
+
+ /**
+ * dont rebuild contain... | Only build debug kernel as needed
It seems this also helps at bettering performance... | libgraviton_graviton | train | php |
bdbfb5fafa43b1f17c6d206f5d1253a9f88e23ea | diff --git a/pyemma/coordinates/clustering/kmeans.py b/pyemma/coordinates/clustering/kmeans.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/clustering/kmeans.py
+++ b/pyemma/coordinates/clustering/kmeans.py
@@ -126,8 +126,8 @@ class KmeansClustering(AbstractClustering):
if self._init_strategy == 'unifo... | [coordinates/kmeans] fixed param_finish in case of uniform center initialization | markovmodel_PyEMMA | train | py |
b78b9c9fd250c8ff1cedb738beb83f2768e05574 | diff --git a/test/integration/create.js b/test/integration/create.js
index <HASH>..<HASH> 100644
--- a/test/integration/create.js
+++ b/test/integration/create.js
@@ -140,6 +140,7 @@ module.exports = function (createFn, setup, dismantle) {
_message: 'Customer validation failed',
errors: {
... | fix(test): mongoose validation error tests (#<I>) | florianholzapfel_express-restify-mongoose | train | js,js |
f89cfed4ced04b060a40a6a7128caa8d8129b0e1 | diff --git a/public/js/editors/libraries.js b/public/js/editors/libraries.js
index <HASH>..<HASH> 100644
--- a/public/js/editors/libraries.js
+++ b/public/js/editors/libraries.js
@@ -244,8 +244,12 @@ var libraries = [
"label": "CoffeeScript"
},
{
- "url": "https://github.com/downloads/emberjs/... | update ember and include jquery & handlebars by default as requested by @wycats | jsbin_jsbin | train | js |
45b8d2531ef6a7c775ca3bac06bcad6ffc5419e3 | diff --git a/test/unit/event.js b/test/unit/event.js
index <HASH>..<HASH> 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -47,15 +47,11 @@ test("bind(), no data", function() {
test("bind(), iframes", function() {
// events don't work with iframes, see #939 - this test fails in IE because of contentDocu... | enable test for binding events cross-frame that was fixed in r<I> | jquery_jquery | train | js |
d06d9fc5d75283ad8340c3c528d6761b728171f9 | diff --git a/python/ray/experimental/state.py b/python/ray/experimental/state.py
index <HASH>..<HASH> 100644
--- a/python/ray/experimental/state.py
+++ b/python/ray/experimental/state.py
@@ -775,7 +775,7 @@ class GlobalState(object):
num_tasks += self.redis_client.zcount(
event_log_set, ... | Fix Python linting errors. (#<I>) | ray-project_ray | train | py,py |
7218dea80d762da719e9cc9f2ff426a5d26eab9d | diff --git a/runcommands/completion/__init__.py b/runcommands/completion/__init__.py
index <HASH>..<HASH> 100644
--- a/runcommands/completion/__init__.py
+++ b/runcommands/completion/__init__.py
@@ -1,6 +1,7 @@
import glob
import os
import shlex
+from contextlib import redirect_stderr
from ..args import arg
from... | Hide stderr when parsing args in complete command
For example, if an option takes a value, we don't want argparse to show
usage when completing. | wylee_runcommands | train | py |
c72b09173c71f28597e4ed95260b034b1414f2bf | diff --git a/src/mentio.directive.js b/src/mentio.directive.js
index <HASH>..<HASH> 100644
--- a/src/mentio.directive.js
+++ b/src/mentio.directive.js
@@ -572,6 +572,10 @@ angular.module('mentio', [])
}
});
+ scope.parentMentio.$on('$destroy', function () {
+ ... | Update mentio.directive.js | jeff-collins_ment.io | train | js |
fb0e38df6f029c409e7779653d7feef15f7bb890 | diff --git a/lib/indonesian_stemmer.rb b/lib/indonesian_stemmer.rb
index <HASH>..<HASH> 100644
--- a/lib/indonesian_stemmer.rb
+++ b/lib/indonesian_stemmer.rb
@@ -46,6 +46,10 @@ end
class String
def stem
+ IndonesianStemmer.stem(self.dup)
+ end
+
+ def stem!
IndonesianStemmer.stem(self)
end
end | Fix #stem so that it doesn't modified original string and added #stem! method instead | apraditya_indonesian_stemmer | train | rb |
fbf9fb5201f20b29a046557b6667ffbe8adde9be | diff --git a/gui/test_riabdock.py b/gui/test_riabdock.py
index <HASH>..<HASH> 100644
--- a/gui/test_riabdock.py
+++ b/gui/test_riabdock.py
@@ -45,6 +45,8 @@ from utilities_test import (getQgisTestApp,
from gui.riabdock import (RiabDock, setRasterStyle)
from gui.riabmap import RiabMap
from utilities_test import loadL... | Added import that got lost in merge from master | inasafe_inasafe | train | py |
98ef2ce941451ece8be61c857836c44a5c3374e5 | diff --git a/tests/functional/test_photos.py b/tests/functional/test_photos.py
index <HASH>..<HASH> 100644
--- a/tests/functional/test_photos.py
+++ b/tests/functional/test_photos.py
@@ -75,6 +75,7 @@ class TestPhotos(test_base.TestBase):
self._delete_all()
self._create_test_photos()
+ @unittest.... | Skip the photo.delete_source test, since it doesn't work if the photos are cached | photo_openphoto-python | train | py |
99fff0269e877a7e979a81111096eb6a8f9d27c7 | diff --git a/lib/storytime.rb b/lib/storytime.rb
index <HASH>..<HASH> 100644
--- a/lib/storytime.rb
+++ b/lib/storytime.rb
@@ -55,7 +55,7 @@ module Storytime
# Storytime::PostgresSearchAdapter, Storytime::MysqlSearchAdapter,
# Storytime::MysqlFulltextSearchAdapter, Storytime::Sqlite3SearchAdapter
mattr_accesso... | Default search_adapter to none | CultivateLabs_storytime | train | rb |
81731f2f1005743d0be3cf796b4fd3ef4d4b782d | diff --git a/src/EscapeWork/Assets/AssetsServiceProvider.php b/src/EscapeWork/Assets/AssetsServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/EscapeWork/Assets/AssetsServiceProvider.php
+++ b/src/EscapeWork/Assets/AssetsServiceProvider.php
@@ -24,12 +24,12 @@ class AssetsServiceProvider extends ServiceProvider
... | Fixed AssetsServiceProvider with the new dependencies | EscapeWork_laravel-asset-versioning | train | php |
c08400e2bca6af6c65d228c666a5c35a3e67bfc3 | diff --git a/pre_commit/repository.py b/pre_commit/repository.py
index <HASH>..<HASH> 100644
--- a/pre_commit/repository.py
+++ b/pre_commit/repository.py
@@ -78,9 +78,7 @@ class Repository(object):
logger.error(
'`{}` is not present in repository {}. '
'Typo?... | Improve messaging for missing hook given #<I> | pre-commit_pre-commit | train | py,py |
ab1f5931a03688c46aed31f4714d726aa81aea95 | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfiguration.java
ind... | Disable DispatcherServlet shouldHandleFailure
This change broke a Spring Security sample, reverting it.
See gh-<I> | spring-projects_spring-boot | train | java |
7919eb95cf305e5802dbcfebc8aa94ee5079845d | diff --git a/templates/account.php b/templates/account.php
index <HASH>..<HASH> 100755
--- a/templates/account.php
+++ b/templates/account.php
@@ -158,6 +158,7 @@
<li> • </li>
<?php endif ?>
<?php if ( $is_paying ) : ?>
+ <?php if (... | [multisite] [account] [license] Don't show the "Deactivate License" link on the "Account Details" section of the network-level "Account" page. | Freemius_wordpress-sdk | train | php |
83bce003087643f6cf17cfb2a5b47be0406c6871 | diff --git a/lib/sqlHandler.js b/lib/sqlHandler.js
index <HASH>..<HASH> 100644
--- a/lib/sqlHandler.js
+++ b/lib/sqlHandler.js
@@ -75,10 +75,9 @@ SqlStore.prototype.populate = function(callback) {
}
if (!self.sequelizeInstanceInfo.synced) {
- self.sequelize.sync({ force: true }).asCallback(onSynced);
- } el... | Prefer "return early" to `else` block. | holidayextras_jsonapi-store-relationaldb | train | js |
fa40b3b52684d9886d47b3fb8bb7ef413b60c320 | diff --git a/lib/ovirt/vm.rb b/lib/ovirt/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/ovirt/vm.rb
+++ b/lib/ovirt/vm.rb
@@ -5,7 +5,7 @@ module OVIRT
class VM < BaseObject
attr_reader :description, :status, :memory, :profile, :display, :host, :cluster, :template
- attr_reader :storage, :cores, :creation_time... | Impelment 'clone' attribute for VM to support creation of full clones | abenari_rbovirt | train | rb |
6972c07a61c374fc3782da7be5f97df5abb1fbba | diff --git a/course/unenrol.php b/course/unenrol.php
index <HASH>..<HASH> 100644
--- a/course/unenrol.php
+++ b/course/unenrol.php
@@ -14,6 +14,13 @@
$userid = optional_param('user', 0, PARAM_INT); //course
$confirm = optional_param('confirm', 0, PARAM_BOOL);
+ if($userid == $USER->id){
+ ... | MDL-<I> - unenrolling self wasn't working properly from user profile
because unenrol.php was doing wrong capability check when $userid set.o
Also improves the lanaguage used when unenrolling self.
merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
5519f83f60c7a1ba9393121788cba476da81ce6c | diff --git a/tasks/docs.rb b/tasks/docs.rb
index <HASH>..<HASH> 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -160,7 +160,7 @@ namespace :docs_site do
#
def action_list(actions)
list = {}
- actions.each do |action|
+ actions.sort.each do |action|
# skip it so we can make it the l... | Sort the list of actions when generating docs | chef_chef | train | rb |
413ffdfd8a46131370fb981d3731f365ab891997 | diff --git a/lib/Parser.constants.js b/lib/Parser.constants.js
index <HASH>..<HASH> 100644
--- a/lib/Parser.constants.js
+++ b/lib/Parser.constants.js
@@ -76,7 +76,10 @@ for (i=0,keys=Object.keys(DISCONNECT_REASON),len=keys.length; i<len; ++i)
DISCONNECT_REASON[DISCONNECT_REASON[keys[i]]] = keys[i];
var CHAN_OPEN... | parser constants: add more channel open failure reason codes | mscdex_ssh2 | train | js |
b7f4e08661cd149a29ae7107241a16928dc606eb | diff --git a/lib/configuration/variables/sources/resolve-external-plugin-sources.js b/lib/configuration/variables/sources/resolve-external-plugin-sources.js
index <HASH>..<HASH> 100644
--- a/lib/configuration/variables/sources/resolve-external-plugin-sources.js
+++ b/lib/configuration/variables/sources/resolve-external... | fix(Variables): Unconditionally deprecate old vars engine extensions | serverless_serverless | train | js |
54542e06897200d42b1526d1ad179b52204ac603 | diff --git a/vendor/k8s.io/kubernetes/pkg/volume/azure_dd/azure_common.go b/vendor/k8s.io/kubernetes/pkg/volume/azure_dd/azure_common.go
index <HASH>..<HASH> 100644
--- a/vendor/k8s.io/kubernetes/pkg/volume/azure_dd/azure_common.go
+++ b/vendor/k8s.io/kubernetes/pkg/volume/azure_dd/azure_common.go
@@ -41,6 +41,7 @@ imp... | UPSTREAM: <I>: fix azure storage account num exhausting issue | openshift_origin | train | go |
0e7bbe699e32f5902a04e57b678ffeb5478320af | diff --git a/svtyper/singlesample.py b/svtyper/singlesample.py
index <HASH>..<HASH> 100644
--- a/svtyper/singlesample.py
+++ b/svtyper/singlesample.py
@@ -264,7 +264,7 @@ def make_detailed_empty_genotype(variant, sample):
return variant
def check_split_read_evidence(sam_fragment, breakpoint, split_slop):
- (... | + init the split read evidence like the original svtyper
- use 0 instead of <I> | hall-lab_svtyper | train | py |
d021d9b49bc8fd52ec8b6313b4fb2d8002681de8 | diff --git a/test/lib/test_search.js b/test/lib/test_search.js
index <HASH>..<HASH> 100644
--- a/test/lib/test_search.js
+++ b/test/lib/test_search.js
@@ -288,7 +288,9 @@ TestSearch.prototype.reportResult = function reportResult(res, assert) {
}
} else {
if (res.passed) {
- assert.pass... | TestSearch: add support for single aggregated output | uber_tchannel-node | train | js |
07ddb6af69e4c62ce3806d34f077aa1db0ca76b1 | diff --git a/src/transforms/Bin.js b/src/transforms/Bin.js
index <HASH>..<HASH> 100644
--- a/src/transforms/Bin.js
+++ b/src/transforms/Bin.js
@@ -17,6 +17,7 @@ var prototype = inherits(Bin, Transform);
prototype.transform = function(_, pulse) {
var bins = this._bins(_),
+ start = bins.start,
step = b... | Fix bin boundary calc for floating point issues. | vega_vega-dataflow | train | js |
0b4f1431e6d75b28161d10c6a47e92b2b7f9981a | diff --git a/lib/big_index/adapters/abstract_adapter.rb b/lib/big_index/adapters/abstract_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/big_index/adapters/abstract_adapter.rb
+++ b/lib/big_index/adapters/abstract_adapter.rb
@@ -3,7 +3,7 @@ module BigIndex
class AbstractAdapter
- attr_reader :name, :opt... | Bigindex update
* Modified the SolrAdapter structure slightly. | openplaces_bigindex | train | rb,rb |
d768f632c9f79684945894cdb6f402ebfab00a2e | diff --git a/lib/neuron/slick/adapter.js b/lib/neuron/slick/adapter.js
index <HASH>..<HASH> 100644
--- a/lib/neuron/slick/adapter.js
+++ b/lib/neuron/slick/adapter.js
@@ -46,7 +46,12 @@ Slick = K.Slick;
K.S = {
/**
- * @param {Array|Object} append the found elements will be appended to the end of the `appen... | slick/adapter: add comments | kaelzhang_neuron.js | train | js |
93f0fe9857d472df74351fe4a92f8b082ea8f46d | diff --git a/generators/connection/index.js b/generators/connection/index.js
index <HASH>..<HASH> 100644
--- a/generators/connection/index.js
+++ b/generators/connection/index.js
@@ -309,7 +309,6 @@ module.exports = class ConnectionGenerator extends Generator {
// NOTE (EK): If this is the first time we set this u... | Fix summary for generated connection (#<I>) | feathersjs_generator-feathers | train | js |
8a75b5676462282835bbb452cd5f6dd3773e9563 | diff --git a/brome/core/model/basetest.py b/brome/core/model/basetest.py
index <HASH>..<HASH> 100644
--- a/brome/core/model/basetest.py
+++ b/brome/core/model/basetest.py
@@ -261,6 +261,8 @@ class BaseTest(object):
if config.get('enable_proxy'):
chrome_options.add_argument('--pro... | Support mobile emulation in remote | jf-parent_brome | train | py |
3d9d93f23e6303da4516f56491d06ef3acb024e4 | diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js
index <HASH>..<HASH> 100644
--- a/js/bootstrap-select.js
+++ b/js/bootstrap-select.js
@@ -1507,7 +1507,8 @@
function addOptgroup (index, selectOptions) {
var optgroup = selectOptions[index],
- previous = selectOptions[index - 1],
... | don't use placeholder option when determining whether or not a divider should be shown (#<I>) | snapappointments_bootstrap-select | train | js |
fdd99aa6ff00102fdfa582e3c97b6aa0204094ae | diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/raster.py
+++ b/holoviews/element/raster.py
@@ -206,7 +206,7 @@ class HeatMap(Raster):
dimensions['key_dimensions'] = data.key_dimensions
if 'value_dimensions' not in ... | Fixed isinstance check on HeatMap | pyviz_holoviews | train | py |
a437c4afc05b806e6b76a1bec57d8a8e85c02627 | diff --git a/src/js/EventHandler.js b/src/js/EventHandler.js
index <HASH>..<HASH> 100644
--- a/src/js/EventHandler.js
+++ b/src/js/EventHandler.js
@@ -631,10 +631,10 @@ define([
layoutInfo.editor.data('options', options);
// ret styleWithCSS for backColor / foreColor clearing with 'inherit'.
- if (... | Correction for styleWithSpan setting
This correction makes sure that if I don't want to style with a span, it will not. Previously this function was purely passive, and only enforced styling with spans... a browser defaulting to css styling would continue to do so regardless of this setting. | summernote_summernote | train | js |
bf34a26b7d00bdf961c973353bdddfa88e2dbbee | diff --git a/cloudvolume/datasource/graphene/mesh/sharded.py b/cloudvolume/datasource/graphene/mesh/sharded.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/datasource/graphene/mesh/sharded.py
+++ b/cloudvolume/datasource/graphene/mesh/sharded.py
@@ -61,7 +61,7 @@ class GrapheneShardedMeshSource(GrapheneUnshardedMeshSo... | fixing dynamic exists (#<I>) | seung-lab_cloud-volume | train | py |
5bfa9a8e76ec0362d3694af65ef90b928066d23c | diff --git a/lib/converter.js b/lib/converter.js
index <HASH>..<HASH> 100644
--- a/lib/converter.js
+++ b/lib/converter.js
@@ -10,7 +10,7 @@ var Converter = Object.create(helpers.Createable)
Converter.init = function init (color_spaces, precision) {
this.spaces = color_spaces
- this.precision = precision || 4
+ ... | switched toFixed to toPrecision
also increase default precision | webdesserts_alchemist-js | train | js,js |
b12b7b045b8ab6bafec2177481ea5c6517e55df8 | diff --git a/test/constraints.js b/test/constraints.js
index <HASH>..<HASH> 100644
--- a/test/constraints.js
+++ b/test/constraints.js
@@ -55,6 +55,23 @@ describe('seraph#constraints', function() {
});
});
+ it('should not add the same constraint twice', function(done) {
+ var label = uniqn();
+ db.con... | constraints: add test for creating conflicting uniqueness constraints | brikteknologier_seraph | train | js |
3ecc39115b189e342c2f09cce7b53141a9dfddc2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -118,6 +118,7 @@ var isNode = function () {
var getProperties = function (err) {
var properties = {};
Object.keys(err).forEach(function (key) {
+ if (key === 'stack') return; // 'stack' seems to be enumerable in Node... | Make sure 'stack' isn't added to properties in Node <I> | watson_stackman | train | js |
ca79c3684325de6128a40bfce92c9a3c4f725fbe | diff --git a/lib/simpletestlib.php b/lib/simpletestlib.php
index <HASH>..<HASH> 100644
--- a/lib/simpletestlib.php
+++ b/lib/simpletestlib.php
@@ -538,7 +538,7 @@ class UnitTestCaseUsingDatabase extends UnitTestCase {
* have, display a rude message and clean it up for them.
*/
private function automati... | Unit tests MDL-<I>: Fixed error in previous UnitTestCaseDatabase change | moodle_moodle | train | php |
369e0514002876d8ec5dbafd17b0ba786f7897d3 | diff --git a/tests/example_project/tests/test_admin/helpers.py b/tests/example_project/tests/test_admin/helpers.py
index <HASH>..<HASH> 100644
--- a/tests/example_project/tests/test_admin/helpers.py
+++ b/tests/example_project/tests/test_admin/helpers.py
@@ -12,7 +12,7 @@ class AdminTestCase(SeleniumTestCase):
... | Fixed logout href to work in both IE and FF | ella_django-markup | train | py |
f51d4bc2b8d01842ce3218dace6fc78ae75dac3b | diff --git a/lib/unexpected-types.js b/lib/unexpected-types.js
index <HASH>..<HASH> 100644
--- a/lib/unexpected-types.js
+++ b/lib/unexpected-types.js
@@ -82,7 +82,7 @@
if (i + j < buffer.length) {
var octet = buffer[i + j];
hexChars += ... | Buffer inspection: Replace all control chars with '.' (confused 0x<I> with <I>). | unexpectedjs_unexpected | train | js |
35c9a4ae38ad20e0b4db8e9030c3744f2572dda7 | diff --git a/ReCaptcha.php b/ReCaptcha.php
index <HASH>..<HASH> 100644
--- a/ReCaptcha.php
+++ b/ReCaptcha.php
@@ -243,7 +243,17 @@ JS
$divOptions['class'] = "{$divOptions['class']} {$this->widgetOptions['class']}";
}
$divOptions['input-id'] = $this->getReCaptchaId();
- $divOptions... | support id param in options, issue #<I> | himiklab_yii2-recaptcha-widget | train | php |
f88448516bfc303b7b021c4d8fae82d1eb5f1582 | diff --git a/src/saml2/ecp.py b/src/saml2/ecp.py
index <HASH>..<HASH> 100644
--- a/src/saml2/ecp.py
+++ b/src/saml2/ecp.py
@@ -256,29 +256,12 @@ class ECPClient(Saml2Client):
# <samlp:AuthnRequest>
# ----------------------------------------
- spentityid = self._entityid()
location = ... | Made ECPClient actually produce something usable | IdentityPython_pysaml2 | train | py |
af971b6ed7b41c792e9993b95a5e4f2ac48153e9 | diff --git a/xsd/src/main/java/jlibs/xml/xsd/XMLSampleValueGenerator.java b/xsd/src/main/java/jlibs/xml/xsd/XMLSampleValueGenerator.java
index <HASH>..<HASH> 100644
--- a/xsd/src/main/java/jlibs/xml/xsd/XMLSampleValueGenerator.java
+++ b/xsd/src/main/java/jlibs/xml/xsd/XMLSampleValueGenerator.java
@@ -103,12 +103,12 @@... | IndexOutOfBounds excetion in XMLSampleValueGenerator
closes Issue #<I> | santhosh-tekuri_jlibs | train | java |
dbe1d1bca20f208d8a3ba53b27ad5d22df8007c6 | diff --git a/transport_test.go b/transport_test.go
index <HASH>..<HASH> 100644
--- a/transport_test.go
+++ b/transport_test.go
@@ -2,7 +2,6 @@ package raft
import (
"bytes"
- "fmt"
"reflect"
"testing"
"time"
@@ -14,27 +13,21 @@ const (
)
func NewTestTransport(ttype int, addr string) (string, LoopbackTran... | Tweaks the transport test. | hashicorp_raft | train | go |
148e386c02b0a62e218489d25ed09d8d6b9344ed | diff --git a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
index <HASH>..<HASH> 100644
--- a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
+++ b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
@@ -63,7 +63,7 @@... | Kill mutation.
Not quite happy with this one but not a strong opinion too. | RailsEventStore_rails_event_store | train | rb |
79a5333d7e9d6deb0f1fda364f4b52232893e360 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -26,17 +26,10 @@ Account.prototype.serialize = function () {
return rlp.encode(this.raw)
}
-Account.isContract = Account.prototype.isContract = function (address) {
- var result = this.codeHash.toString('hex') !== ethUt... | Remove isPrecompiled and weird usage of isContract | ethereumjs_ethereumjs-vm | train | js |
051a828163c4428ebe45f568daaaf1bc60c31815 | diff --git a/lib/middleman-s3_sync/commands.rb b/lib/middleman-s3_sync/commands.rb
index <HASH>..<HASH> 100644
--- a/lib/middleman-s3_sync/commands.rb
+++ b/lib/middleman-s3_sync/commands.rb
@@ -32,7 +32,7 @@ module Middleman
s3_sync_options = ::Middleman::S3Sync.s3_sync_options
bucket = s3_sync_opt... | Removing a stray pry invocation. | fredjean_middleman-s3_sync | train | rb |
865d893e4610b094a1dc690c217435ae25c7ae78 | diff --git a/tests/test_context.js b/tests/test_context.js
index <HASH>..<HASH> 100644
--- a/tests/test_context.js
+++ b/tests/test_context.js
@@ -32,6 +32,7 @@ exports.setup = function(svc) {
},
"Create test search": function(test) {
+ // The search created here is used by several of the... | Added comments explaning the test search | splunk_splunk-sdk-javascript | train | js |
bb2efb8f2587bac3c3f11cedd6796a7ccbfc3db2 | diff --git a/src/filter.js b/src/filter.js
index <HASH>..<HASH> 100644
--- a/src/filter.js
+++ b/src/filter.js
@@ -7,7 +7,16 @@
/*global _gpfFunc*/ // Create a new function using the source
/*#endif*/
-//region test
+/**
+ * Filtering function
+ *
+ * @callback gpf.typedef.filterFunc
+ *
+ * @param {*} data Data to... | Documentation (#<I>) | ArnaudBuchholz_gpf-js | train | js |
3d51a2a665ba26f2161b5eb21155999b23089702 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -367,8 +367,11 @@ setup(
packages=[
"pydoop",
"pydoop.hdfs",
+ "pydoop.hdfs.hadoop",
"pydoop.app",
- "pydoop.mapreduce"
+ "pydoop.mapreduce",
+ "pydoop.utils",
+ "pydoop.utils.bridge",
],
... | fixed setup.py, added missing submodules | crs4_pydoop | train | py |
7134a8dbba2317e3299b680bcc7f8817d3041e30 | diff --git a/gwpy/cli/cliproduct.py b/gwpy/cli/cliproduct.py
index <HASH>..<HASH> 100644
--- a/gwpy/cli/cliproduct.py
+++ b/gwpy/cli/cliproduct.py
@@ -165,7 +165,11 @@ class CliProduct(object):
"""list of channel names when at least 2 are required"""
parser.add_argument('--chan', nargs='+', action='ap... | gwpy/cli/cliproduct.py: Add --ref option for coherence plots
Note at this time that parameter is ignored and first channel is
the reference. This kludge is to allow ldvw to have a ref parameter.
These programs will use that parameter to override the 1st channel. | gwpy_gwpy | train | py |
e8ffc008aa5d381822db03cdfef8977ca7012e86 | diff --git a/tests/test_class.py b/tests/test_class.py
index <HASH>..<HASH> 100644
--- a/tests/test_class.py
+++ b/tests/test_class.py
@@ -31,3 +31,10 @@ def test_ignore_initial_connection_failure():
current_app.config['JIRA_IGNORE_INITIAL_CONNECTION_FAILURE'] = True
jira = JIRA(current_app)
assert curre... | One more test. <I>% coverage yeaaaahhh! | Robpol86_Flask-JIRA-Helper | train | py |
4976b175c0d41f9db689c36a2159b8338d55b5b1 | diff --git a/components/account.js b/components/account.js
index <HASH>..<HASH> 100644
--- a/components/account.js
+++ b/components/account.js
@@ -1,7 +1,5 @@
const BinaryKVParser = require('binarykvparser');
-const ByteBuffer = require('bytebuffer');
const StdLib = require('@doctormckay/stdlib');
-const SteamID = re... | Cleaned up imports for account.js | DoctorMcKay_node-steam-user | train | js |
ff300cd9f70f29150e0b0521de0d6832cd70afe4 | diff --git a/salt/modules/eselect.py b/salt/modules/eselect.py
index <HASH>..<HASH> 100644
--- a/salt/modules/eselect.py
+++ b/salt/modules/eselect.py
@@ -1,7 +1,7 @@
'''
-Support for eselect_, Gentoo's configuration and management tool.
-
.. _eselect: http://wiki.gentoo.org/wiki/Project:Eselect/User_guide
+
+Support... | Fix sphinx warning
This commit fixes a sphinx warning when building the docstring, that
complains that the link target 'eselect' is not defined. | saltstack_salt | train | py |
3061181a6109e6cf89a415d8eb51969139d3fab7 | diff --git a/fdfgen/__init__.py b/fdfgen/__init__.py
index <HASH>..<HASH> 100644
--- a/fdfgen/__init__.py
+++ b/fdfgen/__init__.py
@@ -100,7 +100,7 @@ def handle_data_names(fdf_data_names, fields_hidden, fields_readonly):
fdf_data_names = fdf_data_names.items()
for (key, value) in fdf_data_names:
- ... | Small modification to alter the encoding of data_field keynames, to allow filling checkboxes | ccnmtl_fdfgen | train | py |
c240dc4ddf68846fb41549a9da084baa54013f14 | diff --git a/src/Validation/Traits/ValidateAsDataObjectTrait.php b/src/Validation/Traits/ValidateAsDataObjectTrait.php
index <HASH>..<HASH> 100644
--- a/src/Validation/Traits/ValidateAsDataObjectTrait.php
+++ b/src/Validation/Traits/ValidateAsDataObjectTrait.php
@@ -51,7 +51,7 @@ trait ValidateAsDataObjectTrait
... | Fixed validator extension for laravel <I>
doReplacements() was renamed to makeReplacements() | czim_laravel-dataobject | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.