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 |
|---|---|---|---|---|---|
26040b9b01ac35cdbfc40ce599ad424f4a4479b3 | diff --git a/lib/ninetails/key_conversion.rb b/lib/ninetails/key_conversion.rb
index <HASH>..<HASH> 100644
--- a/lib/ninetails/key_conversion.rb
+++ b/lib/ninetails/key_conversion.rb
@@ -15,8 +15,14 @@ module Ninetails
end
end
+ def should_modify_keys?
+ @headers["Content-Type"].present? &&
+ ... | Check if Content-Type is present before running key conversion | iZettle_ninetails | train | rb |
799947015b6f96fd79758bf9ad4dfd5aaefec281 | diff --git a/hamster/stats.py b/hamster/stats.py
index <HASH>..<HASH> 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -383,6 +383,12 @@ class StatsViewer:
self.get_widget('remove').set_sensitive(id != -1)
return True
+
+ def on_facts_row_activated(self, tree, path, column):
+ selec... | connect double-click to editing, fixes bug <I>
svn path=/trunk/; revision=<I> | projecthamster_hamster | train | py |
06f8565ed6b690133ce3b5dfe64a9a68f28f6531 | diff --git a/GaintBomb/GaintBomb.php b/GaintBomb/GaintBomb.php
index <HASH>..<HASH> 100644
--- a/GaintBomb/GaintBomb.php
+++ b/GaintBomb/GaintBomb.php
@@ -31,7 +31,7 @@ class GaintBomb {
**/
function __construct($key = "", $resp = "")
{
- // No api key? There is no need to continue
+ // No api key? There is ... | added function for getting game details by game id | amalfra_GiantBomb | train | php |
0963d93284f1f4277b2615f3013181673a879a7e | diff --git a/build/gulp.docs.js b/build/gulp.docs.js
index <HASH>..<HASH> 100644
--- a/build/gulp.docs.js
+++ b/build/gulp.docs.js
@@ -48,7 +48,8 @@ const alterReference = async () => {
}
})
- fs.writeFileSync(path.join(__dirname, '../docs/reference/public/index.html'), $.html())
+ const fixedContentPaths =... | fix(docs): corrected path to assets | botpress_botpress | train | js |
771c90d22d00e7281b3d37108a9da2745871f881 | diff --git a/path.go b/path.go
index <HASH>..<HASH> 100644
--- a/path.go
+++ b/path.go
@@ -1,3 +1,4 @@
+//go:build !windows
// +build !windows
package scp
diff --git a/path_windows.go b/path_windows.go
index <HASH>..<HASH> 100644
--- a/path_windows.go
+++ b/path_windows.go
@@ -1,3 +1,4 @@
+//go:build windows
// +b... | Add go <I> style build constraints applied by `go fmt` | hnakamur_go-scp | train | go,go,go,go |
b5f5cb232ed5a1ec6701be85e59e06e8e788aec0 | diff --git a/src/lib/Image.php b/src/lib/Image.php
index <HASH>..<HASH> 100644
--- a/src/lib/Image.php
+++ b/src/lib/Image.php
@@ -28,7 +28,7 @@ class Image
const CHUNK_OVERHEAD_BYTES = 12; // length + type + CRC
const MAX_KEYWORD_BYTES = 79;
- const NULL_SEPARATOR = '\0';
+ const NULL_SEPARATOR = "\0";
co... | Use correct null separator and NULL instead of zero in compression
Need to use double quotes for NULL character otherwise it will be interpreted as the literal string '\0' (i.e. backslash followed by a zero).
PNG specification states: 'The compression flag is 0 for uncompressed text' (s<I>) but PNG viewers seem to re... | UoMCS_php-png | train | php |
0fba523a326b35b971b145ff31d3c4dfb18a08d9 | diff --git a/matrix_client/client.py b/matrix_client/client.py
index <HASH>..<HASH> 100644
--- a/matrix_client/client.py
+++ b/matrix_client/client.py
@@ -346,6 +346,8 @@ class MatrixClient(object):
for room_id, left_room in response['rooms']['leave'].items():
for listener in self.left_listeners:
... | matrix_client/client.py: Remove room from rooms dict on leave event
When receiving a leave event, we should remove the room from our rooms
dictionary since it is no longer meaningful for us.
This fix also makes join and leave events more symmetric. | matrix-org_matrix-python-sdk | train | py |
1772e64e124ff256b718fb7db33d86fd22a510dc | diff --git a/Components/Queues/Drivers/PhpAmqpLibDriver.php b/Components/Queues/Drivers/PhpAmqpLibDriver.php
index <HASH>..<HASH> 100644
--- a/Components/Queues/Drivers/PhpAmqpLibDriver.php
+++ b/Components/Queues/Drivers/PhpAmqpLibDriver.php
@@ -191,7 +191,12 @@ class PhpAmqpLibDriver extends Service implements AsyncQ... | AMQP: Pass x-argument headers from the QueueMessage to the queue creator. | smartboxgroup_integration-framework-bundle | train | php |
3a58c4918406e08d75c9b8336981b5458926b198 | diff --git a/plugins/postgres/dbt/adapters/postgres/connections.py b/plugins/postgres/dbt/adapters/postgres/connections.py
index <HASH>..<HASH> 100644
--- a/plugins/postgres/dbt/adapters/postgres/connections.py
+++ b/plugins/postgres/dbt/adapters/postgres/connections.py
@@ -23,7 +23,7 @@ class PostgresCredentials(Crede... | Default application_name to dbt | fishtown-analytics_dbt | train | py |
48fd9cb979a64583c1dae7b1620c2a66255fb351 | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -111,11 +111,12 @@ module Rfd
include Rfd::Commands
def initialize(base: nil, dir: nil)
- @base, @dir = base, dir
+ @base = base
@win = Curses.stdscr.subwin Curses.stdscr.maxy - 9, Curses.s... | Split out cd command from the initializer | amatsuda_rfd | train | rb |
e6213687edc9dc2d3167aea3ec0a69fbe1a23d0d | diff --git a/lib/fluent/plugin/filter_kubernetes_metadata.rb b/lib/fluent/plugin/filter_kubernetes_metadata.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/filter_kubernetes_metadata.rb
+++ b/lib/fluent/plugin/filter_kubernetes_metadata.rb
@@ -196,8 +196,8 @@ module Fluent
end
end
-
- def fi... | Define filter_stream instead of filter | fabric8io_fluent-plugin-kubernetes_metadata_filter | train | rb |
d4a98a5cfc995e98ccd44b5c961ae2acb0112562 | diff --git a/lib/crawl_job.rb b/lib/crawl_job.rb
index <HASH>..<HASH> 100644
--- a/lib/crawl_job.rb
+++ b/lib/crawl_job.rb
@@ -35,6 +35,7 @@ class CrawlJob
end
if is_permitted_type(content)
begin
+ @redis.incr "inprogress"
# move the url from the queued list to the c... | Added in an inprogress counter. Don't mark a job as finished if processing a page is inprogress. | stewartmckee_cobweb | train | rb |
1eb25779ffaba9575bd760fda5004f76344fe8b4 | diff --git a/code/MemberProfileField.php b/code/MemberProfileField.php
index <HASH>..<HASH> 100644
--- a/code/MemberProfileField.php
+++ b/code/MemberProfileField.php
@@ -107,21 +107,31 @@ class MemberProfileField extends DataObject {
* @return string
*/
public function getTitle() {
- return $this->CustomTitle... | BUGFIX: Updated MemberProfileField->getTitle() to allow returning blank titles (e.g. password fields).
MINOR: Added a $force param to ->getDefaultTitle() to allow returning blank titles. | symbiote_silverstripe-memberprofiles | train | php |
8f671deb918c37509240eb13e2c39217403f9993 | diff --git a/server/memstore.go b/server/memstore.go
index <HASH>..<HASH> 100644
--- a/server/memstore.go
+++ b/server/memstore.go
@@ -492,8 +492,11 @@ func (ms *memStore) removeMsg(seq uint64, secure bool) bool {
}
if ms.scb != nil {
+ // We do not want to hold any locks here.
+ ms.mu.Unlock()
delta := int6... | Calling out to the storage update should not hold lock.
We had lock inversion with consumers. | nats-io_gnatsd | train | go |
ed9a9d5ad2d447dd9728e32f09c01d6cb6d3f0ae | diff --git a/falafel/mappers/tests/test_rhn_server_xmlrpc_log.py b/falafel/mappers/tests/test_rhn_server_xmlrpc_log.py
index <HASH>..<HASH> 100644
--- a/falafel/mappers/tests/test_rhn_server_xmlrpc_log.py
+++ b/falafel/mappers/tests/test_rhn_server_xmlrpc_log.py
@@ -20,13 +20,13 @@ def test_log_data():
# Check t... | Fixing some flake8 warnings | RedHatInsights_insights-core | train | py |
a7b6f91c3fc582af46feb071b1253441552d3ed8 | diff --git a/config/routes.rb b/config/routes.rb
index <HASH>..<HASH> 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,7 +5,6 @@ Rails.application.routes.draw do
match 'home' => 'home#index', :as => :home
match 'home' => 'home#index', :as => :user_root # devise after_sign_in_path_for
- devise_for :us... | Allow configuration of devise routes at the application level, fixes #<I> | ging_social_stream | train | rb,rb |
6850f48475ab3e347fd1b6c416695de907caf0aa | diff --git a/untwisted/plugins/irc.py b/untwisted/plugins/irc.py
index <HASH>..<HASH> 100644
--- a/untwisted/plugins/irc.py
+++ b/untwisted/plugins/irc.py
@@ -248,9 +248,11 @@ class Misc(object):
spawn(spin, 'PRIVMSG->%s' % target.lower(), nick, user, host, msg)
spawn(spin, 'PRIVMSG->%s' % nick.lower(... | Adding irc events and fixing order of args. | untwisted_untwisted | train | py |
f46227f7b1cca6b4bcf3803eb4fcd84b09e393ef | diff --git a/spyderlib/widgets/externalshell/systemshell.py b/spyderlib/widgets/externalshell/systemshell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/externalshell/systemshell.py
+++ b/spyderlib/widgets/externalshell/systemshell.py
@@ -37,6 +37,10 @@ class ExternalSystemShell(ExternalShellBase):
... | External system shell/Bug: Couldn't close it anymore because of the changes in revision ea2aaeaee<I>
- The solution was to add the attribute is_ipython_kernel to the class and set
it to False | spyder-ide_spyder | train | py |
900d4606543661f4783bdc6b168e8fcad2546b7f | diff --git a/repository/upload/repository.class.php b/repository/upload/repository.class.php
index <HASH>..<HASH> 100755
--- a/repository/upload/repository.class.php
+++ b/repository/upload/repository.class.php
@@ -81,7 +81,10 @@ class repository_upload extends repository {
$ret['nosearch'] = true;
//... | "MDL-<I>, disable manage link if user don't have permission to manage" | moodle_moodle | train | php |
7982789428a23acc557f760d17da1e33bff12cf3 | diff --git a/buildbot/status/web/console.py b/buildbot/status/web/console.py
index <HASH>..<HASH> 100755
--- a/buildbot/status/web/console.py
+++ b/buildbot/status/web/console.py
@@ -305,7 +305,7 @@ class ConsoleStatusResource(HtmlResource):
# Now break if we have enough builds.
curr... | Fix console to not misrepresent older builds
Change suggested by Aviv Ben-Yosef in ML thread "console does not match
waterfall for older builds (<I> + CSS fix; SVN)" | buildbot_buildbot | train | py |
dc367b2c4d44a04ed1bf873a7ec824bf620d6055 | diff --git a/pointer/smudge.go b/pointer/smudge.go
index <HASH>..<HASH> 100644
--- a/pointer/smudge.go
+++ b/pointer/smudge.go
@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/cheggaaa/pb"
"github.com/github/git-lfs/lfs"
+ "github.com/rubyist/tracerx"
"github.com/technoweenie/go-contentaddressable"
"io"
"os"
@@ -... | fix smudge attempts from zero len file | git-lfs_git-lfs | train | go |
6d2973189fba83816f5deb8d187211b10e98ee49 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1635,13 +1635,11 @@ testCM("lineStyleFromMode", function(cm) {
eq(bracketElts.length, 1);
eq(bracketElts[0].nodeName, "PRE");
is(!/brackets.*brackets/.test(bracketElts[0].className));
- eq(bracketElt... | Remove tests using getElementsByTagName
The method isn't present on all supported platforms, and these
tests tested someting very obscure, and already failed on the v4
branch which representes the editor content differently.
Issue #<I> | codemirror_CodeMirror | train | js |
84187ffe7c192a05c2456cd9d55d99463322bbb3 | diff --git a/decoder.go b/decoder.go
index <HASH>..<HASH> 100644
--- a/decoder.go
+++ b/decoder.go
@@ -5,6 +5,8 @@
package schema
import (
+ "bytes"
+ "encoding/csv"
"errors"
"fmt"
"reflect"
@@ -156,9 +158,30 @@ func (d *Decoder) decode(v reflect.Value, path string, parts []pathPart,
}
items = appen... | Add last resort CSV decoder for slice types
This should work for most array types. The only issue
I can think of off hand is the []string type. Do we want to
break &foo=a,b,c&foo=d into ["a","b","c","d"] or ["a,b,c", "d"]?
For now that is the second option which should not break any
backwards compatability | gorilla_schema | train | go |
1469fba3a0f8d3eddeb62845717c4b98af6df98a | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -75,7 +75,6 @@ def app(request):
with app.app_context():
if not database_exists(str(db.engine.url)):
create_database(str(db.engine.url))
- db.drop_all()
... | tests: no db drop on setup | inveniosoftware_invenio-accounts | train | py |
6db9a3bd2e07b2d06db731764223016e8cee94e3 | diff --git a/py/test/reporter.py b/py/test/reporter.py
index <HASH>..<HASH> 100644
--- a/py/test/reporter.py
+++ b/py/test/reporter.py
@@ -221,6 +221,9 @@ class AbstractReporter(object):
return host.hostid
def skips(self):
+ # XXX review and test below, fix too many lines of
+ # s... | [svn r<I>] add a note that skip-reporting is broken
after the branch-merge
--HG--
branch : trunk | vmalloc_dessert | train | py |
27d15e61420e9b10468985949de7444fcb3e8d03 | diff --git a/future/tests/test_pasteurize.py b/future/tests/test_pasteurize.py
index <HASH>..<HASH> 100644
--- a/future/tests/test_pasteurize.py
+++ b/future/tests/test_pasteurize.py
@@ -54,6 +54,7 @@ class TestPasteurize(CodeHandler):
'''
self.unchanged(code, from3=True)
+ # TODO: write / fix th... | Make a note of a libpasteurize fixer that needs work | PythonCharmers_python-future | train | py,py |
291cb181f09ef7e7994184fa315d2e3bd4cf4aa8 | diff --git a/route/exproute/exproute.go b/route/exproute/exproute.go
index <HASH>..<HASH> 100644
--- a/route/exproute/exproute.go
+++ b/route/exproute/exproute.go
@@ -8,9 +8,11 @@ package exproute
import (
"fmt"
+ "sort"
+ "sync"
+
"github.com/mailgun/vulcan/location"
"github.com/mailgun/vulcan/request"
- "syn... | Sort routes before compile into matchers | vulcand_vulcan | train | go |
f9a7c5930b746016ca313afcba0daf9e6a30bb17 | diff --git a/abaaso.js b/abaaso.js
index <HASH>..<HASH> 100644
--- a/abaaso.js
+++ b/abaaso.js
@@ -713,8 +713,11 @@ var abaaso = function(){
var state = null,
s = abaaso.state;
- cache.set(uri, "epoch", new Date());
- cache.set(uri, "response", xhr.responseText);
+ if (type != "... | Conditionally setting local cache on <I> response (no need to cache DELETE response) | avoidwork_abaaso | train | js |
7c561c7a251e3576c4bf53f9dbae030b9f0fefdb | diff --git a/install.php b/install.php
index <HASH>..<HASH> 100644
--- a/install.php
+++ b/install.php
@@ -303,10 +303,13 @@ if ($nextstage == 5) {
$str .= '// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.'."\r\n";
$str .= '?>';
+ umask(0137);
+
if (( $configsuccess = ($fh = @... | Try to apply sensible file permissions to the new config.php | moodle_moodle | train | php |
17886f52adbf54f94df39821cfd4764ec6081192 | diff --git a/tests/_util.py b/tests/_util.py
index <HASH>..<HASH> 100644
--- a/tests/_util.py
+++ b/tests/_util.py
@@ -1,3 +1,5 @@
+import logging
+
from docutils.nodes import (
list_item, paragraph,
)
@@ -15,6 +17,12 @@ from releases import (
from releases.util import make_app, changelog2dict
+# Mute Sphin... | Mute sphinx logging in our test suite | bitprophet_releases | train | py |
8917e08725ba6d00bddfd5fa073a483032d19115 | diff --git a/lackey/PlatformManagerWindows.py b/lackey/PlatformManagerWindows.py
index <HASH>..<HASH> 100644
--- a/lackey/PlatformManagerWindows.py
+++ b/lackey/PlatformManagerWindows.py
@@ -303,8 +303,8 @@ class PlatformManagerWindows(object):
DIB_RGB_COLORS = 0
## Begin logic
- self._gdi32.... | * modify ansi to unicode function to try avoiding access violation | glitchassassin_lackey | train | py |
01ebbc9812de5fde21082aded6deea5684680f8f | diff --git a/lib/trace.js b/lib/trace.js
index <HASH>..<HASH> 100644
--- a/lib/trace.js
+++ b/lib/trace.js
@@ -1,6 +1,7 @@
'use strict';
var format = require('util').format;
+var url = require('url');
var Trace = function (logger) {
this.enabled = !!logger;
@@ -38,6 +39,8 @@ function stringify(object) {
re... | Use "trace" instead of "silly" for bunyan compliance
Fixes #<I>. Also, format urls so they take less space when logged | ChaosGroup_json-ws | train | js |
b9b01a0f901513370cf3e981544a79f57e321d67 | diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go
+++ b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go
@@ -251,7 +251,7 ... | Simplify objGV construction | kubernetes_kubernetes | train | go |
4fa53a2fe321e874a4ec6b238933870208668bb7 | diff --git a/web3/middleware/pythonic.py b/web3/middleware/pythonic.py
index <HASH>..<HASH> 100644
--- a/web3/middleware/pythonic.py
+++ b/web3/middleware/pythonic.py
@@ -13,14 +13,14 @@ from cytoolz.functoolz import (
compose,
partial,
)
-from eth_utils import (
- encode_hex,
+from eth_utils.curried impo... | personal_* methods were trying to encode_hex(str) | ethereum_web3.py | train | py |
062027a01305010ecd04b7f30001262f9efe300f | diff --git a/collectors/rmq-es-connector/rmq_es_connector.py b/collectors/rmq-es-connector/rmq_es_connector.py
index <HASH>..<HASH> 100644
--- a/collectors/rmq-es-connector/rmq_es_connector.py
+++ b/collectors/rmq-es-connector/rmq_es_connector.py
@@ -41,9 +41,14 @@ print ' [*] Waiting for logs. To exit press CTRL+C'
... | update to handle syslog for es, closes #<I> | CyberReboot_vent | train | py |
fc4403d23c146dac18fd8b6999c6cc4fc226ca24 | diff --git a/src/ComposerRequireChecker/NodeVisitor/UsedSymbolCollector.php b/src/ComposerRequireChecker/NodeVisitor/UsedSymbolCollector.php
index <HASH>..<HASH> 100644
--- a/src/ComposerRequireChecker/NodeVisitor/UsedSymbolCollector.php
+++ b/src/ComposerRequireChecker/NodeVisitor/UsedSymbolCollector.php
@@ -14,7 +14,... | Collected symbols should be reset after each run | maglnet_ComposerRequireChecker | train | php |
947569a27a681b58abc45e161f59e83f6c237482 | diff --git a/src/org/jgroups/protocols/FILE_PING.java b/src/org/jgroups/protocols/FILE_PING.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/FILE_PING.java
+++ b/src/org/jgroups/protocols/FILE_PING.java
@@ -71,11 +71,17 @@ public class FILE_PING extends Discovery {
public void init() throws Excepti... | JGRP-<I> allow init during shutdown | belaban_JGroups | train | java |
faab60f8367dbfc8f850ffd414b3568c44588f32 | diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
index <HASH>..<HASH> 100644
--- a/build/gulpfile.vscode.js
+++ b/build/gulpfile.vscode.js
@@ -129,7 +129,7 @@ const config = {
version: getElectronVersion(),
productAppName: product.nameLong,
companyName: 'Microsoft Corporation',
- copyright: 'Copyr... | Update copyright year to <I>
Happy new year! 🎆 | Microsoft_vscode | train | js |
124d1ebd21742369bd20b365bb505328410c510e | diff --git a/src/com/frostwire/jlibtorrent/Session.java b/src/com/frostwire/jlibtorrent/Session.java
index <HASH>..<HASH> 100644
--- a/src/com/frostwire/jlibtorrent/Session.java
+++ b/src/com/frostwire/jlibtorrent/Session.java
@@ -821,7 +821,7 @@ public final class Session {
}
void fireAlert(Alert<?> a) {
-... | Important fix when firing not swig alerts. | frostwire_frostwire-jlibtorrent | train | java |
654391a3d29938508c4f0227e9dffe5fac69e1fc | diff --git a/rapidoid-model/src/main/java/org/rapidoid/model/impl/BeanProperty.java b/rapidoid-model/src/main/java/org/rapidoid/model/impl/BeanProperty.java
index <HASH>..<HASH> 100644
--- a/rapidoid-model/src/main/java/org/rapidoid/model/impl/BeanProperty.java
+++ b/rapidoid-model/src/main/java/org/rapidoid/model/impl... | Enhanced property caption construction from camelCase property name. | rapidoid_rapidoid | train | java |
aa8aa74578192608833fc319b18a63a428200b6c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -33,7 +33,9 @@ module.exports = {
var outputPath = this.outputPath = 'outputPath' in options ? options.outputPath : this.outputPath;
var isValidNewRelicConfig = this.isValidNewRelicConfig = newRelicConfig.application... | Don't show lack of properties warning if !applicationId
According to the docs, you can disable New Relic for a certain environment by omitting the applicationId. Therefore, we shouldn't show the lack of properties warning if they omit the applicationId. | sir-dunxalot_ember-new-relic | train | js |
64ec5ea0cee074ee878d4c3c0e160ef4e9a60d27 | diff --git a/lib/deep_cover/coverage.rb b/lib/deep_cover/coverage.rb
index <HASH>..<HASH> 100644
--- a/lib/deep_cover/coverage.rb
+++ b/lib/deep_cover/coverage.rb
@@ -1,6 +1,8 @@
module DeepCover
require 'parser'
- require 'parser/current'
+ Misc.with_warnings(nil) do
+ require 'parser/current'
+ end
requi... | Avoid parser's warning about minor version not matching | deep-cover_deep-cover | train | rb |
56e22186de0f8aa5bc5cbdb59ff2c9c8c97d33b6 | diff --git a/test/test_autopep8.py b/test/test_autopep8.py
index <HASH>..<HASH> 100755
--- a/test/test_autopep8.py
+++ b/test/test_autopep8.py
@@ -1966,13 +1966,13 @@ class Foo():
class Foo(object):
def bar(self):
- return self.elephant is not None
+ return self.elephant!='test'
"""
fixed = """\
... | Make test_e<I>_with_indentation_fix() actually use the fixer for E<I>
Due to a change in commit f<I>c<I>ada5 ('Add fixer for E<I> with "!=
None"') the test for E<I> actually did not use the fixer for E<I>
anymore.
Fix this by returning to the original example but use a comparison that
does not trigger E<I>. | hhatto_autopep8 | train | py |
1e3d5f4406e3312767169c20a44c5ef35665ee1b | diff --git a/lib/fog/vcloud_director/parsers/compute/vm_customization.rb b/lib/fog/vcloud_director/parsers/compute/vm_customization.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud_director/parsers/compute/vm_customization.rb
+++ b/lib/fog/vcloud_director/parsers/compute/vm_customization.rb
@@ -34,6 +34,7 @@ module ... | The AdminPassword XML element isn't present unless AdminPasswordEnabled, maybe because it's an empty tag? If not set the VCloud API gives a <I>. | fog_fog | train | rb |
c138f390acbb03ec1eca8ef92244afed374a0d89 | diff --git a/pkg/log/log.go b/pkg/log/log.go
index <HASH>..<HASH> 100644
--- a/pkg/log/log.go
+++ b/pkg/log/log.go
@@ -82,7 +82,11 @@ func Fatal(skip int, format string, v ...interface{}) {
func Close() {
for _, l := range loggers {
l.Close()
+ // delete the logger.
+ l = nil
}
+ // clear the loggers slice.
+... | close all existing loggers before re-initilizing loggers. fixes #<I> | grafana_grafana | train | go,go |
7a12a4494640be263af6df91091212af2df81b1d | diff --git a/internal/services/network/network_watcher_resource_test.go b/internal/services/network/network_watcher_resource_test.go
index <HASH>..<HASH> 100644
--- a/internal/services/network/network_watcher_resource_test.go
+++ b/internal/services/network/network_watcher_resource_test.go
@@ -35,13 +35,6 @@ func TestA... | network: removing remnants of the older tests | terraform-providers_terraform-provider-azurerm | train | go |
b3c7dc91692af009751e1522d42f591ae3938692 | diff --git a/model/logging.js b/model/logging.js
index <HASH>..<HASH> 100644
--- a/model/logging.js
+++ b/model/logging.js
@@ -156,7 +156,7 @@ exports.Logging = BaseModel.extend({
// Set up loggly.
if (this.get('loggly').enabled) {
- var opts = this.get('loggly');
+ var opts = ... | don't mess with the configuration when setting up loggly | stimulant_ampm | train | js |
29fed0e708ee9eba87c838c2d287f7bc0a80cbd7 | diff --git a/plugins/Provider/Visitor.php b/plugins/Provider/Visitor.php
index <HASH>..<HASH> 100644
--- a/plugins/Provider/Visitor.php
+++ b/plugins/Provider/Visitor.php
@@ -23,11 +23,10 @@ class Visitor
public function getProvider()
{
- if (!isset($this->details['location_provider'])) {
+ if... | Fixing a merge-fail | matomo-org_matomo | train | php |
075c0c53c5af45d71201362202074fde8eae5b08 | diff --git a/lib/folders/index.js b/lib/folders/index.js
index <HASH>..<HASH> 100644
--- a/lib/folders/index.js
+++ b/lib/folders/index.js
@@ -24,6 +24,10 @@ module.exports = (reporter) => {
// before document store initialization, extend all entity types with folder information
reporter.documentStore.on('before... | should not add folders property to entity sets that don’t need it | jsreport_jsreport-core | train | js |
0681830be4b763c9e800fd23aee5254a70cdfaf3 | diff --git a/pkg/minikube/assets/vm_assets.go b/pkg/minikube/assets/vm_assets.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/assets/vm_assets.go
+++ b/pkg/minikube/assets/vm_assets.go
@@ -77,7 +77,7 @@ func (b *BaseAsset) GetModTime() (time.Time, error) {
// FileAsset is an asset using a file
type FileAsset struct... | io.ReadSeeker for all the Assets readers | kubernetes_minikube | train | go |
72bcc8744ee847a7417a81476196fc2ca7037830 | diff --git a/lib/falkorlib/version.rb b/lib/falkorlib/version.rb
index <HASH>..<HASH> 100644
--- a/lib/falkorlib/version.rb
+++ b/lib/falkorlib/version.rb
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
# MAJOR: Defines the major version
# MINOR: Defines the minor version
# PATCH: Defines the pat... | bump to version '<I>' | Falkor_falkorlib | train | rb |
cf3621ffc6487ba244f7da4c93c43c26f6ff1d50 | 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
@@ -360,7 +360,7 @@ public class PoolTest {
* @param fixture
* @throws Exception
*/
- @Test/*(timeout = ... | do not run tests without a timeout. | chrisvest_stormpot | train | java |
e62e473d44494808e584383af24f8d219f8fc745 | diff --git a/lib/form/select.php b/lib/form/select.php
index <HASH>..<HASH> 100644
--- a/lib/form/select.php
+++ b/lib/form/select.php
@@ -71,13 +71,19 @@ class MoodleQuickForm_select extends HTML_QuickForm_select{
* @return string
*/
function toHtml(){
+ $html = '';
+ if ($this->getMulti... | MDL-<I> form: Mutiple select work correctly without any selection | moodle_moodle | train | php |
682d044d6945b8681f736dbfa01383f829d47b3e | diff --git a/src/bosh-director/lib/bosh/director/cloud_factory.rb b/src/bosh-director/lib/bosh/director/cloud_factory.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/cloud_factory.rb
+++ b/src/bosh-director/lib/bosh/director/cloud_factory.rb
@@ -1,6 +1,6 @@
module Bosh::Director
class Cloud... | Lock director into cpi version 1
[#<I>](<URL>) | cloudfoundry_bosh | train | rb |
a08fed380904de0bb0d8c3d309b7ceb7780c133d | diff --git a/pyemma/msm/tests/test_cktest.py b/pyemma/msm/tests/test_cktest.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/tests/test_cktest.py
+++ b/pyemma/msm/tests/test_cktest.py
@@ -40,7 +40,7 @@ from pyemma.msm.tests.birth_death_chain import BirthDeathChain
from pyemma.msm import estimate_markov_model
-class... | rebased to dev_release_<I> | markovmodel_PyEMMA | train | py |
668bc3b3c1f5b131f06afbbadf36533ecf053767 | diff --git a/src/Entity/EntityService.php b/src/Entity/EntityService.php
index <HASH>..<HASH> 100644
--- a/src/Entity/EntityService.php
+++ b/src/Entity/EntityService.php
@@ -94,11 +94,12 @@ abstract class EntityService
);
}
- $entities = $this->getRepository()->getPaginatedEntities($opti... | Fixed the order for the creation of options | gibilogic_crud-bundle | train | php |
926791f8fb94a7215cf148e156cde61719448048 | diff --git a/panthrMath/utils.js b/panthrMath/utils.js
index <HASH>..<HASH> 100644
--- a/panthrMath/utils.js
+++ b/panthrMath/utils.js
@@ -117,6 +117,8 @@ define(function(require) {
if (isNaN(absMax)) { return isNaN(x) && isNaN(x0); } /* both NaN */
if (absMax === Infinity) { return x0 === x; }
... | relativelyClose to should use isEssentiallyZero | PanthR_panthrMath | train | js |
d185f97a47a79987ce36052c87a33492a3a28901 | diff --git a/tests/unit/test_pillar.py b/tests/unit/test_pillar.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_pillar.py
+++ b/tests/unit/test_pillar.py
@@ -439,8 +439,8 @@ class PillarTestCase(TestCase):
'renderer_blacklist': [],
'renderer_whitelist': [],
'state_top': '',
-... | mocked file_roots and pillar_roots should be dicts | saltstack_salt | train | py |
5598fc811f9796643a33544cb52e4e20d61fe765 | diff --git a/src/petl/test/test_profile.py b/src/petl/test/test_profile.py
index <HASH>..<HASH> 100644
--- a/src/petl/test/test_profile.py
+++ b/src/petl/test/test_profile.py
@@ -146,5 +146,26 @@ def test_profile_types():
'str': 1,
... | part-baked thoughts on profiling datetime types | petl-developers_petl | train | py |
8be0864f2af09c61d0ddb05e341399289f35a7a8 | diff --git a/lib/event_sourcery/event.rb b/lib/event_sourcery/event.rb
index <HASH>..<HASH> 100644
--- a/lib/event_sourcery/event.rb
+++ b/lib/event_sourcery/event.rb
@@ -46,7 +46,7 @@ module EventSourcery
# @param uuid [String] UUID as a string. Optional. Unique identifier for this event. A random UUID will be ge... | Event.version refers to event's aggregate's version | envato_event_sourcery | train | rb |
20b92539161b240a5b543bae813ef392b488341b | diff --git a/Classes/Indexer/Types/File.php b/Classes/Indexer/Types/File.php
index <HASH>..<HASH> 100644
--- a/Classes/Indexer/Types/File.php
+++ b/Classes/Indexer/Types/File.php
@@ -332,6 +332,7 @@ class File extends IndexerBase
// get file properties for this file, this information is merged from file re... | [BUGFIX] Detect language only for FAL files | teaminmedias-pluswerk_ke_search | train | php |
07868abfb5bd8940eebb5723cb224a7fd750bc35 | diff --git a/src/StringTagField.php b/src/StringTagField.php
index <HASH>..<HASH> 100644
--- a/src/StringTagField.php
+++ b/src/StringTagField.php
@@ -58,6 +58,9 @@ class StringTagField extends DropdownField
*/
protected $isMultiple = true;
+ /** @skipUpgrade */
+ protected $schemaComponent = 'TagFie... | Adding `$schemaComponent` to make react render correct component
Fixes #<I> | silverstripe_silverstripe-tagfield | train | php |
e5fea23eabc2a1b917f299497114067b46ab2f04 | diff --git a/salt/utils/network.py b/salt/utils/network.py
index <HASH>..<HASH> 100644
--- a/salt/utils/network.py
+++ b/salt/utils/network.py
@@ -1282,7 +1282,7 @@ def active_tcp():
sl = next(iter(iret))
if iret[sl]['state'] == 1: # 1 is ESTABLISHED
d... | utils/network: fix IPv6 connections overwriting IPv4 in active_tcp() | saltstack_salt | train | py |
c6c3094c90079cf18bdcb2d3f495b3d8eba908d8 | diff --git a/app-addon/components/nf-scroll-area.js b/app-addon/components/nf-scroll-area.js
index <HASH>..<HASH> 100644
--- a/app-addon/components/nf-scroll-area.js
+++ b/app-addon/components/nf-scroll-area.js
@@ -55,8 +55,9 @@ export default Ember.Component.extend({
}.property().volatile(),
_updateScrollTop: fu... | account for outerHeight in when setting scrollTop by percentage | Netflix_ember-nf-graph | train | js |
8ac2bbf85c9599ddbf553a8f06d531b573680d3c | diff --git a/guava-testlib/src/com/google/common/testing/NullPointerTester.java b/guava-testlib/src/com/google/common/testing/NullPointerTester.java
index <HASH>..<HASH> 100644
--- a/guava-testlib/src/com/google/common/testing/NullPointerTester.java
+++ b/guava-testlib/src/com/google/common/testing/NullPointerTester.ja... | Include failing parameter index in exception - useful for inherited classes where it's
non-obvious which parameter is failing null check.
-------------
Created by MOE: <URL> | google_guava | train | java |
872403be1cd62c9576e0938e2531749fbb6733ea | diff --git a/templates/adding_a_new_model/modeling_xxx.py b/templates/adding_a_new_model/modeling_xxx.py
index <HASH>..<HASH> 100644
--- a/templates/adding_a_new_model/modeling_xxx.py
+++ b/templates/adding_a_new_model/modeling_xxx.py
@@ -284,7 +284,6 @@ class XxxModel(XxxPreTrainedModel):
self.init_weights(... | This is not a @property after all | huggingface_pytorch-pretrained-BERT | train | py |
68bf55ae6a4584d09b3d5e320b6874a59700e577 | diff --git a/php/commands/core.php b/php/commands/core.php
index <HASH>..<HASH> 100644
--- a/php/commands/core.php
+++ b/php/commands/core.php
@@ -219,6 +219,8 @@ class Core_Command extends WP_CLI_Command {
new RecursiveDirectoryIterator( $source, RecursiveDirectoryIterator::SKIP_DOTS ),
RecursiveIteratorIterat... | check if file is writable before copying and don't report success if file isn't copied to current directory | wp-cli_export-command | train | php |
ecb6aef2e61af85b86917be4092f5834cac0e38c | diff --git a/src/SlatJoint/InvisibleSlatJoint.php b/src/SlatJoint/InvisibleSlatJoint.php
index <HASH>..<HASH> 100644
--- a/src/SlatJoint/InvisibleSlatJoint.php
+++ b/src/SlatJoint/InvisibleSlatJoint.php
@@ -12,6 +12,15 @@ class InvisibleSlatJoint extends SlatJoint
{
//-----------------------------------------------... | InvisibleSlatJoint does never require a header. | SetBased_php-abc-form-louver | train | php |
d08f1eb116e9a7c8ade76ba76f8641996cd7562d | diff --git a/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java b/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java
index <HASH>..<HASH> 100644
--- a/xchange-core/src/main/java/org/knowm/xchange/currency/Currency.java
+++ b/xchange-core/src/main/java/org/knowm/xchange/currency/Currenc... | Fix for Issue #<I> Bitfinex init exception | knowm_XChange | train | java |
2209b9b73442634243f4390450ddd3993c034f33 | diff --git a/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java b/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java
+++ b/core/src/main/java/org/bitcoinj/utils/BtcAutoFormat.java
@@ -142,17 +142,14 @@ public final cl... | remove some calls to BigDecimal#setScale where return objects are not used
- setScale is called on immutable BigDecimal
- the returned new BigDecimal is not assigned | bitcoinj_bitcoinj | train | java |
21ce3cf6ff543a0ee6255d14d8e07d3e8c2cf81f | diff --git a/DependencyInjection/Compiler/TransformerPass.php b/DependencyInjection/Compiler/TransformerPass.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Compiler/TransformerPass.php
+++ b/DependencyInjection/Compiler/TransformerPass.php
@@ -19,7 +19,7 @@ class TransformerPass implements CompilerPassInterf... | Fix definition decorators (closes #<I>) | FriendsOfSymfony_FOSElasticaBundle | train | php |
4317c6df32f803947b9b61ebed9f154da2ee45c5 | diff --git a/lib/plugins/helper/list.js b/lib/plugins/helper/list.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/helper/list.js
+++ b/lib/plugins/helper/list.js
@@ -108,6 +108,7 @@ exports.list_tags = function(tags, options){
if (!tags.length) return '';
options = _.extend({
+ limit: 0, // 0 = unlimited
... | Added `amount` option to list_tags.
Allows the list_tags helper to limit the amount of tags listed. | hexojs_hexo | train | js |
04676e4e95a29c2cd1dd8ae19e84e8585fe3f1e0 | diff --git a/jax/lax/lax.py b/jax/lax/lax.py
index <HASH>..<HASH> 100644
--- a/jax/lax/lax.py
+++ b/jax/lax/lax.py
@@ -2576,7 +2576,7 @@ def _dynamic_slice_jvp_rule(g, operand, start_indices, slice_sizes,
def _dynamic_slice_transpose_rule(t, operand, start_indices, slice_sizes,
opera... | Use _dtype instead of .dtype in dynamic slice transpose rule. | tensorflow_probability | train | py |
b167c18082e281767918175a6cb502e40aa95815 | diff --git a/fastlane/lib/fastlane/version.rb b/fastlane/lib/fastlane/version.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/version.rb
+++ b/fastlane/lib/fastlane/version.rb
@@ -1,4 +1,4 @@
module Fastlane
- VERSION = '2.1.1'.freeze
+ VERSION = '2.1.2'.freeze
DESCRIPTION = "The easiest way to automat... | Version bump to <I> (#<I>) | fastlane_fastlane | train | rb |
a0a94cbcb740606d266100d5e77b80c5478c5ca6 | diff --git a/spec/i18n_spec.rb b/spec/i18n_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/i18n_spec.rb
+++ b/spec/i18n_spec.rb
@@ -16,7 +16,7 @@ describe 'translations' do
project_root = Pathname.new(File.expand_path('../../', __FILE__))
zendesk_version = project_root.join('config/locales/translations/zendes... | use integer to compare times to fix the precision issue. | zendesk_zendesk_apps_support | train | rb |
35ae7834c8d0567b9dbe5702df160a6d13a1915f | diff --git a/pyciss/io.py b/pyciss/io.py
index <HASH>..<HASH> 100644
--- a/pyciss/io.py
+++ b/pyciss/io.py
@@ -3,6 +3,8 @@ from pathlib import Path
import pandas as pd
import yaml
+from collections import OrderedDict
+
try:
from pysis.isis import getkey
except ImportError:
@@ -130,7 +132,7 @@ class PathManag... | refactor extensions to use ordereddict | michaelaye_pyciss | train | py |
49be7952f6ad4e99df15045f9540af69f9c243c5 | diff --git a/src/server/cloak/index.js b/src/server/cloak/index.js
index <HASH>..<HASH> 100644
--- a/src/server/cloak/index.js
+++ b/src/server/cloak/index.js
@@ -300,10 +300,14 @@ module.exports = (function() {
deleteRoom: function(room) {
var id = room.id;
- room.close();
+ rooms[id].close();
... | Fixes deleteroom fn and adds getRoom(id) func. | incompl_cloak | train | js |
8d37c9b2d9836e99112dbcf6a39f7899184b1e5d | diff --git a/lib/setuplib.php b/lib/setuplib.php
index <HASH>..<HASH> 100644
--- a/lib/setuplib.php
+++ b/lib/setuplib.php
@@ -137,14 +137,23 @@ class moodle_exception extends Exception {
if (get_string_manager()->string_exists($errorcode, $module)) {
$message = get_string($errorcode, $module, $... | MDL-<I> Let PHPUnit display the content of $a even if the error string is not found | moodle_moodle | train | php |
93dd22b373a3befdf2ff6c87ac9b96aa9534cbe3 | diff --git a/hazelcast/src/main/java/com/hazelcast/impl/ConcurrentMapManager.java b/hazelcast/src/main/java/com/hazelcast/impl/ConcurrentMapManager.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/impl/ConcurrentMapManager.java
+++ b/hazelcast/src/main/java/com/hazelcast/impl/ConcurrentMapMa... | Predicate from client cauesed an exception. Fixed now.
git-svn-id: <URL> | hazelcast_hazelcast | train | java |
6c651b4ab2addf299ceef26f9b2f0be78e945d24 | diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -1533,15 +1533,15 @@ class Exchange(object):
def parse_timeframe(timeframe):
amount = int(timeframe[0:-1])
unit = timeframe... | python: parse_timeframe: testing for equality is more accurate | ccxt_ccxt | train | py |
d8803ad62edd659e882fa3793c0c737e1d13ada2 | diff --git a/pysat/tests/test_constellation.py b/pysat/tests/test_constellation.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_constellation.py
+++ b/pysat/tests/test_constellation.py
@@ -85,7 +85,7 @@ class TestDataMod:
"""Runs after every method to clean up previous testing."""
del self.testC... | BUG: attach function in unit tests | rstoneback_pysat | train | py |
857afd518551aaace4b9b39763b28ea5804bc664 | diff --git a/spec/octokit/client/reviews_spec.rb b/spec/octokit/client/reviews_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/octokit/client/reviews_spec.rb
+++ b/spec/octokit/client/reviews_spec.rb
@@ -118,6 +118,7 @@ describe Octokit::Client::Reviews do
@p... | Add assertion for teams in GET endpoint for review requests | octokit_octokit.rb | train | rb |
30dcfb52a54bf309ea2221651c2c80d88bbbbd10 | diff --git a/src/CheckboxGroup/driver.js b/src/CheckboxGroup/driver.js
index <HASH>..<HASH> 100644
--- a/src/CheckboxGroup/driver.js
+++ b/src/CheckboxGroup/driver.js
@@ -1,3 +1,12 @@
+/*
+ * Copyright (c) 2018 dunnhumby Germany GmbH.
+ * All rights reserved.
+ *
+ * This source code is licensed under the MIT license f... | Added copyright to CheckboxGroup #<I> | sociomantic-tsunami_nessie-ui | train | js |
c9cbb5a9bff932fb6746d1c8f9ad2873efc4b67b | diff --git a/course/yui/toolboxes/toolboxes.js b/course/yui/toolboxes/toolboxes.js
index <HASH>..<HASH> 100644
--- a/course/yui/toolboxes/toolboxes.js
+++ b/course/yui/toolboxes/toolboxes.js
@@ -572,6 +572,12 @@ YUI.add('moodle-course-toolboxes', function(Y) {
// Cancel the edit if we lose focus or the esc... | MDL-<I> Ensure that hitting cancel clears the resource title editor | moodle_moodle | train | js |
c01d321f97a442ab633f2ddd5fdbcfc6ce96be86 | diff --git a/bitex/http/gdax.py b/bitex/http/gdax.py
index <HASH>..<HASH> 100644
--- a/bitex/http/gdax.py
+++ b/bitex/http/gdax.py
@@ -39,10 +39,9 @@ class GdaxHTTP(Client):
[None, 'Bid Vol', bid_v]]
return formatted
- def orderbook(self, pair, count=0):
+ def orderbook(self, pair... | removed count kwargs from orderbook method | Crypto-toolbox_bitex | train | py |
2068c478f97aca2ac7c0bdf82d04cb272363bb99 | diff --git a/lib/penpal/queue.rb b/lib/penpal/queue.rb
index <HASH>..<HASH> 100644
--- a/lib/penpal/queue.rb
+++ b/lib/penpal/queue.rb
@@ -52,11 +52,11 @@ module Penpal
raise DeliveryError, "Mail queue is empty" if emails.size == 0
- payload, results = process_emails
+ payload, @results = process_e... | Set the results as the instance var | apostle_apostle-ruby | train | rb |
de5d6ff9c45efc2fabc95f18a3bc1a63fd1bd86f | diff --git a/Model/ImportExport/ImportProcessor/Node.php b/Model/ImportExport/ImportProcessor/Node.php
index <HASH>..<HASH> 100644
--- a/Model/ImportExport/ImportProcessor/Node.php
+++ b/Model/ImportExport/ImportProcessor/Node.php
@@ -111,7 +111,7 @@ class Node
private function getNodeTypeContent($type, $content)
... | [<I>] Fix catalog model class name in node import processor
getNodeTypeContent method | SnowdogApps_magento2-menu | train | php |
ca370282c363d075fa33a812a3028cdf9902fc42 | diff --git a/src/peltak/cli/docs.py b/src/peltak/cli/docs.py
index <HASH>..<HASH> 100644
--- a/src/peltak/cli/docs.py
+++ b/src/peltak/cli/docs.py
@@ -7,7 +7,7 @@ from __future__ import absolute_import
from . import cli, click
-@cli.command('docs')
+@cli.group('docs', invoke_without_command=True)
@click.option(
... | Turn docs command into a command group
More extendable by 3rd party code | novopl_peltak | train | py |
127229571856474052e00e469368a241925dfd1f | diff --git a/annis-service/src/main/java/annis/administration/CorpusAdministration.java b/annis-service/src/main/java/annis/administration/CorpusAdministration.java
index <HASH>..<HASH> 100644
--- a/annis-service/src/main/java/annis/administration/CorpusAdministration.java
+++ b/annis-service/src/main/java/annis/admini... | postgres schema must be set to the new value in scheme fixer after database was initialized | korpling_ANNIS | train | java |
db3f1d5b6f5af053c3aa34de9a1661c78420664d | diff --git a/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java b/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java
+++ b/core/src/main/java/org/infinispan/manager/DefaultCacheManager.ja... | ISPN-<I> Compatibility Mode tests didn't shutdown all the cache managers | infinispan_infinispan | train | java |
21357a6b080677174e9c6fef0942c614b0723c73 | diff --git a/src/main/java/com/zaxxer/hikari/pool/ProxyConnection.java b/src/main/java/com/zaxxer/hikari/pool/ProxyConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/zaxxer/hikari/pool/ProxyConnection.java
+++ b/src/main/java/com/zaxxer/hikari/pool/ProxyConnection.java
@@ -162,7 +162,7 @@ public abstra... | Fixes #<I> Synchronise the untrack statement method to ensure that Statements are independently thread-safe. | brettwooldridge_HikariCP | train | java |
e0a68f5076646310b23a049adcbd0efe5811dd83 | diff --git a/python/ray/workflow/tests/test_virtual_actor_2.py b/python/ray/workflow/tests/test_virtual_actor_2.py
index <HASH>..<HASH> 100644
--- a/python/ray/workflow/tests/test_virtual_actor_2.py
+++ b/python/ray/workflow/tests/test_virtual_actor_2.py
@@ -278,6 +278,10 @@ def test_wf_in_actor_seq_2(workflow_start_re... | [workflow] skip flaky tests (#<I>)
* skip flaky tests | ray-project_ray | train | py |
6c04bedced410ecf0afb574322456977337eaa5c | diff --git a/runcommands/command.py b/runcommands/command.py
index <HASH>..<HASH> 100644
--- a/runcommands/command.py
+++ b/runcommands/command.py
@@ -141,6 +141,7 @@ class Command:
default_name = self.normalize_name(implementation.__name__)
name = name or getattr(self.__class__, 'name', None) o... | Set base_name attribute in Command constructor
There's no need to use a computed/cached property for this.
Amends b<I>a7da6bee4 | wylee_runcommands | train | py |
616ac7869b697e3011dde873d1fa41a17579cf01 | diff --git a/lib/omnibus/project.rb b/lib/omnibus/project.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/project.rb
+++ b/lib/omnibus/project.rb
@@ -510,10 +510,6 @@ module Omnibus
[bff_command.join(" "), {:returns => [0]}]
end
- def pkgmk_command
- pkgmk_command = ["pkgmk -o -r / -d /tmp/pkgmk ... | unnecessary indirection in run_package_command | chef_omnibus | train | rb |
a73c157dfffc2ce45f99881875b0a464adf2939d | diff --git a/render/vnode.js b/render/vnode.js
index <HASH>..<HASH> 100644
--- a/render/vnode.js
+++ b/render/vnode.js
@@ -8,7 +8,7 @@ Vnode.normalize = function(node) {
if (node != null && typeof node !== "object") return Vnode("#", undefined, undefined, node === false ? "" : node, undefined, undefined)
return nod... | refactor: Vnode.normalizeChildren to anonymous function (#<I>) | MithrilJS_mithril.js | train | js |
536ac030549b21d6180637e565b40e5bc664fd20 | diff --git a/src/Graviton/ProxyBundle/Definition/Loader/HttpLoader.php b/src/Graviton/ProxyBundle/Definition/Loader/HttpLoader.php
index <HASH>..<HASH> 100644
--- a/src/Graviton/ProxyBundle/Definition/Loader/HttpLoader.php
+++ b/src/Graviton/ProxyBundle/Definition/Loader/HttpLoader.php
@@ -149,6 +149,11 @@ class HttpLo... | avoid exception: if no third party url defined, don't try to fetch.. | libgraviton_graviton | train | php |
815338ed26e09ce655377c59f61ffbc6e661e573 | diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/__init__.py
+++ b/salt/cloud/__init__.py
@@ -1590,9 +1590,6 @@ class Map(Cloud):
for vm_name, vm_details in vms.copy().items():
if vm_details == 'Absent':
... | Removed a statement where stopped machines couldn't be deleted from a
map | saltstack_salt | train | py |
ff28f388e49b94b30d54a39d042c5d23a31ba975 | diff --git a/sprd/manager/ProductManager.js b/sprd/manager/ProductManager.js
index <HASH>..<HASH> 100644
--- a/sprd/manager/ProductManager.js
+++ b/sprd/manager/ProductManager.js
@@ -210,7 +210,7 @@ define(["sprd/manager/IProductManager", "underscore", "flow", "sprd/util/Product
pri... | DEV-<I> - not exceed maximum print size for shrinkable print types | spreadshirt_rAppid.js-sprd | train | js |
ce1226974010c3d76b2b8473bcc3e202a677fec2 | diff --git a/etrago/appl.py b/etrago/appl.py
index <HASH>..<HASH> 100644
--- a/etrago/appl.py
+++ b/etrago/appl.py
@@ -103,6 +103,10 @@ def etrago(args):
# for SH scenario run do data preperation:
if args['scn_name'] == 'SH Status Quo':
data_manipulation_sh(network)
+
+ # grouping of paral... | changed position of grouping function in script
otherwise there might be conflicts with network clustering. | openego_eTraGo | train | py |
50604e211521f297a50710d09835fbbff4eb97d7 | diff --git a/src/components/translate.js b/src/components/translate.js
index <HASH>..<HASH> 100644
--- a/src/components/translate.js
+++ b/src/components/translate.js
@@ -10,8 +10,11 @@ export default function (Glide, Components, Events) {
*/
set (value) {
let transform = mutator(Glide, Components).mu... | Fix for browser prefixing transform on old but supported browsers (#<I>) | glidejs_glide | train | js |
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.