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 |
|---|---|---|---|---|---|
c57e0c79048e96df56916fe2b73661fddf048cfe | diff --git a/spec/unit/util/dsc/local_configuration_manager_spec.rb b/spec/unit/util/dsc/local_configuration_manager_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/util/dsc/local_configuration_manager_spec.rb
+++ b/spec/unit/util/dsc/local_configuration_manager_spec.rb
@@ -185,7 +185,7 @@ describe Chef::Util::DSC:... | Updated the chef client to retrieve certs from the Windows registry. Tests included. This is PR3 since I keep trashing them | chef_chef | train | rb |
2b360b641caaade76c0db1fab4c69660c8e09fb9 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -17,6 +17,7 @@ package torrent
import (
"bufio"
+ "bytes"
"container/heap"
"crypto/rand"
"crypto/sha1"
@@ -921,7 +922,12 @@ func (me *Client) connectionLoop(t *torrent, c *connection) error {
err = fmt.Erro... | Don't log extension message parsing errors from -SD<I>- | anacrolix_torrent | train | go |
ac4e8587310c8c7e436d881c8d339d236414fea5 | diff --git a/tools/run_tests/run_tests_matrix.py b/tools/run_tests/run_tests_matrix.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_tests_matrix.py
+++ b/tools/run_tests/run_tests_matrix.py
@@ -182,7 +182,7 @@ def _create_test_jobs(extra_args=[], inner_jobs=_DEFAULT_INNER_JOBS):
# sanity tests
test_j... | Only dbg for sanity test | grpc_grpc | train | py |
d0e7d7391eac5bf6b8b158583a927408c8a0b1d3 | diff --git a/pychromecast/socket_client.py b/pychromecast/socket_client.py
index <HASH>..<HASH> 100644
--- a/pychromecast/socket_client.py
+++ b/pychromecast/socket_client.py
@@ -753,12 +753,13 @@ class SocketClient(threading.Thread):
except Exception: # pylint: disable=broad-except
pass
... | Don't throw if socket closed when cleaning up (#<I>) | balloob_pychromecast | train | py |
ad9256c947e2c27f1a9dcf3e6fd5eaa0c4cd84c2 | diff --git a/salt/modules/apt.py b/salt/modules/apt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/apt.py
+++ b/salt/modules/apt.py
@@ -936,7 +936,10 @@ def mod_repo(repo, **kwargs):
# implementation via apt-add-repository. The code path for
# secure PPAs should be the same as urllib metho... | fixing apt.mod_repo to work on ubuntu < <I> | saltstack_salt | train | py |
9118a9e7c8524ec10d55e932fee439c0b4663820 | diff --git a/test/cases/signed_global_id_test.rb b/test/cases/signed_global_id_test.rb
index <HASH>..<HASH> 100644
--- a/test/cases/signed_global_id_test.rb
+++ b/test/cases/signed_global_id_test.rb
@@ -180,12 +180,12 @@ class SignedGlobalIDExpirationTest < ActiveSupport::TestCase
test 'passing expires_at override... | Fix test failing when run close to the end of the day. | rails_globalid | train | rb |
dc5dd1e443cfa0dd44e5d58d24466bc74befcb15 | diff --git a/dvc/scm/git/__init__.py b/dvc/scm/git/__init__.py
index <HASH>..<HASH> 100644
--- a/dvc/scm/git/__init__.py
+++ b/dvc/scm/git/__init__.py
@@ -260,7 +260,7 @@ class Git(Base):
)
def track_file(self, path):
- self.files_to_track.update(set(path))
+ self.files_to_track.add(path)
... | change set.update to set.add
created a set with `{}` but resulted in a dictionary, making me think about `set` not supporting the `add` method.
Thanks for the correction, @efiop ! | iterative_dvc | train | py |
7e44b3a70c7fa12c6a0b1c00201b8b88eaac80c5 | diff --git a/lib/Condorcet/algorithms/KemenyYoung.algo.php b/lib/Condorcet/algorithms/KemenyYoung.algo.php
index <HASH>..<HASH> 100644
--- a/lib/Condorcet/algorithms/KemenyYoung.algo.php
+++ b/lib/Condorcet/algorithms/KemenyYoung.algo.php
@@ -101,7 +101,7 @@ class KemenyYoung
}
// Populate the nexts
- $this... | More elegant appeal (rPossibleRanking) | julien-boudry_Condorcet | train | php |
9cf96a91ec3b38b70f81b1ab15f32e18c3c10a1e | diff --git a/py3status/modules/battery_level.py b/py3status/modules/battery_level.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/battery_level.py
+++ b/py3status/modules/battery_level.py
@@ -83,6 +83,7 @@ discharging
from re import findall
from glob import iglob
+import itertools
import math
import os
@... | battery_level module: support more battery paths detection (#<I>) | ultrabug_py3status | train | py |
214dea0a5d9e43faa17a1014ecc0a2c583c0e576 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -219,8 +219,8 @@ class LiSETest(unittest.TestCase):
self.engine.db.things_dump():
things[character][thing][branch][tick] = (loc, nextloc)
self.assertDictEqual(
- things,
- ... | Put these args in a more sensible order | LogicalDash_LiSE | train | py |
e7d382952c4dffc29ae832a7a37ddc0f37e66e68 | diff --git a/src/Version.php b/src/Version.php
index <HASH>..<HASH> 100644
--- a/src/Version.php
+++ b/src/Version.php
@@ -18,5 +18,5 @@ namespace Leafo\ScssPhp;
*/
class Version
{
- const VERSION = 'v0.5.1';
+ const VERSION = 'v0.6.0';
} | Bump to version <I> | leafo_scssphp | train | php |
f2b8d37a3d5c8578c3ed892b1eb4a02344077b7c | diff --git a/ui/src/admin/containers/AdminChronografPage.js b/ui/src/admin/containers/AdminChronografPage.js
index <HASH>..<HASH> 100644
--- a/ui/src/admin/containers/AdminChronografPage.js
+++ b/ui/src/admin/containers/AdminChronografPage.js
@@ -241,8 +241,6 @@ class AdminChronografPage extends Component {
show... | Derive num users selected from array length | influxdata_influxdb | train | js |
01a2cfba56ef3935491fb40fd51d36a067a50af7 | diff --git a/python/sbp/client/handler.py b/python/sbp/client/handler.py
index <HASH>..<HASH> 100644
--- a/python/sbp/client/handler.py
+++ b/python/sbp/client/handler.py
@@ -301,6 +301,25 @@ class Handler(object):
self.remove_callback(cb, msg_type)
return payload['data']
+ def wait_callback(self, callback... | Add a wait_callback. | swift-nav_libsbp | train | py |
3351e1c58da06ba8454210c6af25de6de8745b12 | diff --git a/tests/unit/modules/nftables_test.py b/tests/unit/modules/nftables_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/nftables_test.py
+++ b/tests/unit/modules/nftables_test.py
@@ -3,16 +3,22 @@
:codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
'''
+# Import Python Libs
+from __f... | added python libs | saltstack_salt | train | py |
6471e724b912242efc58ac99621c6ff67818da70 | diff --git a/src/SortableContainer/index.js b/src/SortableContainer/index.js
index <HASH>..<HASH> 100644
--- a/src/SortableContainer/index.js
+++ b/src/SortableContainer/index.js
@@ -214,11 +214,12 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
};
const fields = node.que... | fix: Update value pre-population logic to be more reliable | clauderic_react-sortable-hoc | train | js |
92a81fd85993028901b207b8b8962e82340e4af3 | diff --git a/app/models/releaf/blank_node_base.rb b/app/models/releaf/blank_node_base.rb
index <HASH>..<HASH> 100644
--- a/app/models/releaf/blank_node_base.rb
+++ b/app/models/releaf/blank_node_base.rb
@@ -16,9 +16,7 @@ module Releaf
private
def self._node_classes(klass)
- return [klass] if klass.subc... | Show all subclasses, not only bottom level | cubesystems_releaf | train | rb,rb |
e053a8b11c66f9db36773e89117e87c9945840a5 | diff --git a/cwltool/provenance.py b/cwltool/provenance.py
index <HASH>..<HASH> 100644
--- a/cwltool/provenance.py
+++ b/cwltool/provenance.py
@@ -943,7 +943,7 @@ class ResearchObject():
and extension in prov_conforms_to):
if ".cwlprov" in rel_path:
# Our own!
... | PROV files also conform to CWLPROV_VERSION | common-workflow-language_cwltool | train | py |
9e6be9c48211a3db8b79c5ff1abeaaeba2ea119e | diff --git a/lib/cli/spawn.js b/lib/cli/spawn.js
index <HASH>..<HASH> 100644
--- a/lib/cli/spawn.js
+++ b/lib/cli/spawn.js
@@ -25,12 +25,12 @@ module.exports = co(function * (cwd) {
const opts = {cwd, file, plugins}
try {
- const esnext = require.resolve("fly-esnext") && require("fly-esnext")
+ const esnext = r... | no need to require.resolve + require() | lukeed_taskr | train | js |
c01068368547e3cded9e3470a619fed88a9b6f5f | diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py
index <HASH>..<HASH> 100644
--- a/telethon/telegram_bare_client.py
+++ b/telethon/telegram_bare_client.py
@@ -597,7 +597,7 @@ class TelegramBareClient:
# be on the very first connection (not authorized, not running),
... | Fix using *args on phone migrate | LonamiWebs_Telethon | train | py |
876db1f4a742813d48473b8bcd7e97d60bda806c | diff --git a/src/candela/components/TrackerDash/InfoPane.js b/src/candela/components/TrackerDash/InfoPane.js
index <HASH>..<HASH> 100644
--- a/src/candela/components/TrackerDash/InfoPane.js
+++ b/src/candela/components/TrackerDash/InfoPane.js
@@ -120,7 +120,7 @@ class InfoPane extends VisComponent {
}
... | fix(TrackerDash): Use correct target element for InfoPane bullet charts | Kitware_candela | train | js |
a9c8b4d3aaca9026d3ff9260dd219623b6409c89 | diff --git a/config/environment.js b/config/environment.js
index <HASH>..<HASH> 100644
--- a/config/environment.js
+++ b/config/environment.js
@@ -1,10 +1,13 @@
/*jshint node:true*/
'use strict';
-module.exports = function (/* environment, appConfig */) {
+module.exports = function(environment, appSettings) {
+ le... | Only include `moment` locales when needed | btecu_ember-cli-bootstrap-datetimepicker | train | js |
a136501d43396977b50571a68527333f1c835bb0 | diff --git a/test/mp/runtime/directives/bind.spec.js b/test/mp/runtime/directives/bind.spec.js
index <HASH>..<HASH> 100644
--- a/test/mp/runtime/directives/bind.spec.js
+++ b/test/mp/runtime/directives/bind.spec.js
@@ -421,4 +421,27 @@ describe('Directive v-bind', () => {
expectAttr(0)
}).then(done)
})
+... | test: update test for same attribute value but different hid | kaola-fed_megalo | train | js |
27e8ea1762c950e3cf0b2b61c147bd8d72f99418 | diff --git a/controllers/DefaultController.php b/controllers/DefaultController.php
index <HASH>..<HASH> 100644
--- a/controllers/DefaultController.php
+++ b/controllers/DefaultController.php
@@ -53,6 +53,10 @@ class DefaultController extends \cms\base\Controller
$link = Yii::$app->links->findOneByArg... | throw <I> not found exception when page does not exist for the provided
language closes #<I>. | luyadev_luya-module-cms | train | php |
525fd12d137a0e354a4a7c94fa1331cf2e6ac3fa | diff --git a/test/domain_test.rb b/test/domain_test.rb
index <HASH>..<HASH> 100644
--- a/test/domain_test.rb
+++ b/test/domain_test.rb
@@ -95,6 +95,10 @@ module GitHubLdapDomainTestCases
assert_equal 'uid=calavera,dc=github,dc=com', @domain.user?('calavera').dn
end
+ def test_user_wildcards_are_filtered
+ ... | Add a test to ensure this doesn't break again. | github_github-ldap | train | rb |
708ac58e91790450067be170398f2a2f921363b9 | diff --git a/src/core/Query.java b/src/core/Query.java
index <HASH>..<HASH> 100644
--- a/src/core/Query.java
+++ b/src/core/Query.java
@@ -40,8 +40,8 @@ public interface Query {
/**
* Returns the start time of the graph.
* @return A strictly positive integer.
- * @throws IllegalStateException if {@link #se... | Add a downsample setter override to the Query interface for fills | OpenTSDB_opentsdb | train | java |
34dc163329d83b3bf42f2dbe65a9db0cd3be9e80 | diff --git a/dvc/progress.py b/dvc/progress.py
index <HASH>..<HASH> 100644
--- a/dvc/progress.py
+++ b/dvc/progress.py
@@ -39,6 +39,7 @@ class Tqdm(tqdm):
disable=None,
bytes=False, # pylint: disable=W0622
desc_truncate=None,
+ leave=None,
**kwargs
):
"""
@@ -63... | Tqdm auto leave=False for nested bars | iterative_dvc | train | py |
e5550198165a5add9049788da28fd754200fa5fd | diff --git a/examples/java/com/ibm/watson/developer_cloud/discovery/v1/DiscoveryQueryExample.java b/examples/java/com/ibm/watson/developer_cloud/discovery/v1/DiscoveryQueryExample.java
index <HASH>..<HASH> 100644
--- a/examples/java/com/ibm/watson/developer_cloud/discovery/v1/DiscoveryQueryExample.java
+++ b/examples/j... | Update version to <I>-<I>-<I> | watson-developer-cloud_java-sdk | train | java |
d234c8627a8756fda059a0e8bd7af854254322b8 | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -533,7 +533,9 @@ class MinionBase(object):
msg = ('No master could be reached or all masters '
'denied the minions connection attempt.')
... | Disabled pylint warning
I believe the pylint warning to be a false positive, so I disabled it
and added a comment explaining why. | saltstack_salt | train | py |
a6cfb15d34ab23a1e96c7bc6a90c9ad22e5c17ff | diff --git a/lib/composable_operations/operation.rb b/lib/composable_operations/operation.rb
index <HASH>..<HASH> 100644
--- a/lib/composable_operations/operation.rb
+++ b/lib/composable_operations/operation.rb
@@ -84,7 +84,7 @@ class Operation
!result
end
- def succeeded?
+ def successful?
!!result
... | Renames Operation#succeeded? to Operation#successful? | t6d_composable_operations | train | rb,rb |
24a80a35506e379061e5e6947ab2e57ef283b15d | diff --git a/tests/_s.py b/tests/_s.py
index <HASH>..<HASH> 100644
--- a/tests/_s.py
+++ b/tests/_s.py
@@ -79,10 +79,6 @@ class TestSpamdHandler(StreamRequestHandler):
def do_HEADERS(self):
"""Emulate HEADERS"""
- headers = []
- for header in self.headers:
- headers.append("%s: ... | FIX: Remove dead code from tests | akissa_spamc | train | py |
feaa3d0e902bb73f00b1cfad018484ddcd7c7ff0 | diff --git a/helpers/helpers.go b/helpers/helpers.go
index <HASH>..<HASH> 100644
--- a/helpers/helpers.go
+++ b/helpers/helpers.go
@@ -189,7 +189,7 @@ func ShouldEventuallyReceive(t testing.TB, c interface{}, timeouts ...time.Durat
}
v := reflect.ValueOf(c)
- timeout := time.After(100 * time.Millisecond)
+ timeou... | being more conservative in the default timeouts from helpers | topfreegames_pitaya | train | go |
4792f9e01703bcb9e89d92ed4f1185f91be27f4a | diff --git a/mongorest/collection.py b/mongorest/collection.py
index <HASH>..<HASH> 100644
--- a/mongorest/collection.py
+++ b/mongorest/collection.py
@@ -208,7 +208,7 @@ class Document(object):
object.__setattr__(self, attr, value)
else:
- self._fields[attr] =value
+ self.... | docstrings and pep8 | lvieirajr_mongorest | train | py |
3833d95bf336d767c6d8fd9451dd6f502e4c3472 | diff --git a/core/DataAccess/Model.php b/core/DataAccess/Model.php
index <HASH>..<HASH> 100644
--- a/core/DataAccess/Model.php
+++ b/core/DataAccess/Model.php
@@ -59,7 +59,7 @@ class Model
FROM `$archiveTable`
WHERE name LIKE 'done%'
AND `value` NOT IN (" . Archi... | Minor performance improvement when invalidating archives (#<I>)
Just debugging some memory issues around archiving and noticed here it returned in one case over <I>K rows. When adding the count > 1 it returned only <I> rows. This should make it a lot faster and consume bit less memory etc. It's only a minor tweak thou... | matomo-org_matomo | train | php |
47f9391a2c96c4fef006fe0bf07ed6f03db5baa0 | diff --git a/gwpy/signal/filter_design.py b/gwpy/signal/filter_design.py
index <HASH>..<HASH> 100644
--- a/gwpy/signal/filter_design.py
+++ b/gwpy/signal/filter_design.py
@@ -61,15 +61,15 @@ def _design_iir(wp, ws, sample_rate, gpass, gstop,
nyq = sample_rate / 2.
wp = numpy.atleast_1d(wp)
ws = numpy.atl... | signal.filter_design: minor comments changes | gwpy_gwpy | train | py |
66ad0c2ad7c28543e709a14435a69c763e6e9610 | diff --git a/Vps_js/FrontendForm/Select.js b/Vps_js/FrontendForm/Select.js
index <HASH>..<HASH> 100644
--- a/Vps_js/FrontendForm/Select.js
+++ b/Vps_js/FrontendForm/Select.js
@@ -11,7 +11,7 @@ Vps.FrontendForm.Select = Ext.extend(Vps.FrontendForm.Field, {
},
getValue: function() {
return this.el.chil... | remove yet another comma :/ | koala-framework_koala-framework | train | js |
9d85f604325cfa85228aefc826248b549b14cf29 | diff --git a/PBB_Core.py b/PBB_Core.py
index <HASH>..<HASH> 100755
--- a/PBB_Core.py
+++ b/PBB_Core.py
@@ -361,7 +361,7 @@ class WDItemEngine(object):
if current_value in self.data[wd_property]:
values_present.append(current_value)
- else:
+ elif len... | prevent empyt property fromb being added to wd_json_representation | SuLab_WikidataIntegrator | train | py |
0b257e92035f727062ded0e5565222567345bcdc | diff --git a/src/livestreamer/utils.py b/src/livestreamer/utils.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/utils.py
+++ b/src/livestreamer/utils.py
@@ -85,7 +85,6 @@ class NamedPipe(object):
if self.pipe:
windll.kernel32.DisconnectNamedPipe(self.pipe)
else:
- self.fi... | No need to close *nix fifo, just remove it. | streamlink_streamlink | train | py |
0e39d19a97600dacf3c88451d597d95b860b3906 | diff --git a/python/herald/transports/xmpp/monitor.py b/python/herald/transports/xmpp/monitor.py
index <HASH>..<HASH> 100644
--- a/python/herald/transports/xmpp/monitor.py
+++ b/python/herald/transports/xmpp/monitor.py
@@ -455,7 +455,10 @@ class MonitorBotWrapper(object):
self.__bot.add_event_handler("failed_a... | New Rendez-Vous sentence for XMPP connection error | cohorte_cohorte-herald | train | py |
d131468cf31d6ca4bcb368048575810a521948f4 | diff --git a/guacamole/src/main/java/org/apache/guacamole/rest/RequestSizeFilter.java b/guacamole/src/main/java/org/apache/guacamole/rest/RequestSizeFilter.java
index <HASH>..<HASH> 100644
--- a/guacamole/src/main/java/org/apache/guacamole/rest/RequestSizeFilter.java
+++ b/guacamole/src/main/java/org/apache/guacamole/r... | GUACAMOLE-<I>: Declare default request size limit constant as static. | glyptodon_guacamole-client | train | java |
821e8cb2adae6bdad9f4961189e502e0f9574f23 | diff --git a/tinyrpc/protocols/__init__.py b/tinyrpc/protocols/__init__.py
index <HASH>..<HASH> 100644
--- a/tinyrpc/protocols/__init__.py
+++ b/tinyrpc/protocols/__init__.py
@@ -74,6 +74,13 @@ class RPCBatchRequest(list):
an error in parsing the request.
"""
+ def create_batch_response(self):
+ "... | Moved create_batch_response to the correct function. | mbr_tinyrpc | train | py |
7da2a9d4141cff40801b7959a952b3416ac297ef | diff --git a/test/test_scheduler.go b/test/test_scheduler.go
index <HASH>..<HASH> 100644
--- a/test/test_scheduler.go
+++ b/test/test_scheduler.go
@@ -263,13 +263,15 @@ func (s *SchedulerSuite) TestControllerRestart(t *c.C) {
addr := addrs[1]
debug(t, "new controller address: ", addr)
client, err = controller.... | test: Fix race in TestControllerRestart
Creating a client doesn't actually make any connections, so try to
connect to the stream inside of the attempts function. | flynn_flynn | train | go |
42da3bcd0043aaf0735fdc0501e89fe2fff794ef | diff --git a/lib/active_record_sunspotter/sunspotability.rb b/lib/active_record_sunspotter/sunspotability.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record_sunspotter/sunspotability.rb
+++ b/lib/active_record_sunspotter/sunspotability.rb
@@ -74,6 +74,24 @@ module ActiveRecordSunspotter::Sunspotability
# I got thi... | Sunspot <I> is missing the classes for TrieDoubleType and TrieLongType. | jakewendt_active_record_sunspotter | train | rb |
de4b2c05256f6d618640f11a5c20e4e1593bbbfc | diff --git a/lib/chef/property.rb b/lib/chef/property.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/property.rb
+++ b/lib/chef/property.rb
@@ -113,9 +113,11 @@ class Chef
# and the transformed value returned as output. Lazy values will *not*
# be passed to this method until after they are evaluated. C... | update property docs (#<I>) | chef_chef | train | rb |
5a7719e0e9e3c682e06870859ee11cae51d8f9ca | diff --git a/tornado/websocket.py b/tornado/websocket.py
index <HASH>..<HASH> 100644
--- a/tornado/websocket.py
+++ b/tornado/websocket.py
@@ -703,7 +703,7 @@ class WebSocketClientConnection(simple_httpclient._HTTPConnection):
def _on_close(self):
self.on_message(None)
- self.resolver.close()
+ ... | Fix an AttributeError in WebSocketClientConnection._on_close.
Fix an issue that was preventing this issue from showing up in my
tests.
Closes #<I>. | tornadoweb_tornado | train | py |
bcf564c30e6ac2be8cf86379c2f1800962c6db71 | diff --git a/Eloquent/FactoryBuilder.php b/Eloquent/FactoryBuilder.php
index <HASH>..<HASH> 100644
--- a/Eloquent/FactoryBuilder.php
+++ b/Eloquent/FactoryBuilder.php
@@ -412,7 +412,7 @@ class FactoryBuilder
*/
protected function callAfterCallbacks(array $afterCallbacks, $model, $state)
{
- if (!... | Apply fixes from StyleCI (#<I>) | illuminate_database | train | php |
51111c2594fc7059df03b7a9d3fcf27c022ba804 | diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index <HASH>..<HASH> 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -113,8 +113,7 @@ def load_engine(engine_data):
iso_lang not in getattr(engine, 'supported_languages'):
language_aliases[iso_l... | [fix] always set langauge_aliases even if it's empty | asciimoo_searx | train | py |
5abb552949678f74a47e3d55c2460efbb6c5eaad | diff --git a/lib/docomoru/client.rb b/lib/docomoru/client.rb
index <HASH>..<HASH> 100644
--- a/lib/docomoru/client.rb
+++ b/lib/docomoru/client.rb
@@ -19,7 +19,7 @@ module Docomoru
include DialogueMethods
# @param [String] api_key APIKEY issued from DoCoMo.
- def initialize(api_key:)
+ def initialize(... | Make it compatible with Ruby <I> | r7kamura_docomoru | train | rb |
8d72e2b89a62e65e6c299b36b26a74158424707a | diff --git a/lib/roadworker/client.rb b/lib/roadworker/client.rb
index <HASH>..<HASH> 100644
--- a/lib/roadworker/client.rb
+++ b/lib/roadworker/client.rb
@@ -63,8 +63,8 @@ module Roadworker
end
def walk_hosted_zones(dsl)
- expected = collection_to_hash(dsl.hosted_zones) {|i| [normalize_name(i.name), i... | Deal with zones with the same name associated to different VPCs correctly
- i.vpcs.empty? just means whether it's assocaited to a VPC
- Zones bound to different VPCs should be dealt as different zones | codenize-tools_roadworker | train | rb |
429228dcea9adc0a4c93e777940d5748cece4e39 | diff --git a/sprinter/recipes/unpack.py b/sprinter/recipes/unpack.py
index <HASH>..<HASH> 100644
--- a/sprinter/recipes/unpack.py
+++ b/sprinter/recipes/unpack.py
@@ -20,11 +20,14 @@ class UnpackRecipe(RecipeStandard):
if 'executable' in config:
symlink_target = config['symlink'] if 'symlink' in c... | adding in recipestandard commands to unpack | toumorokoshi_sprinter | train | py |
0c9da0f9e841766c99f56e03d9a52f446f9d80ac | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -58,6 +58,7 @@ setup(
long_description=get_long_description(),
long_description_content_type="text/markdown",
include_package_data=True,
+ python_requires='>=3.7',
classifiers=[
"Development Sta... | Update setup.py to require python >= <I> (#<I>)
* Update setup.py
* Update setup.py | arviz-devs_arviz | train | py |
94c8f5eb9bfc462fe3145d2e841204fff70ca5ea | diff --git a/resources/views/model/partials/list/strategies/stapler_image.blade.php b/resources/views/model/partials/list/strategies/stapler_image.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/model/partials/list/strategies/stapler_image.blade.php
+++ b/resources/views/model/partials/list/strategies/stapl... | Replace title with alt attribute in stapler_image list template | czim_laravel-cms-models | train | php |
2af6d036253eee1a9a08c6ddf6be6d67537bcdff | diff --git a/config/http_config.go b/config/http_config.go
index <HASH>..<HASH> 100644
--- a/config/http_config.go
+++ b/config/http_config.go
@@ -170,6 +170,7 @@ func (a *OAuth2) SetDirectory(dir string) {
return
}
a.ClientSecretFile = JoinDir(dir, a.ClientSecretFile)
+ a.TLSConfig.SetDirectory(dir)
}
// HT... | Call SetDirectory in OAuth TLS Config (#<I>) | prometheus_common | train | go |
212aa024ac38c3532e0322c24b4d8f2ce3380276 | diff --git a/lib/haz_enum/set.rb b/lib/haz_enum/set.rb
index <HASH>..<HASH> 100644
--- a/lib/haz_enum/set.rb
+++ b/lib/haz_enum/set.rb
@@ -14,6 +14,7 @@ module HazEnum
end
define_method("#{set_name}=") do |value|
+ value.constantize rescue value if value.is_a?(String)
class <<value... | strings in setter will be constantized | galaxycats_haz_enum | train | rb |
3750465db58ea9ab181459d928cbef7dcce876d0 | diff --git a/algolia/search/generate_secured_api_key.go b/algolia/search/generate_secured_api_key.go
index <HASH>..<HASH> 100644
--- a/algolia/search/generate_secured_api_key.go
+++ b/algolia/search/generate_secured_api_key.go
@@ -11,15 +11,19 @@ import (
"github.com/algolia/algoliasearch-client-go/algolia/transport"... | fixed: correctly handle HMAC error on writing checksum | algolia_algoliasearch-client-go | train | go |
6db5e561e10c6513a71f246552ff273ea9a93143 | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -218,8 +218,8 @@ function env(configEnv) {
switch (toString(configEnv[NODE_ENV])) {
case '[object Object]' : return Object.assign({}, configEnv.all || {}, configEnv[NODE_ENV]);
... | fix(webpack.config): correct env default | inchingorg_xdata-web | train | js |
da7130b38036ecc817cb7c9ced2366e5159b718e | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
-__version__ = "... | Update Pyrogram to <I> | pyrogram_pyrogram | train | py |
96c7534ca3d12d2c8a9b58168ef0706f2751649e | diff --git a/framework/yii/grid/DataColumn.php b/framework/yii/grid/DataColumn.php
index <HASH>..<HASH> 100644
--- a/framework/yii/grid/DataColumn.php
+++ b/framework/yii/grid/DataColumn.php
@@ -35,8 +35,10 @@ class DataColumn extends Column
/**
* @var string in which format should the value of each data model be ... | set default format for gridview to text
default format is text in short format so it should also be
like that in array() defintion. | yiisoft_yii2-debug | train | php |
e1e32f60946ccd0fc4f2d6f51a8d7d1b551f2fbc | diff --git a/lib/puppet/version.rb b/lib/puppet/version.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/version.rb
+++ b/lib/puppet/version.rb
@@ -6,7 +6,7 @@
# Raketasks and such to set the version based on the output of `git describe`
module Puppet
- PUPPETVERSION = '4.10.7'
+ PUPPETVERSION = '4.10.8'
##
... | (packaging) Update puppet version to <I> | puppetlabs_puppet | train | rb |
10a677a63034db3d7a54a90f6f2a9e48a82d1725 | diff --git a/plugins/CoreConsole/Commands/GenerateUpdate.php b/plugins/CoreConsole/Commands/GenerateUpdate.php
index <HASH>..<HASH> 100644
--- a/plugins/CoreConsole/Commands/GenerateUpdate.php
+++ b/plugins/CoreConsole/Commands/GenerateUpdate.php
@@ -82,10 +82,6 @@ class GenerateUpdate extends GeneratePluginBase
... | make generated plugin updates work (#<I>) | matomo-org_matomo | train | php |
2fac69ae59ac8400c2f346f4ab416caaf7635521 | diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php
index <HASH>..<HASH> 100644
--- a/app/Report/ReportParserGenerate.php
+++ b/app/Report/ReportParserGenerate.php
@@ -1930,7 +1930,7 @@ class ReportParserGenerate extends ReportParserBase
// This filter h... | Fix: #<I> wildcard events failing on vital records report | fisharebest_webtrees | train | php |
30b39466a088a6c9c3266786bafc1756c79d4b01 | diff --git a/src/tuwien/auto/calimero/link/Connector.java b/src/tuwien/auto/calimero/link/Connector.java
index <HASH>..<HASH> 100644
--- a/src/tuwien/auto/calimero/link/Connector.java
+++ b/src/tuwien/auto/calimero/link/Connector.java
@@ -407,9 +407,13 @@ public final class Connector
connect();
}
catch ... | Show stack trace on first failed connection attempt | calimero-project_calimero-core | train | java |
09291d0ec63d733ec029e451b57e79067a107442 | diff --git a/tomodachi/launcher.py b/tomodachi/launcher.py
index <HASH>..<HASH> 100644
--- a/tomodachi/launcher.py
+++ b/tomodachi/launcher.py
@@ -100,7 +100,7 @@ class ServiceLauncher(object):
cls.restart_services = True
init_modules = [m for m in sys.modules.keys()]
- safe_modules = ['typin... | added google.protobuf to safe_modules to enable hot-reloading | kalaspuff_tomodachi | train | py |
eb1cb27a07af006feb33f903e01fb26a2983555e | diff --git a/zipline/transforms/mavg.py b/zipline/transforms/mavg.py
index <HASH>..<HASH> 100644
--- a/zipline/transforms/mavg.py
+++ b/zipline/transforms/mavg.py
@@ -29,10 +29,12 @@ class MovingAverage(object):
"""
__metaclass__ = TransformMeta
- def __init__(self, fields,
+ def __init__(self, fields... | REF: fields now defaults to price for mavg and stddev transform. Also allows string specification. | quantopian_zipline | train | py,py |
0db990c1109a6c3f0d214f5fb2d81c04eb62935b | diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -1213,17 +1213,3 @@ def view_src_groups(token, dstore):
tbl.sort(key=operator.itemgetter(1), reverse=True)
return text_table(tbl... | Removed obsolete view [ci skip] | gem_oq-engine | train | py |
fafcd38a56e3a0855b999a6565386d88376ee039 | diff --git a/hikaricp-common/src/main/java/com/zaxxer/hikari/proxy/ConnectionProxy.java b/hikaricp-common/src/main/java/com/zaxxer/hikari/proxy/ConnectionProxy.java
index <HASH>..<HASH> 100644
--- a/hikaricp-common/src/main/java/com/zaxxer/hikari/proxy/ConnectionProxy.java
+++ b/hikaricp-common/src/main/java/com/zaxxer... | Fix #<I> continue to override isClosed() ... we had removed it but it should reflect HikariCP's understanding of the closed state rather than delegating to the driver. | brettwooldridge_HikariCP | train | java |
9cff2fdd23a5950c7bb01ff078bc2fed2da3021e | diff --git a/lib/reporters/tap.js b/lib/reporters/tap.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/tap.js
+++ b/lib/reporters/tap.js
@@ -36,6 +36,10 @@ function TAP(runner) {
++n;
});
+ runner.on('pending', function(test){
+ console.log('ok %d %s # SKIP -', n, title(test));
+ });
+
runner.on('pa... | Mark pending tests as skipped in the TAP reports. | mochajs_mocha | train | js |
a5b530f87ddf972fbd6b38ba8e0e40de5025b332 | diff --git a/src/Monad/Either/functions.php b/src/Monad/Either/functions.php
index <HASH>..<HASH> 100644
--- a/src/Monad/Either/functions.php
+++ b/src/Monad/Either/functions.php
@@ -130,3 +130,35 @@ function toMaybe(Either $either)
{
return either(Maybe\nothing, Maybe\just, $either);
}
+
+const fromLeft = 'Widm... | Either\fromLeft Either\fromRight | widmogrod_php-functional | train | php |
3633f35e0a0e4a2b4bec2e10dbe5d6cbf237290b | diff --git a/peer/node/start.go b/peer/node/start.go
index <HASH>..<HASH> 100644
--- a/peer/node/start.go
+++ b/peer/node/start.go
@@ -556,6 +556,12 @@ func initializeEventsServerConfig(mutualTLS bool) *producer.EventsServerConfig {
TimeWindow: viper.GetDuration("peer.events.timewindow"),
BindingInspector: ... | [FAB-<I>] Eventhub reg. unexpectedly fails
Eventhub registrations unexpectedly fail when peer.events.timewindow
is not set. This CR adds a default value of <I> minutes for the time
window to ensure that the peer does not default to 0 seconds, which
makes it impossible to register successfully.
Change-Id: I<I>b5ddda<I... | hyperledger_fabric | train | go |
0e536f37a76c81d5e77bc251cb5953e644629dcf | diff --git a/src/MiniApp/Application.php b/src/MiniApp/Application.php
index <HASH>..<HASH> 100644
--- a/src/MiniApp/Application.php
+++ b/src/MiniApp/Application.php
@@ -156,7 +156,7 @@ class Application implements ApplicationInterface
return (new AccessTokenAwareClient(
client: $httpClient,
... | [fix] miniapp failureJudge fix (#<I>) | overtrue_wechat | train | php |
8cd3cb043b130b5a590e38c0b8be4d8cde654328 | diff --git a/middleware/logger.go b/middleware/logger.go
index <HASH>..<HASH> 100644
--- a/middleware/logger.go
+++ b/middleware/logger.go
@@ -54,7 +54,7 @@ type (
template *fasttemplate.Template
colorer *color.Color
- pool sync.Pool
+ pool *sync.Pool
}
)
@@ -93,7 +93,7 @@ func LoggerWithConfig(... | logger: Don't copy lock value in LoggerConfig.pool, use a pointer (#<I>)
Fixes #<I> `go vet` failures | labstack_echo | train | go |
0408b0eccd12c144f637d68b579a6bd0724733ae | diff --git a/src/main/java/no/digipost/signature/client/core/internal/ClientHelper.java b/src/main/java/no/digipost/signature/client/core/internal/ClientHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/no/digipost/signature/client/core/internal/ClientHelper.java
+++ b/src/main/java/no/digipost/signature/clie... | Avoid nullpointer on server errors without response body | digipost_signature-api-client-java | train | java |
49aa4fc82245faef26c1e0b70d33e38846a2c62e | diff --git a/ipa/ipa_utils.py b/ipa/ipa_utils.py
index <HASH>..<HASH> 100644
--- a/ipa/ipa_utils.py
+++ b/ipa/ipa_utils.py
@@ -404,7 +404,7 @@ def redirect_output(fileobj):
def ssh_config(ssh_user, ssh_private_key):
"""Create temporary ssh config file."""
try:
- ssh_file = NamedTemporaryFile(delete=Fa... | Write ssh file as strings not binary. | SUSE-Enceladus_ipa | train | py |
8faf9b9532c04641581064c5607024314b8dc90c | diff --git a/src/Services/Sections.php b/src/Services/Sections.php
index <HASH>..<HASH> 100644
--- a/src/Services/Sections.php
+++ b/src/Services/Sections.php
@@ -186,7 +186,7 @@ class Sections extends Base
continue;
}
- $entryTypes = $section->getEntryTypes('handle');
+ ... | Use craft sections getEntryTypesBySectionId to get entrytype | nerds-and-company_schematic | train | php |
d8573eba6840adf66d082f51562d2cea0f2ad7c4 | diff --git a/Debug.php b/Debug.php
index <HASH>..<HASH> 100644
--- a/Debug.php
+++ b/Debug.php
@@ -128,4 +128,9 @@ final class Debug
return $return;
}
+
+ public static function toString($obj)
+ {
+ return method_exists('__toString', $obj) ? (string) $obj : get_class($obj) . '@' . s... | Added Debug:toString | doctrine_inflector | train | php |
9db7c0132526d1eddcb3e57ad55dfe60cd1b2b8c | diff --git a/ncclient/manager.py b/ncclient/manager.py
index <HASH>..<HASH> 100644
--- a/ncclient/manager.py
+++ b/ncclient/manager.py
@@ -110,7 +110,8 @@ def connect_ssh(*args, **kwds):
global VENDOR_OPERATIONS
VENDOR_OPERATIONS.update(device_handler.add_additional_operations())
session = transport.SSHS... | Specifying hostkey_verify=False should not load_known_hosts
If the user deliberately wants to ignore host verifications, loading the known_hosts (which takes a considerable time) is useless. | ncclient_ncclient | train | py |
230ed51b656c8ac3389002258ff61b0cd71a9139 | diff --git a/blocks/diff/diff__editorcontroller_single.js b/blocks/diff/diff__editorcontroller_single.js
index <HASH>..<HASH> 100644
--- a/blocks/diff/diff__editorcontroller_single.js
+++ b/blocks/diff/diff__editorcontroller_single.js
@@ -613,7 +613,6 @@ define([
} else {
d.SingleEditorController.addF... | Fix error of line misplacement after folded lines.
Former-commit-id: <I>cab8c3aa<I>da<I>cec<I>e0e<I>e<I>a5 | JetBrains_ring-ui | train | js |
6765eff2f21189dfb200a5faaff218084594e9ef | diff --git a/txmongo/_gridfs/grid_file.py b/txmongo/_gridfs/grid_file.py
index <HASH>..<HASH> 100644
--- a/txmongo/_gridfs/grid_file.py
+++ b/txmongo/_gridfs/grid_file.py
@@ -27,8 +27,7 @@ from twisted.internet import defer
from txmongo._gridfs.errors import (CorruptGridFile,
NoFil... | import Binary from bson instead of pymongo | twisted_txmongo | train | py |
f66c41d471860d5f8ec95ae01ba838195c392439 | diff --git a/app/api/v1/entities/media.rb b/app/api/v1/entities/media.rb
index <HASH>..<HASH> 100644
--- a/app/api/v1/entities/media.rb
+++ b/app/api/v1/entities/media.rb
@@ -31,7 +31,7 @@ module API::V1
## Aliases
expose :attachment_file_size, as: :attachment_size, documentation: { type: "Integer", d... | Fix content_type vs type problem breaking featured media | cortex-cms_cortex | train | rb |
73f08686432b381739ab1855976bc93360d44a4d | diff --git a/backtrader/observers/operations.py b/backtrader/observers/operations.py
index <HASH>..<HASH> 100644
--- a/backtrader/observers/operations.py
+++ b/backtrader/observers/operations.py
@@ -34,6 +34,8 @@ class OperationsPnLObserver(object):
class _OperationsPnLObserver(lineiterator.LineObserver):
lines =... | Updated logic to Operation.wasclosed
- simplified the entire execution bit check | backtrader_backtrader | train | py |
0853e4369e0d58cfaa905f28542fd128eec21b66 | diff --git a/src/Routing/Router.php b/src/Routing/Router.php
index <HASH>..<HASH> 100644
--- a/src/Routing/Router.php
+++ b/src/Routing/Router.php
@@ -38,6 +38,7 @@ class Router
* Have routes been loaded
*
* @var bool
+ * @deprecated 3.5.0 Routes will be loaded via the Application::routes() hook i... | Deprecate `$initialized` property. | cakephp_cakephp | train | php |
9532d109e898d84483a14e60ff131f7f26816dd4 | diff --git a/widget/terminal.js b/widget/terminal.js
index <HASH>..<HASH> 100644
--- a/widget/terminal.js
+++ b/widget/terminal.js
@@ -40,12 +40,23 @@ sb.widget.terminal.prototype = {
var data = [];
var command = this.value.trim();
if(command == 'server'){
- this.style.backgroundColor = 'yellow';... | you can switch between client and servside mode in terminal using client and server commands | surebert_surebert-framework | train | js |
107820282f59e14c8caf5f1b5db9e4a3068a9b69 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/lazy/LazyLinkingResource.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/lazy/LazyLinkingResource.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/lazy/LazyLinkingResource.java
+++ b/plugins... | [xbase/xtend] turned cyclic linking error into a resource error, as it is more helpful because the problematic link is marked. | eclipse_xtext-core | train | java |
51153a904bcbb0e18881e32903191df66cf9abd1 | diff --git a/lib/activerecord-multi-tenant/sidekiq.rb b/lib/activerecord-multi-tenant/sidekiq.rb
index <HASH>..<HASH> 100644
--- a/lib/activerecord-multi-tenant/sidekiq.rb
+++ b/lib/activerecord-multi-tenant/sidekiq.rb
@@ -23,7 +23,6 @@ module Sidekiq::Middleware::MultiTenant
yield
end
else
-... | Sidekiq middleware: Remove warning message for jobs without tenant
This was useful in testing, but turns out to be too noisy for most
production apps. | citusdata_activerecord-multi-tenant | train | rb |
3f7f50c69d06250aaf4c71997b3908fa261c7c6b | diff --git a/spec/JUnitXmlReporterSpec.js b/spec/JUnitXmlReporterSpec.js
index <HASH>..<HASH> 100644
--- a/spec/JUnitXmlReporterSpec.js
+++ b/spec/JUnitXmlReporterSpec.js
@@ -1,6 +1,6 @@
/* globals jasmine, describe, afterEach, beforeEach, it, expect */
var jasmineReporters = require("../index");
-var DOMParser = req... | fix: Adapt require calls to new xmldom | larrymyers_jasmine-reporters | train | js,js |
ec3b5d6d41ebb2f3e4b5211fe8fe82499183695a | diff --git a/lib/Connection.js b/lib/Connection.js
index <HASH>..<HASH> 100644
--- a/lib/Connection.js
+++ b/lib/Connection.js
@@ -64,6 +64,8 @@ Connection.prototype.run = function() {
var self = this;
var args = Array.prototype.slice.call(arguments);
+ if(this.closed) throw new Error('Connection is closed');
+
... | Throw error if we are already closed | PaulAvery_kodi-ws | train | js |
639b74325ec7f5b5324c735fa64327ce4c052130 | diff --git a/www/src/py_import.js b/www/src/py_import.js
index <HASH>..<HASH> 100644
--- a/www/src/py_import.js
+++ b/www/src/py_import.js
@@ -258,7 +258,7 @@ function run_py(module_contents,path,module,compiled) {
for(var attr in err){
console.log(attr, err[attr])
}
- console.log(... | In py_import.js, handle the case when an exception has no attribute "info" | brython-dev_brython | train | js |
7f8bf009083345b745ad7bf9aad442759a7cc6eb | diff --git a/basic.go b/basic.go
index <HASH>..<HASH> 100644
--- a/basic.go
+++ b/basic.go
@@ -5,7 +5,7 @@ import (
"net/http"
)
-// Handler that authenticates via Basic Auth. Writes a http.StatusUnauthorized
+// Basic returns a Handler that authenticates via Basic Auth. Writes a http.StatusUnauthorized
// if aut... | -n [Migrated]
Updated GoDoc from linting results | go-macaron_auth | train | go |
760730677a7a926288887f027aa8446ec7180785 | diff --git a/src/ChrisKonnertz/DeepLy/DeepLy.php b/src/ChrisKonnertz/DeepLy/DeepLy.php
index <HASH>..<HASH> 100644
--- a/src/ChrisKonnertz/DeepLy/DeepLy.php
+++ b/src/ChrisKonnertz/DeepLy/DeepLy.php
@@ -194,7 +194,7 @@ class DeepLy
{
// Note: We always use English as the target language. if the source lan... | Removed $keepLineBreaks argument | chriskonnertz_DeepLy | train | php |
b970b733db7fa635a80eae5136628ab3bd74cf77 | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -64,7 +64,10 @@ Client.prototype.createApp = function(manifest, callback) {
},
json: manifest
}, function(e, response, body) {
- if(response.statusCode == 302) {
+ if(e) {
+ callback(new Operati... | added raiseError for updateApp and createApp unexpected errors | heapsource_vcap-node-client | train | js |
489e066be21bbecb06395280c419888a40f38216 | diff --git a/src/light.js b/src/light.js
index <HASH>..<HASH> 100644
--- a/src/light.js
+++ b/src/light.js
@@ -115,7 +115,7 @@ class DirectionalLight extends Light {
// Flat shading
light_dir = normalize(light_dir);
- color *= dot(normal, light_dir * -1.0) + light_ambi... | light: don't let directional light factor be negative | tangrams_tangram | train | js |
b7426e416f44ae82a32335eb74d5d3feccae4270 | diff --git a/sherpa-java/src/test/java/sherpa/client/TestQueryManager.java b/sherpa-java/src/test/java/sherpa/client/TestQueryManager.java
index <HASH>..<HASH> 100644
--- a/sherpa-java/src/test/java/sherpa/client/TestQueryManager.java
+++ b/sherpa-java/src/test/java/sherpa/client/TestQueryManager.java
@@ -33,8 +33,8 @@... | Modify expected variable list to reflect changes in DummyQueryResponder | revelytix_spark | train | java |
678cfbde4804df2c7d50f73b66c03b0be4491fb6 | diff --git a/lxd/instance/operationlock/operationlock.go b/lxd/instance/operationlock/operationlock.go
index <HASH>..<HASH> 100644
--- a/lxd/instance/operationlock/operationlock.go
+++ b/lxd/instance/operationlock/operationlock.go
@@ -37,7 +37,8 @@ func Create(instanceID int, action string, reusable bool, reuse bool) (... | lxd/instance/operationlock: Fixes deadlock caused by call to Reset in Create
Both try to aquire lock and so can deadlock each other.
By pushing to the reset channel directly from Create we avoid the deadlock. | lxc_lxd | train | go |
6db128eb237ddb38dfa056b00e7003022d24b748 | diff --git a/lib/blockchain_double.js b/lib/blockchain_double.js
index <HASH>..<HASH> 100644
--- a/lib/blockchain_double.js
+++ b/lib/blockchain_double.js
@@ -40,7 +40,7 @@ const defaultOptions = {
defaultTransactionGasLimit: "0x15f90",
time: null,
debug: false,
- hardfork: "byzantium",
+ hardfork: "constant... | Reset back to constantinople as default | trufflesuite_ganache-core | train | js |
217e28db56402c9fb30ec6db34af74049ec398f0 | diff --git a/src/Bartlett/Reflect/PhpParser/NodeProcessor.php b/src/Bartlett/Reflect/PhpParser/NodeProcessor.php
index <HASH>..<HASH> 100644
--- a/src/Bartlett/Reflect/PhpParser/NodeProcessor.php
+++ b/src/Bartlett/Reflect/PhpParser/NodeProcessor.php
@@ -33,7 +33,7 @@ interface NodeProcessor
*
* @return voi... | Force TypeHint constraint and simplify code | llaville_php-reflect | train | php,php |
d503439e92056424a13429b76a65ae777afd6104 | diff --git a/lib/server-code/model/index.js b/lib/server-code/model/index.js
index <HASH>..<HASH> 100644
--- a/lib/server-code/model/index.js
+++ b/lib/server-code/model/index.js
@@ -92,7 +92,11 @@ class ServerCodeModel {
}
addError(error, serverCodeFile, erredFile) {
- this.errors.push({ message: error.mess... | fix (model) safe check for erredFile existence | Backendless_JS-Code-Runner | train | js |
a16404f92832ebe3212c6a55d420649fea888262 | diff --git a/padatious/match_data.py b/padatious/match_data.py
index <HASH>..<HASH> 100644
--- a/padatious/match_data.py
+++ b/padatious/match_data.py
@@ -30,6 +30,15 @@ class MatchData(object):
self.matches = matches or {}
self.conf = conf
+ def __getitem__(self, item):
+ return self.matc... | Add a few dict accessors to MatchData for more concise usage
Can now do val = data['key'], val = data.get('key', 'default'), if 'key' in data: | MycroftAI_padatious | train | py |
00a1840a46ebb90317fa14774d73c64fe240785c | diff --git a/core/dbt/task/serve.py b/core/dbt/task/serve.py
index <HASH>..<HASH> 100644
--- a/core/dbt/task/serve.py
+++ b/core/dbt/task/serve.py
@@ -20,7 +20,7 @@ class ServeTask(ProjectOnlyTask):
logger.info("Serving docs at 0.0.0.0:{}".format(port))
logger.info(
- "To access from your... | remove '.' from after url | fishtown-analytics_dbt | train | py |
be2de30301ccec1e9d3c0f570b93fe5a12f06229 | diff --git a/src/Form/TermOfUseForm.php b/src/Form/TermOfUseForm.php
index <HASH>..<HASH> 100644
--- a/src/Form/TermOfUseForm.php
+++ b/src/Form/TermOfUseForm.php
@@ -79,10 +79,13 @@ class TermOfUseForm extends FormBase {
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_... | [OPENY-<I>] Fixed errors drush, when run site installation | ymcatwincities_openy | train | php |
0d20623c7524df444edba74b1b29d56ebdbe15e1 | diff --git a/pyroSAR/ancillary.py b/pyroSAR/ancillary.py
index <HASH>..<HASH> 100644
--- a/pyroSAR/ancillary.py
+++ b/pyroSAR/ancillary.py
@@ -6,6 +6,15 @@
This script gathers central functions and object instances for general applications
Please refer to the descriptions of the individual functions/instances for det... | adjusted imports for use with Python <I> | johntruckenbrodt_spatialist | train | py |
ea899d17a0bc4799833d3af4a3c04071e42251b1 | diff --git a/model_utils/tests/tests.py b/model_utils/tests/tests.py
index <HASH>..<HASH> 100644
--- a/model_utils/tests/tests.py
+++ b/model_utils/tests/tests.py
@@ -940,3 +940,7 @@ class ModelTrackerForeignKeyTests(ModelTrackerTestCase):
self.assertChanged(fk=self.old_fk)
self.assertPrevious(fk=self... | Added test_number_of_queries in ModelTrackerTestCase | jazzband_django-model-utils | 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.