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 |
|---|---|---|---|---|---|
e306c8c4d4ad75f28aaeb963315d13b7a460c091 | diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index <HASH>..<HASH> 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -435,6 +435,11 @@ class AppGeneratorTest < Rails::Generators::TestCase
... | Ensure that the app generator skips action mailbox when `--skip-active-record` is given
Related to <URL> | rails_rails | train | rb |
ea37cbc7ea73b8534e7c5e452c1c5e705f182905 | diff --git a/pug/miner/tests.py b/pug/miner/tests.py
index <HASH>..<HASH> 100644
--- a/pug/miner/tests.py
+++ b/pug/miner/tests.py
@@ -28,10 +28,10 @@ class AdminTest(LiveServerTestCase):
def tearDown(self):
self.browser.quit()
- def test_admin_interface_login_page(self):
- # Angeline opens he... | don't test admin, because it's not configured' | hobson_pug | train | py |
78611cc002636b192779097f7d6e7b9f7fb9f814 | diff --git a/lib/base/remove.js b/lib/base/remove.js
index <HASH>..<HASH> 100644
--- a/lib/base/remove.js
+++ b/lib/base/remove.js
@@ -4,11 +4,13 @@ var Base = require('./')
var util = require('../util')
exports.remove = function( event ) {
-
+
if( this._$parent ) {
delete this._$parent[this._$key]
}
... | added a tombstone (val === null) #3 | vigour-io_vjs | train | js,js |
aad49ed20ba01f8235140977acf07e6a23a4789e | diff --git a/packages/ember-application/lib/system/application.js b/packages/ember-application/lib/system/application.js
index <HASH>..<HASH> 100644
--- a/packages/ember-application/lib/system/application.js
+++ b/packages/ember-application/lib/system/application.js
@@ -973,9 +973,14 @@ const Application = Engine.exten... | Destroy the instance since we don’t expose it | emberjs_ember.js | train | js |
634f92c7caed726856e8326bc2ae5c7c5073160e | diff --git a/test/cookieMiddleware.js b/test/cookieMiddleware.js
index <HASH>..<HASH> 100644
--- a/test/cookieMiddleware.js
+++ b/test/cookieMiddleware.js
@@ -1,7 +1,7 @@
module.exports = {
'should not send back cookie data that\'s in the blacklist': function(test){
test.open('localhost:8462')
- .assert.c... | dont check for cookie as it's http-only | leftlogic_express-cookie-blacklist | train | js |
9c63112d7cd81cabf859a41c0a10b7ac9f224fa2 | diff --git a/src/Symfony/Component/Messenger/Transport/Receiver/ReceiverInterface.php b/src/Symfony/Component/Messenger/Transport/Receiver/ReceiverInterface.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Messenger/Transport/Receiver/ReceiverInterface.php
+++ b/src/Symfony/Component/Messenger/Transport/Rece... | Remove the mention of handler in the phpdoc. | symfony_symfony | train | php |
ba2038df242a9dc82c40ab11cd51156c365b164b | diff --git a/src/Listeners/Database/OverridesConnection.php b/src/Listeners/Database/OverridesConnection.php
index <HASH>..<HASH> 100644
--- a/src/Listeners/Database/OverridesConnection.php
+++ b/src/Listeners/Database/OverridesConnection.php
@@ -1,5 +1,17 @@
<?php
+/*
+ * This file is part of the hyn/multi-tenant p... | Apply fixes from StyleCI (#<I>) | tenancy_multi-tenant | train | php |
313f5f8a3b720cc4e7a0ec7fbce59e577891f87e | diff --git a/salt/cloud/clouds/joyent.py b/salt/cloud/clouds/joyent.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/joyent.py
+++ b/salt/cloud/clouds/joyent.py
@@ -41,7 +41,7 @@ from __future__ import absolute_import
# Import python libs
import os
import copy
-import six.moves.http_client
+import six.moves.ht... | Added some more pylint disables to six changes | saltstack_salt | train | py,py |
58044e9f7dbc591d881e673a68a9a2088c4d5fe1 | diff --git a/src/Command/Handler/Registry/InMemoryCommandHandlerRegistry.php b/src/Command/Handler/Registry/InMemoryCommandHandlerRegistry.php
index <HASH>..<HASH> 100644
--- a/src/Command/Handler/Registry/InMemoryCommandHandlerRegistry.php
+++ b/src/Command/Handler/Registry/InMemoryCommandHandlerRegistry.php
@@ -22,7 ... | Added an exception message when command handler is not found. | rayrutjes_domain-foundation | train | php |
e9b76dda6519dda5008801aabddaf87b79f6a136 | diff --git a/lib/configuration.js b/lib/configuration.js
index <HASH>..<HASH> 100644
--- a/lib/configuration.js
+++ b/lib/configuration.js
@@ -102,13 +102,16 @@ function applyConfiguration(config) {
configuration.options = applyLoggingOptions(configuration.options);
- if (config.hooksData || config.options.b ||... | fix: don't make assumptions about the input 'config' object | apiaryio_dredd | train | js |
4127d02f00561b458398ce2b5ced7ae853b23227 | diff --git a/sos/archive.py b/sos/archive.py
index <HASH>..<HASH> 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -204,10 +204,10 @@ class FileCacheArchive(Archive):
def is_special(mode):
return any([
- stat.ISBLK(mode),
- stat.ISCHR(mode),
- stat... | [archive] fix stat typo
They're just missing the S_ in front of them so if that code gets
reached it fails.
Fixes: #<I>
Resolves: #<I> | sosreport_sos | train | py |
b431ce56a605a1a047dc77ea228db81401ed3e71 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ from os import path
here = path.abspath(path.dirname(__file__))
__author__ = 'Magnus Knutas'
-VERSION = '0.5.6'
+VERSION = '1.0.0'
# Arguments marked as "Required" below must be included for upload to PyP... | Breaking change, from now on this lib is async | kennedyshead_py-melissa-climate | train | py |
b18cf4cb85d393b6940d5ae0042009ecbd01c8d7 | diff --git a/nodes/uibuilder.js b/nodes/uibuilder.js
index <HASH>..<HASH> 100644
--- a/nodes/uibuilder.js
+++ b/nodes/uibuilder.js
@@ -283,7 +283,11 @@ function runtimeSetup() {
* since v2.0.0 2019-02-23 Moved from instance level (nodeInstance()) to module level
* since v3.3.0 2021-03-16 Allow independent E... | Wrap web.setup in try/catch and dump trace on error otherwise cannot trace the error. | TotallyInformation_node-red-contrib-uibuilder | train | js |
04fd5f76dbcb0d869279c4de8d60b3d363aa7a77 | diff --git a/http/source_service.go b/http/source_service.go
index <HASH>..<HASH> 100644
--- a/http/source_service.go
+++ b/http/source_service.go
@@ -226,7 +226,13 @@ func (h *SourceHandler) handleGetSourcesBuckets(w http.ResponseWriter, r *http.R
return
}
- bs, _, err := h.BucketService.FindBuckets(ctx, req.fi... | fix(http): fix invalid source buckets | influxdata_influxdb | train | go |
85ce0652385c4534ae52035833564cd32513b448 | diff --git a/base/MaterialIcons.php b/base/MaterialIcons.php
index <HASH>..<HASH> 100644
--- a/base/MaterialIcons.php
+++ b/base/MaterialIcons.php
@@ -2,7 +2,7 @@
namespace yii\materialicons\base;
-use yii\base\Object;
+use yii\base\BaseObject;
use yii\materialicons\component\Icon;
use yii\materialicons\componen... | Rename Object to BaseObject in YII <I> | mervick_yii2-material-design-icons | train | php |
08832261c1f7df55e784fe040fb096fd08899cdf | diff --git a/admin/code/CMSProfileController.php b/admin/code/CMSProfileController.php
index <HASH>..<HASH> 100644
--- a/admin/code/CMSProfileController.php
+++ b/admin/code/CMSProfileController.php
@@ -19,6 +19,7 @@ class CMSProfileController extends LeftAndMain {
$this->setCurrentPageID(Member::currentUserID());
... | Fixed merge errors in CMSProfileController | silverstripe_silverstripe-framework | train | php |
649d1646bcf36b77ba7b29adfa25c221275a4e15 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,5 +39,5 @@ setuptools.setup(
cffi_modules=cffi_modules,
packages=['aiortc', 'aiortc.codecs'],
setup_requires=['cffi'],
- install_requires=['aioice>=0.5.1', 'attrs', 'crcmod', 'cryptography>=2.2', 'pyee', ... | [package] raise required pylibsrtp version | aiortc_aiortc | train | py |
4b39a415b541e8fcfc15bd5aeba2664ea6073923 | diff --git a/Classes/Service/CompileService.php b/Classes/Service/CompileService.php
index <HASH>..<HASH> 100644
--- a/Classes/Service/CompileService.php
+++ b/Classes/Service/CompileService.php
@@ -94,6 +94,7 @@ class CompileService
'absolute' => $file,
],
... | [FEATURE] Enable compression of generated css files | benjaminkott_bootstrap_package | train | php |
8d6b59b0bd0db449fd673344f6290e0d99d3c864 | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -59,12 +59,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface... | bumped Symfony version to <I> | symfony_symfony | train | php |
5f82b4ed61924fbed3753d769e9c09b557d1aa0d | diff --git a/tests/test_contact.py b/tests/test_contact.py
index <HASH>..<HASH> 100644
--- a/tests/test_contact.py
+++ b/tests/test_contact.py
@@ -66,3 +66,6 @@ class TestContact(unittest.TestCase):
self.assertEqual(2, contact_list.totalCount)
self.assertEqual('https://rest.messagebird.com/contacts?of... | send a failing test to test CI | messagebird_python-rest-api | train | py |
e2f52a261c2c4fc8530bb01c868c341040cad1e5 | diff --git a/app/models/unidom/common/concerns/secure_column.rb b/app/models/unidom/common/concerns/secure_column.rb
index <HASH>..<HASH> 100644
--- a/app/models/unidom/common/concerns/secure_column.rb
+++ b/app/models/unidom/common/concerns/secure_column.rb
@@ -1,3 +1,5 @@
+##
+# Secure Column 提供定义加密列的方法。
module Unid... | 1, Improve the Secure Column concern for the document. | topbitdu_unidom-common | train | rb |
82e426a7ebb0011cc5b1344d4675299cd1994c78 | diff --git a/src/com/google/bitcoin/core/Transaction.java b/src/com/google/bitcoin/core/Transaction.java
index <HASH>..<HASH> 100644
--- a/src/com/google/bitcoin/core/Transaction.java
+++ b/src/com/google/bitcoin/core/Transaction.java
@@ -502,6 +502,8 @@ public class Transaction extends ChildMessage implements Serializ... | Print outpoint data in Transaction toString() output | bitcoinj_bitcoinj | train | java |
b586127da28bb3879c78fcf9c68f994816417be6 | diff --git a/tests/integration/modules/test_win_dns_client.py b/tests/integration/modules/test_win_dns_client.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_win_dns_client.py
+++ b/tests/integration/modules/test_win_dns_client.py
@@ -1,7 +1,3 @@
-# -*- coding: utf-8 -*-
-
-from __future__ import ab... | Drop Py2 and six on tests/integration/modules/test_win_dns_client.py | saltstack_salt | train | py |
490a1fecd291d15cf58d89277e7e36796b52d199 | diff --git a/src/Breadcrumbs.php b/src/Breadcrumbs.php
index <HASH>..<HASH> 100644
--- a/src/Breadcrumbs.php
+++ b/src/Breadcrumbs.php
@@ -329,7 +329,7 @@ class Breadcrumbs
*
* If set to `null`, the divider won't be printed at all.
*
- * @param string $divider
+ * @param string|null $divider
... | Allow null param in setDivider() type hint
This stops tools like phpstan from complaining | creitive_breadcrumbs | train | php |
a3dbe568e3ee78014507ff58b0c998f6c4b2f2ad | diff --git a/admin-ui/app/snippets/senders/sender.java b/admin-ui/app/snippets/senders/sender.java
index <HASH>..<HASH> 100644
--- a/admin-ui/app/snippets/senders/sender.java
+++ b/admin-ui/app/snippets/senders/sender.java
@@ -13,12 +13,7 @@ final UnifiedMessage unifiedMessage = UnifiedMessage.
sender.send(unifiedMess... | Adding support for new JAva Sender API | aerogear_aerogear-unifiedpush-server | train | java |
f0651239b61b1262c91686a497892c406708b1a8 | diff --git a/skyfield/positionlib.py b/skyfield/positionlib.py
index <HASH>..<HASH> 100644
--- a/skyfield/positionlib.py
+++ b/skyfield/positionlib.py
@@ -476,7 +476,6 @@ class Astrometric(ICRF):
bcrs_position = bcrs_position.reshape(shape)
bcrs_velocity = bcrs_velocity.reshape(shape)
... | Remove errant line from positionlib | skyfielders_python-skyfield | train | py |
e998af6ba1ae733dadb464f503dde7c854be4754 | diff --git a/lib/sanford/version.rb b/lib/sanford/version.rb
index <HASH>..<HASH> 100644
--- a/lib/sanford/version.rb
+++ b/lib/sanford/version.rb
@@ -1,3 +1,3 @@
module Sanford
- VERSION = "0.15.0"
+ VERSION = "0.15.1"
end | version to <I>
* Fix using an ip and port env vars (#<I>)
/cc @kellyredding | redding_sanford | train | rb |
f72fb19b0e167dcfc831c3dead0d60215211c272 | diff --git a/tests/helpers/CMTest/TH.php b/tests/helpers/CMTest/TH.php
index <HASH>..<HASH> 100644
--- a/tests/helpers/CMTest/TH.php
+++ b/tests/helpers/CMTest/TH.php
@@ -5,6 +5,7 @@ class CMTest_TH {
private static $timeDelta = 0;
private static $initialized = false;
private static $_configBackup;
+ private stat... | Added a new method getDbClient to CMTest_TH
- With singleton pattern
- Using CM_Db_Db's default client (master) | cargomedia_cm | train | php |
615d23a7f3a9c103b0ad10379ab70d2976f9f3bd | diff --git a/src/js/methods.js b/src/js/methods.js
index <HASH>..<HASH> 100644
--- a/src/js/methods.js
+++ b/src/js/methods.js
@@ -453,18 +453,22 @@
*/
getCanvasData: function () {
var canvas = this.canvas;
- var data;
+ var data = {};
if (this.built) {
- data = {
- ... | Export `naturalWidth/Height` with `getCanvasData` | fengyuanchen_cropper | train | js |
aa3b0f0e5d8b38af3203519d5e5cfd19ae94ef8e | diff --git a/public/jwlib/core/core.js b/public/jwlib/core/core.js
index <HASH>..<HASH> 100644
--- a/public/jwlib/core/core.js
+++ b/public/jwlib/core/core.js
@@ -1,5 +1,5 @@
/*!
- jWidget Lib 0.4.2.
+ jWidget Lib 0.5.
https://github.com/enepomnyaschih/jwidget/wiki
diff --git a/public/jwui/core.js b/public/jw... | Updated version to <I>. | enepomnyaschih_jwidget | train | js,js |
1753bb2d07edca24f823711f23b3f1cd912cb561 | diff --git a/src/ORM/ArrayLib.php b/src/ORM/ArrayLib.php
index <HASH>..<HASH> 100644
--- a/src/ORM/ArrayLib.php
+++ b/src/ORM/ArrayLib.php
@@ -75,28 +75,22 @@ class ArrayLib
}
/**
- * @todo Improve documentation
+ * Flattens a nested array to a one level array
*
- * @param array $arr
+ ... | Improved speed on the recursive array flattening | silverstripe_silverstripe-framework | train | php |
49b939daf219e6b6450a9db038ed4614fdb13629 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,6 @@ setup(
packages=find_packages(),
include_package_data=True,
license='MIT License',
- install_requires=["django>=1.7"],
classifiers=[
'Development Status :: 4 - Beta',
'En... | Removed django dependency as it can cause problems (eg.: unwanted django upgrade) | django-admin-tools_django-admin-tools | train | py |
e5a4860108d16db92b0001d543f7deda4f6106d4 | diff --git a/molgenis-data-import/src/main/java/org/molgenis/data/importer/ImportWriter.java b/molgenis-data-import/src/main/java/org/molgenis/data/importer/ImportWriter.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-import/src/main/java/org/molgenis/data/importer/ImportWriter.java
+++ b/molgenis-data-import/src/... | FIX EMX import mrefs in case mref is an Iterable | molgenis_molgenis | train | java |
86e8577599dd321984d3c4f9b80cf96966db2594 | diff --git a/question/type/calculated/questiontype.php b/question/type/calculated/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/calculated/questiontype.php
+++ b/question/type/calculated/questiontype.php
@@ -1979,7 +1979,7 @@ function qtype_calculated_find_formula_errors($formula) {
// Strip awa... | MDL-<I> Correcting expression by escaping ~ so that it is interpreted as a charracter | moodle_moodle | train | php |
b069a63b72ebac570b4dd681ab6e363a8c7bcd52 | diff --git a/src/Jaguar/AbstractCanvas.php b/src/Jaguar/AbstractCanvas.php
index <HASH>..<HASH> 100644
--- a/src/Jaguar/AbstractCanvas.php
+++ b/src/Jaguar/AbstractCanvas.php
@@ -415,7 +415,9 @@ abstract class AbstractCanvas implements CanvasInterface
protected function isValidFile($file)
{
if (!is_f... | Improved the message of invalidArgumentException when thrown from "fromFile" in AbstractCanvas so it shows the file path | hyyan_jaguar | train | php |
f5680b950d7e85cc06dbb9ad994b40f2d0de2208 | diff --git a/lib/hocho/host.rb b/lib/hocho/host.rb
index <HASH>..<HASH> 100644
--- a/lib/hocho/host.rb
+++ b/lib/hocho/host.rb
@@ -41,6 +41,10 @@ module Hocho
end
end
+ def ssh_name
+ properties[:ssh_name] || name
+ end
+
def run_list
properties[:run_list] || []
end
@@ -58,7 +6... | properties[:ssh_name] | sorah_hocho | train | rb |
b6966c6c488e0a6d3a01b276b68ba267eb0953cf | diff --git a/trunk/languagetool/query.py b/trunk/languagetool/query.py
index <HASH>..<HASH> 100644
--- a/trunk/languagetool/query.py
+++ b/trunk/languagetool/query.py
@@ -151,20 +151,28 @@ def buildList(filename):
def queryFiles(tokens, dir_name):
os.chdir(dir_name)
dir_contents = os.listdir(".")
+ dir_contents.so... | sort filenames, display file number | languagetool-org_languagetool | train | py |
d9f473e562175f7f4616c45b07a3a382b1928f10 | diff --git a/angr/osconf.py b/angr/osconf.py
index <HASH>..<HASH> 100644
--- a/angr/osconf.py
+++ b/angr/osconf.py
@@ -96,6 +96,7 @@ class PosixConf(OSConf):
s.store_mem(s.reg_expr('fs') + 0x08, s.se.BVV(dtv_base, 64), endness='Iend_LE') # dtv
s.store_mem(s.reg_expr('fs') + 0x10, s.se.BVV(0x12... | Initializing fs:<I> in osconf. | angr_angr | train | py |
2d3ce25e9aad1d581a13ce3135495241291bfb6d | diff --git a/oauth2.go b/oauth2.go
index <HASH>..<HASH> 100644
--- a/oauth2.go
+++ b/oauth2.go
@@ -145,7 +145,7 @@ func New(options ...Option) (*Flow, error) {
// access token. If set to "force" the user will always be prompted,
// and the code can be exchanged for a refresh token.
func (f *Flow) AuthCodeURL(state, ... | Don't mutate the authorization endpoint.
Flow should be reusable, Options object should not be
mutated by the calls performed on the flow. | golang_oauth2 | train | go |
cad7659e03c3d37895c29eafe04c435f19d6fc91 | diff --git a/tests/test_checker.py b/tests/test_checker.py
index <HASH>..<HASH> 100644
--- a/tests/test_checker.py
+++ b/tests/test_checker.py
@@ -100,12 +100,12 @@ class TestFileTermChecker(unittest.TestCase):
self.assertEqual(terms, set(), "Returns empty set if file is empty")
with open(self.file.... | if open file in binary mode, write in with binary string | michaelbrooks_twitter-monitor | train | py |
37facee9224013d3b162c391562db458ef41924e | diff --git a/grunt/bs-commonjs-generator.js b/grunt/bs-commonjs-generator.js
index <HASH>..<HASH> 100644
--- a/grunt/bs-commonjs-generator.js
+++ b/grunt/bs-commonjs-generator.js
@@ -8,7 +8,7 @@ module.exports = function generateCommonJSModule(grunt, srcFiles, destFilepath)
var destDir = path.dirname(destFilepath);... | bs-commonjs-generator.js: always use forward slashes in the require path.
Since `path.resolve` is using backslashes on Windows, we ended up with different files. Just replace those with forward slashes. | twbs_bootstrap | train | js |
9475f9aeeadd5052bdf1dc16c643c46b8b5fb6f4 | diff --git a/common/src/main/java/io/netty/util/internal/PlatformDependent.java b/common/src/main/java/io/netty/util/internal/PlatformDependent.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/internal/PlatformDependent.java
+++ b/common/src/main/java/io/netty/util/internal/PlatformDependent.ja... | Add a system property that disables Javassist | netty_netty | train | java |
f2cd588314a7e7da3b991eb224fd5f08ccccb5b4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
NAME = 'dynamic-rest'
DESCRIPTION = 'Adds Dynamic API support to Django REST Framework.'
URL = 'http://github.com/AltSchool/dynamic-rest'
-VERSION = '1.9.8'
+VERSION ... | bump major version number since py2 dropping change is breaking (#<I>) | AltSchool_dynamic-rest | train | py |
8fb5bb4880e5ca720d527e6661fb720b244b143c | diff --git a/src/main/java/com/spotify/sshagentproxy/DefaultIdentity.java b/src/main/java/com/spotify/sshagentproxy/DefaultIdentity.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/spotify/sshagentproxy/DefaultIdentity.java
+++ b/src/main/java/com/spotify/sshagentproxy/DefaultIdentity.java
@@ -24,7 +24,7 @@ imp... | Make DefaultIdentity public
So users can easily construct one for testing purposes | spotify_ssh-agent-proxy | train | java |
a4981b02b609120311d3657de040ddd3b8713654 | diff --git a/ctk_cli/module.py b/ctk_cli/module.py
index <HASH>..<HASH> 100644
--- a/ctk_cli/module.py
+++ b/ctk_cli/module.py
@@ -210,6 +210,7 @@ class CLIParameter(object):
"elements", # enumerationType
"coordinateSystem", # pointType
"fileExtensions", # fileType
... | add ‚reference‘ attribute for images
(might be necessary for other parameter types, such as transform,
geometry, or table as well) | commontk_ctk-cli | train | py |
2ecae0cd860bfbd72f36182dcc8c2ca7b5d820e8 | diff --git a/Grid/Source/Source.php b/Grid/Source/Source.php
index <HASH>..<HASH> 100755
--- a/Grid/Source/Source.php
+++ b/Grid/Source/Source.php
@@ -265,7 +265,7 @@ abstract class Source implements DriverInterface
if (!$dataIsNumeric) {
switch ($operator) {
... | Update Grid/Source/Source.php
There's probably a typo in regexp when filtering text values with eq operator | APY_APYDataGridBundle | train | php |
82427141085495dc43c265de230bb83e214204fe | diff --git a/lib/reporter.js b/lib/reporter.js
index <HASH>..<HASH> 100644
--- a/lib/reporter.js
+++ b/lib/reporter.js
@@ -473,7 +473,7 @@ function generate(options, callback) {
async function launchReport() {
if (fs.existsSync(options.output) && (options.launchReport || options.launchReport === 'true'))... | Fix for "exit immediate after opening the browser #<I>" (#<I>) | gkushang_cucumber-html-reporter | train | js |
d0bddbd3a7384a6d634f01a7bb824e8cc1329be2 | diff --git a/pyang/plugins/tree.py b/pyang/plugins/tree.py
index <HASH>..<HASH> 100644
--- a/pyang/plugins/tree.py
+++ b/pyang/plugins/tree.py
@@ -343,7 +343,7 @@ def print_node(s, module, fd, prefix, path, mode, depth, llen,
if s.i_module.i_modulename == module.i_modulename:
name = s.arg
else:
- ... | Emit module name (instead of prefix) for augmented nodes.
This will assist with determining the naming required for inputs
to json2xml. | mbj4668_pyang | train | py |
de4e6fea716055e83604a084a0aeb8b2781bf2ed | diff --git a/python/test/test_timeseries.py b/python/test/test_timeseries.py
index <HASH>..<HASH> 100644
--- a/python/test/test_timeseries.py
+++ b/python/test/test_timeseries.py
@@ -97,6 +97,22 @@ class TestTimeSeriesMethods(TimeSeriesTestCase):
result_true = (y - b_true) / (b_true + 0.1)
assert(allc... | added tests for 'window-fast' | thunder-project_thunder | train | py |
3a5fb6b6719e681d77815431d9674b81357e90fc | diff --git a/routes/onboarding.js b/routes/onboarding.js
index <HASH>..<HASH> 100644
--- a/routes/onboarding.js
+++ b/routes/onboarding.js
@@ -126,11 +126,21 @@ module.exports = function (app) {
));
passport.serializeUser(function(user, done) {
- done(null, user);
+ done(null, user.id);
}... | Only store the user's id in the session. | rickbergfalk_sqlpad | train | js |
02aa733c1b73b2c841ec59baad471355255a56d9 | diff --git a/pkg/backend/storage/fs/store_test.go b/pkg/backend/storage/fs/store_test.go
index <HASH>..<HASH> 100644
--- a/pkg/backend/storage/fs/store_test.go
+++ b/pkg/backend/storage/fs/store_test.go
@@ -2,11 +2,12 @@ package fs
import (
"context"
- "github.com/stretchr/testify/assert"
"io/ioutil"
"os"
"p... | Fixed import order using goimports (#<I>)
Keeps the import order clean and just avoids future merge conflicts. | gopasspw_gopass | train | go |
f42de9c66b9e8df28dc10b1d32a197990ec1a849 | diff --git a/salt/utils/pbm.py b/salt/utils/pbm.py
index <HASH>..<HASH> 100644
--- a/salt/utils/pbm.py
+++ b/salt/utils/pbm.py
@@ -145,3 +145,27 @@ def get_capability_definitions(profile_manager):
for cat in cap_categories:
cap_definitions.extend(cat.capabilityMetadata)
return cap_definitions
+
+
+de... | Added salt.utils.pbm.get_policies_by_id | saltstack_salt | train | py |
e74b530412a07e0cfc5df91c7c649e478299eafd | diff --git a/src/Entity/NumberLookup.php b/src/Entity/NumberLookup.php
index <HASH>..<HASH> 100644
--- a/src/Entity/NumberLookup.php
+++ b/src/Entity/NumberLookup.php
@@ -324,7 +324,7 @@ class NumberLookup extends AbstractEntity
/**
* @param array $numbers
*/
- public function setNumbers($numbers)
+... | Only accept arrays as sms recipients and number lookup numbers | twizoapi_lib-api-php | train | php,php |
3e977d27364df88c8a68affff9b6f182e0348ef8 | diff --git a/examples/events.js b/examples/events.js
index <HASH>..<HASH> 100644
--- a/examples/events.js
+++ b/examples/events.js
@@ -64,7 +64,9 @@ renderer.on('overNode', ({node}) => {
renderer.refresh();
});
-renderer.on('outNode', () => {
+renderer.on('outNode', ({node}) => {
+ console.log(node);
+
highli... | Correct node given on outNode | jacomyal_sigma.js | train | js,js |
b25b3466802d2d104157ec57db0f6f109e7f179c | diff --git a/lib/ext/fog.rb b/lib/ext/fog.rb
index <HASH>..<HASH> 100644
--- a/lib/ext/fog.rb
+++ b/lib/ext/fog.rb
@@ -20,13 +20,13 @@ class Fog::SSH::Real
channel.on_data do |ch, data|
result.stdout << data
- puts data
+ print data
end
... | Don't print extra lines on stdout | brandonhilkert_fucking_shell_scripts | train | rb |
0fed53d3d6b50a4a76e12c76ceb24e1a6230a9cd | diff --git a/lib/shikashi/privileges/exceptions.rb b/lib/shikashi/privileges/exceptions.rb
index <HASH>..<HASH> 100644
--- a/lib/shikashi/privileges/exceptions.rb
+++ b/lib/shikashi/privileges/exceptions.rb
@@ -22,8 +22,7 @@ module Shikashi
class Privileges
def allow_exceptions
allow_method :raise
- ... | list of privileges required for use of exception reduced to method "raise", and "backtrace", "set_backtrace" and "exception" over objects of class Exception | tario_shikashi | train | rb |
5e0f9209d3203f94a0627cbbb380cd6ca97de854 | diff --git a/plugins/Live/API.php b/plugins/Live/API.php
index <HASH>..<HASH> 100644
--- a/plugins/Live/API.php
+++ b/plugins/Live/API.php
@@ -424,7 +424,9 @@ class API extends \Piwik\Plugin\API
$orderByDir = "ASC";
}
- $visitLastActionDate = Date::factory($visitLastActionTime);
+ ... | refs #<I> take the sites timezone into consideration | matomo-org_matomo | train | php |
1bcd2b021e90adf91fe37d2cfaa14d7916bcdcdc | diff --git a/lib/SFTP/SFTPv3.js b/lib/SFTP/SFTPv3.js
index <HASH>..<HASH> 100644
--- a/lib/SFTP/SFTPv3.js
+++ b/lib/SFTP/SFTPv3.js
@@ -267,16 +267,16 @@ function fastXfer(src, dst, srcPath, dstPath, opts, cb) {
if (--left === 0)
cb(err);
};
+ if (srcfd)
+ ++left;
+ if (dstfd)... | SFTPv3: fix onerror for fast* methods | mscdex_ssh2 | train | js |
33228f8176fffc1de808d83790078d7f2d7e83fb | diff --git a/zhaquirks/linkind/__init__.py b/zhaquirks/linkind/__init__.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/linkind/__init__.py
+++ b/zhaquirks/linkind/__init__.py
@@ -4,17 +4,7 @@ import zigpy.types as t
from zigpy.zcl.clusters.general import Basic
-class LinkindLeakMode(t.enum8):
- """Linkind Leak ... | Revert linkind attrib enum (#<I>)
After testing again with change it didn't work | dmulcahey_zha-device-handlers | train | py |
04c8f2f991b4a3f11f545de1116aa77171fefc5b | diff --git a/src/ikpy/urdf/URDF.py b/src/ikpy/urdf/URDF.py
index <HASH>..<HASH> 100644
--- a/src/ikpy/urdf/URDF.py
+++ b/src/ikpy/urdf/URDF.py
@@ -117,7 +117,18 @@ def get_chain_from_joints(urdf_file, joints):
links = [_find_parent_link(root, j) for j in joints]
# Merge and interleave the `links` and `chain... | Use code as in Yoan's branch | Phylliade_ikpy | train | py |
4335c0912d7164d619b158853c8b9dfa5c6d3688 | diff --git a/test/vector-tile.test.js b/test/vector-tile.test.js
index <HASH>..<HASH> 100644
--- a/test/vector-tile.test.js
+++ b/test/vector-tile.test.js
@@ -174,7 +174,7 @@ describe('mapnik.VectorTile ', function() {
}
]
};
- vtile.addGeoJSON(JSON.stringify(geojson),"layer-name... | Remove unused buffer_size from addGeoJSON | mapnik_node-mapnik | train | js |
6e31abeb476ad8b38b74bc39330716762c9f4b1e | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -55,16 +55,16 @@ class Config extends AbstractConfig
* @since 0.1.0
* @since 0.1.6 Accepts a delimiter to parse configuration keys.
*
- * @param array|string $config Array wit... | $delimiter typehint in Config.php. Resolves #<I> | brightnucleus_config | train | php |
3602f1e401d0d430a5b7abd150c23e7ac02aa4ea | diff --git a/lib/xcode_build/build_action.rb b/lib/xcode_build/build_action.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode_build/build_action.rb
+++ b/lib/xcode_build/build_action.rb
@@ -11,7 +11,7 @@ module XcodeBuild
@steps_completed = []
@metadata = metadata
@started_at = Time.now
- super
+... | Leaving out the parens on super in <I> seems to pass up arguments, but not <I> | lukeredpath_xcodebuild-rb | train | rb |
cc23abf0f6abd5b3944aee105edd8e8d5ac17690 | diff --git a/php/class-plugin.php b/php/class-plugin.php
index <HASH>..<HASH> 100644
--- a/php/class-plugin.php
+++ b/php/class-plugin.php
@@ -42,11 +42,9 @@ class Plugin extends \Pimple {
return $environment;
};
- $this['hierarchy'] = $this->share(
- function () {
- return new Template_Hierarchy();
- ... | Removed outdated Pimple share call. | Rarst_meadow | train | php |
ba4a5d14365e2627a02e19d472b9fa389700a817 | diff --git a/webargs/core.py b/webargs/core.py
index <HASH>..<HASH> 100755
--- a/webargs/core.py
+++ b/webargs/core.py
@@ -299,16 +299,14 @@ class Parser(object):
if (isinstance(error, ma.exceptions.ValidationError) and not
isinstance(error, ValidationError)):
# Raise a webargs er... | ValidationError.fields was removed in marshmallow <I>b<I> | marshmallow-code_webargs | train | py |
9959069e9eda193ff571457cf05d8af1cbcd52f8 | diff --git a/src/main/java/water/fvec/Frame.java b/src/main/java/water/fvec/Frame.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/fvec/Frame.java
+++ b/src/main/java/water/fvec/Frame.java
@@ -47,6 +47,7 @@ public class Frame extends Iced {
public Vec [] remove( int [] idxs ) {
for(int i :idxs)if(i < ... | added sorting of indexes before removing them from a frame in Frame.remove(int[]). | h2oai_h2o-2 | train | java |
98a7359506985faddd13a21f5b9d8a1069341a9f | diff --git a/mod/wiki/db/mysql.php b/mod/wiki/db/mysql.php
index <HASH>..<HASH> 100644
--- a/mod/wiki/db/mysql.php
+++ b/mod/wiki/db/mysql.php
@@ -171,7 +171,7 @@ CREATE TABLE prefix_wiki_locks
lockedsince INT(10) NOT NULL DEFAULT 0,
lockedseen INT(10) NOT NULL DEFAULT 0,
PRIMARY KEY(id),
- UNIQUE KEY wiki_lo... | change from UNIQUE KEY to UNIQUE INDEX | moodle_moodle | train | php |
9e95333f0d2e6d9d950c2a7b4200d7d1a12c5e20 | diff --git a/test/test_distance.py b/test/test_distance.py
index <HASH>..<HASH> 100644
--- a/test/test_distance.py
+++ b/test/test_distance.py
@@ -5,7 +5,7 @@
import numpy as np
import pytest
-from pyphi import distance
+from pyphi import config, distance
def test_hamming_matrix():
@@ -124,6 +124,14 @@ def tes... | Test `big_phi_measure` | wmayner_pyphi | train | py |
4ad3e5df9bd73a7e9757abb4809a1b22232036db | diff --git a/Validators/BaseValidator.php b/Validators/BaseValidator.php
index <HASH>..<HASH> 100644
--- a/Validators/BaseValidator.php
+++ b/Validators/BaseValidator.php
@@ -34,6 +34,8 @@ class BaseValidator extends AbstractValidator {
*/
public function passes($action = null)
{
+ $this->data = ... | let validators to have sanitizer | SocietyCMS_Core | train | php |
adb117afe907f5683cde2b0db32cc2d8c0ef939c | diff --git a/lib/houston/roadmaps.rb b/lib/houston/roadmaps.rb
index <HASH>..<HASH> 100644
--- a/lib/houston/roadmaps.rb
+++ b/lib/houston/roadmaps.rb
@@ -19,16 +19,14 @@ module Houston
- add_navigation_renderer :roadmaps do
- name "Roadmaps"
- path { Houston::Roadmaps::Engine.routes.url_helpers.roadmaps_p... | [skip] Used Houston’s new DSL for extensions (5m) | houston_houston-roadmaps | train | rb |
c5444224538165ccabd005c5f7f50a4f4627a32a | diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb
index <HASH>..<HASH> 100644
--- a/src/ruby/ext/grpc/extconf.rb
+++ b/src/ruby/ext/grpc/extconf.rb
@@ -89,7 +89,7 @@ $CFLAGS << ' -Wno-return-type '
$CFLAGS << ' -Wall '
$CFLAGS << ' -pedantic '
-$LDFLAGS << ' -lgrpc -lgpr -ldl'
+$LDFLAGS << ' ... | Added zlib as a linker dep. for Ruby | grpc_grpc | train | rb |
542ac913639e5a28ec998a8c1f16a2aaaa51394c | diff --git a/lightadmin-core/src/main/java/org/lightadmin/core/rest/DynamicRepositoryRestController.java b/lightadmin-core/src/main/java/org/lightadmin/core/rest/DynamicRepositoryRestController.java
index <HASH>..<HASH> 100644
--- a/lightadmin-core/src/main/java/org/lightadmin/core/rest/DynamicRepositoryRestController.... | #<I> Image fields support: Improved scaling performance and MediaType identification | la-team_light-admin | train | java |
12ef2f8ca222ca5ffe191cbf0ebba12512157273 | diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/ext/utils.py
+++ b/pyrogram/client/ext/utils.py
@@ -463,7 +463,6 @@ def parse_messages(
duration=video_attributes.duration,
... | Fix video notes not having a file_name anymore | pyrogram_pyrogram | train | py |
837640b803531bb21b42d6bdddb9041e02236b4d | diff --git a/tests/src/main/java/org/hibernate/beanvalidation/tck/util/IntegrationTest.java b/tests/src/main/java/org/hibernate/beanvalidation/tck/util/IntegrationTest.java
index <HASH>..<HASH> 100644
--- a/tests/src/main/java/org/hibernate/beanvalidation/tck/util/IntegrationTest.java
+++ b/tests/src/main/java/org/hibe... | BVTCK-<I> Removing unnecessary @Constraint annotation from @IntegrationTest | beanvalidation_beanvalidation-tck | train | java |
b32092268b5fb8585950d711601c12ea6a395997 | diff --git a/modules/Collections/views/entry.php b/modules/Collections/views/entry.php
index <HASH>..<HASH> 100755
--- a/modules/Collections/views/entry.php
+++ b/modules/Collections/views/entry.php
@@ -304,7 +304,7 @@
this.fields.forEach(function(field){
- if (field.required && !$this.e... | ensure that when a required collection link is empty it will trigger an error | agentejo_cockpit | train | php |
88870cc13512ed43af26f80fc0fc4444e682f0ee | diff --git a/models/classes/websource/BaseWebsource.php b/models/classes/websource/BaseWebsource.php
index <HASH>..<HASH> 100644
--- a/models/classes/websource/BaseWebsource.php
+++ b/models/classes/websource/BaseWebsource.php
@@ -129,7 +129,7 @@ abstract class BaseWebsource extends Configurable implements Websource
... | fix: add additional mime type under which a js file can be identified (text/x-java) | oat-sa_tao-core | train | php |
7429ed383d5325c1dd4c50e1a58a662b5e04d143 | diff --git a/LiSE/rule.py b/LiSE/rule.py
index <HASH>..<HASH> 100644
--- a/LiSE/rule.py
+++ b/LiSE/rule.py
@@ -381,6 +381,10 @@ class RuleFollower(object):
for f in self._rulebook_listeners:
f(self, self._rulebook)
+ def _get_rulebook(self):
+ """Return my :class:`RuleBook` as of this ... | make the RuleFollower API a little clearer | LogicalDash_LiSE | train | py |
6fc33be9f4586121188c3bd60249cb29e2cfaea4 | diff --git a/spec/models/version_spec.rb b/spec/models/version_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/version_spec.rb
+++ b/spec/models/version_spec.rb
@@ -33,7 +33,7 @@ describe PaperTrail::Version do
end
describe :version_author do
- it { should respond_to(:terminator) }
+ ... | Fixing a typo on the version_spec | paper-trail-gem_paper_trail | train | rb |
78f32bcb002e5ea67324003ae5628057343785ba | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,4 +40,5 @@ setup(
platforms=['any'],
classifiers=CLASSIFIERS,
test_suite='mail_templated.test_utils.run.run_tests',
+ install_requires = ['django'],
) | Add Django to the requirements list in setup.py | artemrizhov_django-mail-templated | train | py |
a606822fffd7e2119aff7a50d1e731a08d6df0c9 | diff --git a/plugins/guests/windows/cap/rsync.rb b/plugins/guests/windows/cap/rsync.rb
index <HASH>..<HASH> 100644
--- a/plugins/guests/windows/cap/rsync.rb
+++ b/plugins/guests/windows/cap/rsync.rb
@@ -13,7 +13,11 @@ module VagrantPlugins
machine.communicate.tap do |comm|
# rsync does not const... | Change `mkdir` command on Windows for rsync
This corrects the `mkdir` command used by rsync on Windows to make sure
the destination directory exists before starting to sync. The old form
was correct on Linux but not on Windows, and it was just a coincidence
that the `-p` argument appeared to be work. | hashicorp_vagrant | train | rb |
c5eb776daab87d7e1770aac7766eee5197795252 | diff --git a/lib/reader/pandoc.js b/lib/reader/pandoc.js
index <HASH>..<HASH> 100644
--- a/lib/reader/pandoc.js
+++ b/lib/reader/pandoc.js
@@ -9,8 +9,6 @@ var convertBlocks = function (pandocBlocks, level) {
var blocks = [];
pandocBlocks.forEach(function (block) {
for (var prop in block) {
- if (!block.... | [pandoc] Remove check for inherited properties.
There shouldn't be any. | sheremetyev_texts.js | train | js |
b1401b82d82cc11d68d9277ee48b9782f1c78057 | diff --git a/js/binance.js b/js/binance.js
index <HASH>..<HASH> 100644
--- a/js/binance.js
+++ b/js/binance.js
@@ -626,8 +626,19 @@ module.exports = class binance extends Exchange {
}
let id = this.safeString (order, 'orderId');
let type = this.safeString (order, 'type');
- if (typeof ... | added a workaround for binance market price fix #<I> #<I> #<I> #<I> | ccxt_ccxt | train | js |
ba9b05a323f49209aceb55d38eef932a86dc9f21 | diff --git a/state/machine.go b/state/machine.go
index <HASH>..<HASH> 100644
--- a/state/machine.go
+++ b/state/machine.go
@@ -2198,6 +2198,16 @@ func (m *Machine) AgentStartTime() time.Time {
return m.doc.AgentStartedAt
}
+// AssertAliveOp returns an assert-only transaction operation
+// that ensures the machine ... | Adds AssertAliveOp to state.Machine for inclusion in transactions not
directly manipulating the machines collection, but needing to assert
that the machine is alive. | juju_juju | train | go |
4bab607d1b24605be31e57a493c9c41e48761013 | diff --git a/lib/swag_dev/project/tools/process_locker.rb b/lib/swag_dev/project/tools/process_locker.rb
index <HASH>..<HASH> 100644
--- a/lib/swag_dev/project/tools/process_locker.rb
+++ b/lib/swag_dev/project/tools/process_locker.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require 'swag_dev/project/tools'
+r... | process_locker (tools) require_relative instead of require | SwagDevOps_kamaze-project | train | rb |
96f0f86272c54bd325ddf890266e07353ace9db6 | diff --git a/pymatgen/symmetry/analyzer.py b/pymatgen/symmetry/analyzer.py
index <HASH>..<HASH> 100644
--- a/pymatgen/symmetry/analyzer.py
+++ b/pymatgen/symmetry/analyzer.py
@@ -14,7 +14,6 @@ from math import sin
from fractions import Fraction
import numpy as np
-from numpy.linalg import matrix_power, multi_dot
... | bugfix from unused import (#<I>) | materialsproject_pymatgen | train | py |
c8b27735e32f0b3ccadee140ece221545bb062b5 | diff --git a/lib/epub/searcher/result.rb b/lib/epub/searcher/result.rb
index <HASH>..<HASH> 100644
--- a/lib/epub/searcher/result.rb
+++ b/lib/epub/searcher/result.rb
@@ -41,21 +41,6 @@ module EPUB
@parent_steps, @start_steps, @end_steps = parent_steps, start_steps, end_steps
end
- def to_xpath_a... | Remove Searcher::Result#to_xpath_and_offset | KitaitiMakoto_epub-parser | train | rb |
a43e8d28b7c85bcff20119de2b0c384a9853a50e | diff --git a/src/resource-type.js b/src/resource-type.js
index <HASH>..<HASH> 100644
--- a/src/resource-type.js
+++ b/src/resource-type.js
@@ -14,7 +14,7 @@ export class ResourceType {
* @return {Promise} Returns a promise for itself, resolving when all dependent resources are loaded.
*/
load(container, target... | fix(ResourceType): fix load to return Promise
the load method is supposed to return a promise that resolves to the object, not the object itself | aurelia_metadata | train | js |
e73136b939f7f4009ae2809f29a2c5a119036474 | diff --git a/src/segment/InactiveSubscriptionCriteria.php b/src/segment/InactiveSubscriptionCriteria.php
index <HASH>..<HASH> 100644
--- a/src/segment/InactiveSubscriptionCriteria.php
+++ b/src/segment/InactiveSubscriptionCriteria.php
@@ -56,7 +56,7 @@ class InactiveSubscriptionCriteria implements CriteriaInterface
... | Bugfixing lost condition in InactiveSubscriptionCriteria | remp2020_crm-subscriptions-module | train | php |
9be6201a58dfa788515a04c43f4d641becbbcd22 | diff --git a/Bouncer.php b/Bouncer.php
index <HASH>..<HASH> 100644
--- a/Bouncer.php
+++ b/Bouncer.php
@@ -211,10 +211,14 @@ class Bouncer
protected static function getHeaders($keys = array())
{
if (!is_callable('getallheaders')) {
+ // from http://www.php.net/manual/en/function.getallhead... | rework getheaders method for php cgi | znarf_bouncer | train | php |
f75dc97b1bdb107b17a14fbc910af31a10043a9e | diff --git a/jquery.barrating.js b/jquery.barrating.js
index <HASH>..<HASH> 100644
--- a/jquery.barrating.js
+++ b/jquery.barrating.js
@@ -85,16 +85,26 @@
event.preventDefault();
- $all.removeClass('active selected current');
- $a.addClass('sele... | allow user to deselect rating by clicking on selected element | antennaio_jquery-bar-rating | train | js |
9e943a199ca0bc0b46d6657895538b19f173b35c | diff --git a/modeshape-performance-tests/src/test/java/org/modeshape/test/performance/InMemoryPerformanceTest.java b/modeshape-performance-tests/src/test/java/org/modeshape/test/performance/InMemoryPerformanceTest.java
index <HASH>..<HASH> 100644
--- a/modeshape-performance-tests/src/test/java/org/modeshape/test/perfor... | MODE-<I> Removed inappropriate @Override annotation. | ModeShape_modeshape | train | java |
9b4adcf52d4f354a7bb656010a67435ad2b69836 | diff --git a/poetry/puzzle/provider.py b/poetry/puzzle/provider.py
index <HASH>..<HASH> 100644
--- a/poetry/puzzle/provider.py
+++ b/poetry/puzzle/provider.py
@@ -585,8 +585,6 @@ class Provider:
duplicates[dep.name].append(dep)
- print(package)
- print(duplicates)
dependencies = ... | Remove print statements (#<I>) | sdispater_poetry | train | py |
983b34291d048069c90dd6f24b32a34894f9bbce | diff --git a/builtin/providers/google/resource_compute_instance_group_manager_test.go b/builtin/providers/google/resource_compute_instance_group_manager_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/google/resource_compute_instance_group_manager_test.go
+++ b/builtin/providers/google/resource_compute_inst... | provider/google: fix InstanceGroupManager CheckDestroy in tests
Nil check was just backwards. Vetted by comparing to other tests with
similar CheckDestroy implementations | hashicorp_terraform | train | go |
557946aafc9807b474a4f6d095d36774649ccb57 | diff --git a/storm/web.py b/storm/web.py
index <HASH>..<HASH> 100644
--- a/storm/web.py
+++ b/storm/web.py
@@ -31,7 +31,7 @@ def index():
@app.route('/list', methods=['GET'])
def list_keys():
- return response(json.dumps(storm_.list_entries(True)))
+ return response(json.dumps(storm_.list_entries(True, only_s... | update storm-web for getting `only servers` on list. | emre_storm | train | py |
d12f7241c083092dcbb5716a7bfa092c131272ca | diff --git a/bin/php-cs-fixer-config.php b/bin/php-cs-fixer-config.php
index <HASH>..<HASH> 100644
--- a/bin/php-cs-fixer-config.php
+++ b/bin/php-cs-fixer-config.php
@@ -45,7 +45,6 @@ return
'phpdoc_no_access',
'phpdoc_no_package',
'phpdoc_scalar',
- 'phpdoc_short_desc... | While I agree with this rule, this will generate ridiculous diffs.
And a missing full-stop is not the worst thing in the world.
Updates #7 | sabre-io_cs | train | php |
d21805b5dfbdf4f6874f1ce5adfda0f43f3f40d9 | diff --git a/yahooscraper/login.py b/yahooscraper/login.py
index <HASH>..<HASH> 100644
--- a/yahooscraper/login.py
+++ b/yahooscraper/login.py
@@ -4,7 +4,6 @@ Login page
import requests
from bs4 import BeautifulSoup
-#adds support for python 2.7
try:
from urllib.parse import urljoin
except ImportError: | Strip comment about Python <I> compatibility
This code is idiomatic Python for supporting importing packages renamed
between Python 2 and Python 3:
<URL> | jbrudvik_yahooscraper | train | py |
9f66bc1db269ff700a723851c22fbf2be748d09a | diff --git a/src/Payum/Core/Bridge/Symfony/Action/GetHttpRequestAction.php b/src/Payum/Core/Bridge/Symfony/Action/GetHttpRequestAction.php
index <HASH>..<HASH> 100644
--- a/src/Payum/Core/Bridge/Symfony/Action/GetHttpRequestAction.php
+++ b/src/Payum/Core/Bridge/Symfony/Action/GetHttpRequestAction.php
@@ -21,6 +21,7 @@... | Add deprecated docblock | Payum_Payum | train | php,php |
e840a7c54d3d8b5be2db1e66f34a5368c64fc3f7 | diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index <HASH>..<HASH> 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -48,7 +48,7 @@ from typing import (
from astroid import nodes
from astroid._ast import ParserModule, get_parser_module, parse_function_type_comment
-from astroid.const import... | Remove unused code - TreeRebuilder docstring (#<I>) | PyCQA_astroid | train | py |
0b908dace37a5008ceb32df2e2416c5e02d3c293 | diff --git a/src/renderer/map/Renderer.Map.Canvas.js b/src/renderer/map/Renderer.Map.Canvas.js
index <HASH>..<HASH> 100644
--- a/src/renderer/map/Renderer.Map.Canvas.js
+++ b/src/renderer/map/Renderer.Map.Canvas.js
@@ -164,8 +164,10 @@ Z.renderer.map.Canvas = Z.renderer.map.Renderer.extend(/** @lends Z.renderer.map
... | fixed dom renderer's transforming | maptalks_maptalks.js | train | js |
9f5a4bd709f9bcc0bd8f27ec7719e62eed9490ca | diff --git a/phoebe/algorithms/marching.py b/phoebe/algorithms/marching.py
index <HASH>..<HASH> 100644
--- a/phoebe/algorithms/marching.py
+++ b/phoebe/algorithms/marching.py
@@ -887,7 +887,7 @@ def discretize(delta=0.1, max_triangles=None, potential='BinaryRoche', *args):
omega[i] = (atan2(zeta2, eta2)-a... | Tolerance 1e-3 attempted. | phoebe-project_phoebe2 | train | py |
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.