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 |
|---|---|---|---|---|---|
76090ccaca5e7ebeea29f87a8caa67d0b4b1d5fe | diff --git a/tests/MY_Model_test.php b/tests/MY_Model_test.php
index <HASH>..<HASH> 100644
--- a/tests/MY_Model_test.php
+++ b/tests/MY_Model_test.php
@@ -540,7 +540,7 @@ class MY_Model_tests extends PHPUnit_Framework_TestCase
protected function _validatable_model($validate_pass_or_fail = TRUE)
{
$mo... | Fix parse error.
Add underscores to 'form validation class' mock object. | jamierumbelow_codeigniter-base-model | train | php |
b54a5f0e6b4374c0e352ec6343168448c1d57952 | diff --git a/test/MT64Test.php b/test/MT64Test.php
index <HASH>..<HASH> 100644
--- a/test/MT64Test.php
+++ b/test/MT64Test.php
@@ -4,6 +4,13 @@ namespace MersenneTwister;
class MT64Test extends \PHPUnit_Framework_TestCase
{
+ protected function setUp()
+ {
+ if (PHP_INT_SIZE === 4) {
+ $this... | Skip test for <I>-bit versions of PHP | lt_PHP-MT19937 | train | php |
29edb2f84b2428eed4edac778022fa516366a9f2 | diff --git a/lib/confoog/version.rb b/lib/confoog/version.rb
index <HASH>..<HASH> 100644
--- a/lib/confoog/version.rb
+++ b/lib/confoog/version.rb
@@ -1,6 +1,5 @@
# Define the Gem version string
module Confoog
- # Version of this Gem, using Semantic Versioning 2.0.1
# http://semver.org/
VERSION = '0.4.2'
end | Remove wrong comment in version.rb
Was testing the 'bump' gem which appears to be bugged. It added a comment with
completely wrong version and makes a commit, but does not increment or change
the VERSION constant. | seapagan_confoog | train | rb |
884ab3c5c7a726f9a1cf5e483d717fd0ae6b4a08 | diff --git a/mutagen/asf.py b/mutagen/asf.py
index <HASH>..<HASH> 100644
--- a/mutagen/asf.py
+++ b/mutagen/asf.py
@@ -254,7 +254,7 @@ class ASFBoolAttribute(ASFBaseAttribute):
return bool(self.value)
def __bytes__(self):
- return self.value
+ return bytes(self.value)
def __eq__(sel... | asf.py: Fixed issues caused by new definition of swap_to_string, by ensuring __bytes__ returns a bytes object. | quodlibet_mutagen | train | py |
9d5d1bf6b23b36596bbf9810de6666a67837b8c1 | diff --git a/Minimal-J/src/main/java/ch/openech/mj/edit/EditorDialogAction.java b/Minimal-J/src/main/java/ch/openech/mj/edit/EditorDialogAction.java
index <HASH>..<HASH> 100644
--- a/Minimal-J/src/main/java/ch/openech/mj/edit/EditorDialogAction.java
+++ b/Minimal-J/src/main/java/ch/openech/mj/edit/EditorDialogAction.ja... | EditorDialogAction: corrected wrong method name | BrunoEberhard_minimal-j | train | java |
60d65a47621b3bc2a095a91494cc78a1b3f0fb57 | diff --git a/src/runners/RequestRunner.js b/src/runners/RequestRunner.js
index <HASH>..<HASH> 100644
--- a/src/runners/RequestRunner.js
+++ b/src/runners/RequestRunner.js
@@ -229,8 +229,7 @@ var RequestRunner = jsface.Class([Queue, EventEmitter], {
RequestOptions.url = request.transformed.url;
Request... | fixed -R redirect flag, redirects were disabled | postmanlabs_newman | train | js |
501a005e358c801b2bd28951cdca8580600a0b1f | diff --git a/lib/itsf_backend.rb b/lib/itsf_backend.rb
index <HASH>..<HASH> 100644
--- a/lib/itsf_backend.rb
+++ b/lib/itsf_backend.rb
@@ -10,6 +10,7 @@ require 'haml-rails'
require 'pundit'
require 'rails-i18n'
require 'less-rails'
+require 'rails_rad'
require 'resource_renderer'
require 'responders'
require 'ro... | Added missing require for rails_rad | robotex82_itsf_backend | train | rb |
2e6bb5b86395260a5a895bd9700e1fecf08b901a | diff --git a/tests/test_config.py b/tests/test_config.py
index <HASH>..<HASH> 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -42,7 +42,7 @@ class TestConfig(BasicTestCase):
def test_repo_directory_not_exist(self):
with mock.patch('os.path.exists', side_effect=[True, False]):
... | repo_direcotry := repo_directory in tests. | lord63_tldr.py | train | py |
cd050caf0da13c445037d128a732fef6694dbc7a | diff --git a/spec/models/person_spec.rb b/spec/models/person_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/person_spec.rb
+++ b/spec/models/person_spec.rb
@@ -10,6 +10,13 @@ RSpec.describe Person, type: :model do
it { should validate_uniqueness_of(:email).case_insensitive }
it { should have_many(:groups) ... | Spec email is lowercased on person creation | ministryofjustice_peoplefinder | train | rb |
ab4e0a0586bfe346b5e291f770e52ac85a9f29a7 | diff --git a/timepiece/views.py b/timepiece/views.py
index <HASH>..<HASH> 100644
--- a/timepiece/views.py
+++ b/timepiece/views.py
@@ -679,9 +679,8 @@ def time_sheet_change_status(request, form, from_date, to_date, status,
@login_required
def invoice_projects(request):
to_date = utils.get_month_start(datetime.da... | [#<I>] Set default from_date to None for invoice projects page for consistency | caktus_django-timepiece | train | py |
1a13e028f2f8060425b5cdba3fb38ccb38e37820 | diff --git a/src/domain/v2/services/RegistrationService.php b/src/domain/v2/services/RegistrationService.php
index <HASH>..<HASH> 100644
--- a/src/domain/v2/services/RegistrationService.php
+++ b/src/domain/v2/services/RegistrationService.php
@@ -93,7 +93,7 @@ class RegistrationService extends BaseService implements Re... | [fix] registration, error "login is exists" | yii2module_yii2-account | train | php |
639d8764ef321c7cd70ccf37f09952b36579add0 | diff --git a/django_extensions/management/commands/notes.py b/django_extensions/management/commands/notes.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/notes.py
+++ b/django_extensions/management/commands/notes.py
@@ -16,7 +16,11 @@ class Command(BaseCommand):
def handle(self, *args, *... | fix applications that are not in directory in the root | django-extensions_django-extensions | train | py |
82628782021bd74b4836d46bc9216616e9f9afe3 | diff --git a/dmf_device_ui/view.py b/dmf_device_ui/view.py
index <HASH>..<HASH> 100644
--- a/dmf_device_ui/view.py
+++ b/dmf_device_ui/view.py
@@ -225,7 +225,7 @@ class DmfDeviceConfigurableHubView(DmfDeviceViewBase):
def cleanup(self):
self.plugin_slave.reset()
- super(DmfDeviceConnectionView, s... | Fix typo in configurable device hub view class | sci-bots_dmf-device-ui | train | py |
2ca0d0992ee55b564a4d25f51f7b638e79703f87 | diff --git a/Classes/Tasks/MergeLocalConfigurationTask.php b/Classes/Tasks/MergeLocalConfigurationTask.php
index <HASH>..<HASH> 100644
--- a/Classes/Tasks/MergeLocalConfigurationTask.php
+++ b/Classes/Tasks/MergeLocalConfigurationTask.php
@@ -97,10 +97,6 @@ class MergeLocalConfigurationTask extends Task {
throw new... | [BUGFIX] moving FileWriter instantiation further down
FileWriter fopen()'s a file with mode 'wb'. This truncates the file.
Therefore, the include() statement failed and an empty file is included.
The ArrayUtility::array_merge_recursive_overrule() method throws an
PHP Error as the 2nd parameter is undefined/NULL. | DreadLabs_typo3-cms-phing-helper | train | php |
b01b88f350f12222b2d6c15ebc2b6ee83b0fac50 | diff --git a/src/views/cart/index.php b/src/views/cart/index.php
index <HASH>..<HASH> 100644
--- a/src/views/cart/index.php
+++ b/src/views/cart/index.php
@@ -1,6 +1,6 @@
<?php
-use hipanel\assets\CheckboxStyleAsset;
+use hiqdev\themes\adminlte\CheckboxStyleAsset;
use hiqdev\yii2\cart\widgets\QuantityCell;
use yii... | Changed path to CheckboxStyleAsset | hiqdev_yii2-cart | train | php |
fc8ebec467037ca3a4422dc593e59d9dd329ffad | diff --git a/test/spec/modules/7xbidBidAdapter_spec.js b/test/spec/modules/7xbidBidAdapter_spec.js
index <HASH>..<HASH> 100644
--- a/test/spec/modules/7xbidBidAdapter_spec.js
+++ b/test/spec/modules/7xbidBidAdapter_spec.js
@@ -1,7 +1,6 @@
import {expect} from 'chai';
-import {spec, _getUrlVars} from 'modules/7xbidBidA... | add import extensions (#<I>)
Co-authored-by: rmartinez <Rachael<I>!> | prebid_Prebid.js | train | js |
cc08d6029fc0fced162aa150f7948ffa54ed79f8 | diff --git a/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java b/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java
+++ b/server/src/main/java/c... | 1) getDimensionCardinality() on QueryIndexStorageAdapter wasn't case insensitive. | apache_incubator-druid | train | java |
2e83994f94654692e8e4122c31ef84dcd3871564 | diff --git a/lib/chrome/launch.js b/lib/chrome/launch.js
index <HASH>..<HASH> 100644
--- a/lib/chrome/launch.js
+++ b/lib/chrome/launch.js
@@ -17,7 +17,6 @@ module.exports = function() {
const args = [
'--no-first-run',
'--no-default-browser-check',
- '--auto-open-devtools-for-tabs',
'--restore-las... | Don't auto open dev tools | porsager_wright | train | js |
fe83dc063216e80c99e4e429494d56e36d4dc055 | diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index <HASH>..<HASH> 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1553,7 +1553,8 @@ class Cmd(cmd.Cmd):
def get_all_commands(self) -> List[str]:
"""Returns a list of all commands."""
- return [cur_name[3:] for cur_name in self.get_names() if cur_name.s... | Fixed get_all_commands and get_help_topics to only return function names | python-cmd2_cmd2 | train | py |
46801cc6cc7c7410f96b6b014a94fa82408ffa48 | diff --git a/src/wormling/phparia/Node/Node.php b/src/wormling/phparia/Node/Node.php
index <HASH>..<HASH> 100644
--- a/src/wormling/phparia/Node/Node.php
+++ b/src/wormling/phparia/Node/Node.php
@@ -1244,6 +1244,8 @@ class Node
$this->client->channels()->answer($event->getChannel()->getId());
... | Start/stop ringing during the node dialing | wormling_phparia | train | php |
bbec23b5a7c6494a78ec6192238ff03600872277 | diff --git a/worker/runner.go b/worker/runner.go
index <HASH>..<HASH> 100644
--- a/worker/runner.go
+++ b/worker/runner.go
@@ -29,7 +29,6 @@ type Runner interface {
Worker
StartWorker(id string, startFunc func() (Worker, error)) error
StopWorker(id string) error
- Dying() <-chan struct{}
}
// runner runs a se... | nothing now needs Runner.Dying() so remove it | juju_juju | train | go |
31e8ece9fac937599d5ea7c53890c1b3580a1546 | diff --git a/lib/class/controller.js b/lib/class/controller.js
index <HASH>..<HASH> 100644
--- a/lib/class/controller.js
+++ b/lib/class/controller.js
@@ -224,6 +224,20 @@ Controller.setMethod(function set(name, value) {
});
/**
+ * Set the page title
+ *
+ * @author Jelle De Loecker <jelle@develry.be>
+ * @sin... | Add `setTitle` method to Controller | skerit_alchemy | train | js |
0c0613f8b5719e396d6a053201c32482f95bdb7f | diff --git a/qface/utils.py b/qface/utils.py
index <HASH>..<HASH> 100644
--- a/qface/utils.py
+++ b/qface/utils.py
@@ -1,15 +1,10 @@
-def merge(a, b, path=None):
- "merges b into a"
- # import pdb; pdb.set_trace()
- path = path or []
+def merge(a, b):
+ "merges b into a recursively if a and b are dicts"... | simplified the dict merging. small fix | Pelagicore_qface | train | py |
e627dae8787423d8d184160ea2414304e481e9af | diff --git a/lib/mail/message.rb b/lib/mail/message.rb
index <HASH>..<HASH> 100644
--- a/lib/mail/message.rb
+++ b/lib/mail/message.rb
@@ -1180,6 +1180,8 @@ module Mail
self.body = value
elsif name.to_s =~ /content[-_]type/i
header[name] = value
+ elsif name.to_s == 'charset'
+ self... | Handle setting of charset through []= method, so we don't get the warning | mikel_mail | train | rb |
ecc48835e37970e4281ceff876d98656159a379a | diff --git a/src/SilverStripe/Elastica/Searchable.php b/src/SilverStripe/Elastica/Searchable.php
index <HASH>..<HASH> 100644
--- a/src/SilverStripe/Elastica/Searchable.php
+++ b/src/SilverStripe/Elastica/Searchable.php
@@ -173,6 +173,21 @@ class Searchable extends \DataExtension {
}
return $parents;
... | FIX Implemented canShowInSearch method for search exclusion | symbiote-library_silverstripe-elastica | train | php |
b00b714a594ee82691f77094caf15b0a08899e44 | diff --git a/src/Pointer.php b/src/Pointer.php
index <HASH>..<HASH> 100644
--- a/src/Pointer.php
+++ b/src/Pointer.php
@@ -15,12 +15,7 @@ class Pointer
public function setTarget(&$target)
{
- if(!(
- gettype($target) === 'array'
- || $target instanceof \ArrayAccess
- )) {
- ... | moved walkability of target to its own method | gamringer_JSONPatch | train | php |
8b7d60c0e44fd0539e059fff9d3ffd9881582176 | diff --git a/lxd/main_checkfeature.go b/lxd/main_checkfeature.go
index <HASH>..<HASH> 100644
--- a/lxd/main_checkfeature.go
+++ b/lxd/main_checkfeature.go
@@ -152,7 +152,7 @@ import "C"
func CanUseNetnsGetifaddrs() bool {
if !bool(C.is_empty_string(&C.errbuf[0])) {
- logger.Errorf("%s", C.GoString(&C.errbuf[0]))
... | checkfeature: dial logging down from to debug | lxc_lxd | train | go |
0877d6fec1eef7b10060f6f464bb0a19764eb23e | diff --git a/torchnet/logger/meterlogger.py b/torchnet/logger/meterlogger.py
index <HASH>..<HASH> 100644
--- a/torchnet/logger/meterlogger.py
+++ b/torchnet/logger/meterlogger.py
@@ -143,4 +143,4 @@ class MeterLogger(object):
tval.extend([self.meter[meter].val, self.meter[meter].mean])
... | fix the bug imported from fixing lint and indentation (#<I>) | pytorch_tnt | train | py |
0a174e53292f4c8c7afeede2f9529f9edf758c4a | diff --git a/vendor/Joomla/Utilities/ArrayHelper.php b/vendor/Joomla/Utilities/ArrayHelper.php
index <HASH>..<HASH> 100644
--- a/vendor/Joomla/Utilities/ArrayHelper.php
+++ b/vendor/Joomla/Utilities/ArrayHelper.php
@@ -15,8 +15,13 @@ use Joomla\String\String;
* @package Joomla\Framework
* @since 1.0
*/
-abstr... | Add private constructor to disallow instantiation of ArrayHelper | joomla_joomla-framework | train | php |
898a45c0ca33dab4ec99f09dd103d750c4b591d9 | diff --git a/ui/src/kapacitor/components/RuleGraph.js b/ui/src/kapacitor/components/RuleGraph.js
index <HASH>..<HASH> 100644
--- a/ui/src/kapacitor/components/RuleGraph.js
+++ b/ui/src/kapacitor/components/RuleGraph.js
@@ -43,7 +43,6 @@ const RuleGraph = ({
</div>
<RefreshingLineGraph
queries={qu... | Refreshing graphs are by default inView | influxdata_influxdb | train | js,js |
7b7d6756a36c1ed733d3d89eee674f6fbc5a5e28 | diff --git a/tests/applicationinsights_tests/TestTelemetryClient.py b/tests/applicationinsights_tests/TestTelemetryClient.py
index <HASH>..<HASH> 100644
--- a/tests/applicationinsights_tests/TestTelemetryClient.py
+++ b/tests/applicationinsights_tests/TestTelemetryClient.py
@@ -1,10 +1,14 @@
import unittest
import i... | Fixes #<I> Breaking test suite test_support becomes test.support in py3, support backport py2 | Microsoft_ApplicationInsights-Python | train | py |
950418d54e46475ca7a57ad1ec2b08debee4510c | diff --git a/Eloquent/Collection.php b/Eloquent/Collection.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Collection.php
+++ b/Eloquent/Collection.php
@@ -175,12 +175,13 @@ class Collection extends BaseCollection implements QueueableCollection
* Return only unique items from the collection.
*
* @param... | [<I>] Refactor unique / uniqueStrict methods to use common code (#<I>)
* Refactor unique / uniqueStrict methods to use common code
* Update unique signature for parent class | illuminate_database | train | php |
d6ed7830dbca6b871b66785683ff40682f888144 | diff --git a/flask_user/__init__.py b/flask_user/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_user/__init__.py
+++ b/flask_user/__init__.py
@@ -6,7 +6,7 @@
from passlib.context import CryptContext
from flask import Blueprint, current_app, url_for
-from flask_login import LoginManager, UserMixin as LoginUserM... | Removed make_secure_token. Changed version to <I>. | lingthio_Flask-User | train | py |
b4080bc0dc6151d3386cb2ab75c825120fbe8af7 | diff --git a/agent/connect/ca/provider_consul.go b/agent/connect/ca/provider_consul.go
index <HASH>..<HASH> 100644
--- a/agent/connect/ca/provider_consul.go
+++ b/agent/connect/ca/provider_consul.go
@@ -617,19 +617,13 @@ func (c *ConsulProvider) incrementAndGetNextSerialNumber() (uint64, error) {
// generateCA makes... | ca: use the cluster ID passed to the primary
instead of fetching it from the state store. | hashicorp_consul | train | go |
2a020dcde355bd269be40038ea2fc14e84b39117 | diff --git a/indra_db_api/test_api.py b/indra_db_api/test_api.py
index <HASH>..<HASH> 100644
--- a/indra_db_api/test_api.py
+++ b/indra_db_api/test_api.py
@@ -28,5 +28,15 @@ class DbApiTestCase(unittest.TestCase):
assert len(json.loads(resp.data.decode())) is not 0, \
'Did not get any statements.'... | Add test for ActiveForm query. | sorgerlab_indra | train | py |
1c9c4de8fce6add28964d061c2d1b22db0bb08f5 | diff --git a/tests/unit/components/sl-date-picker-test.js b/tests/unit/components/sl-date-picker-test.js
index <HASH>..<HASH> 100755
--- a/tests/unit/components/sl-date-picker-test.js
+++ b/tests/unit/components/sl-date-picker-test.js
@@ -173,7 +173,7 @@ test( 'Event handlers are registered and unregistered', function(... | Wrap event trigger in a Ember.run | softlayer_sl-ember-components | train | js |
60c9ea867f32a86f684032a19bb2ec40185b6a0c | diff --git a/src/main/java/org/op4j/functions/FnReduceOn.java b/src/main/java/org/op4j/functions/FnReduceOn.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/op4j/functions/FnReduceOn.java
+++ b/src/main/java/org/op4j/functions/FnReduceOn.java
@@ -9,7 +9,10 @@ public class FnReduceOn<T> {
protected f... | Constructor moved upwards so that expression used to generate documentation is able to find all of the methods in this class.
git-svn-id: <URL> | op4j_op4j | train | java |
4b703ca96b92623de0efc30c731c3c954b8416c6 | diff --git a/src/ServiceContainer/BehatApiExtension.php b/src/ServiceContainer/BehatApiExtension.php
index <HASH>..<HASH> 100644
--- a/src/ServiceContainer/BehatApiExtension.php
+++ b/src/ServiceContainer/BehatApiExtension.php
@@ -50,6 +50,7 @@ class BehatApiExtension implements ExtensionInterface {
/**
* ... | Add info and example to the configuration entry, remove extra call to end() and ignore empty methods from code coverage | imbo_behat-api-extension | train | php |
eb97073805ad54e95767613804a62b5e6ad5f1f9 | diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/scalar/timedelta/test_arithmetic.py
+++ b/pandas/tests/scalar/timedelta/test_arithmetic.py
@@ -384,8 +384,11 @@ class TestTimedeltaMultiplicationDivision:
... | CI: temporary fix to the CI (#<I>) | pandas-dev_pandas | train | py |
4c3c5120389cc95edc63b8f18a0eee786aa0c5e2 | diff --git a/commands/hugo.go b/commands/hugo.go
index <HASH>..<HASH> 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -431,8 +431,6 @@ func (c *commandeer) initProfiling() (func(), error) {
return nil, err
}
- defer c.initMemProfile()
-
stopMutexProf, err := c.initMutexProfile()
if err != nil {
re... | commands: Init mem profile at the end
Much more useful ... | gohugoio_hugo | train | go |
8f0155ca6f0ff79aa084bd3a884ee042c2ca57ca | diff --git a/lib/modules/core/index.js b/lib/modules/core/index.js
index <HASH>..<HASH> 100644
--- a/lib/modules/core/index.js
+++ b/lib/modules/core/index.js
@@ -37,7 +37,7 @@ Archiver.prototype._normalizeFileData = function(data) {
data = util.defaults(data, {
name: null,
date: null,
- source: null
+ ... | core: store filepaths as sourcePath when available. mainly for debugging purposes. | archiverjs_node-archiver | train | js |
8993d4583075b5e4f27e2e4fa34d3032aba6e307 | diff --git a/pyspectral/tests/__init__.py b/pyspectral/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/pyspectral/tests/__init__.py
+++ b/pyspectral/tests/__init__.py
@@ -37,7 +37,6 @@ import doctest
import os
TRAVIS = os.environ.get("TRAVIS", False)
-
def suite():
"""The global test suite.
""" | Test triggering pre-commit hook | pytroll_pyspectral | train | py |
995f66d8dca6d7a70d600fc3f3801d7bc1f32dbf | diff --git a/troposphere/constants.py b/troposphere/constants.py
index <HASH>..<HASH> 100644
--- a/troposphere/constants.py
+++ b/troposphere/constants.py
@@ -75,6 +75,11 @@ REDIS_PORT = 6379
MEMCACHED_PORT = 11211
POSTGRESQL_PORT = 5432
+TCP_PROTOCOL = 6
+UDP_PROTOCOL = 17
+ICMP_PROTOCOL = 1
+ALL_PROTOCOL = -1
+
... | NetworkACL Protocl Constants (#<I>)
Added some basic constants for adding NetworkACL Protocols from here <URL> | cloudtools_troposphere | train | py |
b079ad6b3ee7e0aa3f9e616b99907a0b0252eca1 | diff --git a/rio_client/base.py b/rio_client/base.py
index <HASH>..<HASH> 100644
--- a/rio_client/base.py
+++ b/rio_client/base.py
@@ -11,10 +11,10 @@ from .transports.requests import RequestsTransport
class Client(object):
"""Rio Client."""
- def __init__(self, dsn=None):
+ def __init__(self, dsn=None, *... | allow more args for client. | soasme_rio-client | train | py,py |
d9474099837c7257293156f1b1be3cbbb9132e2b | diff --git a/projects/samskivert/src/java/com/samskivert/swing/util/DialogUtil.java b/projects/samskivert/src/java/com/samskivert/swing/util/DialogUtil.java
index <HASH>..<HASH> 100644
--- a/projects/samskivert/src/java/com/samskivert/swing/util/DialogUtil.java
+++ b/projects/samskivert/src/java/com/samskivert/swing/ut... | go ahead and make dialogs transparent- if they have an irregular border
it will paint correctly.
git-svn-id: <URL> | samskivert_samskivert | train | java |
db415db0af5c8e01db279144115ebf24fd788c0a | diff --git a/src/Symfony/Component/HttpFoundation/RedirectResponse.php b/src/Symfony/Component/HttpFoundation/RedirectResponse.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/RedirectResponse.php
+++ b/src/Symfony/Component/HttpFoundation/RedirectResponse.php
@@ -33,7 +33,15 @@ class Redirect... | [HttpFoundation] tweaked previous merge | symfony_symfony | train | php |
e92d0e1c74b877d77d3c6641648863201c181707 | diff --git a/tests/frontend/org/voltdb/compiler/TestProcCompiler.java b/tests/frontend/org/voltdb/compiler/TestProcCompiler.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/compiler/TestProcCompiler.java
+++ b/tests/frontend/org/voltdb/compiler/TestProcCompiler.java
@@ -111,7 +111,7 @@ public class Test... | Strengthen test case for a more reliable stack overflow condition. | VoltDB_voltdb | train | java |
3f0044ac2595f1925bf0c1f35bc5abdc92c370e1 | diff --git a/src/org/zaproxy/zap/extension/api/OptionsApiPanel.java b/src/org/zaproxy/zap/extension/api/OptionsApiPanel.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/extension/api/OptionsApiPanel.java
+++ b/src/org/zaproxy/zap/extension/api/OptionsApiPanel.java
@@ -281,6 +281,7 @@ public class OptionsApiPa... | Focus API key field on validation error
Change OptionsApiPanel to request focus to the API key field when
there's a validation error (i.e. missing key when enabled). | zaproxy_zaproxy | train | java |
03da6be9f11a5f0677e2ae3b96b5f6b7907f45c6 | diff --git a/johnny/settings.py b/johnny/settings.py
index <HASH>..<HASH> 100644
--- a/johnny/settings.py
+++ b/johnny/settings.py
@@ -10,7 +10,6 @@ BLACKLIST = getattr(settings, 'MAN_IN_BLACKLIST',
getattr(settings, 'JOHNNY_TABLE_BLACKLIST', []))
BLACKLIST = set(BLACKLIST)
-# XXX: I've forgotten what J... | I remember what johnny_cache_key is now :) | jmoiron_johnny-cache | train | py |
954868741a61a36af896dd702f6a54215bdfb349 | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -370,22 +370,22 @@ IrcClient.prototype.part = function(channel, message) {
IrcClient.prototype.ctcpRequest = function(target, type /*, paramN*/) {
var params = Array.prototype.slice.call(arguments, ... | Do not send a trailing space in CTCP | kiwiirc_irc-framework | train | js |
4544e73f077a6cd23a13a14d9364be6898330337 | diff --git a/ipywebrtc/webrtc.py b/ipywebrtc/webrtc.py
index <HASH>..<HASH> 100644
--- a/ipywebrtc/webrtc.py
+++ b/ipywebrtc/webrtc.py
@@ -36,7 +36,8 @@ class MediaStream(DOMWidget):
A MediaStream can be used with:
* :class:`VideoRecorder`: To record a movie
- * :class:`MediaImageRecorder`: To crea... | docs: mention Image and AudioRecorder | maartenbreddels_ipywebrtc | train | py |
dd3030dffa6a85b275bf245b1238d59e67d8f664 | diff --git a/lib/redirectHost.js b/lib/redirectHost.js
index <HASH>..<HASH> 100644
--- a/lib/redirectHost.js
+++ b/lib/redirectHost.js
@@ -126,7 +126,7 @@ function createHandler(to, except, pathFunc){
if(host in except){
next();
}else{
- res.redirect('http://' + to + pathFunc(h... | make redirects <I> (moved permanently) | perropicante_connect-redirecthost | train | js |
249cfa21e3226fe3ca6f47c1121593af48b0ad6b | diff --git a/front/src/js/directives/gradeDirective.js b/front/src/js/directives/gradeDirective.js
index <HASH>..<HASH> 100644
--- a/front/src/js/directives/gradeDirective.js
+++ b/front/src/js/directives/gradeDirective.js
@@ -11,19 +11,19 @@ gradeDirective.directive('grade', function() {
replace: true,
... | Change conversion algorithm from x/<I> to A-F grade | gmetais_YellowLabTools | train | js |
d05d15dd03a4db02da67cc537f07c7d381b4b10b | diff --git a/Components/DB/Dbal/DbalStepsProvider.php b/Components/DB/Dbal/DbalStepsProvider.php
index <HASH>..<HASH> 100644
--- a/Components/DB/Dbal/DbalStepsProvider.php
+++ b/Components/DB/Dbal/DbalStepsProvider.php
@@ -282,8 +282,6 @@ class DbalStepsProvider extends Service implements ConfigurableStepsProviderInte
... | Return directly db connection instead of saving and returning | smartboxgroup_integration-framework-bundle | train | php |
84c26a1330f1941a2b31e0c142112b890ba99eec | diff --git a/src/components/sidebar/Sidebar.js b/src/components/sidebar/Sidebar.js
index <HASH>..<HASH> 100755
--- a/src/components/sidebar/Sidebar.js
+++ b/src/components/sidebar/Sidebar.js
@@ -16,7 +16,7 @@ export default {
fixed: Boolean,
right: Boolean,
-
+
height: String,
mobile: {
@@ -... | Fix for #<I> Option to disable route watcher in Sidebar component. (#<I>) | vuetifyjs_vuetify | train | js |
863fb1170b510834e2e40a2174dcb364ad7278f6 | diff --git a/test/safe_by_default_test.rb b/test/safe_by_default_test.rb
index <HASH>..<HASH> 100644
--- a/test/safe_by_default_test.rb
+++ b/test/safe_by_default_test.rb
@@ -17,11 +17,15 @@ class SafeByDefaultTest < Minitest::Test
migrate AddIndex
assert_safe RemoveIndex
assert_safe RemoveIndexColumn
- ... | Added test for remove_index with name | ankane_strong_migrations | train | rb |
f5327fecca5db4c33116702e57645608e7c87f4f | diff --git a/src/controls.js b/src/controls.js
index <HASH>..<HASH> 100644
--- a/src/controls.js
+++ b/src/controls.js
@@ -117,6 +117,31 @@ Crafty.extend({
},
+
+ /**@
+ * #KeyboardEvent
+ * @category Input
+ * Keyboard Event triggerd by Crafty Core
+ * @trigger KeyDown - is triggered for each entity when the DO... | Documented KeyUp and KeyDown Event | craftyjs_Crafty | train | js |
8f28264b75eac2afcf4f925de9427bb40a853844 | diff --git a/src/Shell/AnnotationsShell.php b/src/Shell/AnnotationsShell.php
index <HASH>..<HASH> 100644
--- a/src/Shell/AnnotationsShell.php
+++ b/src/Shell/AnnotationsShell.php
@@ -157,8 +157,14 @@ class AnnotationsShell extends Shell {
$annotator->annotate($folder . $file);
}
- if (!empty($folderContent[0]... | Allow configurable prefixes for controller annotations | dereuromark_cakephp-ide-helper | train | php |
de6e6eb5bc6bf6a4c8702d07137200adf5d79cc4 | diff --git a/tests/Routing/RouterTest.php b/tests/Routing/RouterTest.php
index <HASH>..<HASH> 100644
--- a/tests/Routing/RouterTest.php
+++ b/tests/Routing/RouterTest.php
@@ -8,6 +8,7 @@ use Dingo\Api\Http\Response;
use Dingo\Api\Routing\Router;
use PHPUnit_Framework_TestCase;
use Illuminate\Events\Dispatcher;
+use ... | Added test to cover the last fix where the router correctly handles a response builder. | laravie_api | train | php |
2f8ae88be79c1c58dc09c50c7eef42ef9304bd17 | diff --git a/lib/unidom/common/numeration.rb b/lib/unidom/common/numeration.rb
index <HASH>..<HASH> 100644
--- a/lib/unidom/common/numeration.rb
+++ b/lib/unidom/common/numeration.rb
@@ -1,3 +1,6 @@
+##
+# Numeration 是数字格式转换的辅助类。
+
class Unidom::Common::Numeration
def self.hex(data) | 1, Improve the Numeration class for the document. | topbitdu_unidom-common | train | rb |
88dd1ba41a401417d1c4056a28560fd76417989a | diff --git a/lib/collections/UnavailableGuildCollection.js b/lib/collections/UnavailableGuildCollection.js
index <HASH>..<HASH> 100644
--- a/lib/collections/UnavailableGuildCollection.js
+++ b/lib/collections/UnavailableGuildCollection.js
@@ -4,7 +4,7 @@ const Constants = require("../Constants");
const Events = Consta... | Bump READY guild streaming timeout to <I> seconds | qeled_discordie | train | js |
9eafbb5b4291f1b1e602d49884e212dba453ba6c | diff --git a/ios/src/playn/ios/IOSAssets.java b/ios/src/playn/ios/IOSAssets.java
index <HASH>..<HASH> 100644
--- a/ios/src/playn/ios/IOSAssets.java
+++ b/ios/src/playn/ios/IOSAssets.java
@@ -102,7 +102,7 @@ public class IOSAssets extends AbstractAssets<UIImage> {
for (String encpath : new String[] { path + ".caf",... | Nix the other debug logging while we're at it. | threerings_playn | train | java |
eb8c8409ee02d38b218dfbb04a31d5422195a747 | diff --git a/app/models/active_mailer/base.rb b/app/models/active_mailer/base.rb
index <HASH>..<HASH> 100644
--- a/app/models/active_mailer/base.rb
+++ b/app/models/active_mailer/base.rb
@@ -9,7 +9,7 @@ module ActiveMailer #:nodoc:
has_many :email_user_associations, :as => :emailable
has_many :rec... | avoid weird problem where #raise_on_type_mismatch incorrectly evaluates if the record is of the right type | expectedbehavior_active_mailer | train | rb |
163012fe763d0a93099010982840ad0ae8f81b96 | diff --git a/tile_generator/tile.py b/tile_generator/tile.py
index <HASH>..<HASH> 100755
--- a/tile_generator/tile.py
+++ b/tile_generator/tile.py
@@ -60,7 +60,6 @@ def build_cmd(version, verbose,sha1, cache):
cfg.set_sha1(sha1)
cfg.set_cache(cache)
print('name:', cfg.get('name', '<unspecified>'))
- print('icon:'... | Remove print of icon.
It's now the full base<I>-encoded image, not just the file path. | cf-platform-eng_tile-generator | train | py |
080b61c9c59815940e98d7f2c17baea600d96aee | diff --git a/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDependencyProcessor.java b/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDependencyProcessor.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/deployment/module/SubDeploymentDepen... | Make ear/lib availble to additional modules | wildfly_wildfly | train | java |
9f700674f88a2ff989075c876ae30fe5df00def0 | diff --git a/packages/selenium-ide/src/neo/stores/seed.js b/packages/selenium-ide/src/neo/stores/seed.js
index <HASH>..<HASH> 100644
--- a/packages/selenium-ide/src/neo/stores/seed.js
+++ b/packages/selenium-ide/src/neo/stores/seed.js
@@ -49,7 +49,7 @@ export default function seed(store, numberOfSuites = 5) {
}
... | Updated base URL in the seed to point to the public end point of the-internet | SeleniumHQ_selenium-ide | train | js |
ca2d7e3aeb082b41d8b1418f1cf5a32799a12534 | diff --git a/packages/remark-mdx/index.js b/packages/remark-mdx/index.js
index <HASH>..<HASH> 100644
--- a/packages/remark-mdx/index.js
+++ b/packages/remark-mdx/index.js
@@ -4,7 +4,7 @@ const block = require('./block')
const {tag} = require('./tag')
const IMPORT_REGEX = /^import/
-const EXPORT_REGEX = /^export/
+c... | `exporting` fails (#<I>)
* this fails on gatsbyjs.org
* the fix I think? | mdx-js_mdx | train | js,js |
a260226f5ad77285890020050a8066afc38d4ff7 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/validation/ImportUriValidator.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/validation/ImportUriValidator.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/validation/ImportUriValidator.java
+++ b/plugins/org.ecli... | [<I>] made it a real constant :-| | eclipse_xtext-core | train | java |
9709a6b9736864e93c4cfbd601344062d1a31c8b | diff --git a/mqlight.js b/mqlight.js
index <HASH>..<HASH> 100644
--- a/mqlight.js
+++ b/mqlight.js
@@ -1702,8 +1702,8 @@ Client.prototype.send = function(topic, data, options, callback) {
if (client.drainEventRequired &&
(client.outstandingSends.length <= 1)) {
logger.log('e... | Reset drainEventRequired before emitting drain | mqlight_nodejs-mqlight | train | js |
08f7f7bf625a048d59b485fc34426bb3257b5fc9 | diff --git a/Net/Socket.php b/Net/Socket.php
index <HASH>..<HASH> 100644
--- a/Net/Socket.php
+++ b/Net/Socket.php
@@ -157,8 +157,6 @@ class Net_Socket extends PEAR
$errno = 0;
$errstr = '';
- $old_track_errors = @ini_set('track_errors', 1);
-
if ($timeout <= 0) {
$timeo... | Bug #<I>: $php_errormsg is deprecated in PHP <I> | pear_Net_Socket | train | php |
44e289100f2294c3e5deeccd4e84b9df4a6656de | diff --git a/flink-tests/src/test/java/org/apache/flink/test/recovery/TaskManagerProcessFailureBatchRecoveryITCase.java b/flink-tests/src/test/java/org/apache/flink/test/recovery/TaskManagerProcessFailureBatchRecoveryITCase.java
index <HASH>..<HASH> 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/recovery/... | [FLINK-<I>][tests] Increase restart delay to 5 seconds | apache_flink | train | java |
9c25b36e222a0ce9e4b186ac1c63e9f935947429 | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/SlimFixture.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/SlimFixture.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/SlimFixture.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/SlimFixture.java
@@ -22,7 +22,7 @@ pub... | Change default max repeat count to a lower value that (given the default repeat interval) should still be more than long enough for normal usage | fhoeben_hsac-fitnesse-fixtures | train | java |
cb97785b16dd2f3aef12849c197ddf7b933cd053 | diff --git a/lib/table_transform/excel_creator.rb b/lib/table_transform/excel_creator.rb
index <HASH>..<HASH> 100644
--- a/lib/table_transform/excel_creator.rb
+++ b/lib/table_transform/excel_creator.rb
@@ -88,8 +88,8 @@ module TableTransform
data = table.to_a
return if data.nil? or data.empty? # Create e... | Renamed to table_properties | jonas-lantto_table_transform | train | rb |
f006a9e907af4ac3164daab5d295faf1dc512dea | diff --git a/lib/ishiki.js b/lib/ishiki.js
index <HASH>..<HASH> 100644
--- a/lib/ishiki.js
+++ b/lib/ishiki.js
@@ -28,8 +28,6 @@ var crypto = require('crypto'),
logModel = require('../models/log');
module.exports = function(app, haibu, path, fs, drone, proxy) {
- //listen to drones
-
//user/app logs
functi... | Fixed new deployment proxy route loading before routing info available from starting the drone | grownseed_haibu-ishiki | train | js |
329be6c907e6a73d477ee6648db4a1a621bde38d | diff --git a/salt/cloud/clouds/vultrpy.py b/salt/cloud/clouds/vultrpy.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vultrpy.py
+++ b/salt/cloud/clouds/vultrpy.py
@@ -24,12 +24,13 @@ Set up the cloud profile at ``/etc/salt/cloud.profiles`` or
``/etc/salt/cloud.profiles.d/vultr.conf``:
.. code-block:: yaml
-... | Support Private Networking and Hostnames | saltstack_salt | train | py |
fea1b9b2c33e5443cfd60d2d80e2ddb7b5496151 | diff --git a/tests/lib/resolver/dos_test.js b/tests/lib/resolver/dos_test.js
index <HASH>..<HASH> 100644
--- a/tests/lib/resolver/dos_test.js
+++ b/tests/lib/resolver/dos_test.js
@@ -30,7 +30,7 @@ describe('Billion Laughs', function(){
entries = createEntries(source);
});
- it('resolve() throws', function() ... | Bug <I> - Use Resolver.format to throw in tests. r=gandalf | l20n_l20n.js | train | js,js |
884d46ff7f95e33c40c86e10707d5435cefc08ee | diff --git a/lib/operations/rename.js b/lib/operations/rename.js
index <HASH>..<HASH> 100644
--- a/lib/operations/rename.js
+++ b/lib/operations/rename.js
@@ -45,7 +45,7 @@ class RenameOperation extends OperationBase {
new Collection(
coll.s.db,
coll.s.topology,
- coll.da... | fix: maintain internal database name on collection rename | mongodb_node-mongodb-native | train | js |
d301b291c3cb957548c85ea5b0ee779c1cb6f164 | diff --git a/loadShared.go b/loadShared.go
index <HASH>..<HASH> 100644
--- a/loadShared.go
+++ b/loadShared.go
@@ -5,6 +5,7 @@ import (
)
type Key struct {
+ ID string `json:"id,omitempty"`
Typ string `json:"type"`
Data string `json:"data"`
Owners []string `json:"owners"`
@@ -21,7 +22,7 @@ func... | Added optional id field to loadShared, improved error message on loadShared | bronze1man_goStrongswanVici | train | go |
101ed55bda23bb7eaebdb8d2a0f8888dc45ac0f2 | diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/admin.php
+++ b/lang/en_utf8/admin.php
@@ -350,6 +350,7 @@ $string['langimport'] = 'Language import utility';
$string['langimportsuccess'] = 'Language pack successfully upgraded';
$string['langlist'] = 'Languag... | MDL-<I> - missing string in language pack editing | moodle_moodle | train | php |
c474500492834d2f4a31c94196a46253154a3d69 | diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/util/UaaStringUtilsTest.java b/server/src/test/java/org/cloudfoundry/identity/uaa/util/UaaStringUtilsTest.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/org/cloudfoundry/identity/uaa/util/UaaStringUtilsTest.java
+++ b/server/src/test/java/org/... | Add test for escapeRegExCharacters
Test shows that it is a real problem because
chars from x5b to x<I> are not escaped | cloudfoundry_uaa | train | java |
a44f2a882006e67a43d1ddcc1e16be19f6c65e8d | diff --git a/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php b/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php
index <HASH>..<HASH> 100644
--- a/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php
+++ b/code/libraries/joomlatools/library/dispatcher/behavior/cac... | #<I> - Make sure we reset the cache-control first before setting max-age | joomlatools_joomlatools-framework | train | php |
e2853aa2ea1c250dd21409ca0411d9602d337e8f | diff --git a/invoice2data/main.py b/invoice2data/main.py
index <HASH>..<HASH> 100644
--- a/invoice2data/main.py
+++ b/invoice2data/main.py
@@ -94,7 +94,7 @@ def main():
date=res['date'].strftime('%Y-%m-%d'),
desc=res['desc'])
shutil.copyfile(f.name, join(args.c... | Fix for Issue #<I> (#<I>)
replaced `csv_output_name` with `args.csv_output_name`
Fix #<I> | invoice-x_invoice2data | train | py |
00e5b38ed5c7aaecea5f14d6696d59c3299f55b9 | diff --git a/src/Helper/ShellHelper.php b/src/Helper/ShellHelper.php
index <HASH>..<HASH> 100644
--- a/src/Helper/ShellHelper.php
+++ b/src/Helper/ShellHelper.php
@@ -30,20 +30,6 @@ class ShellHelper extends Helper implements ShellHelperInterface
}
/**
- * Log output messages.
- *
- * @param mix... | PHP <I> can use $this in anonymous functions | platformsh_platformsh-cli | train | php |
6e05a612657ecec12971e009b60cad610a54b078 | diff --git a/src/main/java/com/sd_editions/collatex/spike2/TranspositionTuple.java b/src/main/java/com/sd_editions/collatex/spike2/TranspositionTuple.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/sd_editions/collatex/spike2/TranspositionTuple.java
+++ b/src/main/java/com/sd_editions/collatex/spike2/Transposi... | [RHD] Small refactoring: removed duplication | interedition_collatex | train | java |
de6741f886178d8f9b4af6e109838642aebda1c7 | diff --git a/lib/router/with-router.js b/lib/router/with-router.js
index <HASH>..<HASH> 100644
--- a/lib/router/with-router.js
+++ b/lib/router/with-router.js
@@ -11,7 +11,7 @@ export default function withRouter (ComposedComponent) {
router: PropTypes.object
}
- static displayName = `withRoute(${displa... | Fix typo in withRouter (#<I>) | zeit_next.js | train | js |
87f59e3802a44aecdb8febfd34a9661e136ffcf4 | diff --git a/graph/pull.go b/graph/pull.go
index <HASH>..<HASH> 100644
--- a/graph/pull.go
+++ b/graph/pull.go
@@ -137,7 +137,7 @@ func (s *TagStore) CmdPull(job *engine.Job) engine.Status {
mirrors = s.mirrors
}
- if isOfficial || endpoint.Version == registry.APIVersion2 {
+ if len(mirrors) == 0 && (isOfficial ... | Skip V2 registry and immediately fallback to V1 when mirrors are provided
Since V2 registry does not yet implement mirrors, when mirrors are given automatically fallback to V1 without checking V2 first. | moby_moby | train | go |
c8fe49714c77ad1a0ac322817c0f6a74da121328 | diff --git a/src/PathResolvers/PrettyOutputPathResolver.php b/src/PathResolvers/PrettyOutputPathResolver.php
index <HASH>..<HASH> 100644
--- a/src/PathResolvers/PrettyOutputPathResolver.php
+++ b/src/PathResolvers/PrettyOutputPathResolver.php
@@ -34,6 +34,10 @@ class PrettyOutputPathResolver
return $this->... | Copy files without an extension properly (#<I>) | tightenco_jigsaw | train | php |
f893986421744dfc2679970f92db862a0cdf1338 | diff --git a/lib/amee-data-abstraction/calculation.rb b/lib/amee-data-abstraction/calculation.rb
index <HASH>..<HASH> 100644
--- a/lib/amee-data-abstraction/calculation.rb
+++ b/lib/amee-data-abstraction/calculation.rb
@@ -132,7 +132,7 @@ module AMEE
end
def explorer_url
- Rails.logger.info "#ex... | Check that logger is defined before using it (helps with tests). [AC-<I>] | AMEE_amee-data-abstraction | train | rb |
c8583dcde7890aa4a09abb8fa6bc4a63fdd55b02 | diff --git a/lib/Page.js b/lib/Page.js
index <HASH>..<HASH> 100644
--- a/lib/Page.js
+++ b/lib/Page.js
@@ -9,6 +9,9 @@ const pathIsInside = require('path-is-inside');
const MarkBind = require('./markbind/lib/parser');
+cheerio.prototype.options.xmlMode = true; // Enable xml mode for self-closing tag
+cheerio.proto... | Prevent frontmatter from being rendered on the final site
- Frontmatter data has already been collated in siteData.json and there's no reason to render it with the page's content | MarkBind_markbind | train | js |
235f32219e897d9caa34f25b02ac9bcdaf49b96e | diff --git a/lib/jmespath/nodes/pipe.rb b/lib/jmespath/nodes/pipe.rb
index <HASH>..<HASH> 100644
--- a/lib/jmespath/nodes/pipe.rb
+++ b/lib/jmespath/nodes/pipe.rb
@@ -1,15 +1,6 @@
module JMESPath
# @api private
module Nodes
- class Pipe < Node
- def initialize(left, right)
- @left = left
- ... | Make Pipe an alias for Subexpression
They are exactly the same thing | jmespath_jmespath.rb | train | rb |
078784eff170b702c5c856d2ce67f00856760ab0 | diff --git a/platforms/firmata/client/client_test.go b/platforms/firmata/client/client_test.go
index <HASH>..<HASH> 100644
--- a/platforms/firmata/client/client_test.go
+++ b/platforms/firmata/client/client_test.go
@@ -285,6 +285,7 @@ func TestProcessStringData(t *testing.T) {
sem <- true
})
+ time.Sleep(10 * ti... | firmata: avoid race condition on starting test | hybridgroup_gobot | train | go |
4c05bc6a5d5ac11547b6708ad05bbfa944692549 | diff --git a/lib/link_thumbnailer/object.rb b/lib/link_thumbnailer/object.rb
index <HASH>..<HASH> 100644
--- a/lib/link_thumbnailer/object.rb
+++ b/lib/link_thumbnailer/object.rb
@@ -14,10 +14,9 @@ module LinkThumbnailer
end
end
- # TODO remove blank call. Rails dependent.
def valid?
return... | remove blank call and replace it with nil and empty | gottfrois_link_thumbnailer | train | rb |
59055914e9e9b4f473357fbf7894b28cc2e83b67 | diff --git a/lib/valve.js b/lib/valve.js
index <HASH>..<HASH> 100644
--- a/lib/valve.js
+++ b/lib/valve.js
@@ -561,6 +561,7 @@ Chain.prototype.isIP = function() {
var ip;
try {
+ check(value).notEmpty();
check(value).isIP();
ip = normalizeIP(value);
} catch (e) { | IP addresses are allowed to be blank and valid. | racker_node-swiz | train | js |
a2da7bf87d004f39ce00b491308166eaba4c33e7 | diff --git a/src/tooltipcontroller.js b/src/tooltipcontroller.js
index <HASH>..<HASH> 100644
--- a/src/tooltipcontroller.js
+++ b/src/tooltipcontroller.js
@@ -191,6 +191,7 @@ function TooltipController(options) {
* @private
*/
function closeDesyncedTip() {
+ var isDesynced = false;
// It is possible for the... | Moved var declaration to the top of closeDesyncedTip(). | stevenbenner_jquery-powertip | train | js |
21bac5550cd7508e85f10186401884b9cf38501e | diff --git a/lib/mongoid/slug.rb b/lib/mongoid/slug.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/slug.rb
+++ b/lib/mongoid/slug.rb
@@ -121,7 +121,8 @@ module Mongoid #:nodoc:
inverse = metadata.inverse_of || collection_name
parent.respond_to?(inverse) ? parent.send(inverse) : self.class
els... | Use reflection to set up scope for embedded documents.
Two specs still failing. A Mongoid bug? | mongoid_mongoid-slug | train | rb |
7fde489daee17d91f9080c2422eba854761d6597 | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -31,10 +31,10 @@ defined('MOODLE_INTERNAL') || die();
-$version = 2011062400.03; // YYYYMMDD = weekly release date of this DEV branch
+$version = 2011062700.00; // YYYYMMDD ... | on-demand release <I>beta | moodle_moodle | train | php |
4f9ed3dc72ea3d224fda81f6b6bf85b880f16031 | diff --git a/lib/travis/client/repository.rb b/lib/travis/client/repository.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/client/repository.rb
+++ b/lib/travis/client/repository.rb
@@ -14,7 +14,7 @@ module Travis
def encrypt(value)
encrypted = to_rsa.public_encrypt(value)
- Base64.encod... | Remove all whitespace from an encrypted string
The whitespaces are all artifacts from the base<I> encoding, but they
don't actually contain any information and can be safely removed. | travis-ci_travis.rb | train | rb |
b650f50f9081ab19dd0905d12dd6b42dc1ad2387 | diff --git a/form/fields/ForumTextarea.php b/form/fields/ForumTextarea.php
index <HASH>..<HASH> 100644
--- a/form/fields/ForumTextarea.php
+++ b/form/fields/ForumTextarea.php
@@ -99,7 +99,7 @@ SCRIPT;
foreach ($rules as $name => $rule){
$original = self::applyRule($original, $name, $rule);
... | Removed nl2br because it caused some issues on some pages | mpf-soft_admin-widgets | train | php |
34f7efc0dda330619d7bd11e06f8e31534eca80b | diff --git a/metric_tank/http.go b/metric_tank/http.go
index <HASH>..<HASH> 100644
--- a/metric_tank/http.go
+++ b/metric_tank/http.go
@@ -45,7 +45,7 @@ func Get(w http.ResponseWriter, req *http.Request, metaCache *MetaCache, aggSett
log.Debug(fmt.Sprintf("http.Get(): INCOMING REQ. targets: %q, maxDataPoints: %q", va... | set minDataPoints to 1 instead of 0 to avoid devide by 0 error. | grafana_metrictank | train | go |
95eb14ddfd8ab259421e7aaa3fe7cdb2eb18aab7 | diff --git a/lib/trello/board.rb b/lib/trello/board.rb
index <HASH>..<HASH> 100644
--- a/lib/trello/board.rb
+++ b/lib/trello/board.rb
@@ -41,7 +41,7 @@ module Trello
# :filter => [ :none, :open, :closed, :all ] # default :open
def cards(options = { :filter => :open })
return @cards if @cards
- ... | fixes wrong url in board related changes | jeremytregunna_ruby-trello | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.