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 |
|---|---|---|---|---|---|
6a85b20c3fd8305cad69f82427ffbc96469dfbce | diff --git a/drivers/ris.php b/drivers/ris.php
index <HASH>..<HASH> 100644
--- a/drivers/ris.php
+++ b/drivers/ris.php
@@ -117,7 +117,7 @@ class RefLib_ris {
$ref = array('type' => strtolower($match[1]));
$rawref = array();
- preg_match_all('!^([A-Z]{2}) - (.*)$!m', $match[2], $rawrefextracted, PREG_SET_OR... | Corrected extraction regex
The regex didn’t pull tags with numbers (e.g., `T1`, the title). | hash-bang_RefLib | train | php |
ef2ff08bff15599c06cf98e00a1678cfc109e00c | diff --git a/lib/node_modules/@stdlib/repl/presentation/lib/main.js b/lib/node_modules/@stdlib/repl/presentation/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/repl/presentation/lib/main.js
+++ b/lib/node_modules/@stdlib/repl/presentation/lib/main.js
@@ -1120,13 +1120,17 @@ setNonEnumerableReadO... | Fix presentation alignment when not automatically clearing screen | stdlib-js_stdlib | train | js |
1f897ae67933e9819753ee03dc113ff25fadc429 | diff --git a/tornado/curl_httpclient.py b/tornado/curl_httpclient.py
index <HASH>..<HASH> 100644
--- a/tornado/curl_httpclient.py
+++ b/tornado/curl_httpclient.py
@@ -268,7 +268,7 @@ class CurlAsyncHTTPClient(AsyncHTTPClient):
info["callback"](HTTPResponse(
request=info["request"], code=co... | Fixes based on code review.
Don't fall through if regex doesn't match.
Use 'X-HTTP-Reason' instead of 'Reason'. | tornadoweb_tornado | train | py |
23509837148246af9cc9374ce64021d0b6c3a9ad | diff --git a/java/org.cohorte.herald.core/src/main/java/org/cohorte/herald/core/utils/MessageUtils.java b/java/org.cohorte.herald.core/src/main/java/org/cohorte/herald/core/utils/MessageUtils.java
index <HASH>..<HASH> 100644
--- a/java/org.cohorte.herald.core/src/main/java/org/cohorte/herald/core/utils/MessageUtils.jav... | adding supresswarning annotation for unchecked code | cohorte_cohorte-herald | train | java |
6c8d583cb35585049d18adff927029e023f3b89f | diff --git a/src/main/java/org/metacsp/sensing/Sensor.java b/src/main/java/org/metacsp/sensing/Sensor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/metacsp/sensing/Sensor.java
+++ b/src/main/java/org/metacsp/sensing/Sensor.java
@@ -112,8 +112,14 @@ public class Sensor implements Serializable {
return ret;... | Added hashcode method for posted sensor values in class Sensor | FedericoPecora_meta-csp-framework | train | java |
6c71391a4e1559450abf38657f14d05474a5cb3f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ _doc_requires = [
'sphinx-better-theme'
]
-if sys.version_info[:2] <= (3, 4):
+if sys.version_info[:2] < (3, 4):
# only depend on enum34 and singledispatch if Python is older than 3.4
_requires... | only older not equals
we do not want to depend on these if python is version <I>
we only want to depend on these if python is older than <I>
delete the equals. | SecurityInnovation_PGPy | train | py |
748c691a09ed2f30bc4297788c71147836caaea8 | diff --git a/tests/iDimensionz/SendGridWebApiV3/Api/ApiUnitTestAbstract.php b/tests/iDimensionz/SendGridWebApiV3/Api/ApiUnitTestAbstract.php
index <HASH>..<HASH> 100644
--- a/tests/iDimensionz/SendGridWebApiV3/Api/ApiUnitTestAbstract.php
+++ b/tests/iDimensionz/SendGridWebApiV3/Api/ApiUnitTestAbstract.php
@@ -28,6 +28,... | Ignore ApiUnitTestAbstract from code coverage analysis | idimensionz_sendgrid-webapi-v3-php | train | php |
539275141dd3a4efbbbfd9bdb978f3ed59e3f05d | diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/Marshallers.py
+++ b/hdf5storage/Marshallers.py
@@ -529,6 +529,7 @@ class NumpyScalarArrayMarshaller(TypeMarshaller):
np.float16, np.float32, np.float64,
np.co... | Fixed small bug in NumpyScalarArrayMarshallers where a list that is modified by inheriting classes was used to check if something was a handled numpy type. | frejanordsiek_hdf5storage | train | py |
643c09a28e170ea02d4d3c0ce81814e9183f7eac | diff --git a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php b/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php
+++ b/src/Symfony/Bundle/DoctrineBundle/Dep... | [DoctrineBundle] Tabs to spaces | symfony_symfony | train | php |
b7cf2a2575995b1c5966e8b0c079381f2c9cde84 | diff --git a/src/Service/ProducerManager.php b/src/Service/ProducerManager.php
index <HASH>..<HASH> 100644
--- a/src/Service/ProducerManager.php
+++ b/src/Service/ProducerManager.php
@@ -48,7 +48,8 @@ class ProducerManager
Loop::defer(function () use ($producer) {
if ($producer instanceof ... | Avoid repeat producers to be called before previous is finished | webgriffe_esb | train | php |
4aa58f1c14daa3bab264e1968beb25a5cdb17234 | diff --git a/packages/ember-template-compiler/lib/system/compile-options.js b/packages/ember-template-compiler/lib/system/compile-options.js
index <HASH>..<HASH> 100644
--- a/packages/ember-template-compiler/lib/system/compile-options.js
+++ b/packages/ember-template-compiler/lib/system/compile-options.js
@@ -10,8 +10,... | [Bugfix Beta] Don't delete moduleName from options | emberjs_ember.js | train | js |
9ede0a548dc2341d147ed0a283c01006539e6a8d | diff --git a/src/MediaCollections/FileAdder.php b/src/MediaCollections/FileAdder.php
index <HASH>..<HASH> 100644
--- a/src/MediaCollections/FileAdder.php
+++ b/src/MediaCollections/FileAdder.php
@@ -123,9 +123,9 @@ class FileAdder
throw UnknownType::create();
}
- public function preservingOriginal():... | Update FileAdder.php (#<I>)
With this little one you avoid having to make:
if($preserveOriginal){
return $this
->addMedia($file)
->usingName($name)
->preservingOriginal()
->toMediaCollection($collection_name);
}
... | spatie_laravel-medialibrary | train | php |
e8752b37578ffdd910a82ef1dec57c80cfc1b809 | diff --git a/code/MemberProfilePage.php b/code/MemberProfilePage.php
index <HASH>..<HASH> 100644
--- a/code/MemberProfilePage.php
+++ b/code/MemberProfilePage.php
@@ -788,7 +788,7 @@ class MemberProfilePage_Controller extends Page_Controller {
if ($groups) foreach ($groups as $group) {
foreach ($group->Membe... | Fix a typo in approval member email | symbiote_silverstripe-memberprofiles | train | php |
34d32aab4571f38d7ce3b143d6db6b349dd5e416 | diff --git a/tests/Rct567/DomQuery/Tests/DomQueryTest.php b/tests/Rct567/DomQuery/Tests/DomQueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Rct567/DomQuery/Tests/DomQueryTest.php
+++ b/tests/Rct567/DomQuery/Tests/DomQueryTest.php
@@ -307,6 +307,18 @@ class DomQueryTest extends \PHPUnit\Framework\TestCase
}
... | add test for to and from array of nodes | Rct567_DomQuery | train | php |
ce609c5f50dcfcad901b2bf1e1df4e9472e0ae46 | diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py
index <HASH>..<HASH> 100644
--- a/dvc/command/data_sync.py
+++ b/dvc/command/data_sync.py
@@ -52,9 +52,6 @@ class CmdDataStatus(CmdBase):
with DvcLock(self.is_locker, self.git):
status = self.cloud.status(self.parsed_args.targets, se... | status: don't return 1 if len(statuses) != len(targets)
Number of targets from command line doesn't have to match
number of actual files that we've processed, as it may as
well be a directory.
Fixes #<I> | iterative_dvc | train | py |
ede15c602ec79971b9372eddeb9e0ad3f649b4b1 | diff --git a/bin/browsertimeWebPageReplay.js b/bin/browsertimeWebPageReplay.js
index <HASH>..<HASH> 100755
--- a/bin/browsertimeWebPageReplay.js
+++ b/bin/browsertimeWebPageReplay.js
@@ -76,7 +76,7 @@ async function runBrowsertime() {
const btOptions = merge({}, parsed.argv.browsertime, defaultConfig);
browsertim... | Using WebPagReplay and --mobile didn't set mobile settings correctly (#<I>) | sitespeedio_sitespeed.io | train | js |
f9856c62600bb572be1227d99549a106531dd1da | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -36,6 +36,14 @@ function makeOnDragOver (elem, ondragover) {
return function (e) {
e.stopPropagation()
e.preventDefault()
+ if (e.dataTransfer.items) {
+ // Only add "drag" class when `items` contains a fi... | dragover: Only add "drag" class when `items` contains a file | feross_drag-drop | train | js |
b5ccdddfc928bbbc2b813e581299ad3cb9336cb4 | diff --git a/lib/commander/runner.rb b/lib/commander/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/commander/runner.rb
+++ b/lib/commander/runner.rb
@@ -328,7 +328,6 @@ module Commander
# again for the command.
def remove_global_options(options, args)
- # TODO: refactor with flipflop, please TJ ! hav... | Fix global option code to preserve double dash | commander-rb_commander | train | rb,rb |
5b6ad9cef993b86e3854ba0c4cb0bcee34b99c1c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -60,9 +60,9 @@ setup(
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: ... | Updating setup.py with python version. | slightlynybbled_tk_tools | train | py |
6216137d2267fb802ae9151cd138b9e74f1e8b45 | diff --git a/lib/aruba/api.rb b/lib/aruba/api.rb
index <HASH>..<HASH> 100644
--- a/lib/aruba/api.rb
+++ b/lib/aruba/api.rb
@@ -298,7 +298,7 @@ module Aruba
end
end
- DEFAULT_TIMEOUT_SECONDS = 5
+ DEFAULT_TIMEOUT_SECONDS = 8
def exit_timeout
@aruba_timeout_seconds || DEFAULT_TIMEOUT_SEC... | jruby is really slower than I expected, so increasing to 8 seconds | cucumber_aruba | train | rb |
2851c6394cc372e6a221d9921cc139a959f560a4 | diff --git a/stdeb/util.py b/stdeb/util.py
index <HASH>..<HASH> 100644
--- a/stdeb/util.py
+++ b/stdeb/util.py
@@ -550,7 +550,9 @@ class DebianInfo:
build_deps.extend( [
'python-all-dev',
'debhelper (>= 7)',
- 'python-support (>= 0.5.3)',
+ 'python-support (>= 1... | increase version of python-support required to handle namespace packages | astraw_stdeb | train | py |
6d469a9a61f63aed39910eed9a5c57c01084ff75 | diff --git a/lib/fog/core/scp.rb b/lib/fog/core/scp.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/core/scp.rb
+++ b/lib/fog/core/scp.rb
@@ -66,11 +66,11 @@ module Fog
@options = { :paranoid => false }.merge(options)
end
- def upload(local_path, remote_path, upload_options = {})
+ def upload(... | Use passed blocks to handle scp callbacks. | fog_fog | train | rb |
96aaa0cd5cd8d2bc8dafcf402a893fe9f8759192 | diff --git a/lib/id3tag/frames/v2/frame_fabricator.rb b/lib/id3tag/frames/v2/frame_fabricator.rb
index <HASH>..<HASH> 100644
--- a/lib/id3tag/frames/v2/frame_fabricator.rb
+++ b/lib/id3tag/frames/v2/frame_fabricator.rb
@@ -20,7 +20,7 @@ module ID3Tag
case @id
when /^(TCON|TCO)$/
Genr... | Bugfix: <I> user text frames are properly recognised | krists_id3tag | train | rb |
855362b0178f23001398cecd8a6bd196bbc9b0c1 | diff --git a/src/org/opencms/cmis/CmsCmisResourceHelper.java b/src/org/opencms/cmis/CmsCmisResourceHelper.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/cmis/CmsCmisResourceHelper.java
+++ b/src/org/opencms/cmis/CmsCmisResourceHelper.java
@@ -472,6 +472,9 @@ public class CmsCmisResourceHelper implements I_CmsCm... | Changed name for root folder in CMIS repository code. | alkacon_opencms-core | train | java |
0a01aeb440843ce2d6d1f793f6f6dda83e4e7aa5 | diff --git a/src/Pazuzu156/Gravatar/Laravel/GravatarServiceProvider.php b/src/Pazuzu156/Gravatar/Laravel/GravatarServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Pazuzu156/Gravatar/Laravel/GravatarServiceProvider.php
+++ b/src/Pazuzu156/Gravatar/Laravel/GravatarServiceProvider.php
@@ -25,7 +25,7 @@ class Grava... | Updated to support Laravel <I> | pazuzu156_Gravatar | train | php |
08dbe85c57ace4ea59456a951d2129fe55fb8f91 | diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/aptpkg.py
+++ b/salt/modules/aptpkg.py
@@ -1802,6 +1802,10 @@ def mod_repo(repo, saltenv='base', **kwargs):
elif 'key_url' in kwargs:
key_url = kwargs['key_url']
fn_ = __salt__['cp.cache_fi... | aptpkg.mod_repo: Raise when key_url doesn't exist
_cmd_quote would raise with unexplicit error if _fn = False | saltstack_salt | train | py |
5f0fe8fd38382f122d3a78b68f2a6799833d8c83 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,9 +35,9 @@ CLASSIFIERS = [
'Programming Language :: Python :: 2.7'
]
-SUMMARY = "Digital Ocean API v2 with SSH integration"
+DESCRIPTION = "Digital Ocean API v2 with SSH integration"
-DESCRIPTION = """
+LONG_DESC... | CLN: fix long description and description in setup | changhiskhan_poseidon | train | py |
78a70bc22d663f56d3d39b89a3b94ebd59e54726 | diff --git a/lib/instana/backend/host_agent_activation_observer.rb b/lib/instana/backend/host_agent_activation_observer.rb
index <HASH>..<HASH> 100644
--- a/lib/instana/backend/host_agent_activation_observer.rb
+++ b/lib/instana/backend/host_agent_activation_observer.rb
@@ -12,7 +12,7 @@ module Instana
# @para... | Wait <I> seconds between announce attempts | instana_ruby-sensor | train | rb |
f8675fb1ce3e2fa07a9e4eac53b31de1cebe9585 | diff --git a/lib/pbxProject.js b/lib/pbxProject.js
index <HASH>..<HASH> 100644
--- a/lib/pbxProject.js
+++ b/lib/pbxProject.js
@@ -1447,6 +1447,7 @@ function pbxCopyFilesBuildPhaseObj(obj, folderType, subfolderPath, phaseName){
command_line_tool: 'wrapper',
dynamic_library: 'products_directory',
... | pbxProject: pbxCopyFilesBuildPhaseObj missing 'frameworks'
Previously there was no way to access SUBFOLDERSPEC_BY_DESTINATION.frameworks | apache_cordova-node-xcode | train | js |
cb912dfa490eb6db6ac383ce6451ca4f1cd8a683 | diff --git a/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb b/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb
+++ b/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb
@@ -12,6 ... | Fixes #<I> - Remove katello api base url for... (#<I>)
for host bulk actions | Katello_katello | train | rb |
5ebab3a4d1bdc395c755e20bb38fa9d43671e05b | diff --git a/go/vt/vttablet/tabletserver/state_manager_test.go b/go/vt/vttablet/tabletserver/state_manager_test.go
index <HASH>..<HASH> 100644
--- a/go/vt/vttablet/tabletserver/state_manager_test.go
+++ b/go/vt/vttablet/tabletserver/state_manager_test.go
@@ -270,6 +270,16 @@ func TestStateManagerTransitionFailRetry(t *... | vttablet: address review comments | vitessio_vitess | train | go |
f991e75481e60e6c18a066e3cc617f169213d097 | diff --git a/raiden/network/transport/matrix/utils.py b/raiden/network/transport/matrix/utils.py
index <HASH>..<HASH> 100644
--- a/raiden/network/transport/matrix/utils.py
+++ b/raiden/network/transport/matrix/utils.py
@@ -122,11 +122,11 @@ class UserAddressManager:
self._reset_state()
@property
- de... | PR review
`set` is a better type than `list` for the dictionary keys since these
are unique. | raiden-network_raiden | train | py |
c75b0c1d2b91d6101d6527b8c24fee2d0234b4ab | diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -209,11 +209,15 @@ public class NodeCmd
*/
public void ... | Fix NPE in nodetool when gossip isn't initialized.
Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
78114739ea3f82e3f313358168af37f97785bcce | diff --git a/lib/rib/core/strip_backtrace.rb b/lib/rib/core/strip_backtrace.rb
index <HASH>..<HASH> 100644
--- a/lib/rib/core/strip_backtrace.rb
+++ b/lib/rib/core/strip_backtrace.rb
@@ -18,10 +18,9 @@ module Rib::StripBacktrace
["#{err.class}: #{err.message}", format_backtrace(err.backtrace)]
end
-
-
modu... | don't strip backstrace if disabled | godfat_rib | train | rb |
a2f4ba2caa5dff1aa68e75ad4ce69c8362d1f95e | diff --git a/app/src/Middleware/PageConfig.php b/app/src/Middleware/PageConfig.php
index <HASH>..<HASH> 100644
--- a/app/src/Middleware/PageConfig.php
+++ b/app/src/Middleware/PageConfig.php
@@ -11,13 +11,16 @@ class PageConfig extends Middleware
{
$pageName = $request->getAttribute('route')->getName();
... | fixed page configs to support multiple groups | dappur_framework | train | php |
4198264b420d37796f5bf6058ebd54509a98b15f | diff --git a/analytics-core/src/main/java/com/segment/analytics/IntegrationManager.java b/analytics-core/src/main/java/com/segment/analytics/IntegrationManager.java
index <HASH>..<HASH> 100644
--- a/analytics-core/src/main/java/com/segment/analytics/IntegrationManager.java
+++ b/analytics-core/src/main/java/com/segment... | Log how many integrations an operation is run on | segmentio_analytics-android | train | java |
3152b64f5fb1441a68cd353d0bd997f98ff78315 | diff --git a/openfisca_survey_manager/surveys.py b/openfisca_survey_manager/surveys.py
index <HASH>..<HASH> 100644
--- a/openfisca_survey_manager/surveys.py
+++ b/openfisca_survey_manager/surveys.py
@@ -37,8 +37,11 @@ from ConfigParser import SafeConfigParser
import logging
from pandas import HDFStore
from pandas.li... | Introduce a try for rpy2 | openfisca_openfisca-survey-manager | train | py |
516d78922ef3c24fb5008c229c02a314b19ee6dc | diff --git a/lib/bumper_pusher/version.rb b/lib/bumper_pusher/version.rb
index <HASH>..<HASH> 100644
--- a/lib/bumper_pusher/version.rb
+++ b/lib/bumper_pusher/version.rb
@@ -1,3 +1,3 @@
module BumperPusher
- VERSION = "0.1.19"
+ VERSION = "0.2.0"
end | Update gemspec to version <I> | skywinder_bumper_pusher | train | rb |
b256c17d22ad97c9e8933e00c427841dffb244c1 | diff --git a/tests/system/Files/FileTest.php b/tests/system/Files/FileTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Files/FileTest.php
+++ b/tests/system/Files/FileTest.php
@@ -32,7 +32,7 @@ class FileTest extends \CIUnitTestCase {
*/
public function testThrowsExceptionIfNotAFile()
{
- $file = new Fil... | Fixed the file test with exception file not found. (allowing it to verify if the file exist) | codeigniter4_CodeIgniter4 | train | php |
625b51d4e087073741962c8488f7f0c3f55f811f | diff --git a/admin/blocks.php b/admin/blocks.php
index <HASH>..<HASH> 100644
--- a/admin/blocks.php
+++ b/admin/blocks.php
@@ -63,9 +63,6 @@
print_error('blockdoesnotexist', 'error');
}
- if (!block_is_compatible($block->name)) {
- $strblockname = $block->name;
- }
... | upgrade refactoring: MDL-<I> remove references to block_is_compatible, since Petr deleted that function. | moodle_moodle | train | php |
c23fdf934be9706d0860a09ce0013274a41867ee | diff --git a/docs-site/src/components/Example/index.js b/docs-site/src/components/Example/index.js
index <HASH>..<HASH> 100644
--- a/docs-site/src/components/Example/index.js
+++ b/docs-site/src/components/Example/index.js
@@ -37,6 +37,7 @@ export default class CodeExampleComponent extends React.Component {
... | Leave a waymarker for the next intrepid coder | Hacker0x01_react-datepicker | train | js |
506bdf0213d6649c399e6085a20cc5af9ca6dadd | diff --git a/src/Artisaninweb/SoapWrapper/SoapWrapper.php b/src/Artisaninweb/SoapWrapper/SoapWrapper.php
index <HASH>..<HASH> 100644
--- a/src/Artisaninweb/SoapWrapper/SoapWrapper.php
+++ b/src/Artisaninweb/SoapWrapper/SoapWrapper.php
@@ -108,6 +108,8 @@ class SoapWrapper
if (is_null($service->getClient(... | Fixed issue #<I> properly
Fixed issue #<I> properly | artisaninweb_laravel-soap | train | php |
2fbaba39141a93b7fef5d56582650251d8355e53 | diff --git a/src/Test/MockDatasource.php b/src/Test/MockDatasource.php
index <HASH>..<HASH> 100644
--- a/src/Test/MockDatasource.php
+++ b/src/Test/MockDatasource.php
@@ -68,7 +68,15 @@ class MockDatasource implements \CFX\JsonApi\DatasourceInterface
public function convert(\CFX\JsonApi\ResourceInterface $src, $co... | Added improved testing facilities to MockDatasource | cfxmarkets_php-jsonapi-objects | train | php |
cd4bfd9e39fc57dce09728cde44d9aad9768e6be | diff --git a/asammdf/blocks/mdf_v4.py b/asammdf/blocks/mdf_v4.py
index <HASH>..<HASH> 100644
--- a/asammdf/blocks/mdf_v4.py
+++ b/asammdf/blocks/mdf_v4.py
@@ -883,13 +883,14 @@ class MDF4(object):
attachment, at_name = self.extract_attachment(
index=attachment_addr
... | show better error message if the external attachment is not found | danielhrisca_asammdf | train | py |
1d526006955a6d5ac3988b10231b3f791c822090 | diff --git a/tests/ParserTest.php b/tests/ParserTest.php
index <HASH>..<HASH> 100755
--- a/tests/ParserTest.php
+++ b/tests/ParserTest.php
@@ -1165,6 +1165,22 @@ class ParserTest extends \PHPUnit_Framework_TestCase
),
),
+ // Test nicks with ~
+ array(
+ ... | Adding test to check nicks with ~ on PRIVMSG | phergie_phergie-irc-parser | train | php |
c5fb8c1436ec352bc417b07d6c0569120834740e | diff --git a/stomp/transport.py b/stomp/transport.py
index <HASH>..<HASH> 100644
--- a/stomp/transport.py
+++ b/stomp/transport.py
@@ -242,9 +242,10 @@ class BaseTransport(stomp.listener.Publisher):
for listener in self.listeners.values():
if not listener:
continue
- if... | Just invoke listener.on_send, don't bother checking existence | jasonrbriggs_stomp.py | train | py |
c89b5fbb3e321c78add86c35b524cc7a64d15152 | diff --git a/src/LdapClient.php b/src/LdapClient.php
index <HASH>..<HASH> 100644
--- a/src/LdapClient.php
+++ b/src/LdapClient.php
@@ -192,7 +192,7 @@ class LdapClient
*
* @since 1.0
*/
- public function setDN($username, $nosub = 0)
+ public function setDn($username, $nosub = 0)
{
if ($this->users_dn ==... | [codestyle] Fixed first letter casing in method names | joomla-framework_ldap | train | php |
2e82fd38c113b8416f60a82465507a0e663cc523 | diff --git a/mod/forum/post.php b/mod/forum/post.php
index <HASH>..<HASH> 100644
--- a/mod/forum/post.php
+++ b/mod/forum/post.php
@@ -339,11 +339,13 @@
}
- echo "<center>";
if (!empty($parent)) {
forum_print_post($parent, $course->id, $ownpost=false, $reply=false, $link=false);
+ forum... | This has been annoying me for ages, and the fix is so simple.
When replying to a post that already has replies - the replies
are listed in threaded form. | moodle_moodle | train | php |
f1ce2eed84041c1752bdb99985f5fce4f3ffedde | diff --git a/lib/stax/cfer.rb b/lib/stax/cfer.rb
index <HASH>..<HASH> 100644
--- a/lib/stax/cfer.rb
+++ b/lib/stax/cfer.rb
@@ -10,9 +10,8 @@ module Stax
{}
end
- ## location of cfer template file
- def cfer_template
- File.join('cf', "#{class_name}.rb")
+ def cfn_parameters
+ ... | start renaming template methods in a more generic fashion | rlister_stax | train | rb |
7faa2049cd2d18d0e8276844ddce16562b79bd0c | diff --git a/extension/data/lib/data.js b/extension/data/lib/data.js
index <HASH>..<HASH> 100644
--- a/extension/data/lib/data.js
+++ b/extension/data/lib/data.js
@@ -43,7 +43,7 @@ var Data = function (reporter, definition) {
});
});
- reporter.beforeRenderListeners.insert(0, definition.name, this, D... | scripts can call reporter.render | jsreport_jsreport-data | train | js |
52494dfe239327077ad399bf255c80d507bb1028 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
@@ -320,6 +32... | [Java] Ensure cleaning is up to date when consumers drop out and back in again on publications. | real-logic_aeron | train | java,java |
de919e0e380d04654617afdb9149d964f0c47115 | diff --git a/src/DataStore/src/Middleware/Handler/DownloadCsvHandler.php b/src/DataStore/src/Middleware/Handler/DownloadCsvHandler.php
index <HASH>..<HASH> 100644
--- a/src/DataStore/src/Middleware/Handler/DownloadCsvHandler.php
+++ b/src/DataStore/src/Middleware/Handler/DownloadCsvHandler.php
@@ -21,7 +21,7 @@ class D... | Update DownloadCsvHandler for export large files | rollun-com_rollun-datastore | train | php |
f4501a2f9030eb8c43b9e8cde01f73eb078f700a | diff --git a/aws/resource_aws_emr_cluster.go b/aws/resource_aws_emr_cluster.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_emr_cluster.go
+++ b/aws/resource_aws_emr_cluster.go
@@ -496,7 +496,11 @@ func resourceAwsEMRClusterRead(d *schema.ResourceData, meta interface{}) error {
}
d.Set("name", cluster.Name)... | If user has not defined scale_down_behavior, use current value. This means the AWS default for the release_label will be used, unless the user wants to override this | terraform-providers_terraform-provider-aws | train | go |
95dc0278979f4f4363d8623fac3e605baa1d318d | diff --git a/py/selenium/webdriver/safari/options.py b/py/selenium/webdriver/safari/options.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/safari/options.py
+++ b/py/selenium/webdriver/safari/options.py
@@ -14,11 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language gove... | [py] Fix flake8 issues in safari options | SeleniumHQ_selenium | train | py |
fc52e6311fa5378839c59858c78a7e4eeb4344a5 | diff --git a/lib/api-client/resources/deployment.js b/lib/api-client/resources/deployment.js
index <HASH>..<HASH> 100644
--- a/lib/api-client/resources/deployment.js
+++ b/lib/api-client/resources/deployment.js
@@ -153,4 +153,23 @@ Deployment.getResourceData = function(deploymentId, resourceId, done) {
});
};
+/*... | feat(redeploy): I can redeploy an existing deployment
related to CAM-<I> | camunda_camunda-bpm-sdk-js | train | js |
4dcf2e3c2fcb61d674cbf3ba01ef0366f181a048 | diff --git a/packages/graphql-language-service-types/scripts/build-js.js b/packages/graphql-language-service-types/scripts/build-js.js
index <HASH>..<HASH> 100644
--- a/packages/graphql-language-service-types/scripts/build-js.js
+++ b/packages/graphql-language-service-types/scripts/build-js.js
@@ -9,7 +9,6 @@
'use str... | Remove unnecessary bundling of package.json inside dist dir | graphql_graphiql | train | js |
74d77392cd55c304c9eb9158bdb9afc84b01ae38 | diff --git a/tests/model_selection/test_incremental.py b/tests/model_selection/test_incremental.py
index <HASH>..<HASH> 100644
--- a/tests/model_selection/test_incremental.py
+++ b/tests/model_selection/test_incremental.py
@@ -223,12 +223,15 @@ def test_search_basic(c, s, a, b):
"param_alpha",
"param_... | Replace cv_results asserts with sanity checks | dask_dask-ml | train | py |
82c094c41b7a55ec05024d0513ab902091754b7e | diff --git a/modin/pandas/__init__.py b/modin/pandas/__init__.py
index <HASH>..<HASH> 100644
--- a/modin/pandas/__init__.py
+++ b/modin/pandas/__init__.py
@@ -159,7 +159,7 @@ def initialize_ray():
num_cpus=int(num_cpus),
include_webui=False,
ignore_reinit_error=True,
-... | change redis_address -> address | modin-project_modin | train | py,py |
973ef97d6ac275dc4463795ada02eb5942c8b0c3 | diff --git a/rdomanager_oscplugin/__init__.py b/rdomanager_oscplugin/__init__.py
index <HASH>..<HASH> 100644
--- a/rdomanager_oscplugin/__init__.py
+++ b/rdomanager_oscplugin/__init__.py
@@ -15,4 +15,4 @@
import pbr.version
-__version__ = pbr.version.VersionInfo('rdomanager_oscplugin').version_string()
+__version_... | Fix pbr info
The VersionInfo string was wrong. It needed to be the name of the
package, not the name of the module.
Change-Id: If<I>a8fffc6ddd<I>ea<I>b<I>b5 | rdo-management_python-rdomanager-oscplugin | train | py |
f26d0a18e0792e4a37ae7cf3538224a398b17a84 | diff --git a/src/Command/Debug/ThemeCommand.php b/src/Command/Debug/ThemeCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/Debug/ThemeCommand.php
+++ b/src/Command/Debug/ThemeCommand.php
@@ -78,8 +78,10 @@ class ThemeCommand extends Command
foreach ($themes as $themeId => $theme) {
$status... | Fix issue <I> (#<I>) | hechoendrupal_drupal-console | train | php |
c98da81b39a142ccbc6eeb8296d0e2d422b14a75 | diff --git a/go/chat/sourceofflinable.go b/go/chat/sourceofflinable.go
index <HASH>..<HASH> 100644
--- a/go/chat/sourceofflinable.go
+++ b/go/chat/sourceofflinable.go
@@ -80,11 +80,23 @@ func (s *sourceOfflinable) IsOffline(ctx context.Context) bool {
defer s.Unlock()
s.Debug(ctx, "IsOffline: waited and got %v"... | dont set the delay check if the request has been aborted CORE-<I> (#<I>)
* dont set the delay check if the request has been aborted
* wording
* check at top level too | keybase_client | train | go |
58a06caa135dbedd02a855c00e856c7cb1943561 | diff --git a/lib/poolparty/cloud.rb b/lib/poolparty/cloud.rb
index <HASH>..<HASH> 100644
--- a/lib/poolparty/cloud.rb
+++ b/lib/poolparty/cloud.rb
@@ -277,11 +277,11 @@ No autoscalers defined
# Run command/s on all nodes in the cloud.
# Returns a hash of instance_id=>result pairs
def cmd(commands, opts={... | Fix Cloud#cmd to avoid injection of the text "key_by instance_id" into the generated ssh command | auser_poolparty | train | rb |
058e06095389c8834e0ae38d02bc95358d083230 | diff --git a/molgenis-core-ui/src/main/resources/js/molgenis.js b/molgenis-core-ui/src/main/resources/js/molgenis.js
index <HASH>..<HASH> 100644
--- a/molgenis-core-ui/src/main/resources/js/molgenis.js
+++ b/molgenis-core-ui/src/main/resources/js/molgenis.js
@@ -1043,6 +1043,7 @@ $(function() {
// focus first inpu... | Fix #<I> Settings panel can't be reopened after cancel/close | molgenis_molgenis | train | js |
bf91fca3795f7780feb0711d7d9082e1ef0eaa17 | diff --git a/trie4j/src/org/trie4j/patricia/PatriciaTrie.java b/trie4j/src/org/trie4j/patricia/PatriciaTrie.java
index <HASH>..<HASH> 100644
--- a/trie4j/src/org/trie4j/patricia/PatriciaTrie.java
+++ b/trie4j/src/org/trie4j/patricia/PatriciaTrie.java
@@ -29,6 +29,13 @@ import org.trie4j.util.Pair;
public class Patrici... | add Constructor that receives String[]. | takawitter_trie4j | train | java |
3c89781714d616d99ad8b890874af9103c13f47a | diff --git a/lib/commands/commands.rb b/lib/commands/commands.rb
index <HASH>..<HASH> 100644
--- a/lib/commands/commands.rb
+++ b/lib/commands/commands.rb
@@ -37,7 +37,6 @@ command :open do |arg|
helper.open "http://github.com/#{arg}"
end
-
desc "Info about this project."
command :info do
puts "== Info for #... | All command names are symbols so they look pretty in editors | defunkt_github-gem | train | rb |
3a80703655059aa931232a109553325101e47ac9 | diff --git a/holoviews/core/settings.py b/holoviews/core/settings.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/settings.py
+++ b/holoviews/core/settings.py
@@ -207,14 +207,19 @@ class SettingsTree(AttrTree):
def __setattr__(self, identifier, val):
new_groups = {}
if isinstance(val, dict):
... | Fixed settings inheritance on SettingsTree | pyviz_holoviews | train | py |
0ca2b3696867d48e5c85c7c83935376ea879b84f | diff --git a/lib/delfos/patching/method_override.rb b/lib/delfos/patching/method_override.rb
index <HASH>..<HASH> 100644
--- a/lib/delfos/patching/method_override.rb
+++ b/lib/delfos/patching/method_override.rb
@@ -107,27 +107,11 @@ module Delfos
end
def record_method!
- return true if bail?
+ ... | stop checking again if method has been recorded, and allow private methods | ruby-analysis_delfos | train | rb |
0e0ad85f92ace1b78053d3039579e3d12eb556ec | diff --git a/tests/event-gateway/processes.js b/tests/event-gateway/processes.js
index <HASH>..<HASH> 100644
--- a/tests/event-gateway/processes.js
+++ b/tests/event-gateway/processes.js
@@ -10,7 +10,7 @@ const rimraf = require('rimraf')
// eslint-disable-next-line no-undef
jasmine.DEFAULT_TIMEOUT_INTERVAL = 4000
-... | support linux for the test-suite | serverless_event-gateway-sdk | train | js |
17d398b1191e2cd9d59c5b08904fa8090798b96f | diff --git a/lib/async.js b/lib/async.js
index <HASH>..<HASH> 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -683,14 +683,14 @@
};
// AMD / RequireJS
- if (typeof define !== 'undefined' && define.amd) {
- define('async', [], function () {
+ if (typeof root.define !== 'undefined' && root.define... | because globals suck :(
I had a bit of a trouble today when I tried to run async in an env where the root wasn't the window. | caolan_async | train | js |
4956e88e6593485007fea9c068c3b0646cdc6391 | diff --git a/calendar-bundle/contao/ModuleEventlist.php b/calendar-bundle/contao/ModuleEventlist.php
index <HASH>..<HASH> 100644
--- a/calendar-bundle/contao/ModuleEventlist.php
+++ b/calendar-bundle/contao/ModuleEventlist.php
@@ -89,7 +89,9 @@ class ModuleEventlist extends Events
*/
protected function compile()
... | [Calendar] Clear the $_GET array after rendering the event list module (#<I>) | contao_contao | train | php |
6034f726378ee31a8120da014a4be5a95de4affb | diff --git a/app/models/renalware/zip_archive.rb b/app/models/renalware/zip_archive.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/zip_archive.rb
+++ b/app/models/renalware/zip_archive.rb
@@ -9,7 +9,9 @@ module Renalware
end
def unzip
- Dir.mktmpdir(nil, Rails.root.join("tmp").to_s) do |dir|... | Zip fles to /tmp and ensure PG has access | airslie_renalware-core | train | rb |
422978e0384cf77cea6e7f80223f698ddef45496 | diff --git a/pifpaf/tests/test_drivers.py b/pifpaf/tests/test_drivers.py
index <HASH>..<HASH> 100644
--- a/pifpaf/tests/test_drivers.py
+++ b/pifpaf/tests/test_drivers.py
@@ -38,6 +38,7 @@ from pifpaf.drivers import mysql
from pifpaf.drivers import postgresql
from pifpaf.drivers import rabbitmq
from pifpaf.drivers i... | tests: fix s3rver tests | jd_pifpaf | train | py |
4c794326d69c24d2940b9e82aa3fab675fb75822 | diff --git a/test/browser-tests/methods/transition.js b/test/browser-tests/methods/transition.js
index <HASH>..<HASH> 100644
--- a/test/browser-tests/methods/transition.js
+++ b/test/browser-tests/methods/transition.js
@@ -37,7 +37,7 @@ export default function() {
});
// this test really likes to randomly fail on... | missed the insensitive flag on the test to skip in phantom | ractivejs_ractive | train | js |
5d7081d0a85fc98c00eb2cf9d193795d535473f9 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/storage/OStorageEmbedded.java b/core/src/main/java/com/orientechnologies/orient/core/storage/OStorageEmbedded.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/storage/OStorageEmbedded.java
+++ b/core/src/main/ja... | Fixed bug on LIMIT keywork in SQL UPDATE statement | orientechnologies_orientdb | train | java |
c4b2b52db0a8872fefe11a45bf4828fc4e5617b9 | diff --git a/dispatcher_test.go b/dispatcher_test.go
index <HASH>..<HASH> 100644
--- a/dispatcher_test.go
+++ b/dispatcher_test.go
@@ -8,6 +8,13 @@ import (
"unsafe"
)
+func TestDispatcherAddNonFunc(t *testing.T) {
+ d := NewDispatcher()
+ testPanic(t, func() {
+ d.AddFunc("foobar", 123)
+ })
+}
+
func TestDispa... | added a test non-func passing to Dispatcher.AddFunc | valyala_gorpc | train | go |
5ab1c42be430a2af75dce95c7fc327e61a812cd1 | diff --git a/lib/simple_enum/version.rb b/lib/simple_enum/version.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_enum/version.rb
+++ b/lib/simple_enum/version.rb
@@ -1,5 +1,5 @@
module SimpleEnum
# The current `SimpleEnum` version.
- VERSION = "2.0.0.rc3"
+ VERSION = "2.0.0"
end | release <I> (finally) | lwe_simple_enum | train | rb |
38b79fdca8ed6b3796001982e60fa37a875d107d | diff --git a/repairbox/tool.py b/repairbox/tool.py
index <HASH>..<HASH> 100644
--- a/repairbox/tool.py
+++ b/repairbox/tool.py
@@ -50,6 +50,14 @@ class Tool(object):
return self.__build_instructions.build(force=force)
+ def upload(self) -> bool:
+ """
+ Attempts to upload the image for thi... | added copypasto Tool.upload | squaresLab_BugZoo | train | py |
fc5210ced4b35108b52b3a59bbc4fbe028a58cd4 | diff --git a/tests/calculators/hazard/disagg/core_test.py b/tests/calculators/hazard/disagg/core_test.py
index <HASH>..<HASH> 100644
--- a/tests/calculators/hazard/disagg/core_test.py
+++ b/tests/calculators/hazard/disagg/core_test.py
@@ -76,7 +76,8 @@ class TaskCompleteCallbackTest(unittest.TestCase):
self.ca... | tests/calcs/hazard/disagg/core_test:
Whitespace. | gem_oq-engine | train | py |
3c7298b6fe3f298e4b2999d85ae54a9cdfc20cdd | diff --git a/lib/zones/can_import.js b/lib/zones/can_import.js
index <HASH>..<HASH> 100644
--- a/lib/zones/can_import.js
+++ b/lib/zones/can_import.js
@@ -9,7 +9,7 @@ module.exports = function(can){
var canImport = function(el, tagData){
var moduleName = el.getAttribute("from");
- var templateModule = tagDat... | Replace deprecated attr call with get | donejs_done-ssr | train | js |
161be5d459dba10db046f1c3df08f8c80b5c8c55 | diff --git a/lib/active_scaffold/helpers/controller_helpers.rb b/lib/active_scaffold/helpers/controller_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/helpers/controller_helpers.rb
+++ b/lib/active_scaffold/helpers/controller_helpers.rb
@@ -33,6 +33,8 @@ module ActiveScaffold
parameters[:pare... | Bugfix: reset some more parameters when going back to main | activescaffold_active_scaffold | train | rb |
3604b5a55bd7923788a1a3ff46afac5e60d78b46 | diff --git a/redis/client.py b/redis/client.py
index <HASH>..<HASH> 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -368,6 +368,12 @@ class StrictRedis(object):
self.response_callbacks = self.__class__.RESPONSE_CALLBACKS.copy()
+ def __repr__(self):
+ return "{class_name}<host={host},port={... | Add support for showing db connection info via repr | andymccurdy_redis-py | train | py,py |
05654c92b120e46ecd027589cbdbdb0d8f1733da | diff --git a/chwrapper/services/base.py b/chwrapper/services/base.py
index <HASH>..<HASH> 100644
--- a/chwrapper/services/base.py
+++ b/chwrapper/services/base.py
@@ -63,7 +63,7 @@ class Service(object):
custom_messages = {
429: cust_str.format(
datetime.utcfromtimesta... | Use .get to stop KeyErrors being raised when no headers returned by Companies House | JamesGardiner_chwrapper | train | py |
bcbbd86745a2e215e88dfe7e8c90950ff900c810 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -95,11 +95,10 @@ class Sade {
}
let opts = mri(arr.slice(3), cmd.config);
- let args = opts._;
- // TODO: parse arguments (`_`)
- // TODO: push to new `arguments` arr per known key
- // TODO: append... | parse cmd usage for named args; pass thru handler;
- only counts required params (‘<foobar>’)
- any optionals will be available on `opts._` key | lukeed_sade | train | js |
0f331ddb40c752f4af1e0ea854a3bdac691e66fb | diff --git a/src/filter/collection/filter-by.js b/src/filter/collection/filter-by.js
index <HASH>..<HASH> 100644
--- a/src/filter/collection/filter-by.js
+++ b/src/filter/collection/filter-by.js
@@ -13,7 +13,8 @@ angular.module('a8m.filter-by', [])
var comparator;
- search = (isString(search)) ? search.... | fix(filter-by): add is number conditaion + casting | a8m_angular-filter | train | js |
849fd95a65dd1e47da3e518c8af4a0ab4a468fbb | diff --git a/python/docs/conf.py b/python/docs/conf.py
index <HASH>..<HASH> 100644
--- a/python/docs/conf.py
+++ b/python/docs/conf.py
@@ -45,6 +45,7 @@ extensions = [
autosummary_generate = True
add_module_names = False
+autodoc_default_flags = ['members', 'inherited-members']
# Add any paths that contain templ... | Make members, inherited-members default in autodoc | equinor_segyio | train | py |
45d63f6195d473fa12ab1ffc37ee3edd257a6d0b | diff --git a/swipe.js b/swipe.js
index <HASH>..<HASH> 100644
--- a/swipe.js
+++ b/swipe.js
@@ -140,6 +140,8 @@ function Swipe(container, options) {
if (options.continuous) move(circle(to - direction), -(width * direction), 0); // we need to get the next in place
} else {
+
+ to = cir... | fix continuous for no-transitions browsers | lyfeyaj_swipe | train | js |
f33ee70708ba7196471bfb5fff53816fef66307e | diff --git a/slacker/__init__.py b/slacker/__init__.py
index <HASH>..<HASH> 100644
--- a/slacker/__init__.py
+++ b/slacker/__init__.py
@@ -114,13 +114,15 @@ class Groups(BaseAPI):
return self.get('groups.list',
params={'exclude_archived': exclude_archived})
- def history(self, cha... | "inclusive" argument for groups.history API. | os_slacker | train | py |
96bde699f69b2d263a0338c1762aeedea82aea80 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,5 @@
import os
import sys
-# Temporary patch for issue reported here:
-# https://groups.google.com/forum/#!topic/nose-users/fnJ-kAUbYHQ
-import multiprocessing # TODO: Remove when Travis-CI updates 2.7 to 2.7.4+
__... | Remove multiprocessing import as Travis-CI has upgraded to <I>+ | hfaran_Tornado-JSON | train | py |
287f60af574f613015a6da087bb7a0789117b093 | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -648,8 +648,8 @@ exports.makeClientConstructor = function(methods, serviceName) {
var deserialize = attrs.responseDeserialize;
Client.prototype[name] = requester_makers[method_type](
attr... | Add more reflection information to Node client classes | grpc_grpc-node | train | js,js |
bbb07d1b2cfc7b73ed67f802ae22988a20df2858 | diff --git a/lib/Memcache.php b/lib/Memcache.php
index <HASH>..<HASH> 100644
--- a/lib/Memcache.php
+++ b/lib/Memcache.php
@@ -37,7 +37,7 @@ class Memcache extends BaseCache
);
/**
- * MEMCACHE_COMPRESSED
+ * The flag that use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).
... | changed flag default to 0, false zlib is not install by default | twinh_wei | train | php,php |
2d9bf772dfdfeafeed75441b955e4f31c0dc4957 | diff --git a/ast_test.go b/ast_test.go
index <HASH>..<HASH> 100644
--- a/ast_test.go
+++ b/ast_test.go
@@ -576,14 +576,12 @@ func removePos(v interface{}) Node {
case IfStmt:
removePos(&x.Cond)
removePos(x.ThenStmts)
- removePos(x.Elifs)
+ for i := range x.Elifs {
+ removePos(&x.Elifs[i].Cond)
+ removePos... | ast_test: no need for []Elif case | mvdan_sh | train | go |
82365d28f663dda1a0d45a47b04411598a276571 | diff --git a/quilt/push.py b/quilt/push.py
index <HASH>..<HASH> 100644
--- a/quilt/push.py
+++ b/quilt/push.py
@@ -25,6 +25,7 @@ from quilt.command import Command
from quilt.db import Db, Series
from quilt.error import NoPatchesInSeries
from quilt.patch import Patch
+from quilt.utils import SubprocessError, Touch
... | Implement the refresh bahaviour of quilt
If a patch could no be applied quilt creates a ~refresh file in the .pc
directory. If this file is present quilt won't apply the patch until it
is forced to do so. | bjoernricks_python-quilt | train | py |
7c4e8ac4a59ce2d1f7be4f1af9c6cdc9a5433966 | diff --git a/src/examples/java/NodeExample.java b/src/examples/java/NodeExample.java
index <HASH>..<HASH> 100644
--- a/src/examples/java/NodeExample.java
+++ b/src/examples/java/NodeExample.java
@@ -38,11 +38,14 @@ public class NodeExample {
//
String bob = "3N9gDFq8tKFhBDBTQxR3zqvtpXjw5wW3syA";
+ ... | Added alias creation to NodeExample.java | wavesplatform_WavesJ | train | java |
fbd9b3f302c1fb59338a3fda54140bc56173c383 | diff --git a/montblanc/impl/biro/v3/CompositeBiroSolver.py b/montblanc/impl/biro/v3/CompositeBiroSolver.py
index <HASH>..<HASH> 100644
--- a/montblanc/impl/biro/v3/CompositeBiroSolver.py
+++ b/montblanc/impl/biro/v3/CompositeBiroSolver.py
@@ -163,7 +163,7 @@ class CompositeBiroSolver(BaseSolver):
if ntime ... | Change the default number of solvers (and by implication CUDA streams) from 2 to 4. This is the point at which further asynchronous overlap benefits become negligible, but our current overlap is sufficient at 2 in any case. | ska-sa_montblanc | train | py |
f758961da593d21b123db7f44f2e25ad0aef9189 | diff --git a/tests/kif_test.py b/tests/kif_test.py
index <HASH>..<HASH> 100644
--- a/tests/kif_test.py
+++ b/tests/kif_test.py
@@ -413,20 +413,20 @@ TEST_KIF_81DOJO_RESULT = {
}
class ParserTest(unittest.TestCase):
- def parse_str_test(self):
+ def test_parse_str(self):
result = KIF.Parser.parse_str(... | fixed: set test_ at start of testing function name to work with unittest | gunyarakun_python-shogi | train | py |
91141f5c01ee74998f08f4ef0d6422c4c5eaa147 | diff --git a/build.py b/build.py
index <HASH>..<HASH> 100755
--- a/build.py
+++ b/build.py
@@ -76,7 +76,7 @@ def report_sizes(t):
t.info(' compressed: %d bytes', len(stringio.getvalue()))
-virtual('all', 'build-all', 'build', 'examples')
+virtual('all', 'build-all', 'build', 'examples', 'precommit')
virt... | Build precommit target by default so precommit dependencies get cleaned by default | openlayers_openlayers | train | py |
0049edad4108efcd8fb758e20da35f2690828268 | diff --git a/src/control/Checkout.php b/src/control/Checkout.php
index <HASH>..<HASH> 100755
--- a/src/control/Checkout.php
+++ b/src/control/Checkout.php
@@ -32,6 +32,7 @@ use SilverStripe\Omnipay\Service\ServiceFactory;
use SilverStripe\CMS\Controllers\ContentController;
use SilverCommerce\ShoppingCart\ShoppingCart... | Ensure we only merge shopping carts on login (not other estimates) | silvercommerce_checkout | train | php |
4aa6b2a73c712188fd4acb73bf965a12d58a69ed | diff --git a/i3pystatus/core/command.py b/i3pystatus/core/command.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/core/command.py
+++ b/i3pystatus/core/command.py
@@ -7,11 +7,21 @@ CommandResult = namedtuple("Result", ['rc', 'out', 'err'])
def run_through_shell(command, enable_shell=False):
"""
- Retrieves o... | Docs: Updated docstring of `run_through_shell`. | enkore_i3pystatus | train | py |
15bf56a889ae05d4fd8e09421477687fd48ab43b | diff --git a/Example/src/ScrollableViewExample.js b/Example/src/ScrollableViewExample.js
index <HASH>..<HASH> 100644
--- a/Example/src/ScrollableViewExample.js
+++ b/Example/src/ScrollableViewExample.js
@@ -58,7 +58,9 @@ function ScrollableView({ children }) {
const handler = useAnimatedGestureHandler({
onSta... | Fix scroll animation in Example (#<I>)
## Description
The list in scroll Example app is inertness, and when list is moved and someone taps on screen and doesn't move by finger it calls only onStart() event from GestureHandler, and this sets the actual position but the list is still moving. If in the next step someo... | kmagiera_react-native-reanimated | train | js |
15bf94069cf48727c25fc3625c8a83bc33c95ca0 | diff --git a/torchtext/data.py b/torchtext/data.py
index <HASH>..<HASH> 100644
--- a/torchtext/data.py
+++ b/torchtext/data.py
@@ -230,10 +230,9 @@ class Field(object):
if self.sequential:
arr = arr.contiguous()
else:
- with torch.cuda.device(device):
- a... | fix numericalize with device=None | pytorch_text | 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.