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 |
|---|---|---|---|---|---|
3458165d2327b617b145ac4753ba9b9f5c79cbda | diff --git a/telemetry/telemetry/core/browser.py b/telemetry/telemetry/core/browser.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/browser.py
+++ b/telemetry/telemetry/core/browser.py
@@ -119,8 +119,6 @@ class Browser(object):
result[child_process_type_key][k] += v
else:
re... | Remove assert that there be only one GPU process as this is no longer
the case.
BUG=<I>
NOTRY=True
Review URL: <URL> | catapult-project_catapult | train | py |
7a5c1b28ddd4ce1e95f6ed01672b9d44dba047f2 | diff --git a/whisper/whisperv6/api_test.go b/whisper/whisperv6/api_test.go
index <HASH>..<HASH> 100644
--- a/whisper/whisperv6/api_test.go
+++ b/whisper/whisperv6/api_test.go
@@ -18,27 +18,12 @@ package whisperv6
import (
"bytes"
- "crypto/ecdsa"
"testing"
"time"
-
- mapset "github.com/deckarep/golang-set"
- "... | whisperv6: remove duplicated code (#<I>) | ethereum_go-ethereum | train | go |
de8e9bf554dc42cc75a74f2bfd1af9b761cd88db | diff --git a/vault/external_tests/raft/raft_autopilot_test.go b/vault/external_tests/raft/raft_autopilot_test.go
index <HASH>..<HASH> 100644
--- a/vault/external_tests/raft/raft_autopilot_test.go
+++ b/vault/external_tests/raft/raft_autopilot_test.go
@@ -363,7 +363,6 @@ func TestRaft_AutoPilot_Peersets_Equivalent(t *te... | Remove retry from new raft test (#<I>) | hashicorp_vault | train | go |
e909d4e8ec6545e73c8b3042977da49badd1da8b | diff --git a/rule_linux.go b/rule_linux.go
index <HASH>..<HASH> 100644
--- a/rule_linux.go
+++ b/rule_linux.go
@@ -142,10 +142,10 @@ func ruleHandle(rule *Rule, req *nl.NetlinkRequest) error {
}
}
if rule.IifName != "" {
- req.AddData(nl.NewRtAttr(nl.FRA_IIFNAME, []byte(rule.IifName)))
+ req.AddData(nl.NewRtAt... | rule_linux: convert IIFNAME and OIFNAME to null terminated string
Strings in GO is not null-terminated while linux is written by
C and strings in C is null-terminated. Request will fail if we
perform rule request with not null-terminated iifname or ofiname,
with error message "no such file or directory". | vishvananda_netlink | train | go |
dc5e50bc71e2f57f0ca9aa848ee209fba8c83e73 | diff --git a/cbinterface/__init__.py b/cbinterface/__init__.py
index <HASH>..<HASH> 100644
--- a/cbinterface/__init__.py
+++ b/cbinterface/__init__.py
@@ -399,7 +399,8 @@ if 'https_proxy' in os.environ:
def handle_proxy(profile):
creds = auth.CredentialStore("response").get_credentials(profile=profile)
- if ... | Added HTTPS_PROXY os.environ check before manupulating variable. | IntegralDefense_cbinterface | train | py |
b61287523db92d5cc79c47ee0f8c4a6e9129a205 | diff --git a/classes/streams/YoutubeChunkStream.php b/classes/streams/YoutubeChunkStream.php
index <HASH>..<HASH> 100644
--- a/classes/streams/YoutubeChunkStream.php
+++ b/classes/streams/YoutubeChunkStream.php
@@ -60,11 +60,11 @@ class YoutubeChunkStream implements StreamInterface
/**
* Closes the stream an... | refactor: StreamInterface::close() should not return anything | Rudloff_alltube | train | php |
cf37a1b7ae139f5d3dadf695a03c7c281006fb1c | diff --git a/spec/features/backend/pages/admin_page.rb b/spec/features/backend/pages/admin_page.rb
index <HASH>..<HASH> 100644
--- a/spec/features/backend/pages/admin_page.rb
+++ b/spec/features/backend/pages/admin_page.rb
@@ -2,13 +2,14 @@ require_relative 'page'
class Features::Pages::AdminPage < Features::Pages::... | Simplify the admin feature page object. | udongo_udongo | train | rb |
5d69fe4524328627bba79a4cf182f553c1d468ff | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -902,7 +902,7 @@
if (!active) { continue; }
- activeInteractions++;
+ activeInteractions += (otherAction === action)|0;
if (activeInteractions >= maxInteraction... | Improve withinInteractionLimit function
I think that this fixes it. | taye_interact.js | train | js |
c646e7283225443d92712c3d559304b56085198f | diff --git a/paramiko/util.py b/paramiko/util.py
index <HASH>..<HASH> 100644
--- a/paramiko/util.py
+++ b/paramiko/util.py
@@ -307,6 +307,6 @@ def constant_time_bytes_eq(a, b):
if len(a) != len(b):
return False
res = 0
- for i in xrange(len(a)):
- res |= ord(a[i]) ^ ord(b[i])
+ for i in ... | Fix some Py2-isms in constant_time_bytes_eq | paramiko_paramiko | train | py |
7a644e8a71b6394d2326a54e77baa5d865d8175c | diff --git a/pycbc/tmpltbank/lattice_utils.py b/pycbc/tmpltbank/lattice_utils.py
index <HASH>..<HASH> 100644
--- a/pycbc/tmpltbank/lattice_utils.py
+++ b/pycbc/tmpltbank/lattice_utils.py
@@ -134,8 +134,13 @@ def generate_anstar_3d_lattice(maxv1, minv1, maxv2, minv2, maxv3, minv3, \
a.data[0,0] = 1
a.data[1,1]... | Update An* lattice code for recent lalpulsar (#<I>) | gwastro_pycbc | train | py |
c79182207f366e87f5a045dcb580d3853d162ea9 | diff --git a/src/Role/ReadModel/Search/Doctrine/SchemaConfigurator.php b/src/Role/ReadModel/Search/Doctrine/SchemaConfigurator.php
index <HASH>..<HASH> 100644
--- a/src/Role/ReadModel/Search/Doctrine/SchemaConfigurator.php
+++ b/src/Role/ReadModel/Search/Doctrine/SchemaConfigurator.php
@@ -3,6 +3,7 @@
namespace Cultuu... | III-<I> Setup query constraint column as longtext | cultuurnet_udb3-php | train | php |
bc588aac3a6cfe756351d8ce7d86143048f6e608 | diff --git a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/StreamTaskTest.java b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/StreamTaskTest.java
index <HASH>..<HASH> 100644
--- a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/Str... | [hotfix] [tests] Remove unnecessary stack trace printing in StreamTaskTest | apache_flink | train | java |
04690d5a3c5db750ba6cb30552120bbd1ac6d435 | diff --git a/addons/content-index/src/main/java/org/commonjava/indy/content/index/IndexingContentManagerDecorator.java b/addons/content-index/src/main/java/org/commonjava/indy/content/index/IndexingContentManagerDecorator.java
index <HASH>..<HASH> 100644
--- a/addons/content-index/src/main/java/org/commonjava/indy/cont... | put @ligangty's fix back in place | Commonjava_indy | train | java |
15d02881f01404dd82d98e63f922512d538419fc | diff --git a/lib/mutations/hash_filter.rb b/lib/mutations/hash_filter.rb
index <HASH>..<HASH> 100644
--- a/lib/mutations/hash_filter.rb
+++ b/lib/mutations/hash_filter.rb
@@ -103,7 +103,7 @@ module Mutations
# First, discard optional nils/empty params
data.delete(key) if !is_required && data.has... | make a note of a bug | cypriss_mutations | train | rb |
153db4db7ec85ba4d0ea0c46f20dd3d0280b3904 | diff --git a/src/UndefinedVariableException.php b/src/UndefinedVariableException.php
index <HASH>..<HASH> 100644
--- a/src/UndefinedVariableException.php
+++ b/src/UndefinedVariableException.php
@@ -16,8 +16,8 @@ class UndefinedVariableException extends TemplateParsingException
protected $triggerVarName;
pu... | Fixed build issues with php <I> (type hinting)
- Removed type hinting in UndefinedVariableException | dermatthes_text-template | train | php |
04df91be787b4296f4247bdbd2b28877e7eadefe | diff --git a/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java b/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java
index <HASH>..<HASH> 100644
--- a/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java
+++ b/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesAct... | Fixed for EMBPD<I>
Read value of "isWindowsKey" from config file. | rhomobile_rhodes | train | java |
28e2b00f9b8a5cc93263c561943d236cdb2b2119 | diff --git a/utils.py b/utils.py
index <HASH>..<HASH> 100644
--- a/utils.py
+++ b/utils.py
@@ -1,7 +1,7 @@
import numpy as np
from astropy import units
-def check_units_and_type(input, expected_units, num = None):
+def check_units_and_type(input, expected_units, num = None, is_scalar = False):
#check units
... | add option to pass scalar quantity for unit checking | jesford_cluster-lensing | train | py |
d5264fff0b9c0e578e7d81bddbf8282576634019 | diff --git a/lib/rubocop/target_finder.rb b/lib/rubocop/target_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/target_finder.rb
+++ b/lib/rubocop/target_finder.rb
@@ -132,7 +132,7 @@ module RuboCop
end
def all_cops_include
- @config_store.for('.').for_all_cops['Include'].map(&:to_s)
+ @con... | Reuse `ConfigStore#for_pwd` in a couple more places | rubocop-hq_rubocop | train | rb |
1f0164a6bed3ca1373d1a63fed5a1138c45958d2 | diff --git a/zhaquirks/tuya/ts0041.py b/zhaquirks/tuya/ts0041.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/tuya/ts0041.py
+++ b/zhaquirks/tuya/ts0041.py
@@ -25,7 +25,7 @@ class TuyaSmartRemote0041(TuyaSmartRemote):
signature = {
# SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=0, de... | remve model that had differing signutre (#<I>)
Should be covered in #<I> | dmulcahey_zha-device-handlers | train | py |
3ca61ceb1a507d32072d4825992a01c142c162fc | diff --git a/lib/active_remote/dirty.rb b/lib/active_remote/dirty.rb
index <HASH>..<HASH> 100644
--- a/lib/active_remote/dirty.rb
+++ b/lib/active_remote/dirty.rb
@@ -37,5 +37,9 @@ module ActiveRemote
__send__("#{name}_will_change!") unless value == self[name]
super
end
+
+ def update(*)
+ su... | Only send changed attributes when updating a record. | liveh2o_active_remote | train | rb,rb |
6ab254d872f0e39ee2b4cbbfb29f62f96556448f | diff --git a/test/test_c_functions.py b/test/test_c_functions.py
index <HASH>..<HASH> 100644
--- a/test/test_c_functions.py
+++ b/test/test_c_functions.py
@@ -10,6 +10,7 @@ except ImportError:
from unittest.mock import patch, Mock
from kernel_tuner.c import CFunctions, Argument
+from kernel_tuner.core import Ke... | Adapt C backend compile test to new interface | benvanwerkhoven_kernel_tuner | train | py |
5d976756e69a7daf1ecc9485f1fcf409fc8d8764 | diff --git a/plugins/Admin/src/Controller/OrderDetailsController.php b/plugins/Admin/src/Controller/OrderDetailsController.php
index <HASH>..<HASH> 100644
--- a/plugins/Admin/src/Controller/OrderDetailsController.php
+++ b/plugins/Admin/src/Controller/OrderDetailsController.php
@@ -259,6 +259,9 @@ class OrderDetailsCon... | avoid errors when calling with empty pickupDay query param | foodcoopshop_foodcoopshop | train | php |
e485e0143b0c185c9a618740479221a6a9b358e5 | diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -1537,6 +1537,10 @@ class UMAP(BaseEstimator):
X_new : array, shape (n_samples, n_components)
Embedding of the new data in low-dimensional space.
"""
+ # If we fit just... | Continuing to fix for issue #<I> | lmcinnes_umap | train | py |
fdb31b7b44728b11593c4d5c489a172f98209fce | diff --git a/src/Transactions/Builder/DelegateRegistration.php b/src/Transactions/Builder/DelegateRegistration.php
index <HASH>..<HASH> 100644
--- a/src/Transactions/Builder/DelegateRegistration.php
+++ b/src/Transactions/Builder/DelegateRegistration.php
@@ -13,7 +13,7 @@ declare(strict_types=1);
namespace ArkEcosys... | fix: missing ID from delegate registration | ArkEcosystem_php-crypto | train | php |
d61f944dad2b732d292e69cea30c974f4e97c475 | diff --git a/pycbc/workflow/jobsetup.py b/pycbc/workflow/jobsetup.py
index <HASH>..<HASH> 100644
--- a/pycbc/workflow/jobsetup.py
+++ b/pycbc/workflow/jobsetup.py
@@ -634,7 +634,7 @@ class PyCBCInspiralExecutable(Executable):
constant_psd_segs = int(self.get_opt('psd-recalculate-segments'))
... | try to use min segments where no segments size given | gwastro_pycbc | train | py |
d1dc46f4a582f74a3955425601f654cf848af476 | diff --git a/src/Iterator/Model.php b/src/Iterator/Model.php
index <HASH>..<HASH> 100644
--- a/src/Iterator/Model.php
+++ b/src/Iterator/Model.php
@@ -37,7 +37,7 @@ class Model extends \Mwyatt\Core\AbstractIterator implements \Mwyatt\Core\Iterat
public function getById($id)
{
if ($models = $this->get... | apply getFirst to existing iterator method | mwyatt_core | train | php |
aac10311d3e6411d2ca6150aafd265496eda7181 | diff --git a/src/actions/notificationActions.js b/src/actions/notificationActions.js
index <HASH>..<HASH> 100644
--- a/src/actions/notificationActions.js
+++ b/src/actions/notificationActions.js
@@ -1,10 +1,6 @@
export const SHOW_NOTIFICATION = 'AOR/SHOW_NOTIFICATION';
-export const showNotification = (
- text,
-... | remove undefined in showNotification action | marmelab_react-admin | train | js |
3555a52ef1d6693247da34d0c7e501d6a6de56d6 | diff --git a/Ajax/common/traits/JqueryAjaxTrait.php b/Ajax/common/traits/JqueryAjaxTrait.php
index <HASH>..<HASH> 100644
--- a/Ajax/common/traits/JqueryAjaxTrait.php
+++ b/Ajax/common/traits/JqueryAjaxTrait.php
@@ -69,7 +69,12 @@ trait JqueryAjaxTrait {
protected function _getOnAjaxDone($responseElement,$jsCallback){... | replaceWith for ajax results | phpMv_phpMv-UI | train | php |
99a4d3c57545ee5b23fd37260cba93cee4389dff | diff --git a/aiosparql/__init__.py b/aiosparql/__init__.py
index <HASH>..<HASH> 100644
--- a/aiosparql/__init__.py
+++ b/aiosparql/__init__.py
@@ -1,2 +1,2 @@
-__version__ = version = "0.9.0"
+__version__ = version = "0.10.0a0"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")]) | Bump to <I>a0 | aio-libs_aiosparql | train | py |
898cd7d1530640b5aa26529c5f95274df98ff0ff | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ setup(
license=extract_metaitem('license'),
packages=find_packages(exclude=['tests', 'docs']),
platforms=['Any'],
- install_requires=read('requirements.txt').split('\n'),
+ install_requires=... | fix error caused by me removing requirements.txt | bear_parsedatetime | train | py |
9b1d0b1c50455fc6b7928718d71c052957a00598 | diff --git a/core/Plugin/ViewDataTable.php b/core/Plugin/ViewDataTable.php
index <HASH>..<HASH> 100644
--- a/core/Plugin/ViewDataTable.php
+++ b/core/Plugin/ViewDataTable.php
@@ -223,6 +223,11 @@ abstract class ViewDataTable implements ViewInterface
$this->config->addTranslations($metrics);
... | refs #<I> make sure processed metrics will be translated automatically and a user does not have to add them manually to the viewDataTable | matomo-org_matomo | train | php |
f341036c5e6c00d3c4b00c1ddd0c301505143f8f | diff --git a/lib/raven/base.rb b/lib/raven/base.rb
index <HASH>..<HASH> 100644
--- a/lib/raven/base.rb
+++ b/lib/raven/base.rb
@@ -98,7 +98,7 @@ module Raven
def capture_type(obj, options = {})
return false unless should_capture?(obj)
message_or_exc = obj.is_a?(String) ? "message" : "exception"
- ... | Safe to use send here, <I> compat | getsentry_raven-ruby | train | rb |
8dcf297401b75317a2ceaef9fad6ede536142006 | diff --git a/src/main/java/spark/Request.java b/src/main/java/spark/Request.java
index <HASH>..<HASH> 100644
--- a/src/main/java/spark/Request.java
+++ b/src/main/java/spark/Request.java
@@ -240,7 +240,7 @@ public class Request {
private void readBody() {
try {
bodyAsBytes = IOUtils.toByteArray(servletReque... | change byte[]-string conversion method to a simpler one | perwendel_spark | train | java |
4a336c20d9556c2e3725136b5ef937f77beb9382 | diff --git a/Tests/Repository/PageRepositoryTest.php b/Tests/Repository/PageRepositoryTest.php
index <HASH>..<HASH> 100755
--- a/Tests/Repository/PageRepositoryTest.php
+++ b/Tests/Repository/PageRepositoryTest.php
@@ -21,6 +21,11 @@ use WellCommerce\Bundle\CoreBundle\Test\Repository\AbstractRepositoryTestCase;
*/
c... | Added test alias method to repository tests
(cherry picked from commit <I>c7ea<I>f8dfa3ca<I>e<I>efbdaaf5f0b8d) | WellCommerce_WishlistBundle | train | php |
0263e97a490c916915ee1db91c45346d6590068e | diff --git a/src/playbacks/no_op/no_op.js b/src/playbacks/no_op/no_op.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/no_op/no_op.js
+++ b/src/playbacks/no_op/no_op.js
@@ -15,7 +15,6 @@ export default class NoOp extends Playback {
constructor(...args) {
super(...args)
this._noiseFrameNum = -1
- this.... | fix(no_op): avoid using play to start animation
The NoOp playback shouldn’t trigger the ‘play’ event when shown. It leaves it in an inconsistent state. | clappr_clappr | train | js |
db24a68c2033350a8e625251486aee0e1ea5a1dd | diff --git a/Service/GearmanClient.php b/Service/GearmanClient.php
index <HASH>..<HASH> 100644
--- a/Service/GearmanClient.php
+++ b/Service/GearmanClient.php
@@ -12,7 +12,7 @@ namespace Mmoreram\GearmanBundle\Service;
use Mmoreram\GearmanBundle\Service\Abstracts\AbstractGearmanService;
use Mmoreram\GearmanBundle\Gea... | Update use statement
Solves #<I> | mmoreram_GearmanBundle | train | php |
254d217f403b9c75e6839894101ec08bc9148db2 | diff --git a/spec/import_js/import_statement_spec.rb b/spec/import_js/import_statement_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/import_js/import_statement_spec.rb
+++ b/spec/import_js/import_statement_spec.rb
@@ -156,7 +156,11 @@ describe ImportJS::ImportStatement do
end
context 'with const and a ... | Switch to heredoc for new ImportStatement tests
Pointed out by @lencioni
<URL> | Galooshi_import-js | train | rb |
f08a2eaf1fd07a2f6f9e42e796ec70ce63ba0d02 | diff --git a/lib/split/configuration.rb b/lib/split/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/split/configuration.rb
+++ b/lib/split/configuration.rb
@@ -48,7 +48,9 @@ module Split
'spider' => 'generic web spider',
'UnwindFetchor' => 'Gnip crawler',
'WordPress' => 'WordPress spid... | Blocked a few more common bot user agents (#<I>) | splitrb_split | train | rb |
278d5fdacf7adb7818a4ae4955807d0d170426d1 | diff --git a/lib/restforce/collection.rb b/lib/restforce/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/restforce/collection.rb
+++ b/lib/restforce/collection.rb
@@ -27,19 +27,21 @@ module Restforce
@raw_page['records'].size
end
- # Return the size of the Collection without making any additional r... | Improve comments on `Collection#size` and `Collection#count` | restforce_restforce | train | rb |
19135bd93ddeb2cca387f18717e3cc1134dc3f37 | diff --git a/tests/unit/components/sl-chart-test.js b/tests/unit/components/sl-chart-test.js
index <HASH>..<HASH> 100755
--- a/tests/unit/components/sl-chart-test.js
+++ b/tests/unit/components/sl-chart-test.js
@@ -610,9 +610,8 @@ test('title property is not missing in highchartsOptions and set to null', funct
});... | deleted extra line in last test function in sl-chart-test.js | softlayer_sl-ember-components | train | js |
69fa8e136bb1e354d4e30e8c4355ca0107b297ef | diff --git a/spec/lib/synced/synchronizer_spec.rb b/spec/lib/synced/synchronizer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/synced/synchronizer_spec.rb
+++ b/spec/lib/synced/synchronizer_spec.rb
@@ -109,10 +109,6 @@ describe Synced::Synchronizer do
end
end
end
-
- it "doesn't upd... | Remove dead spec
It has been tested earlier in the spec. | BookingSync_synced | train | rb |
916469a90311a6aa60bd82b21db470504d661ee1 | diff --git a/system/src/Grav/Common/Debugger.php b/system/src/Grav/Common/Debugger.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Debugger.php
+++ b/system/src/Grav/Common/Debugger.php
@@ -318,7 +318,7 @@ class Debugger
}
if ($clkTimeLine) {
- $clkTimeLine->addEv... | Fixed missing timer titles in clockwork | getgrav_grav | train | php |
a3ecfea902bca2ad278e94b6f72df8e6bdf0e0d8 | diff --git a/src/DataTables/AbstractDataTable.php b/src/DataTables/AbstractDataTable.php
index <HASH>..<HASH> 100644
--- a/src/DataTables/AbstractDataTable.php
+++ b/src/DataTables/AbstractDataTable.php
@@ -129,10 +129,19 @@ abstract class AbstractDataTable extends DataTable
*/
public function html()
{
... | Convert datatables to work completely in POST ajax requests instead of GET requests for better security and to overcome long query strings / requests parameters and add support for datatable filter forms | rinvex_cortex-foundation | train | php |
87cde7d0410dcbf873b5652ef152860f6a0753d4 | diff --git a/lib/appsignal/transaction.rb b/lib/appsignal/transaction.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/transaction.rb
+++ b/lib/appsignal/transaction.rb
@@ -25,7 +25,7 @@ module Appsignal
Thread.current[:appsignal_transaction] = Appsignal::Transaction.new(id, namespace, request, options)
... | Bump debug log to warning
This message can pop up a bunch of times, in order not to polute the
logs unneededly we log them now as warning.
Fixes: #<I> | appsignal_appsignal-ruby | train | rb,rb |
229da4c91751b6b3a8fa8ba142d1205afd4272d5 | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -296,4 +296,17 @@ class Application extends BaseApplication
{
return $this->translator->trans($key);
}
+
+ /**
+ * Gets the default commands that should alw... | add an instance of CompletionCommand | hechoendrupal_drupal-console | train | php |
1c624a7c45b5548be16a7268e2c07edb0b0d99b6 | diff --git a/devices/sonoff.js b/devices/sonoff.js
index <HASH>..<HASH> 100644
--- a/devices/sonoff.js
+++ b/devices/sonoff.js
@@ -78,7 +78,7 @@ module.exports = [
vendor: 'SONOFF',
whiteLabel: [{vendor: 'eWeLink', model: 'RHK07'}],
description: 'Wireless button',
- exposes: [e.battery... | Expose battery voltage for SONOFF SNZB-<I> and SNZB-<I> (#<I>) | Koenkk_zigbee-shepherd-converters | train | js |
fb4fa9e29cdf14060b97e532abde5bbbb3c62f3c | diff --git a/packages/dna-idom/src/lib/idom.js b/packages/dna-idom/src/lib/idom.js
index <HASH>..<HASH> 100644
--- a/packages/dna-idom/src/lib/idom.js
+++ b/packages/dna-idom/src/lib/idom.js
@@ -36,14 +36,16 @@ function interpolate(template, data) {
export function h(element, props, ...children) {
return () => ... | feat: handle keys in dna idom | chialab_dna | train | js |
47dd159f3aa088105c770382efdfb55de242bec3 | diff --git a/src/__tests__/option.browsers.js b/src/__tests__/option.browsers.js
index <HASH>..<HASH> 100644
--- a/src/__tests__/option.browsers.js
+++ b/src/__tests__/option.browsers.js
@@ -72,5 +72,21 @@ tape("cssnext browsers option propagation to pixrem", function(t) {
"should propagate browsers option to pixr... | Add test to ensure rem are not added when they should not
Ref #<I> | MoOx_postcss-cssnext | train | js |
1a8cb14feb80c2f58dd095ece62d19efae934edb | diff --git a/padme/__init__.py b/padme/__init__.py
index <HASH>..<HASH> 100644
--- a/padme/__init__.py
+++ b/padme/__init__.py
@@ -571,7 +571,7 @@ class proxy_state_namespace(object):
This class implements simple attribute-based access methods. It is normally
instantiated internally for each proxy object. Y... | Correct docstring of proxy_state_namespace | zyga_padme | train | py |
daa613b9ea44a027c3a60eae632ef86181725c9b | diff --git a/Event/CommentThreadAsyncListener.php b/Event/CommentThreadAsyncListener.php
index <HASH>..<HASH> 100644
--- a/Event/CommentThreadAsyncListener.php
+++ b/Event/CommentThreadAsyncListener.php
@@ -46,7 +46,7 @@ class CommentThreadAsyncListener
{
$identifier = $event->getSetting('id', null);
- ... | Apply fixes from StyleCI (#<I>) | sonata-project_SonataCommentBundle | train | php |
0a1d617acf5ec9dab33fc0c3cec116d287b0d2dd | diff --git a/lib/openxml/properties/on_off_property.rb b/lib/openxml/properties/on_off_property.rb
index <HASH>..<HASH> 100644
--- a/lib/openxml/properties/on_off_property.rb
+++ b/lib/openxml/properties/on_off_property.rb
@@ -7,8 +7,13 @@ module OpenXml
end
def to_xml(xml)
- return apply_namespa... | [skip] Ensured value properties render property children (3m) | openxml_openxml-package | train | rb,rb |
c81d0e1222077f8d49a5a5761b91dd906f791d03 | diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php
index <HASH>..<HASH> 100644
--- a/admin/code/LeftAndMain.php
+++ b/admin/code/LeftAndMain.php
@@ -353,7 +353,9 @@ class LeftAndMain extends Controller implements PermissionProvider {
function redirect($url, $code=302) {
if($this->request->isAjax(... | MINOR Only set X-Pjax header in redirections if it doesn't already exist in the response | silverstripe_silverstripe-framework | train | php |
4c67888b403207ba57a89c2f5834b8e489b8b57c | diff --git a/packages/node_modules/@ciscospark/internal-plugin-user/src/user.js b/packages/node_modules/@ciscospark/internal-plugin-user/src/user.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@ciscospark/internal-plugin-user/src/user.js
+++ b/packages/node_modules/@ciscospark/internal-plugin-user/src/user.... | refactor(@ciscospark/i-plugin-user): set hasPassword if user has sso | webex_spark-js-sdk | train | js |
1814f9a9143d175dc7b7865e7fbc92414076b786 | diff --git a/src/ElephantOnCouch/Handler/DesignHandler.php b/src/ElephantOnCouch/Handler/DesignHandler.php
index <HASH>..<HASH> 100755
--- a/src/ElephantOnCouch/Handler/DesignHandler.php
+++ b/src/ElephantOnCouch/Handler/DesignHandler.php
@@ -22,8 +22,9 @@ abstract class DesignHandler {
//! @brief Returns the ha... | due to a notice getSection() is not abstract anymore | dedalozzo_eoc-client | train | php |
9260740a8cb586f38e6dfce863e27084d78280f0 | diff --git a/demo.php b/demo.php
index <HASH>..<HASH> 100755
--- a/demo.php
+++ b/demo.php
@@ -28,8 +28,8 @@ EOF;
$block = $parser->parse($code, __FILE__);
$traverser->traverse($block);
-$dumper = new PHPCfg\Dumper;
-echo $dumper->dump($block);
+$dumper = new PHPCfg\Printer\Text();
+echo $dumper->printCFG(array($bl... | Update demo.php - fix deprecated code | ircmaxell_php-cfg | train | php |
560b0e76e5b0e4bd43d7770c1bd665a372f82b3e | diff --git a/resource_aws_elasticsearch_domain.go b/resource_aws_elasticsearch_domain.go
index <HASH>..<HASH> 100644
--- a/resource_aws_elasticsearch_domain.go
+++ b/resource_aws_elasticsearch_domain.go
@@ -9,6 +9,7 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
elasticsearch "... | Handle JSON parsing error in the ReadFunc for the access policies document. | terraform-providers_terraform-provider-aws | train | go |
652be002b396a645105b3b4e76d282c57aac0e51 | diff --git a/tests/testfunctions.py b/tests/testfunctions.py
index <HASH>..<HASH> 100644
--- a/tests/testfunctions.py
+++ b/tests/testfunctions.py
@@ -35,7 +35,7 @@ def _check_dvd_path_exists_does_not_raise_exception_when_path_exists(mock_isdir)
except Exception as exception: # pylint: disable=locally-disabled, br... | fixed last 2 tests that were using bytes type rather than string | sjwood_pydvdid | train | py |
ec877348f218fc6f9068bb8de6fcbc3ef68b83d4 | diff --git a/spikeextractors/baseextractor.py b/spikeextractors/baseextractor.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/baseextractor.py
+++ b/spikeextractors/baseextractor.py
@@ -24,12 +24,16 @@ class BaseExtractor:
self._tmp_folder = None
self._key_properties = {}
self._propertie... | Delete all memmap objects before removing tmpdir | SpikeInterface_spikeextractors | train | py |
02fdf22b9c9da91beac6e50c635d5abbbd35b62e | diff --git a/salt/returners/redis_return.py b/salt/returners/redis_return.py
index <HASH>..<HASH> 100644
--- a/salt/returners/redis_return.py
+++ b/salt/returners/redis_return.py
@@ -51,6 +51,7 @@ from __future__ import absolute_import
import json
# Import Salt libs
+import salt.utils
import salt.utils.jid
import... | If is_proxy() get connection details from __opts__ | saltstack_salt | train | py |
23710f3dba6daec04d01790c28e69b2fc8610916 | diff --git a/photoview/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java b/photoview/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java
index <HASH>..<HASH> 100644
--- a/photoview/src/main/java/com/github/chrisbanes/photoview/PhotoViewAttacher.java
+++ b/photoview/src/main/java/com/... | Ignore layout change event if no bounds has been changed | chrisbanes_PhotoView | train | java |
eaa588a63a69249e54ed61ed221da0a38805e975 | diff --git a/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/BasePlanTest.java b/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/BasePlanTest.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/BasePlanTest.java
+++ b/pres... | Add assertDistributedPlan that accepts session | prestodb_presto | train | java |
1277e2414f5d2082777e7fe9b3549d4c6f4b68d9 | diff --git a/src/components/Slider/Slider.js b/src/components/Slider/Slider.js
index <HASH>..<HASH> 100644
--- a/src/components/Slider/Slider.js
+++ b/src/components/Slider/Slider.js
@@ -152,9 +152,12 @@ export default class Slider extends PureComponent {
requestAnimationFrame(() => {
this.setState((prevS... | fix(Slider): fix JS error by dragging out of browser viewport (#<I>)
Fixes #<I>. | carbon-design-system_carbon-components-react | train | js |
d8043d621a566570ec057cc0917a9652219bb609 | diff --git a/pyorbital/astronomy.py b/pyorbital/astronomy.py
index <HASH>..<HASH> 100644
--- a/pyorbital/astronomy.py
+++ b/pyorbital/astronomy.py
@@ -158,6 +158,21 @@ def observer_position(time, lon, lat, alt):
return (x, y, z), (vx, vy, vz)
+
+import unittest
+class TestAstronomy(unittest.TestCase):
+
+ ... | Added the first unit test :) | pytroll_pyorbital | train | py |
d6848e13b01b7124ee13260df90a219c3388d461 | diff --git a/hug/_version.py b/hug/_version.py
index <HASH>..<HASH> 100644
--- a/hug/_version.py
+++ b/hug/_version.py
@@ -19,4 +19,4 @@ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT
OTHER DEALINGS IN THE SOFTWARE.
"""
-current = "0.2.0"
+current = "1.0.0"
diff --git a/setup.py b/... | Bump release to <I> | hugapi_hug | train | py,py |
55a1e6206cc2632e5d66b715c55df62759da2666 | diff --git a/src/feat/agencies/net/agency.py b/src/feat/agencies/net/agency.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/net/agency.py
+++ b/src/feat/agencies/net/agency.py
@@ -481,7 +481,11 @@ class Agency(agency.Agency):
db = self._database.get_connection()
host = yield locate.loca... | Fix gateway getting into redirect loop when trying to access an agent which is not running but his descriptor is in database. | f3at_feat | train | py |
c7b7516fa672a5bb9c473fe2ba0c066d9d36b2f3 | diff --git a/presto-verifier/src/main/java/com/facebook/presto/verifier/VerifierConfig.java b/presto-verifier/src/main/java/com/facebook/presto/verifier/VerifierConfig.java
index <HASH>..<HASH> 100644
--- a/presto-verifier/src/main/java/com/facebook/presto/verifier/VerifierConfig.java
+++ b/presto-verifier/src/main/jav... | Remove verifier limit of <I> threads | prestodb_presto | train | java |
f6d53abb4886afd0286e466aaa5ce038edc5e8b3 | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -30,6 +30,32 @@ class Request extends \Phalcon\Http\Request {
if ($this->getMethod() == 'PUT')
$this->_parsePut();
}
+ public function getMime($type) {
+ $mime = $type;
+ ... | added methods to match accept mimtypes | logikostech_http | train | php |
91dd8bf9a281c95ea3d89c5746493e2ea58e6bbe | diff --git a/test/mainstreet_test.rb b/test/mainstreet_test.rb
index <HASH>..<HASH> 100644
--- a/test/mainstreet_test.rb
+++ b/test/mainstreet_test.rb
@@ -15,7 +15,7 @@ class TestMainstreet < Minitest::Test
end
def test_bad_address
- address = create_address("bad_address", "123 tyrannosaurus st", "10000")
+ ... | Create faker address since Google matches Tyrannosaurus St to Dinosaur Trail | ankane_mainstreet | train | rb |
b4cfe750533a2df14c1c887004d5dfc113691b93 | diff --git a/app/assets/javascripts/admin/custom_fields.js b/app/assets/javascripts/admin/custom_fields.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/admin/custom_fields.js
+++ b/app/assets/javascripts/admin/custom_fields.js
@@ -87,7 +87,7 @@ function custom_field_editor($field){
var inputs =... | Custom fields tinymce language should be the current locale | owen2345_camaleon-cms | train | js |
38046ca68119885f42b48f6276a82859cd3949bc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,13 +3,13 @@ from setuptools import setup
setup(
name='gophish',
packages=['gophish', 'gophish.api'],
- version='0.1.5',
+ version='0.1.6',
description='Python API Client for Gophish',
author='Jord... | Bumped version to <I> | gophish_api-client-python | train | py |
fe32c5625d8cff69abededea8a3bc7a7f7606f7d | diff --git a/tests/integration/modules/test_mac_system.py b/tests/integration/modules/test_mac_system.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_mac_system.py
+++ b/tests/integration/modules/test_mac_system.py
@@ -2,7 +2,6 @@
integration tests for mac_system
"""
-
import logging
import ... | Drop Py2 and six on tests/integration/modules/test_mac_system.py | saltstack_salt | train | py |
0862df907349f15c59ecd1f7094c83a88c709df0 | diff --git a/lib/eu_central_bank.rb b/lib/eu_central_bank.rb
index <HASH>..<HASH> 100644
--- a/lib/eu_central_bank.rb
+++ b/lib/eu_central_bank.rb
@@ -1,7 +1,7 @@
require 'rubygems'
require 'open-uri'
require 'nokogiri'
-gem 'money', '=3.1.5'
+gem 'money', '=3.5.4'
require 'money'
class InvalidCache < StandardEr... | removed the deprecation warning. tested with money <I> | RubyMoney_eu_central_bank | train | rb |
54356fadf06a5e73392fdec8280e18a7962bddaa | diff --git a/tests/ViewHelpersTest.php b/tests/ViewHelpersTest.php
index <HASH>..<HASH> 100644
--- a/tests/ViewHelpersTest.php
+++ b/tests/ViewHelpersTest.php
@@ -74,11 +74,11 @@ class ViewHelpersTest extends TestCase
public function testExists()
{
$this->helpers->add('name', 'strtoupper');
- ... | Using assertTrue/assertFalse | tbreuss_pvc | train | php |
f602b6169cba492dfff6df99d140e18ffb07d332 | diff --git a/cinterop/test/client.go b/cinterop/test/client.go
index <HASH>..<HASH> 100644
--- a/cinterop/test/client.go
+++ b/cinterop/test/client.go
@@ -54,7 +54,6 @@ func main() {
_, err := c.Write([]byte("hi"))
if err != nil {
log.Fatal("write error:", err)
- break
}
time.Sleep(1e9)
} | delete minor unreachable code caused by log.Fatal | dropbox_godropbox | train | go |
24e3609320840c2ca4e97ead202cc972e459c64f | diff --git a/lib/statsd.js b/lib/statsd.js
index <HASH>..<HASH> 100644
--- a/lib/statsd.js
+++ b/lib/statsd.js
@@ -121,7 +121,7 @@ Client.prototype.timer = function (func, stat, sampleRate, tags, callback) {
return function () {
var start = process.hrtime();
try {
- return func(Array.from(arguments));... | Use .apply in order to properly pass the values in the arguments object to the user-provided function. | brightcove_hot-shots | train | js |
119f1b3cd213c0c7e2d403b66539a9b92f2497b0 | diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go
index <HASH>..<HASH> 100644
--- a/test/helpers/kubectl.go
+++ b/test/helpers/kubectl.go
@@ -137,6 +137,7 @@ var (
}
microk8sHelmOverrides = map[string]string{
+ "global.ipv6.enabled": "false",
"global.cni.confPath": "/var/snap/microk8s/current... | test: Disable ipv6 for microk8s integration
Commit ced4ad0bcaa8 ("ipam: Add "kubernetes" IPAM mode") autoenabled
--k8s-require-ipv6-pod-cidr if --enable-ipv6 is enabled, which causes a
Cilium to get stuck waiting for the IPv6 pod CIDR to be populated in the
node. Fix it by disabling ipv6 for microk8s CI. | cilium_cilium | train | go |
d1c4dd9af5274791ddc5ebdf31d165b51f32351a | diff --git a/girder/models/model_base.py b/girder/models/model_base.py
index <HASH>..<HASH> 100644
--- a/girder/models/model_base.py
+++ b/girder/models/model_base.py
@@ -671,8 +671,8 @@ class AccessControlledModel(Model):
list.
"""
acList = {
- 'users': doc['access'].get('users', ... | Querying access on object with empty ACL raised an exception
We should simply return an empty ACL in this case. | girder_girder | train | py |
e6062ebb8396500dba00de4d64fb057240e5cad0 | diff --git a/bitfield/forms.py b/bitfield/forms.py
index <HASH>..<HASH> 100644
--- a/bitfield/forms.py
+++ b/bitfield/forms.py
@@ -28,6 +28,14 @@ class BitFieldCheckboxSelectMultiple(CheckboxSelectMultiple):
class BitFormField(IntegerField):
def __init__(self, choices=(), widget=BitFieldCheckboxSelectMultiple, ... | forms: convert initial int to list of flags | disqus_django-bitfield | train | py |
6b38c556c3beb497c1ee97db253ce206ad89beba | diff --git a/moskito-extensions/moskito-disk-space-monitoring/src/main/java/net/anotheria/moskito/extensions/DiskSpaceMonitoringPlugin.java b/moskito-extensions/moskito-disk-space-monitoring/src/main/java/net/anotheria/moskito/extensions/DiskSpaceMonitoringPlugin.java
index <HASH>..<HASH> 100644
--- a/moskito-extension... | fixed npe in case there is no config | anotheria_moskito | train | java |
c1d57771c2e58269582c37ff9863fb188b7a79be | diff --git a/library/Garp/Spawn/MySql/View/I18n.php b/library/Garp/Spawn/MySql/View/I18n.php
index <HASH>..<HASH> 100755
--- a/library/Garp/Spawn/MySql/View/I18n.php
+++ b/library/Garp/Spawn/MySql/View/I18n.php
@@ -128,6 +128,9 @@ class Garp_Spawn_MySql_View_I18n extends Garp_Spawn_MySql_View_Abstract {
$multilingua... | Exclude mirrored relations from i<I>n view | grrr-amsterdam_garp3 | train | php |
07f88f102b52c909ad4d2e2299cb0f1c01975209 | diff --git a/tests/ApiTest.php b/tests/ApiTest.php
index <HASH>..<HASH> 100644
--- a/tests/ApiTest.php
+++ b/tests/ApiTest.php
@@ -141,7 +141,7 @@ class ApiTest extends PHPUnit_Framework_TestCase {
\Cloudinary\Uploader::upload("tests/logo.png", array("public_id"=>"api_test4", "tags"=>array("api_test_tag_for_delete... | Fixing test of delete resources by tag | cloudinary_cloudinary_php | train | php |
0d6decd9c3ba585ff2c9722c90b06eb05369d946 | diff --git a/libkbfs/disk_block_cache.go b/libkbfs/disk_block_cache.go
index <HASH>..<HASH> 100644
--- a/libkbfs/disk_block_cache.go
+++ b/libkbfs/disk_block_cache.go
@@ -867,6 +867,10 @@ func (cache *DiskBlockCacheLocal) evictFromTLFLocked(ctx context.Context,
continue
}
blockID, err := kbfsblock.IDFromBytes... | libkbfs: Handle ignored errors in disk block cache | keybase_client | train | go |
aa2e4983a60f4d86dd46a08623f1f232d9c9f832 | diff --git a/pyxel/editor/widget.py b/pyxel/editor/widget.py
index <HASH>..<HASH> 100644
--- a/pyxel/editor/widget.py
+++ b/pyxel/editor/widget.py
@@ -66,7 +66,7 @@ class Widget:
for handler in self._get_event_handler(event):
handler(*args)
- def process_input_event(self):
+ def process_in... | Renamed a method and arguments | kitao_pyxel | train | py |
60db020800d7b7e698f25ffef253cfe69cbefaed | diff --git a/bezier/_surface_helpers.py b/bezier/_surface_helpers.py
index <HASH>..<HASH> 100644
--- a/bezier/_surface_helpers.py
+++ b/bezier/_surface_helpers.py
@@ -448,7 +448,7 @@ def _make_transform(degree, weights_a, weights_b, weights_c):
transformation mappings. The keys are ``0`` corresponding to
... | Forcing integer division when appropriate. | dhermes_bezier | train | py,py |
066621686dd0577c49ef06d162b20b8f314d32d9 | diff --git a/rxjava2-jdbc/src/test/java/org/davidmoten/rx/jdbc/DatabaseTest.java b/rxjava2-jdbc/src/test/java/org/davidmoten/rx/jdbc/DatabaseTest.java
index <HASH>..<HASH> 100644
--- a/rxjava2-jdbc/src/test/java/org/davidmoten/rx/jdbc/DatabaseTest.java
+++ b/rxjava2-jdbc/src/test/java/org/davidmoten/rx/jdbc/DatabaseTes... | update test for issue #<I> | davidmoten_rxjava2-jdbc | train | java |
9ca11ba171c11f9d2cacae2aa878173a45c44e9b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name='django-disqus',
- version='0.3.5beta6',
+ version='0.3.5beta7',
description='Export existing comments and integrate DISQUS into your Djan... | Version bump to <I>beta7 | arthurk_django-disqus | train | py |
c52b2fc3f4a8cb20b2a692e4ae94575fa849c251 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def contents(filename):
setup(
name="sqlalchemy-json",
- version="0.4.0",
+ version="0.5.0",
author="Elmer de Looff",
author_email="elmer.delooff@gmail.com",
description="JSON type w... | Update version to <I>. | edelooff_sqlalchemy-json | train | py |
c9527685422ad9e158773d35622a4cd87b02d20e | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -3478,7 +3478,9 @@ MatrixClient.prototype.requestPasswordMsisdnToken = function(phoneCountry, phone
MatrixClient.prototype._requestTokenFromEndpoint = async function(endpoint, params) {
const postPara... | Remove IS details from requestToken to HS
This removes the IS details (server and access token) from `requestToken` calls
to the HS, as long as the HS supports the new separate add and bind mode. In
this mode, all of the 3PID validation is handled by the HS, so the IS details
are not used.
Fixes <URL> | matrix-org_matrix-js-sdk | train | js |
82ee620131074c0a22e5f68a86079e5bb3aa2991 | diff --git a/easymode/i18n/decorators.py b/easymode/i18n/decorators.py
index <HASH>..<HASH> 100644
--- a/easymode/i18n/decorators.py
+++ b/easymode/i18n/decorators.py
@@ -37,9 +37,9 @@ class I18n(object):
i18n.register(cls, getattr(settings, 'LOCALE_DIR', None) or model_dir )
# add permi... | Fixes I<I>n for models with tuple permissions
Fixes an error when `I<I>n` tries to add its permission to a model with a tuple for permissions. A model's `cls._meta.permissions` attribute can either be a list or a tuple (see <URL>). | specialunderwear_django-easymode | train | py |
77115eaa59304c421f15b9ca85420f2350b30fe7 | diff --git a/spyder/widgets/findinfiles.py b/spyder/widgets/findinfiles.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/findinfiles.py
+++ b/spyder/widgets/findinfiles.py
@@ -781,7 +781,6 @@ class FileProgressBar(QWidget):
self.spinner = QWaitingSpinner(self, centerOnParent=False)
self.spinner.se... | Start/stop find in files waiting spinner when is shown/hidden. | spyder-ide_spyder | train | py |
f0c7c44ed81086be7da9617196cfac1f447487dd | diff --git a/src/Renderer/BlockSnippetRenderer.php b/src/Renderer/BlockSnippetRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Renderer/BlockSnippetRenderer.php
+++ b/src/Renderer/BlockSnippetRenderer.php
@@ -95,7 +95,6 @@ abstract class BlockSnippetRenderer implements SnippetRenderer
foreach ($nodeChild... | Issue #<I>: Make getPathToLayoutXmlFile final so it is clear it's not a hook method | lizards-and-pumpkins_catalog | train | php |
ed9de17e42210616c27a03e7c035b68d1a8089a1 | diff --git a/dirtools.py b/dirtools.py
index <HASH>..<HASH> 100644
--- a/dirtools.py
+++ b/dirtools.py
@@ -330,8 +330,8 @@ class DirState(object):
for f in self._dir.iterfiles():
try:
index[f] = self.index_cmp(os.path.join(self._dir.path, f))
- except Exception, exc:
- ... | Fixed two little issues with python3 compatibility. | tsileo_dirtools | train | py |
6868237f0bcded732ea6fe2d33271dbc40c1fe2d | diff --git a/salt/modules/defaults.py b/salt/modules/defaults.py
index <HASH>..<HASH> 100644
--- a/salt/modules/defaults.py
+++ b/salt/modules/defaults.py
@@ -9,6 +9,9 @@ import salt.fileclient
import salt.utils
import salt.utils.url
+from salt.utils import dictupdate, traverse_dict_and_list
+
+
__virtualname__ = ... | Provide a helper function so that merging in jinja in formulas can be similar to merging in pillars. | saltstack_salt | train | py |
cf4b33cbdf424ca496f53059fe79b1a2ff0e18f3 | diff --git a/thinc/misc.py b/thinc/misc.py
index <HASH>..<HASH> 100644
--- a/thinc/misc.py
+++ b/thinc/misc.py
@@ -5,6 +5,7 @@ from .neural._classes.resnet import Residual # noqa: F401
from .neural._classes.feature_extracter import FeatureExtracter # noqa: F401
from .neural._classes.function_layer import FunctionLa... | Import Dropout in thinc.misc | explosion_thinc | train | py |
60e778edf78c9211e43f465626515067df9c87f5 | diff --git a/fireplace/cards/karazhan/collectible.py b/fireplace/cards/karazhan/collectible.py
index <HASH>..<HASH> 100644
--- a/fireplace/cards/karazhan/collectible.py
+++ b/fireplace/cards/karazhan/collectible.py
@@ -169,8 +169,9 @@ class KAR_114e:
# class KAR_026:
# "Protect the King!"
-# class KAR_073:
-# "Ma... | Implement "Maelstrom Portal" with test
KAR_<I> | jleclanche_fireplace | train | py,py |
cd2f6566ddd3dce68adcd622d992e29c1edb68c0 | diff --git a/fireplace/targeting.py b/fireplace/targeting.py
index <HASH>..<HASH> 100644
--- a/fireplace/targeting.py
+++ b/fireplace/targeting.py
@@ -57,6 +57,9 @@ def is_valid_target(self, target, requirements=None):
elif req == PlayReq.REQ_DAMAGED_TARGET:
if not target.damage:
return False
+ elif req ==... | Implement PlayReq.REQ_FROZEN_TARGET for use with Shatter | jleclanche_fireplace | train | py |
b098237ceec25eeb11fe188361136832fcbbff8e | diff --git a/examples/compress-events/main.go b/examples/compress-events/main.go
index <HASH>..<HASH> 100644
--- a/examples/compress-events/main.go
+++ b/examples/compress-events/main.go
@@ -91,6 +91,11 @@ func newWindow(X *xgbutil.XUtil, color uint32) *xwindow.Window {
func compressMotionNotify(X *xgbutil.XUtil,
ev... | we should sync and read events when compressing. | BurntSushi_xgbutil | train | go |
0272afc178b6806ee0a60bbaa930ffd64eb0bf6e | diff --git a/src/OpenAccess_EPUB/opf/opf.py b/src/OpenAccess_EPUB/opf/opf.py
index <HASH>..<HASH> 100644
--- a/src/OpenAccess_EPUB/opf/opf.py
+++ b/src/OpenAccess_EPUB/opf/opf.py
@@ -286,8 +286,9 @@ class PLoSOPF(MetaOPF):
self.metadata.appendChild(dc.title(title, self.doc))
#Make the dc:rights usin... | Added check for permissions before writing dc-rights | SavinaRoja_OpenAccess_EPUB | train | py |
b78e36b37c20ca7ad6f2b8874fc70cb56ed223b7 | diff --git a/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSName.java b/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSName.java
index <HASH>..<HASH> 100644
--- a/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSName.java
+++ b/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSName.java
@@ -59,6 +59,7 @@ public clas... | Comment the use of a tree map. | jglobus_JGlobus | train | java |
49a3734f67b3bf9d228d4e987eed20578efc6fee | diff --git a/tests/Doctrine/Tests/TestInit.php b/tests/Doctrine/Tests/TestInit.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/TestInit.php
+++ b/tests/Doctrine/Tests/TestInit.php
@@ -14,7 +14,9 @@ $classLoader = new \Doctrine\Common\ClassLoader('Doctrine');
$classLoader->register();
set_include_path(
- ... | Removed useless structural code and added phpunit.xml.dist
Test suite can now be executed from the root folder with just "phpunit" | doctrine_persistence | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.