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 |
|---|---|---|---|---|---|
96abf9f59ebd350cc9a70034b4d30279e6ae04e4 | diff --git a/integration-cli/docker_cli_exec_unix_test.go b/integration-cli/docker_cli_exec_unix_test.go
index <HASH>..<HASH> 100644
--- a/integration-cli/docker_cli_exec_unix_test.go
+++ b/integration-cli/docker_cli_exec_unix_test.go
@@ -33,7 +33,9 @@ func (s *DockerSuite) TestExecInteractiveStdinClose(c *check.C) {
... | Fix flaky test case of `TestExecInteractiveStdinClose`
This issue has been reported by issue #<I>.
The purpose of this test case is for the regression test of #<I>,
so we only need to make sure the essential of the testing is still
in the way to check that while not disturbed by some testing noises,
which is exactly ... | moby_moby | train | go |
9b82ac025bf0bd7af2fbb3867330b70b0a737f4b | diff --git a/addons/after/slack_addon/__init__.py b/addons/after/slack_addon/__init__.py
index <HASH>..<HASH> 100644
--- a/addons/after/slack_addon/__init__.py
+++ b/addons/after/slack_addon/__init__.py
@@ -52,7 +52,7 @@ def exec(report: Report, config_dict: dict, output_summary: OutputSummary):
for c in config.... | :skull: Fix bug that message format on slack_addon is not working | tadashi-aikawa_jumeaux | train | py |
4c34a8aef155743ffc13891913ab1e2276fbb8ae | diff --git a/ui/js/models/repository.js b/ui/js/models/repository.js
index <HASH>..<HASH> 100644
--- a/ui/js/models/repository.js
+++ b/ui/js/models/repository.js
@@ -100,7 +100,7 @@ treeherder.factory('ThRepositoryModel', [
_.each(data, addRepoAsUnwatched);
var storedWatched... | Bug <I> - speed up repo switching by fixing error | mozilla_treeherder | train | js |
fb1223ef8a5b223399fbeaf20e562abe7e828714 | diff --git a/generator/classes/propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php b/generator/classes/propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php
index <HASH>..<HASH> 100644
--- a/generator/classes/propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php
+++ b/generator/classes/propel/engine/bu... | Added type hint with null option to FK mutator | propelorm_Propel | train | php |
b57fb4a8ae7e07646fbc3ee192a94f60e09fcd2a | diff --git a/Tests/Auth/OpenID/Nonce.php b/Tests/Auth/OpenID/Nonce.php
index <HASH>..<HASH> 100644
--- a/Tests/Auth/OpenID/Nonce.php
+++ b/Tests/Auth/OpenID/Nonce.php
@@ -25,6 +25,7 @@ class Tests_Auth_OpenID_Nonce extends PHPUnit_TestSuite {
$this->addTestSuite('Tests_Auth_OpenID_NonceTests');
$this-... | [project @ Set the name for the Nonce test suite so test output is easier to understand] | openid_php-openid | train | php |
de624d6390b919ba4f6793ffcd067602a084c991 | diff --git a/flask_appbuilder/api/__init__.py b/flask_appbuilder/api/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/api/__init__.py
+++ b/flask_appbuilder/api/__init__.py
@@ -375,7 +375,7 @@ class BaseApi(object):
self.appbuilder = appbuilder
# If endpoint name is not provided, get it ... | [api] Fix, default resource name must be lower case (#<I>) | dpgaspar_Flask-AppBuilder | train | py |
687341cd7d42074cc6a1ce932fc447c5a514fcd8 | diff --git a/stompServer.js b/stompServer.js
index <HASH>..<HASH> 100644
--- a/stompServer.js
+++ b/stompServer.js
@@ -52,6 +52,8 @@ var StompServer = function (config) {
client: 0,
server: 0
};
+
+ this.activeWebSocket = null;
this.socket = new WebSocketServer({
server: this.conf.server,
@@ -... | Saving active WebSocket for future use | 4ib3r_StompBrokerJS | train | js |
2013edb53b2ec0ec03063d215a919db721df93a1 | diff --git a/DetectsLostConnections.php b/DetectsLostConnections.php
index <HASH>..<HASH> 100644
--- a/DetectsLostConnections.php
+++ b/DetectsLostConnections.php
@@ -42,6 +42,7 @@ trait DetectsLostConnections
'Login timeout expired',
'Connection refused',
'running with the --read... | Add 'The connection is broken and recovery is not possible.' thrown by Microsoft ODBC Driver to the list of causedByLostConnection error messages (#<I>) | illuminate_database | train | php |
c0ffa2af576498c8c842d7329882db73c07ad16a | diff --git a/centinel/client.py b/centinel/client.py
index <HASH>..<HASH> 100644
--- a/centinel/client.py
+++ b/centinel/client.py
@@ -36,7 +36,7 @@ class Client():
return os.path.join(self.config['dirs']['data_dir'], input_file)
def load_input_file(self, name):
- input_file = self.get_input_file... | removed the extention added for debugging purposes | iclab_centinel | train | py |
5b6e46a163b93b49d9847be57da4e1f2290597bf | diff --git a/public/js/ruleset.js b/public/js/ruleset.js
index <HASH>..<HASH> 100644
--- a/public/js/ruleset.js
+++ b/public/js/ruleset.js
@@ -119,7 +119,14 @@ $.getJSON("/api/db-dump", function(db_dump){
location.reload();
} else {
$("pre#feedback").html("Registering...");
- var src = "... | fully meta __testing for generated ruleset from rid | Picolab_pico-engine | train | js |
ac14bdda296f6b0dc57fa3b1e60f02f7ba49ec2b | diff --git a/testrail/api.py b/testrail/api.py
index <HASH>..<HASH> 100644
--- a/testrail/api.py
+++ b/testrail/api.py
@@ -175,17 +175,21 @@ class API(object):
@classmethod
def flush_cache(cls):
- """ Set all cache objects to refresh
+ """ Set all cache objects to refresh the next time they ar... | Refactor flush_cache to recursively clear cache (#<I>)
- Update flush_cache to recursively clear the cache values found in the
API's _shared_state cache
- Closes #<I> | travispavek_testrail-python | train | py |
65859d66d311d432fbb73ad30f1a37e4acd8e8ce | diff --git a/src/createGenericSelect/index.js b/src/createGenericSelect/index.js
index <HASH>..<HASH> 100644
--- a/src/createGenericSelect/index.js
+++ b/src/createGenericSelect/index.js
@@ -778,8 +778,9 @@ class InnerComp extends Component {
const records = (Array.isArray(valOrVals)
? valOrVals
... | allowing generic select to work with userCreated creatable=true values | TeselaGen_teselagen-react-components | train | js |
8bb1add7af02ada8162767acf80bdcb105dc947c | diff --git a/app/assets/javascripts/extractors.js b/app/assets/javascripts/extractors.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/extractors.js
+++ b/app/assets/javascripts/extractors.js
@@ -36,7 +36,7 @@ $(document).ready(function() {
$.ajax({
url: appPrefixed('/a/tools/regex_test... | URI encode the regex test string to avoid wrong test results.
If the regex test message contained a "%<I>", the test result was off
because of encoding problems.
Fixes Graylog2/graylog2-server#<I> | Graylog2_graylog2-server | train | js |
d4ee7a420f65c0ef0685130deb34c590dbb5b6f1 | diff --git a/packages/components/bolt-tabs/src/TabPanel/index.js b/packages/components/bolt-tabs/src/TabPanel/index.js
index <HASH>..<HASH> 100644
--- a/packages/components/bolt-tabs/src/TabPanel/index.js
+++ b/packages/components/bolt-tabs/src/TabPanel/index.js
@@ -55,8 +55,8 @@ class TabPanel extends withContext(Bolt... | DS-<I>: Fix `selected` attr not getting set on initial load | bolt-design-system_bolt | train | js |
04fd671b1fededc8e8a7c8a701947d116740629c | diff --git a/source/application/models/oxarticle.php b/source/application/models/oxarticle.php
index <HASH>..<HASH> 100644
--- a/source/application/models/oxarticle.php
+++ b/source/application/models/oxarticle.php
@@ -531,6 +531,17 @@ class oxArticle extends oxI18n implements oxIArticle, oxIUrl
}
/**
+ ... | Added public method isInList() to return protected value. Required if we want to tell widget that he is in list. | OXID-eSales_oxideshop_ce | train | php |
704b3f86c9e22deb2903c87ab1db65cde71d9ffe | diff --git a/lib/wed/wed.js b/lib/wed/wed.js
index <HASH>..<HASH> 100644
--- a/lib/wed/wed.js
+++ b/lib/wed/wed.js
@@ -1365,6 +1365,9 @@ Editor.prototype.toDataNode = function (node) {
Editor.prototype._caretChangeEmitter = function (ev) {
+ if (ev === undefined)
+ ev = {which: undefined, type: undefined... | Setting ev must be done before calling the timeout function. | mangalam-research_wed | train | js |
127850e7106ade846a3a3e528f52414c682a3113 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -2555,10 +2555,12 @@
function prepareMeasureForLine(cm, line) {
var lineN = lineNo(line);
var view = findViewForLine(cm, lineN);
- if (view && !view.text)
+ if (view && !v... | Force display update when measuring during operation redrew a line
When something is redraw, we definitely need to do the consistency-
ensuring that is done by a display update.
Issue #<I> | codemirror_CodeMirror | train | js |
cc2b8f4a7e67dc2d50f235789788696522b451ae | diff --git a/lib/reveal-ck/builders/copy_reveal_js.rb b/lib/reveal-ck/builders/copy_reveal_js.rb
index <HASH>..<HASH> 100644
--- a/lib/reveal-ck/builders/copy_reveal_js.rb
+++ b/lib/reveal-ck/builders/copy_reveal_js.rb
@@ -16,12 +16,12 @@ module RevealCK
@output_dir = retrieve(:output_dir, args)
@appl... | [rebuilding-with-rake] Standardized on 'setup' | jedcn_reveal-ck | train | rb,rb |
b8df273eac47636feef82758e437f8019995e6db | diff --git a/trimesh/path/exchange/svg_io.py b/trimesh/path/exchange/svg_io.py
index <HASH>..<HASH> 100644
--- a/trimesh/path/exchange/svg_io.py
+++ b/trimesh/path/exchange/svg_io.py
@@ -595,7 +595,11 @@ def _deep_same(original, other):
# but otherwise types should be identical
if isinstance(original, np.ndar... | hotfix python2 testing issue | mikedh_trimesh | train | py |
0586cb49c610e356a7adf38183cdc90f0c7cfa46 | diff --git a/grease-info.user.js b/grease-info.user.js
index <HASH>..<HASH> 100644
--- a/grease-info.user.js
+++ b/grease-info.user.js
@@ -27,15 +27,12 @@ var url, jsraw, info, parsedInfo;
var draw = function(){
// console.log(info);
- if(!$("#additional-info").length){
- $("#script-content").append(
- '<div id... | change behavior, only init if additional-info doesnt exist | eight04_bbs-reader | train | js |
2b0936271c4a259df5809bfeadb8faf9deb9038e | diff --git a/etcd/etcd_test.go b/etcd/etcd_test.go
index <HASH>..<HASH> 100644
--- a/etcd/etcd_test.go
+++ b/etcd/etcd_test.go
@@ -351,6 +351,7 @@ func TestSingleNodeRecovery(t *testing.T) {
c.DataDir = dataDir
e, h, _ = buildServer(t, c, id)
+ waitLeader([]*Server{e})
w, err = e.p.Watch(key, false, false, ev.I... | server: fix 2nd watch timeout in TestSingleNodeRecovery
When recovering from data dir, the node needs election timeout to
elect itself to be the leader. | etcd-io_etcd | train | go |
c209b31944e5b444e90f4a3fc8469be97ba9d0a1 | diff --git a/lib/savon/builder.rb b/lib/savon/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/savon/builder.rb
+++ b/lib/savon/builder.rb
@@ -37,7 +37,11 @@ module Savon
def build_document
tag(builder, :Envelope, namespaces_with_globals) do |xml|
tag(xml, :Header, header_attributes) { xml << heade... | Support no_message_tag option
This option indicates that the user does not want to encapsulate the message in a 'message tag'. | savonrb_savon | train | rb |
3a37fe5df9c467f06393bcc6056a6442f7b1330b | diff --git a/salt/cloud/clouds/digital_ocean.py b/salt/cloud/clouds/digital_ocean.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/digital_ocean.py
+++ b/salt/cloud/clouds/digital_ocean.py
@@ -477,7 +477,6 @@ def create(vm_):
log.debug('Found public IP address to use for ssh minion bootstrapping: {0}'.format... | merge error overwrites correct ssh_host with stale data in ip_address (#<I>) | saltstack_salt | train | py |
2465941fdf1f7649d30d98138b03ab60c35c75d2 | diff --git a/tests/databases/pgsql/PgSQLTest.php b/tests/databases/pgsql/PgSQLTest.php
index <HASH>..<HASH> 100644
--- a/tests/databases/pgsql/PgSQLTest.php
+++ b/tests/databases/pgsql/PgSQLTest.php
@@ -22,6 +22,13 @@ class PgTest extends DBTest {
public function setUp()
{
+
+ // If the database isn't install... | Skip Postgres tests if the class isn't loaded | aviat4ion_Query | train | php |
31cc3c3ee82bbac073fb516d3333621156e9871d | diff --git a/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java b/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
+++ b/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
@@ -22,7 +22,7 @@ imp... | Reverted Fixture hierarchy (temp) | cpollet_jixture | train | java |
538722114d67addafdbe38b8da262e64562dd8bc | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -1125,9 +1125,11 @@ abstract class Model implements ArrayAccess, ArrayableInterface, Jsona... | Fix timestamp bug in Eloquent models. | laravel_framework | train | php |
3869ca25c9e0e26edde3a157991b9b52d6a44372 | diff --git a/guacamole/src/main/webapp/app/client/services/clipboardService.js b/guacamole/src/main/webapp/app/client/services/clipboardService.js
index <HASH>..<HASH> 100644
--- a/guacamole/src/main/webapp/app/client/services/clipboardService.js
+++ b/guacamole/src/main/webapp/app/client/services/clipboardService.js
@... | GUAC-<I>: Increase size of timing window when waiting for clipboard to settle. | glyptodon_guacamole-client | train | js |
22988428f5bf9c68d6402bcc812a090f644d032a | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -55,7 +55,7 @@ describe('node-serialize', function () {
});
it('should serialize a Document node', function () {
- var node = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'h... | test: force doctype to `null` | webmodules_dom-serialize | train | js |
b0da1be3d03afd22b9da5031c4fff8691c3819c5 | diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py
index <HASH>..<HASH> 100644
--- a/pandas/io/parquet.py
+++ b/pandas/io/parquet.py
@@ -267,6 +267,10 @@ def read_parquet(path, engine="auto", columns=None, **kwargs):
URL schemes include http, ftp, s3, and file. For file URLs, a host is
expected.... | <I> clarify that read parquet accepts a directory path (#<I>) | pandas-dev_pandas | train | py |
39c739161dbba575f2642d7046beaeb84ea7913c | diff --git a/actioncable/lib/action_cable/connection/subscriptions.rb b/actioncable/lib/action_cable/connection/subscriptions.rb
index <HASH>..<HASH> 100644
--- a/actioncable/lib/action_cable/connection/subscriptions.rb
+++ b/actioncable/lib/action_cable/connection/subscriptions.rb
@@ -19,7 +19,7 @@ module ActionCable
... | Fix missing bracket.
Fix missing left bracket in exception message. | rails_rails | train | rb |
2c6c453d3a27b15ead4f45f56a64003469cdaa97 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js b/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js
+++ b/bundles/org.eclipse.orion.client.ui/web/ori... | Bug <I> - Drop file broken on IE when the file "type" is not known | eclipse_orion.client | train | js |
b547beb79f483201155e12642c4dd093a7ba2a68 | diff --git a/presto-main/src/main/java/com/facebook/presto/type/RealOperators.java b/presto-main/src/main/java/com/facebook/presto/type/RealOperators.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/type/RealOperators.java
+++ b/presto-main/src/main/java/com/facebook/presto/type/Real... | Fix hash_code operator for real type
Make the hash_code operator consistent with the hash method defined
in real type. | prestodb_presto | train | java |
c148f62c2f109d653667ee63e080d41e67b40067 | diff --git a/code/ShoppingCart.php b/code/ShoppingCart.php
index <HASH>..<HASH> 100644
--- a/code/ShoppingCart.php
+++ b/code/ShoppingCart.php
@@ -60,6 +60,18 @@ class ShoppingCart{
}
/**
+ * Set the current cart
+ */
+ function setCurrent(Order $cart){
+ if(!$cart->IsCart()){
+ trigger_error("Passed Order ... | API: Added setCurrent to ShoppingCart. This paves the way for setting pre-created carts for customers etc. | silvershop_silvershop-core | train | php |
152c9ec278b7b1f9125d8e6e44b24d87e42e9b55 | diff --git a/helpers/class.PhpTools.php b/helpers/class.PhpTools.php
index <HASH>..<HASH> 100755
--- a/helpers/class.PhpTools.php
+++ b/helpers/class.PhpTools.php
@@ -53,9 +53,10 @@ class helpers_PhpTools {
if ($tokens[$j] === '{') {
if (!isset($tokens[$i+2][1])) {
... | Break after finding first class for php <I> compatibility | oat-sa_generis | train | php |
1ba28d1354848fd422603efa343b145bae5c5fdf | diff --git a/lib/acts_as_tenant/configuration.rb b/lib/acts_as_tenant/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/acts_as_tenant/configuration.rb
+++ b/lib/acts_as_tenant/configuration.rb
@@ -16,11 +16,15 @@ module ActsAsTenant
end
class Configuration
- attr_writer :require_tenant
+ attr_writer... | Added pkey as configuration option (#<I>)
* added pkey to configs
* made model_extensions to read pkey from configurations | ErwinM_acts_as_tenant | train | rb,rb |
5f077cd9c78a82958de0e806f36d36c30aa13eea | diff --git a/test/closed-channel.js b/test/closed-channel.js
index <HASH>..<HASH> 100644
--- a/test/closed-channel.js
+++ b/test/closed-channel.js
@@ -40,15 +40,11 @@ test('write a buffer from 0 -> 1', function(t) {
});
test('close the underlying data channel and attempt to write', function(t) {
- t.plan(3);
+ t.... | Channel no longer errors when the channel is closed, so do not test for it | rtc-io_rtc-dcstream | train | js |
d484e648064813f489b5ab943e05210761f4bdac | diff --git a/src/helpers.js b/src/helpers.js
index <HASH>..<HASH> 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -9,11 +9,6 @@
import {Monkey, MonkeyDefinition} from './monkey';
import type from './type';
-/**
- * Noop function
- */
-const noop = Function.prototype;
-
const hasOwnProp = {}.hasOwnProperty;
... | Removed check on Object.freeze function
All major browsers support Object.freeze out of the box. | Yomguithereal_baobab | train | js |
12fcc7c1bc81c08a32ecae70922dcdd2c6dbceb3 | diff --git a/tests/test_Apex.py b/tests/test_Apex.py
index <HASH>..<HASH> 100644
--- a/tests/test_Apex.py
+++ b/tests/test_Apex.py
@@ -311,7 +311,7 @@ def test_convert_qd2apex():
def test_convert_qd2apex_at_equator():
- """Test the quasi-dipole to apex conversion at the magnetic equator """
+ """Test the qua... | Update test_Apex.py
removing trailing whitespace to satisfy codacy | aburrell_apexpy | train | py |
66b528dc0f3aa81c726bf928c01377ba9b048df0 | diff --git a/src/Components/Condition.php b/src/Components/Condition.php
index <HASH>..<HASH> 100644
--- a/src/Components/Condition.php
+++ b/src/Components/Condition.php
@@ -43,6 +43,7 @@ class Condition extends Component
'EXISTS' => 1,
'IF' => 1,
... | Condition: Allow keyword INTERVAL. | phpmyadmin_sql-parser | train | php |
15af6c4e87e14648b409e4c693fdb82cf31c4493 | diff --git a/test/rackspace/storage/authentication-test.js b/test/rackspace/storage/authentication-test.js
index <HASH>..<HASH> 100644
--- a/test/rackspace/storage/authentication-test.js
+++ b/test/rackspace/storage/authentication-test.js
@@ -12,6 +12,10 @@ var vows = require('vows'),
var testData = {},
client = ... | [fix] More unmocked Rackspace tests | pkgcloud_pkgcloud | train | js |
5937184db70a624e899de7009ccc8aa53d8ea338 | diff --git a/plugin/pkg/scheduler/core/generic_scheduler.go b/plugin/pkg/scheduler/core/generic_scheduler.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/core/generic_scheduler.go
+++ b/plugin/pkg/scheduler/core/generic_scheduler.go
@@ -127,6 +127,12 @@ func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLis... | When only one node after predicate, just return it | kubernetes_kubernetes | train | go |
01ade0ff38f83dad404c7970d272b0b1800e2507 | diff --git a/logging/src/main/java/org/jboss/as/logging/validators/LogLevelValidator.java b/logging/src/main/java/org/jboss/as/logging/validators/LogLevelValidator.java
index <HASH>..<HASH> 100644
--- a/logging/src/main/java/org/jboss/as/logging/validators/LogLevelValidator.java
+++ b/logging/src/main/java/org/jboss/as... | [WFLY-<I>] Add SEVERE logging level to the valid list of levels. | wildfly_wildfly | train | java |
ff22944dd6ccc43426f6b53695e6605f22e61a57 | diff --git a/pyxel/cli.py b/pyxel/cli.py
index <HASH>..<HASH> 100644
--- a/pyxel/cli.py
+++ b/pyxel/cli.py
@@ -5,6 +5,7 @@ import shutil
import sys
import tempfile
import zipfile
+import multiprocessing
import pyxel
import pyxel.editor
@@ -67,7 +68,10 @@ def _play_pyxel_app(pyxel_app_file):
... | Fix PermissionError to delete tempdirectory (#<I>) | kitao_pyxel | train | py |
1e3b4cd30c9f7b9b758ccd9110dc15d867184e53 | diff --git a/src/Provider/TranslationServiceProvider.php b/src/Provider/TranslationServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/TranslationServiceProvider.php
+++ b/src/Provider/TranslationServiceProvider.php
@@ -40,8 +40,8 @@ class TranslationServiceProvider implements ServiceProviderInterface
... | PSR2 pass on Bolt\Provider | bolt_bolt | train | php |
fc0a872bd8be607615adbff3ed16af5a6c6194ee | diff --git a/pingu/corpus/grabber/signal.py b/pingu/corpus/grabber/signal.py
index <HASH>..<HASH> 100644
--- a/pingu/corpus/grabber/signal.py
+++ b/pingu/corpus/grabber/signal.py
@@ -93,7 +93,9 @@ class FramedSignalGrabber(object):
label_lists = self.corpus.label_lists[self.label_list_idx]
- for utt... | iterate through sorted utterances in grabber | ynop_audiomate | train | py |
1c780619b242a5460c2c3060d9788fa5320a5c3c | diff --git a/tests/test_backend/test_alpaca.py b/tests/test_backend/test_alpaca.py
index <HASH>..<HASH> 100644
--- a/tests/test_backend/test_alpaca.py
+++ b/tests/test_backend/test_alpaca.py
@@ -297,7 +297,7 @@ def historic_agg_data(size, *args, **kwargs):
'h': 'high',
... | Fix Polygon test data (again) | alpacahq_pylivetrader | train | py |
956296a74c701fee79d8eed898ce64da02c983de | diff --git a/lib/puppet/util/rdoc/generators/puppet_generator.rb b/lib/puppet/util/rdoc/generators/puppet_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/rdoc/generators/puppet_generator.rb
+++ b/lib/puppet/util/rdoc/generators/puppet_generator.rb
@@ -88,6 +88,12 @@ module Generators
@modules = {}... | Fix #<I> - Do not generate doc for standard RDoc parser generated object
RDoc has some standard parsers for .c,.cc or fortran files (don't ask why).
Unfortunately our html generator doesn't support the data structures
generated by those parsers and we were bombing on unknown methods.
This patch makes sure we generate ... | puppetlabs_puppet | train | rb |
c245b1f45e1ca02f7fda74be33db1113c55166c5 | diff --git a/paypal/countries.py b/paypal/countries.py
index <HASH>..<HASH> 100644
--- a/paypal/countries.py
+++ b/paypal/countries.py
@@ -5,7 +5,7 @@ http://xml.coverpages.org/country3166.html
A tuple of tuples of country codes and their full names. There are a few helper
functions provided if you'd rather not us... | typo in docstring: t_countries.py => test_countries.py | gtaylor_paypal-python | train | py |
e4df4dd774f5a1271688e12a2a11d0d6776a43ff | diff --git a/skiplist/iterator.go b/skiplist/iterator.go
index <HASH>..<HASH> 100644
--- a/skiplist/iterator.go
+++ b/skiplist/iterator.go
@@ -24,14 +24,12 @@ func (it *Iterator) SeekFirst() {
it.valid = true
}
-func (it *Iterator) Seek(itm Item) {
+func (it *Iterator) Seek(itm Item) bool {
it.valid = true
fou... | skiplist: Add isFound return value for iterator.Seek() | t3rm1n4l_nitro | train | go |
2c4a7fed227c3f81cfc45381bde0f9ff36b12ae5 | diff --git a/contextMenu.js b/contextMenu.js
index <HASH>..<HASH> 100644
--- a/contextMenu.js
+++ b/contextMenu.js
@@ -510,7 +510,7 @@
}
function removeAllContextMenus(e) {
- $document.find('body').off('mousedown', removeOnOutsideClickEvent);
+ $document.find('body').off('mousedown... | Add ability to close menu on touch devices | Templarian_ui.bootstrap.contextMenu | train | js |
56d1e7912c6c16985b7f23ff3a56591ab8349c6a | diff --git a/jira/version.py b/jira/version.py
index <HASH>..<HASH> 100644
--- a/jira/version.py
+++ b/jira/version.py
@@ -2,4 +2,4 @@
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into the jira module
-__version__ = '0.8'
+__... | - bump to version <I> for summit release | pycontribs_jira | train | py |
c0983c5fb60c43626aeb80f8e310cb7915b7e6dc | diff --git a/js/src/services/ApiService.js b/js/src/services/ApiService.js
index <HASH>..<HASH> 100644
--- a/js/src/services/ApiService.js
+++ b/js/src/services/ApiService.js
@@ -179,7 +179,7 @@ class ApiService {
'padding':'4px',
'width': '100%',
'height': '100%',
- 'position'... | minor fix
Fix positioning when window is scroll down prior to display error
window. | atk4_ui | train | js |
e9bc973a8ad6269dc86e1175e3d519e6e0f17405 | diff --git a/basil/TL/Visa.py b/basil/TL/Visa.py
index <HASH>..<HASH> 100644
--- a/basil/TL/Visa.py
+++ b/basil/TL/Visa.py
@@ -14,9 +14,8 @@ class Visa(TransferLayer):
'''Transfer layer for a Virtual Instrument Software Architecture (VISA) provided by pyVisa.
Several interfaces are available (GPIB, RS232, U... | MAINT: show National instruments as std. backend
MAINT: simplify description | SiLab-Bonn_basil | train | py |
a821f0e2d39c623fd7cc6d2a091b031860736736 | diff --git a/src/main/java/org/redisson/pubsub/PublishSubscribe.java b/src/main/java/org/redisson/pubsub/PublishSubscribe.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/redisson/pubsub/PublishSubscribe.java
+++ b/src/main/java/org/redisson/pubsub/PublishSubscribe.java
@@ -39,13 +39,7 @@ abstract class Publish... | unnecessary lock removed. #<I> | redisson_redisson | train | java |
2b615d556490098381156e4eef262699c1590367 | diff --git a/lib/rapidash/client.rb b/lib/rapidash/client.rb
index <HASH>..<HASH> 100644
--- a/lib/rapidash/client.rb
+++ b/lib/rapidash/client.rb
@@ -51,7 +51,7 @@ module Rapidash
#
# Returns String of set format
def encode_request_with(format)
- format.to_sym!
+ format = format.to_s... | Specs for encode_request_with | Gazler_rapidash | train | rb,rb |
ce80f432b1c2fb3476c291bad79d4f758346eb21 | diff --git a/test/integration/setup.js b/test/integration/setup.js
index <HASH>..<HASH> 100644
--- a/test/integration/setup.js
+++ b/test/integration/setup.js
@@ -1,3 +1,4 @@
+var _ = require('lodash')
var async = require('async')
var mongoose = require('mongoose')
var Schema = mongoose.Schema
@@ -74,7 +75,16 @@ mod... | chore(test): option to init with connecting | florianholzapfel_express-restify-mongoose | train | js |
b82a41dfbe0a7d9d1bd5e83ec7cd06bb36ef4cda | diff --git a/src/test/java/stormpot/PoolTest.java b/src/test/java/stormpot/PoolTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/stormpot/PoolTest.java
+++ b/src/test/java/stormpot/PoolTest.java
@@ -1360,6 +1360,28 @@ public class PoolTest {
// must complete before the test timeout:
shutdown(pool).awa... | it must be possible to initiate the shut down procedure while being interrupted. | chrisvest_stormpot | train | java |
c65a338ed37eb36aae739f1fe36b9ccdd764ddb3 | diff --git a/java/server/src/org/openqa/grid/web/servlet/HubStatusServlet.java b/java/server/src/org/openqa/grid/web/servlet/HubStatusServlet.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/grid/web/servlet/HubStatusServlet.java
+++ b/java/server/src/org/openqa/grid/web/servlet/HubStatusServlet.java
@... | Updating getSlotCounts to use sessions allowed (#<I>)
* Updating getSlotCounts to use sessions allowed
Switching getSlotCounts to use the concurrent sessions when counting the total
slots. Old method would count all browser options so the free/total counts
could be much higher than was actually available.
* fi... | SeleniumHQ_selenium | train | java |
d87ee157c0bcf91efb02a48c1aa896d97e1484c3 | diff --git a/lib/jsdom/level3/xpath.js b/lib/jsdom/level3/xpath.js
index <HASH>..<HASH> 100644
--- a/lib/jsdom/level3/xpath.js
+++ b/lib/jsdom/level3/xpath.js
@@ -1127,14 +1127,14 @@ function comparisonHelper(test, x, y, isNumericComparison) {
}
}
return false;
- } else if ('object' === typeof x) {
+ ... | fixed a test by adding some error checking | jsdom_jsdom | train | js |
b8103427e57e206b2e83d453dbeda8a23801a9fe | diff --git a/tests/BotTest.php b/tests/BotTest.php
index <HASH>..<HASH> 100644
--- a/tests/BotTest.php
+++ b/tests/BotTest.php
@@ -56,6 +56,18 @@ class BotTest extends PHPUnit_Framework_TestCase
$bot->logout();
}
+ /** @test */
+ public function isLoggedIn()
+ {
+ $request = Mockery::moc... | upd: tests for Bot class (full coverage) | seregazhuk_php-pinterest-bot | train | php |
61d4a11761e8f38056e810e45bfe57a18d368668 | diff --git a/lib/components/narrative/default/default-itinerary.js b/lib/components/narrative/default/default-itinerary.js
index <HASH>..<HASH> 100644
--- a/lib/components/narrative/default/default-itinerary.js
+++ b/lib/components/narrative/default/default-itinerary.js
@@ -222,7 +222,7 @@ class DefaultItinerary extend... | refactor(default-itinerary): don't crash on missing bookingInfo | opentripplanner_otp-react-redux | train | js |
ab9d8567fba13519592d1578ab1546033abdee70 | diff --git a/tests/models/_teacher_forcing_logits.py b/tests/models/_teacher_forcing_logits.py
index <HASH>..<HASH> 100644
--- a/tests/models/_teacher_forcing_logits.py
+++ b/tests/models/_teacher_forcing_logits.py
@@ -2,6 +2,8 @@
'''
def test_method_get_teacher_forced_logits_for_encoder_decoder_model():
+ """ T... | Added comments to test file _teacher_forsing_logits.py | slundberg_shap | train | py |
b6410b9fc829449b5fb5d46b1da0381e81e933a0 | diff --git a/lib/kpeg.rb b/lib/kpeg.rb
index <HASH>..<HASH> 100644
--- a/lib/kpeg.rb
+++ b/lib/kpeg.rb
@@ -47,13 +47,20 @@ module KPeg
def initialize(node, arg)
@node = node
if arg.kind_of? String
+ @matches = nil
@string = arg
else
@matches = arg
+ @string = ni... | Handle #matches for a string match better | evanphx_kpeg | train | rb |
4c24a120c37bb568e5ffc85bf6504c699ae2335c | diff --git a/lib/ronin/ui/console.rb b/lib/ronin/ui/console.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/ui/console.rb
+++ b/lib/ronin/ui/console.rb
@@ -24,7 +24,6 @@
require 'ronin/config'
require 'irb'
-require 'irb/completion'
module Ronin
module UI
@@ -38,6 +37,9 @@ module Ronin
# Default backtra... | Have 'irb/completion' loaded within the IRB context, if Console.completion is set. | ronin-ruby_ronin | train | rb |
12407705afa29dabd8c2959a5dab088d38145d7f | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -1064,6 +1064,10 @@ function get_directory_list($rootdir, $excludefile="", $descend=true) {
$dirs = array();
+ if (!is_dir($rootdir)) {
+ return $dirs;
+ }
+
if (!... | Check for existence of directory as well to avoid PHP warnings | moodle_moodle | train | php |
79096608b46dfb6f448249ffa8e8b8ad3ca995f0 | diff --git a/spec/lib/client_spec.rb b/spec/lib/client_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/client_spec.rb
+++ b/spec/lib/client_spec.rb
@@ -182,6 +182,13 @@ describe Wikipedia::Client, '.find page (Edsger_Dijkstra)' do
expect(@page.image_thumburls(100)).to include('https://upload.wikimedia.org/wik... | Add unit test for main_image_thumburl | kenpratt_wikipedia-client | train | rb |
10a422dbdca77af9b3574342feaf28ecb500a050 | diff --git a/ActiveRecord.php b/ActiveRecord.php
index <HASH>..<HASH> 100644
--- a/ActiveRecord.php
+++ b/ActiveRecord.php
@@ -70,6 +70,7 @@ class ActiveRecord extends BaseActiveRecord
/**
* @inheritdoc
+ * @return ActiveQuery the newly created [[ActiveQuery]] instance.
*/
public static func... | improved IDE autocompletion for AR::find()
[ci skip] | yiisoft_yii2-elasticsearch | train | php |
20ff5078554d31aaac1383217e593dcce553dbce | diff --git a/spec/javascripts/editor.spec.js b/spec/javascripts/editor.spec.js
index <HASH>..<HASH> 100644
--- a/spec/javascripts/editor.spec.js
+++ b/spec/javascripts/editor.spec.js
@@ -3,6 +3,7 @@ describe("a SirTrevor.Editor instance", function(){
var editor, editor_with_options, element = $("<textarea>");
... | Resets Sir Trevor instances on each run. | madebymany_sir-trevor-js | train | js |
95f0f00c778ea503b94dd07c2eec91f2b5b5bb43 | diff --git a/lib/axios.js b/lib/axios.js
index <HASH>..<HASH> 100644
--- a/lib/axios.js
+++ b/lib/axios.js
@@ -6,6 +6,13 @@ var dispatchRequest = require('./core/dispatchRequest');
var InterceptorManager = require('./core/InterceptorManager');
var axios = module.exports = function (config) {
+ // Allow for axios('... | Fixing axios to treat single string argument as URL
closes #<I> | axios_axios | train | js,js |
e0cdee7d2bceaa099dfdf7491255c9d22bac8b15 | diff --git a/telemetry/telemetry/core/memory_cache_http_server.py b/telemetry/telemetry/core/memory_cache_http_server.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/memory_cache_http_server.py
+++ b/telemetry/telemetry/core/memory_cache_http_server.py
@@ -21,7 +21,7 @@ class MemoryCacheHTTPRequestHandler... | [Telemetry] Fix 2 bugs in memory_cache_http_server.
(1) SendHead may return None. So we need to check for a None resource_range in addition to
a None resource_range.response. This was causing stacks in the server, but as far as I
can tell, didn't actually affect anything.
(2) Make index.html work on windows. W... | catapult-project_catapult | train | py |
908fa28af51ef8f57cb9de8d5d55fd4747439c10 | diff --git a/src/Orchestra/Story/StoryServiceProvider.php b/src/Orchestra/Story/StoryServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Orchestra/Story/StoryServiceProvider.php
+++ b/src/Orchestra/Story/StoryServiceProvider.php
@@ -22,7 +22,7 @@ class StoryServiceProvider extends ServiceProvider
*/
pr... | Update to use bindShared. | orchestral_story | train | php |
d21c79a9efc332217497b221e587333e7086ae9c | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/common-nav.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/wid... | Bug <I> - Do not modify navigator selection if context menu was triggered via keyboard button
-- | eclipse_orion.client | train | js |
71a9d1d64fb8d3e4dacae1d9e1957f209098c061 | diff --git a/hacking/checks/imports.py b/hacking/checks/imports.py
index <HASH>..<HASH> 100644
--- a/hacking/checks/imports.py
+++ b/hacking/checks/imports.py
@@ -11,6 +11,7 @@
# under the License.
import imp
+import inspect
import os
import re
import sys
@@ -100,7 +101,20 @@ def hacking_import_rules(logical_li... | Allow import redirections
When we move modules out of namespace packages we set up redirects to
import the new module under the old name. Python's import machinery
doesn't detect those things as modules, and the names don't show up in
sys.modules. However, if we look at what we actually got when we did the
import we c... | openstack_hacking | train | py |
e9baa5f954c5189014304f47c4dc47ac44b835e0 | diff --git a/photutils/psf/epsf.py b/photutils/psf/epsf.py
index <HASH>..<HASH> 100644
--- a/photutils/psf/epsf.py
+++ b/photutils/psf/epsf.py
@@ -1,7 +1,8 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This module provides tools to build and fit an effective PSF (ePSF)
-based on Anderson and... | Added updated reference to ePSF builder, to cite where additional changes since AK<I> came from | astropy_photutils | train | py |
77883e995fe8ef1a4dbd9f94af27677089b9a722 | diff --git a/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js b/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js
+++ b/src/main/resources/META-INF/resources/primefaces/core/core.ajax.... | unauthorized ajax request redirect | primefaces_primefaces | train | js |
c6438519d530bc7c06c4da3f52863b0e68621600 | diff --git a/grunt/tasks/connectIf.js b/grunt/tasks/connectIf.js
index <HASH>..<HASH> 100644
--- a/grunt/tasks/connectIf.js
+++ b/grunt/tasks/connectIf.js
@@ -14,7 +14,7 @@ module.exports = function (grunt) {
}
http.get("http://localhost:" + configuration.serve.httpPort + "/package.json", function (... | !yoda style (#<I>) | ArnaudBuchholz_gpf-js | train | js |
ae601c5be22d54bfbd14a230b58a0c1c2ec2b6d8 | diff --git a/contao/html/js/vanillaGeneral.js b/contao/html/js/vanillaGeneral.js
index <HASH>..<HASH> 100644
--- a/contao/html/js/vanillaGeneral.js
+++ b/contao/html/js/vanillaGeneral.js
@@ -144,7 +144,11 @@ function GeneralTableDnD()
// Check if we have a prev element or the top.
if (prevElement == null)
{
- ... | Fix drag/drop sorting to top position (once again...). | contao-community-alliance_dc-general | train | js |
af43606de85162e1e834b8c972a50111753947fe | diff --git a/java/src/com/google/template/soy/data/SoyProtoValue.java b/java/src/com/google/template/soy/data/SoyProtoValue.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/data/SoyProtoValue.java
+++ b/java/src/com/google/template/soy/data/SoyProtoValue.java
@@ -331,7 +331,8 @@ public final clas... | Make sure to log stack traces in tofu warning messages to increase visibility.
Otherwise people won't notice these errors and since they generally cause issues in the tofu migration we should increase visibility.
GITHUB_BREAKING_CHANGES=none
-------------
Created by MOE: <URL> | google_closure-templates | train | java |
6baf639181c393e3ff15f65b9d33f3fc1d9b1692 | diff --git a/pycanvas/course.py b/pycanvas/course.py
index <HASH>..<HASH> 100644
--- a/pycanvas/course.py
+++ b/pycanvas/course.py
@@ -5,7 +5,7 @@ from paginated_list import PaginatedList
class Course(CanvasObject):
- def __str__(self):
+ def __str__(self): # pragma: no cover
return "%s %s %s" % (s... | added # pragma: no cover to __str__ methods | ucfopen_canvasapi | train | py,py |
d23621dda9c8d7d864102883054dacfa6fb927c5 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -17,3 +17,6 @@ end
def test_latency
ENV["TEST_LATENCY"].to_f
end
+
+# Crash loud in tests!
+Thread.abort_on_exception = true
\ No newline at end of file | Don't silent exceptions inside threads | guard_listen | train | rb |
25cb3b45e62fe6b7ddcd7a67154ca77d91c631e8 | diff --git a/flask_unchained/bundles/graphene/object_types.py b/flask_unchained/bundles/graphene/object_types.py
index <HASH>..<HASH> 100644
--- a/flask_unchained/bundles/graphene/object_types.py
+++ b/flask_unchained/bundles/graphene/object_types.py
@@ -6,6 +6,7 @@ from graphene.utils.subclass_with_meta import (
from... | fix bug where graphene would eat exceptions about miss-configured sqlalchemy models | briancappello_flask-unchained | train | py |
dc84e9445c9f8bce7b1aed378154701f5dcbcb6d | diff --git a/lib/quartz_torrent/reactor.rb b/lib/quartz_torrent/reactor.rb
index <HASH>..<HASH> 100644
--- a/lib/quartz_torrent/reactor.rb
+++ b/lib/quartz_torrent/reactor.rb
@@ -345,6 +345,7 @@ module QuartzTorrent
@useErrorhandler = true
@readRateLimit = nil
@writeRateLimit = nil
+ raise "IO... | Fixed bug with nil IO in reactor. | jeffwilliams_quartz-torrent | train | rb |
7e08c95fd8b4d6d0229928cd83b271091bbf2b17 | diff --git a/theme/styles.php b/theme/styles.php
index <HASH>..<HASH> 100644
--- a/theme/styles.php
+++ b/theme/styles.php
@@ -83,7 +83,7 @@ require("$CFG->dirroot/lib/setup.php");
$theme = theme_config::load($themename);
if ($type === 'editor') {
- $files = $theme->editor_css_files();
+ $cssfiles = $theme->e... | MDL-<I> csslib: third param passed to css_store_css fixed | moodle_moodle | train | php |
3c9551eea6484cf03cf96f888d437a788456aa03 | diff --git a/stanza/resources/common.py b/stanza/resources/common.py
index <HASH>..<HASH> 100644
--- a/stanza/resources/common.py
+++ b/stanza/resources/common.py
@@ -10,6 +10,7 @@ import os
from pathlib import Path
import requests
import shutil
+import tempfile
import zipfile
from tqdm.auto import tqdm
@@ -120,... | Download files to a tempdir created underneath the expected destination, then use os.replace to move the files (atomically if supported by the file system). The goal is to ensure that two processes downloading the same file don't clobber each other with partially downloaded junk. <URL> | stanfordnlp_stanza | train | py |
a32a798bd754fb0d8b9ee9159d4d1e8591e1b5e8 | diff --git a/lib/videojs-hlsjs.js b/lib/videojs-hlsjs.js
index <HASH>..<HASH> 100644
--- a/lib/videojs-hlsjs.js
+++ b/lib/videojs-hlsjs.js
@@ -87,11 +87,9 @@
};
Hlsjs.canPlaySource = function(source) {
- if (Html5.canPlaySource(source)) {
- return false;
- } else {
- return Hls.isSupported();
- ... | Updated Hlsjs.canPlaySource to take source.type into account | SRGSSR_videojs-hlsjs | train | js |
03aa1c0127ebdece9e05fb2e9189d87927f97603 | diff --git a/lib/yard/code_objects/base.rb b/lib/yard/code_objects/base.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/code_objects/base.rb
+++ b/lib/yard/code_objects/base.rb
@@ -170,7 +170,7 @@ module YARD
if name.to_s[0,2] == NSEP
name = name.to_s[2..-1]
namespace = Registry.root
... | No longer support 'Foo.bar' or 'Foo#bar' syntax as name argument to Base.new
It was never used in YARD's codebase, and makes initialization very complex. | lsegal_yard | train | rb |
573376017215da4ecd33108ddd552558c1a69cee | diff --git a/lib/cucumber-runner.js b/lib/cucumber-runner.js
index <HASH>..<HASH> 100644
--- a/lib/cucumber-runner.js
+++ b/lib/cucumber-runner.js
@@ -2,6 +2,7 @@ var path = require('path')
var objectAssign = require('object-assign')
var nightwatch = require.main.require('nightwatch')
var client
+var timeout
func... | [ISSUE-<I>] fix cucumber after timeout | mucsi96_nightwatch-cucumber | train | js |
53d076e0f12717095db5551c497c0ffdf4ba3342 | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -467,9 +467,10 @@ class Connection extends EventEmitter {
// this.compressedSequenceId = 0;
// this.sequenceId = 0;
if (this.config.debug) {
+ const commandName = cmd.con... | fix(debug): remove usage of callee | sidorares_node-mysql2 | train | js |
7b401bfcbd0b2ab2c878bba115b41a984781d6dc | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -79,7 +79,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_theme = 'alabaster'
+html_... | fixing the sphinx_rtd_theme theme for rtd | jay-johnson_network-pipeline | train | py |
5aebd698579649f076276c70ab33e2f34634ad3e | diff --git a/testutil/daemon/ops.go b/testutil/daemon/ops.go
index <HASH>..<HASH> 100644
--- a/testutil/daemon/ops.go
+++ b/testutil/daemon/ops.go
@@ -26,7 +26,6 @@ func WithTestLogger(t testing.TB) func(*Daemon) {
// WithExperimental sets the daemon in experimental mode
func WithExperimental(d *Daemon) {
d.experim... | testutil: fix WithExperimental also setting "init"
Looks like this was overlooked in the review of the PR that added
this; e<I>b<I>e<I>e<I>c<I>d<I>f<I>e6d
There is a separate option for `WithInit`, so this option should not
automatically enable it when starting a daemon with experimental enabled. | moby_moby | train | go |
b7efce7359d05de644beac7f533067a62217e54e | diff --git a/src/Session/JwtCookieSessionStorage.php b/src/Session/JwtCookieSessionStorage.php
index <HASH>..<HASH> 100644
--- a/src/Session/JwtCookieSessionStorage.php
+++ b/src/Session/JwtCookieSessionStorage.php
@@ -98,7 +98,9 @@ class JwtCookieSessionStorage implements SessionStorageInterface {
* {@inheritdoc}
... | Setting lifetime to match metadatabag (which is based on ini session.cookie_lifetime). | gmo_common | train | php |
ca9679a86e7360fcdbad3016971d93691cab7828 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -320,7 +320,12 @@ class Client
return $value;
}
- public function detectAddressByIp(string $ip): Address
+ /**
+ * @param string $ip
+ * @return null|Address
+ * @throw... | Fixed accidentally added PHP7 stuff; Fixed null response | gietos_dadata | train | php |
160f7111834fef119f311366a64e7acc67d078cf | diff --git a/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber/inventory.rb b/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber/inventory.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber/inventory.rb
+++ b/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber/invent... | fix(pubsub): Fix Subscriber Inventory bug
Remove chaining mutation methods in Subscriber Inventory
because the mutation methods returned nil instead of self
when no change was made.
[pr #<I>] | googleapis_google-cloud-ruby | train | rb |
0184147c56136ec4b2ea11e5f7bb55e2f11d06b1 | diff --git a/javascript/selenium-core/scripts/selenium-browserbot.js b/javascript/selenium-core/scripts/selenium-browserbot.js
index <HASH>..<HASH> 100644
--- a/javascript/selenium-core/scripts/selenium-browserbot.js
+++ b/javascript/selenium-core/scripts/selenium-browserbot.js
@@ -2349,10 +2349,10 @@ IEBrowserBot.prot... | Fixing copy-paste bug introduced in the previous commit | SeleniumHQ_selenium | train | js |
354e94049e2cf6cc8c7a1ce62b629a8e25ae401a | diff --git a/src/Import_Command.php b/src/Import_Command.php
index <HASH>..<HASH> 100644
--- a/src/Import_Command.php
+++ b/src/Import_Command.php
@@ -58,7 +58,9 @@ class Import_Command extends WP_CLI_Command {
$files = glob( rtrim( $arg, '/' ) . '/*.{wxr,xml}', GLOB_BRACE );
$new_args = array_merge( $new_arg... | fixes non-existent directories from ending up in list of files to import
Discovered that if you type a directory to import incorrectly, is_dir will return false but the incorrect directory will end up in the new_args array of files to import. This adds an additional condition to ensure the file exists. | wp-cli_import-command | train | php |
a378b292960b700910937bd69b9fd1ce81d16f7c | diff --git a/c7n/ipaddress.py b/c7n/ipaddress.py
index <HASH>..<HASH> 100644
--- a/c7n/ipaddress.py
+++ b/c7n/ipaddress.py
@@ -1113,7 +1113,8 @@ class _BaseNetwork(_IPAddressBase):
try:
# Always false if one is v4 and the other is v6.
if a._version != b._version:
- rais... | core - vendored ipaddress use <I> compatible interpolation (#<I>) | cloud-custodian_cloud-custodian | train | py |
e341e5ef698637acff9132b076fa8db9cbb438ed | diff --git a/themes/colors/header.php b/themes/colors/header.php
index <HASH>..<HASH> 100644
--- a/themes/colors/header.php
+++ b/themes/colors/header.php
@@ -247,13 +247,13 @@ echo '</tr>',
'</td>';
if(empty($SEARCH_SPIDER)) {
echo '<td class="toplinks_right">',
- '<div align="', $TEXT_DIRECTION=="ltr"?... | Consolidate toplinks into header script | fisharebest_webtrees | train | php |
8d17c2a5091f43c5bdb4b279ede49edd0f924e37 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,8 +40,6 @@ setup(name='ramses',
tests_require=requires,
test_suite="ramses",
entry_points="""\
- [console_scripts]
- ramses.scaffold_test = ramses.scripts.scaffold_test:main
... | Dont expose scaffold_test in scripts | ramses-tech_ramses | train | py |
99b41217259832dd2a558cc0399049d50841b597 | diff --git a/common.go b/common.go
index <HASH>..<HASH> 100644
--- a/common.go
+++ b/common.go
@@ -93,7 +93,8 @@ func Number(num []byte) []byte {
end--
}
}
- for i, c := range num {
+ for i := 0; i < len(num); i++ {
+ c := num[i]
if c == '.' {
dot = i
} else if c == 'e' || c == 'E' {
diff --git a/sv... | Revert some bad for i -> for range conversions | tdewolff_minify | train | go,go |
ba0179b5850ba1d8accfa7301f483733c1378b60 | diff --git a/pyes/es.py b/pyes/es.py
index <HASH>..<HASH> 100644
--- a/pyes/es.py
+++ b/pyes/es.py
@@ -448,7 +448,7 @@ class ES(object):
path = self._make_path(parts)
return self._send_request('GET', path)
- def index(self, doc, index, doc_type, id=None, force_insert=False, bulk=False, querystrin... | Added a parent argument to the index method
Generate the necessary parameters to index the parent in non-bulk and bulk modes (previously there was no way to accomplish this in bulk mode) | aparo_pyes | 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.