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 |
|---|---|---|---|---|---|
ef2a28ca8643a88546f42fb39d4851f7a421f90d | diff --git a/spec/webview-spec.js b/spec/webview-spec.js
index <HASH>..<HASH> 100644
--- a/spec/webview-spec.js
+++ b/spec/webview-spec.js
@@ -4,7 +4,7 @@ const http = require('http')
const url = require('url')
const {remote} = require('electron')
-const {BrowserWindow} = remote
+const {app} = remote
describe('<... | Listen for browser-window-created event for asserts | electron_electron | train | js |
aee52294c7cdbb25cdc70267b6030e3a62e7fc38 | diff --git a/feature/deps.go b/feature/deps.go
index <HASH>..<HASH> 100644
--- a/feature/deps.go
+++ b/feature/deps.go
@@ -72,9 +72,6 @@ var deps = depDesc{
lnwire.KeysendOptional: {
lnwire.TLVOnionPayloadOptional: {},
},
- lnwire.ScidAliasOptional: {
- lnwire.ExplicitChannelTypeOptional: {},
- },
lnwire.Zero... | feature: remove `ScidAliasOptional` dependency on `ExplicitChannelTypeOptional`
The [spec](<URL>)
does not specify a dependency between `ScidAliasOptional` (<I>) and
`ExplicitChannelTypeOptional` (<I>).
This bug lead to some connectivity issues with peers not setting the
<I> feature bit while setting the <I>.
The is... | lightningnetwork_lnd | train | go |
5f6f0627e731b68419f7c6a7426b370ac3da00e9 | diff --git a/pyemma/_base/serialization/serialization.py b/pyemma/_base/serialization/serialization.py
index <HASH>..<HASH> 100644
--- a/pyemma/_base/serialization/serialization.py
+++ b/pyemma/_base/serialization/serialization.py
@@ -92,8 +92,8 @@ class SerializableMixIn(object):
flattened = jsonpickle.du... | [serialization] save pyemma version | markovmodel_PyEMMA | train | py |
3cee1f9f790cb5197d9f3a27cf725fd9137e8fe4 | diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -3480,7 +3480,12 @@ def open_files(by_pid=False):
fd_.append('{0}/fd/{1}'.format(ppath, fpath))
for tid in tids:
- fd_.append(os.path.realpath(... | Add back in try/except for checking files | saltstack_salt | train | py |
2d6498da546a33ca8909b449bc844cfff5243639 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -14,6 +14,21 @@ import (
// https://developer.mozilla.org/en-US/docs/Web/API/WebSocket#Ready_state_constants
type ReadyState uint16
+func (rs ReadyState) String() string {
+ switch rs {
+ case Connecting:
+ return "Connecting... | Add ReadyState.String() | gopherjs_websocket | train | go |
0c2a9826279fb9f19e3291a393760a9fb7c55d0b | diff --git a/src/org/mozilla/javascript/serialize/ScriptableOutputStream.java b/src/org/mozilla/javascript/serialize/ScriptableOutputStream.java
index <HASH>..<HASH> 100644
--- a/src/org/mozilla/javascript/serialize/ScriptableOutputStream.java
+++ b/src/org/mozilla/javascript/serialize/ScriptableOutputStream.java
@@ -1... | Added XML and XMLList to the exclusion list | mozilla_rhino | train | java |
1431551d05998ac752ca6badafbc493299cb3313 | diff --git a/openquake/calculators/scenario_risk.py b/openquake/calculators/scenario_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/scenario_risk.py
+++ b/openquake/calculators/scenario_risk.py
@@ -48,12 +48,12 @@ def scenario_risk(riskinputs, riskmodel, rlzs_assoc, monitor):
:class:`openquake... | Fixed docstring (again) | gem_oq-engine | train | py |
01bcfa3c332a939d4d2b56ef2db00b6c7e50932d | diff --git a/bin/kong-dashboard.js b/bin/kong-dashboard.js
index <HASH>..<HASH> 100755
--- a/bin/kong-dashboard.js
+++ b/bin/kong-dashboard.js
@@ -125,7 +125,7 @@ function start(argv) {
argv.kongRequestOpts.headers['Authorization'] = 'Basic ' + base64;
}
- if (argv.apiKey !== '') {
+ if (argv.apiKey !== '' ... | do not send null apikey header if it wasn't provided | PGBI_kong-dashboard | train | js |
c39f019849870b48dc1476d397a6f100b142e029 | diff --git a/filter/tex/texed.php b/filter/tex/texed.php
index <HASH>..<HASH> 100644
--- a/filter/tex/texed.php
+++ b/filter/tex/texed.php
@@ -31,10 +31,12 @@
$texexp = str_replace('<','<',$texexp);
$texexp = str_replace('>','>',$texexp);
$texexp = preg_replace('!\r\n?!',' ',$texexp);
+... | MDL-<I> filter/tex reverting removal of $pathname in
<URL> | moodle_moodle | train | php |
8785c55796a32ba11ab19911d182959be0a5d5a9 | diff --git a/tests/pytests/unit/modules/test_iptables.py b/tests/pytests/unit/modules/test_iptables.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/unit/modules/test_iptables.py
+++ b/tests/pytests/unit/modules/test_iptables.py
@@ -218,9 +218,10 @@ def test_build_rule():
)
# Should allow the --sa... | make comment in iptables module test file align with pytest | saltstack_salt | train | py |
ce3756ff12b22f6ddf7714f01a8920c9e8a7da58 | diff --git a/Makefile b/Makefile
index <HASH>..<HASH> 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ GOFILES=\
mmap.go
GOFILES_freebsd=\
- mmap_linux.go\
+ mmap_darwin.go\
mmap_unix.go
GOFILES_darwin=\
diff --git a/mmap_darwin.go b/mmap_darwin.go
index <HASH>..<HASH> 100644
--- a/mmap_darwin.go
+++ b/mm... | Use MAP_ANON with FreeBSD
Untested, but the documentation makes it seem like this will work. | edsrzf_mmap-go | train | Makefile,go,go |
90f0306fc029002969ba1eac2679dc13fc9c1e3c | diff --git a/addon/internal-model.js b/addon/internal-model.js
index <HASH>..<HASH> 100644
--- a/addon/internal-model.js
+++ b/addon/internal-model.js
@@ -77,7 +77,7 @@ export default class InternalModel {
model.beginPropertyChanges();
}
- let props = [];
+ let props = Ember.A();
let changed ... | actually check for isDeleted value not only isDeleted change
--HG--
branch : feature/belongs-to-persisted | ampatspell_ember-cli-sofa | train | js,js |
eb05f3de20fd718e4107dc4d0c1efab12b073544 | diff --git a/scripts/Roots/Bedrock/Installer.php b/scripts/Roots/Bedrock/Installer.php
index <HASH>..<HASH> 100644
--- a/scripts/Roots/Bedrock/Installer.php
+++ b/scripts/Roots/Bedrock/Installer.php
@@ -32,7 +32,7 @@ class Installer {
}
$salts = array_map(function ($key) {
- return sprintf("%s='%s'", $... | Fixing PSR-1 issues in installer | roots_bedrock | train | php |
2996273ade4eface95ecdce8a2fee36c14dfe8e6 | diff --git a/app/models/has_vcards/concerns/has_vcards.rb b/app/models/has_vcards/concerns/has_vcards.rb
index <HASH>..<HASH> 100644
--- a/app/models/has_vcards/concerns/has_vcards.rb
+++ b/app/models/has_vcards/concerns/has_vcards.rb
@@ -27,7 +27,8 @@ module HasVcards
def vcard_with_autobuild
vcard... | fix: alias_method_chain is deprecated, replaced with alias_method | huerlisi_has_vcards | train | rb,rb |
67ebcf947108d06a77f5552b809e307494a20749 | diff --git a/lib/sassc/rails/railtie.rb b/lib/sassc/rails/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/sassc/rails/railtie.rb
+++ b/lib/sassc/rails/railtie.rb
@@ -53,9 +53,7 @@ module SassC::Rails
end
initializer :setup_compression, group: :all do |app|
- app.config.assets.css_compressor = nil
-
- ... | Stop overriding the app css_compressor setting | sass_sassc-rails | train | rb,rb |
0cfe8bb946edd76c21e3e32df4caf775d2caab42 | diff --git a/pyaxo.py b/pyaxo.py
index <HASH>..<HASH> 100644
--- a/pyaxo.py
+++ b/pyaxo.py
@@ -23,23 +23,23 @@ For more information, see https://github.com/rxcomm/pyaxo
"""
import errno
-import sqlite3
-import binascii
-import hmac
import os
+import sqlite3
import sys
-import nacl.utils
-import nacl.secret
from ... | Organize imports
Remove unused (`binascii` and `hmac`), separate standard from
third-party and sort. | rxcomm_pyaxo | train | py |
3b2a565ec9d257c2ef2703f088286d990abe3a44 | diff --git a/src/main/java/net/kyori/adventure/text/minimessage/parser/TokenParser.java b/src/main/java/net/kyori/adventure/text/minimessage/parser/TokenParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/kyori/adventure/text/minimessage/parser/TokenParser.java
+++ b/src/main/java/net/kyori/adventure/text/m... | Directly resolve token content instead of creating a node
And also an extra test because i was paranoid about this actually working | KyoriPowered_text | train | java |
96ea3d25ed79b38226b167021407a885fa03b514 | diff --git a/chainlet/chainlink.py b/chainlet/chainlink.py
index <HASH>..<HASH> 100644
--- a/chainlet/chainlink.py
+++ b/chainlet/chainlink.py
@@ -338,6 +338,11 @@ class NeutralLink(ChainLink):
__nonzero__ = __bool__
+ def __eq__(self, other):
+ if isinstance(other, self.__class__):
+ retu... | NeutralLink now compares equal by boolean value | maxfischer2781_chainlet | train | py |
c5bf2d790263f902e8d2705e3a8d539e5cb34eaf | diff --git a/app/controllers/pbw/commands_controller.rb b/app/controllers/pbw/commands_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/pbw/commands_controller.rb
+++ b/app/controllers/pbw/commands_controller.rb
@@ -7,5 +7,10 @@ module Pbw
def update_model_before_create(model)
model.user = current... | Filter tokens and commands by current user | monkeyx_pbw | train | rb,rb |
5f43bb7267df40b5d466148dd044fb1bdd98ae4b | diff --git a/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java b/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java
index <HASH>..<HASH> 100644
--- a/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java
+++ b/modules/web/src/main/java/org/torquebox/web/servlet/RackFilte... | Log if we can't fetch a servlet name, but don't error out. | torquebox_torquebox | train | java |
62f4b9fdf6734d54cc0fd2ecc76dff781f64234c | diff --git a/db/sql.php b/db/sql.php
index <HASH>..<HASH> 100644
--- a/db/sql.php
+++ b/db/sql.php
@@ -148,8 +148,8 @@ class SQL extends \PDO {
$this->rollback();
user_error('PDOStatement: '.$error[2]);
}
- if (preg_match(
- '/\b(?:CALL|EXPLAIN|SELECT|PRAGMA|SHOW|RETURNING)\b/i',
+ if (preg_... | Bug fix: DB Exec does not return affected row if query contain subselect (Issue #<I>) | bcosca_fatfree-core | train | php |
4a003c405a818550b2b04728fe0b23c23101a261 | diff --git a/O365/account.py b/O365/account.py
index <HASH>..<HASH> 100644
--- a/O365/account.py
+++ b/O365/account.py
@@ -157,9 +157,9 @@ class Account(object):
def planner(self, *, resource=''):
""" Get an instance to read information from Microsoft planner """
-
- if not isinstance(sel... | "protocol.get_scopes_for" now won't prefix scopes that are not scope_helpers | O365_python-o365 | train | py,py |
28202337193a8fa6f467e35b4c66b8899401775d | diff --git a/src/OutputFilter.php b/src/OutputFilter.php
index <HASH>..<HASH> 100644
--- a/src/OutputFilter.php
+++ b/src/OutputFilter.php
@@ -154,18 +154,10 @@ class OutputFilter
* @return string Processed string.
*
* @since 1.0
- * @todo There must be a better way???
*/
public static function am... | use negative lookbehind/lookahed instead of a lot of str_replaces | joomla-framework_filter | train | php |
5740f4846458492d0ec6a3d5dd48da7aa55aba1c | diff --git a/src/main/java/org/fit/layout/api/AreaTreeOperator.java b/src/main/java/org/fit/layout/api/AreaTreeOperator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fit/layout/api/AreaTreeOperator.java
+++ b/src/main/java/org/fit/layout/api/AreaTreeOperator.java
@@ -16,6 +16,12 @@ public interface AreaTreeO... | Add a category to each visual area tree operator
In order to provide categorization in the GUI | FitLayout_api | train | java |
3d53e149ef07b8f7f3230477e8df81efd49468a7 | diff --git a/tests/openwrt/test_default.py b/tests/openwrt/test_default.py
index <HASH>..<HASH> 100644
--- a/tests/openwrt/test_default.py
+++ b/tests/openwrt/test_default.py
@@ -1,5 +1,7 @@
import unittest
+from openwisp_utils.tests import capture_stdout
+
from netjsonconfig import OpenWrt
from netjsonconfig.util... | [tests] Avoided noisy output during tests #<I>
Applied `capture_stdout` decorator on noisy tests.
Closes #<I> | openwisp_netjsonconfig | train | py |
c11c9cc0e4300ec6185298403a5a8bc834b326f0 | diff --git a/pkg/kvstore/allocator/allocator.go b/pkg/kvstore/allocator/allocator.go
index <HASH>..<HASH> 100644
--- a/pkg/kvstore/allocator/allocator.go
+++ b/pkg/kvstore/allocator/allocator.go
@@ -488,17 +488,6 @@ func (a *Allocator) lockedAllocate(ctx context.Context, key AllocatorKey) (idpoo
return 0, false, fmt... | kvstore/allocator: do not re-get slave key on allocation
As the slave key is protected by the kvstore global lock it is not
really necessary to do another Get of the slave key as the key will not
be created by any other agent due the lock is still being held. | cilium_cilium | train | go |
aa2ccf893c1ac62914a72c53d584e5c04c707f2e | diff --git a/tests/Container/ConnectionFactoryTest.php b/tests/Container/ConnectionFactoryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Container/ConnectionFactoryTest.php
+++ b/tests/Container/ConnectionFactoryTest.php
@@ -313,6 +313,10 @@ class ConnectionFactoryTest extends TestCase
$this->markTestSki... | add conditional so we can still test lowest dependencies as is | prolic_HumusAmqp | train | php |
3e2124e0bd0859bda515ac84bc397345b60fbfb2 | diff --git a/src/Client/InternalClient.js b/src/Client/InternalClient.js
index <HASH>..<HASH> 100644
--- a/src/Client/InternalClient.js
+++ b/src/Client/InternalClient.js
@@ -1097,10 +1097,9 @@ export default class InternalClient {
self.messageAwaits[channel.id + msg.author.id].map( fn => fn(msg) );
sel... | Don't acknowledge messages, fixes #<I> | discordjs_discord.js | train | js |
b8142cd7d654109e76c7dc8cdc5d8203c552ff33 | diff --git a/src/macroresolver.py b/src/macroresolver.py
index <HASH>..<HASH> 100644
--- a/src/macroresolver.py
+++ b/src/macroresolver.py
@@ -122,7 +122,7 @@ class MacroResolver(Borg):
if callable(value):
return str(value())
else:
- return (value)
+ ... | * fixed a typo in the last commit | Alignak-monitoring_alignak | train | py |
ee04bf303ead8d10bd4ab51cf26d80f85d7323eb | diff --git a/src/Console/Commands/SeedCommand.php b/src/Console/Commands/SeedCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/Commands/SeedCommand.php
+++ b/src/Console/Commands/SeedCommand.php
@@ -35,6 +35,8 @@ class SeedCommand extends Command
*/
public function handle()
{
+ $this->war... | Tweak seeder's output | rinvex_cortex-contacts | train | php |
e67f24e9dd6b783391654218db345f564bf68c7d | diff --git a/Components/FileManager.php b/Components/FileManager.php
index <HASH>..<HASH> 100644
--- a/Components/FileManager.php
+++ b/Components/FileManager.php
@@ -311,6 +311,11 @@ class FileManager
if (is_file($fullpath) ) {
Splash::Log()->Deb("MsgFileExists",__FUNCTION__,$file);
... | Improve : We don't care of unwritable file if similar => skip writing | SplashSync_Php-Core | train | php |
e87f902d30fd3c6e5dfaf996477fbeb5976a9f2b | diff --git a/src/core/graphics/webgl/utils/buildRoundedRectangle.js b/src/core/graphics/webgl/utils/buildRoundedRectangle.js
index <HASH>..<HASH> 100644
--- a/src/core/graphics/webgl/utils/buildRoundedRectangle.js
+++ b/src/core/graphics/webgl/utils/buildRoundedRectangle.js
@@ -76,6 +76,21 @@ export default function bu... | minor optimisation of quadratic bezier curve calculation. (#<I>) | pixijs_pixi.js | train | js |
9896a6f90866761161675f83872d15a85e6a52ec | diff --git a/soccer/writers.py b/soccer/writers.py
index <HASH>..<HASH> 100644
--- a/soccer/writers.py
+++ b/soccer/writers.py
@@ -85,7 +85,7 @@ class Stdout(BaseWriter):
self.league_header(league)
for game in games:
self.scores(self.parse_result(game), add_new_line=False)
- ... | Move utc-to-local function into a static method. | architv_soccer-cli | train | py |
ea9d5d2bffc3a0285d2bf78b699c43e60140abc2 | diff --git a/lib/rubycritic/core/analysed_file.rb b/lib/rubycritic/core/analysed_file.rb
index <HASH>..<HASH> 100644
--- a/lib/rubycritic/core/analysed_file.rb
+++ b/lib/rubycritic/core/analysed_file.rb
@@ -31,9 +31,11 @@ module Rubycritic
end
def complexity_per_method
- complexity.fdiv(methods_count).... | Fix dividing by zero
(Never thought I'd ever write this aha) | whitesmith_rubycritic | train | rb |
13a0fddb0420d4aed0c38067d5030f2635600ae5 | diff --git a/prettyprinter/extras/django.py b/prettyprinter/extras/django.py
index <HASH>..<HASH> 100644
--- a/prettyprinter/extras/django.py
+++ b/prettyprinter/extras/django.py
@@ -213,7 +213,7 @@ def pretty_queryset(queryset, ctx):
else:
truncated = False
- element_ctx = ctx.set(ModelVerbosity, Mo... | Use assoc instead of set in Django definitions | tommikaikkonen_prettyprinter | train | py |
d572730aa1ecc8804f6ae31ca362586ca73137cf | diff --git a/src/codegeneration/BlockBindingTransformer.js b/src/codegeneration/BlockBindingTransformer.js
index <HASH>..<HASH> 100644
--- a/src/codegeneration/BlockBindingTransformer.js
+++ b/src/codegeneration/BlockBindingTransformer.js
@@ -686,8 +686,7 @@ traceur.define('codegeneration', function() {
/**
... | Transform const to var outside blocks
BUG=
TEST=
Review URL: <URL> | google_traceur-compiler | train | js |
d06a7bd6f5ff04a16f84780a611ec46bb68a16fc | diff --git a/platform/nativescript/runtime/components/frame.js b/platform/nativescript/runtime/components/frame.js
index <HASH>..<HASH> 100644
--- a/platform/nativescript/runtime/components/frame.js
+++ b/platform/nativescript/runtime/components/frame.js
@@ -22,6 +22,16 @@ export default {
required: false,
... | feat(frame): allow setting clearHistory and backstackVisible options for default pages. (#<I>) | nativescript-vue_nativescript-vue | train | js |
f2413e78f4880bcade567a9859fe203805c42230 | diff --git a/bokeh/server/views/main.py b/bokeh/server/views/main.py
index <HASH>..<HASH> 100644
--- a/bokeh/server/views/main.py
+++ b/bokeh/server/views/main.py
@@ -213,7 +213,7 @@ def make_plot():
from bokeh.objects import (
Plot, DataRange1d, LinearAxis,
- ColumnDataSource, GlyphRenderer,
+ ... | GlyphRenderer -> Glyhp rename | bokeh_bokeh | train | py |
1c4c38d924b0f5f933ea6823ad545f0f3d0729b8 | diff --git a/client/js/util.js b/client/js/util.js
index <HASH>..<HASH> 100644
--- a/client/js/util.js
+++ b/client/js/util.js
@@ -416,6 +416,10 @@ qq.android = function(){
"use strict";
return navigator.userAgent.toLowerCase().indexOf('android') !== -1;
};
+qq.ios7 = function() {
+ "use strict";
+ ret... | fix(client/js/util.js): #<I>, closes #<I> - provide a workaround for the MOV file size bug in iOS7 | FineUploader_fine-uploader | train | js |
d5af20f4175cf2e49320cae91bde7332a33bf147 | diff --git a/estnltk/layer/layer.py b/estnltk/layer/layer.py
index <HASH>..<HASH> 100644
--- a/estnltk/layer/layer.py
+++ b/estnltk/layer/layer.py
@@ -59,6 +59,9 @@ class Layer:
as database serialisation does not work for other types. See [estnltk.storage.postgres] for further documentation.
"""
+ __slot... | added __slots__ for Layer (to be shortened in the future) | estnltk_estnltk | train | py |
ffbb2c1ad7de3f9255c4daf306135208a038e249 | diff --git a/examples/server/generator.js b/examples/server/generator.js
index <HASH>..<HASH> 100644
--- a/examples/server/generator.js
+++ b/examples/server/generator.js
@@ -384,7 +384,7 @@ var Generator = {
//setInterval(randomActivity, 10000);
},
- listen: function (handler) {
+ listen: function () {
... | Removing used vars from the code. | grommet_grommet | train | js,js |
e1c5c964cbeec3ba546cb872a128c5c80546be1b | diff --git a/system_tests/language.py b/system_tests/language.py
index <HASH>..<HASH> 100644
--- a/system_tests/language.py
+++ b/system_tests/language.py
@@ -115,3 +115,10 @@ class TestLanguage(unittest.TestCase):
document = Config.CLIENT.document_from_url(gcs_url)
entities = document.analyze_entitie... | Adding system test for analyze_sentiment() in language. | googleapis_google-cloud-python | train | py |
659ac44917bc0b964f3b4bdef93076bb5ca0a505 | diff --git a/src/test/java/org/javamoney/moneta/PerformanceTest.java b/src/test/java/org/javamoney/moneta/PerformanceTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/javamoney/moneta/PerformanceTest.java
+++ b/src/test/java/org/javamoney/moneta/PerformanceTest.java
@@ -98,7 +98,7 @@ public class Performanc... | Reduced loop size of test by factor <I>. | JavaMoney_jsr354-ri-bp | train | java |
3d706fd22448d7bdc9ec52780a6c791b39ec05db | diff --git a/lib/analyzeMultipleSites.js b/lib/analyzeMultipleSites.js
index <HASH>..<HASH> 100644
--- a/lib/analyzeMultipleSites.js
+++ b/lib/analyzeMultipleSites.js
@@ -96,6 +96,7 @@ AnalyzeMultipleSites.prototype._setupConfigurationForSite = function(args, cb) {
var urls = data.toString().split(EOL).filter(func... | fix for fetching site urls from file | sitespeedio_sitespeed.io | train | js |
e732e90a1e256f98df1a918d039afd8f5c1d8c9b | diff --git a/lib/middleware/pre_fetch.js b/lib/middleware/pre_fetch.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/pre_fetch.js
+++ b/lib/middleware/pre_fetch.js
@@ -36,6 +36,8 @@ function createRemoteReadStream(request, urlPath) {
URL = url.resolve(server, urlPath),
protocol = protocolOf... | add more logging according to README documentation | Open-Xchange-Frontend_appserver | train | js |
dca8afa333f47dcdaf44162d66a0ac18f9ea126b | diff --git a/js/tooltip.js b/js/tooltip.js
index <HASH>..<HASH> 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -281,11 +281,11 @@
var $tip = this.tip()
var e = $.Event('hide.bs.' + this.type)
- this.$element.removeAttr('aria-describedby')
-
function complete() {
if (that.hoverState != '... | Remove `aria-describedby` attribute later
Fixes #<I> | twbs_bootstrap | train | js |
1c73d2f911877fbbd26db9f43e3c4a87c5fed0f6 | diff --git a/bambou/nurest_object.py b/bambou/nurest_object.py
index <HASH>..<HASH> 100644
--- a/bambou/nurest_object.py
+++ b/bambou/nurest_object.py
@@ -771,7 +771,7 @@ class NURESTObject(object):
request = NURESTRequest(method=HTTP_METHOD_GET, url=self.get_resource_url())
if async:
- r... | Fixed missing _did_fetch method | nuagenetworks_bambou | train | py |
6eb552781d6dc91155f697ad895f4ee0245312fc | diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/classical/core.py
+++ b/openquake/calculators/hazard/classical/core.py
@@ -240,7 +240,6 @@ class ClassicalHazardCalculator(haz_general.BaseHazardCal... | calcs/hazard/classical/core:
Missed one line. | gem_oq-engine | train | py |
321c3f9e25d84604be0fa84ff8430e0373090279 | diff --git a/lib/ttb-cache.js b/lib/ttb-cache.js
index <HASH>..<HASH> 100644
--- a/lib/ttb-cache.js
+++ b/lib/ttb-cache.js
@@ -49,8 +49,11 @@ function getModuleVersionFromConfig(cfg) {
// This check is specific to the Cordova module
if (tu.fileExistsSync(path.join(cfg.projectPath, 'taco.json'))) {
... | Fix taco.json version handling
Prior to this change, if taco.json did not contain a 'cordova-cli' entry, then we would default to edge. We now default to edge unless the user has configured the CORDOVA_DEFAULT_VERSION environment variable, which will be used if available. | Microsoft_taco-team-build | train | js |
c77676ec85d4394de15ac44002a5b5b211b6dc9b | diff --git a/bcbio/bam/trim.py b/bcbio/bam/trim.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/trim.py
+++ b/bcbio/bam/trim.py
@@ -51,7 +51,7 @@ def _cutadapt_trim(fastq_files, quality_format, adapters, out_files, config):
do.run(cmd.format(**locals()), message)
else:
with file_transaction(co... | use trasanction files for trimming steps | bcbio_bcbio-nextgen | train | py |
7e498de0e275c770d56de7c41c628cbffcb3c8cc | diff --git a/pyperform/timer.py b/pyperform/timer.py
index <HASH>..<HASH> 100644
--- a/pyperform/timer.py
+++ b/pyperform/timer.py
@@ -4,16 +4,23 @@ from time import time
from .tools import convert_time_units
-timer_format = "{name}: {time}"
+timer_format = "{name}: recent: {recent_time} average: {avg_time}"
+
... | added calculation of average time to @timer | lobocv_pyperform | train | py |
162747fbf6050a970e38d061bf41d51b87e6f9bc | diff --git a/numeric.ly.js b/numeric.ly.js
index <HASH>..<HASH> 100644
--- a/numeric.ly.js
+++ b/numeric.ly.js
@@ -106,7 +106,7 @@ var numeric = {
if(Math.abs(left + right - whole) <= 15 * eps){
return left + right + (left + right - whole) / 15;
}else{
- return simpsonRecursive(func, a, c, eps/2, left) ... | Fix transpose, simpsonRecursive
Transpose wasn't returning anything and was overwriting the data as it attempted to move it. My new implementation probably isn't that fast, but it works.
SimpsonRecursive, I think, just had a typo. | numbers_numbers.js | train | js |
cfb8028647b9bc03ed30d17d679d5100abfcb167 | diff --git a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb b/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb
+++ b/lib/fog/vcloud_directo... | [vcloud_director] fix typo as per #<I> | fog_fog | train | rb |
644794512e2ac44d8c701ee060978831e4520e23 | diff --git a/src/Services/MediaManager.php b/src/Services/MediaManager.php
index <HASH>..<HASH> 100644
--- a/src/Services/MediaManager.php
+++ b/src/Services/MediaManager.php
@@ -212,7 +212,8 @@ class MediaManager implements FileUploaderInterface, FileMoverInterface
}
/**
- * Return the last modified ti... | Fallback to today for filesystems that dont give a timestamp value eg dropbox | talvbansal_media-manager | train | php |
9bf60f26b45577de80e5ba7652f52e9238640795 | diff --git a/detox/src/index.js b/detox/src/index.js
index <HASH>..<HASH> 100644
--- a/detox/src/index.js
+++ b/detox/src/index.js
@@ -6,7 +6,7 @@ const argparse = require('./utils/argparse');
const InvocationManager = require('./invoke').InvocationManager;
const configuration = require('./configuration');
-log.lev... | fix: ReferenceError: loglevel is not defined | wix_Detox | train | js |
9b6e6f6f560d525af2ab7072e589597f60e65632 | diff --git a/src/Ems/Testing/LoggingCallable.php b/src/Ems/Testing/LoggingCallable.php
index <HASH>..<HASH> 100644
--- a/src/Ems/Testing/LoggingCallable.php
+++ b/src/Ems/Testing/LoggingCallable.php
@@ -18,6 +18,21 @@ class LoggingCallable implements Countable
protected $calls = [];
/**
+ * @var callabl... | Allow a custom handler in LoggingCallable | mtils_php-ems | train | php |
b7fd8c3f93a8d645fde10fd6786cb5892d34f414 | diff --git a/Controller/SecurityFOSUser1Controller.php b/Controller/SecurityFOSUser1Controller.php
index <HASH>..<HASH> 100644
--- a/Controller/SecurityFOSUser1Controller.php
+++ b/Controller/SecurityFOSUser1Controller.php
@@ -28,9 +28,9 @@ class SecurityFOSUser1Controller extends SecurityController
*/
publi... | Security token can be null in login form on <I> | sonata-project_SonataUserBundle | train | php |
1d63b09951176b0236c48eef6b34063658980f33 | diff --git a/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/interpreter/Interpreter.java b/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/interpreter/Interpreter.java
index <HASH>..<HASH> 100644
--- a/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/... | RESTCOMM-<I> #Resolve-Issue Fixed #time 1h #comment made 'fixed' option rely on module name instead of the label | RestComm_Restcomm-Connect | train | java |
fdae350e68f33b28aef7bc466034f6cce32e1814 | diff --git a/vagrant_box_defaults.rb b/vagrant_box_defaults.rb
index <HASH>..<HASH> 100644
--- a/vagrant_box_defaults.rb
+++ b/vagrant_box_defaults.rb
@@ -3,12 +3,12 @@
Vagrant.require_version ">= 2.2.0"
$SERVER_BOX = "cilium/ubuntu-dev"
-$SERVER_VERSION= "227"
+$SERVER_VERSION= "228"
$NETNEXT_SERVER_BOX= "cilium/... | vagrant: Bump Vagrant box versions | cilium_cilium | train | rb |
71439e7d7a6630d808735d4372c959b7f19ca3a4 | diff --git a/vyper/cli/vyper_compile.py b/vyper/cli/vyper_compile.py
index <HASH>..<HASH> 100755
--- a/vyper/cli/vyper_compile.py
+++ b/vyper/cli/vyper_compile.py
@@ -35,7 +35,7 @@ opcodes - List of opcodes as a string
opcodes_runtime - List of runtime opcodes as a string
ir - Intermedia... | rename CLI option --ir-hex to --hex-ir (#<I>)
it's easier to remember this way | ethereum_vyper | train | py |
558c8923df9d82829ad28a1a4a61e401fb9844cf | diff --git a/module_dtleds.go b/module_dtleds.go
index <HASH>..<HASH> 100644
--- a/module_dtleds.go
+++ b/module_dtleds.go
@@ -55,7 +55,7 @@ func (m *DTLEDModule) SetOptions(options map[string]interface{}) error {
}
// Get a LED to manipulate. 'led' must be 0 to 3.
-func (m *DTLEDModule) GetLED(led string) (*DTLEDM... | Fix #<I>, GetLED has wrong signature leading to runtime error | mrmorphic_hwio | train | go |
5a39892df257baefce5d06b1a136123201c13eb5 | diff --git a/tests/models.py b/tests/models.py
index <HASH>..<HASH> 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -18,3 +18,6 @@ class EmailUser(AbstractBaseUser):
def get_username(self):
return self.email
+
+ class Meta:
+ app_label = 'sudo_tests' | Give test model an app_label for Django <I> | mattrobenolt_django-sudo | train | py |
9b541b9f33d006550954cc8e562d383a740502a8 | diff --git a/doc/source/examples/dierickx_eccentricities.py b/doc/source/examples/dierickx_eccentricities.py
index <HASH>..<HASH> 100644
--- a/doc/source/examples/dierickx_eccentricities.py
+++ b/doc/source/examples/dierickx_eccentricities.py
@@ -1,5 +1,4 @@
import os, os.path
-import pexpect
import subprocess
from ... | modifications to tests for estimateDeltaStaeckel and removed import statement from dierickx_eccentricities | jobovy_galpy | train | py,py |
026ca2db87b4927d65a3ee0c52a1d0de5f6b207b | diff --git a/lib/flatiron/plugins/resourceful.js b/lib/flatiron/plugins/resourceful.js
index <HASH>..<HASH> 100644
--- a/lib/flatiron/plugins/resourceful.js
+++ b/lib/flatiron/plugins/resourceful.js
@@ -94,6 +94,8 @@ exports.init = function (done) {
app.config.get('resourceful') || {}
);
+ app.config.set('... | [fix] Set the `resourceful` config value in the app from provided options | flatiron_flatiron | train | js |
a4b7c0fe0a384dc1adb9e93a4b2a3b50d2005091 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java b/core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java
+++ b/core/src/main/java/com/or... | Fixed issue #<I> about batch HTTP | orientechnologies_orientdb | train | java |
0a4be6bb14e0eae79e57af46028ae7b7fc363ecb | diff --git a/tests/spec_test.py b/tests/spec_test.py
index <HASH>..<HASH> 100644
--- a/tests/spec_test.py
+++ b/tests/spec_test.py
@@ -19,6 +19,8 @@ builtins_path = '__builtin__'
if sys.version_info > (3,):
builtins_path = 'builtins'
long = int
+else:
+ builtins_path = 'yapconf.spec'
original_env = Non... | Importing `open` from io package in Python 2 | loganasherjones_yapconf | train | py,py |
047b745110ff445ca1bd2caf9b721320cea245f3 | diff --git a/packages/webiny-app-cms/src/editor/plugins/defaultBar/components/PublishPageButton.js b/packages/webiny-app-cms/src/editor/plugins/defaultBar/components/PublishPageButton.js
index <HASH>..<HASH> 100644
--- a/packages/webiny-app-cms/src/editor/plugins/defaultBar/components/PublishPageButton.js
+++ b/package... | fix: show "publish changes" instead of just "publish" when editing a new revision (#<I>) | Webiny_webiny-js | train | js |
510411d9b6d35ce60d9786028f41795e23ce2065 | diff --git a/djcelery/utils.py b/djcelery/utils.py
index <HASH>..<HASH> 100644
--- a/djcelery/utils.py
+++ b/djcelery/utils.py
@@ -7,7 +7,7 @@ from datetime import datetime
from django.conf import settings
# Database-related exceptions.
-from django.db.utils import DatabaseError
+from django.db import DatabaseError... | Fixes compatibility with Django < <I> | celery_django-celery | train | py |
6ee3a0d7b01cb64802b5a3ae6457080a7732bb89 | diff --git a/metal/end_model/loss.py b/metal/end_model/loss.py
index <HASH>..<HASH> 100644
--- a/metal/end_model/loss.py
+++ b/metal/end_model/loss.py
@@ -20,10 +20,9 @@ class SoftCrossEntropyLoss(nn.Module):
def __init__(self, weight=None, reduction="elementwise_mean"):
super().__init__()
- self... | Remove unnecessary assert and convert weight to FloatTensor | HazyResearch_metal | train | py |
4cd17b94e5007a2e92cf243c1d1c9d845d20d254 | diff --git a/dask_kubernetes/core.py b/dask_kubernetes/core.py
index <HASH>..<HASH> 100644
--- a/dask_kubernetes/core.py
+++ b/dask_kubernetes/core.py
@@ -87,8 +87,8 @@ class Pod(ProcessInterface):
raise e
async def close(self, **kwargs):
- name, namespace = self._pod.metadata.name, s... | ensure Pod.close() succeeds when pod has already been removed (#<I>) | dask_dask-kubernetes | train | py |
9e2f335999ae1e8fdbf43fbab8013b9e6621cb5c | diff --git a/Tests/Controller/WikiControllerTest.php b/Tests/Controller/WikiControllerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Controller/WikiControllerTest.php
+++ b/Tests/Controller/WikiControllerTest.php
@@ -46,6 +46,13 @@ final class WikiControllerTest extends AbstractBootstrapWebTestCase {
$cl... | Add a test for a unknown Wiki page | webeweb_bootstrap-bundle | train | php |
5a3c551f2af02fabfd52635457615a1c73662be7 | diff --git a/cli/cumulusci.py b/cli/cumulusci.py
index <HASH>..<HASH> 100644
--- a/cli/cumulusci.py
+++ b/cli/cumulusci.py
@@ -316,6 +316,7 @@ def beta_deploy(config, tag, commit, run_tests, retries):
raise e
if error.find('Error: Invalid Package, Details: This package is not yet available') == ... | Add better output to show what is happening with beta_deploy retries | SFDO-Tooling_CumulusCI | train | py |
4b6213eb7f5cbe6fcaa3af9c2df077fc6e34bff4 | diff --git a/astrobase/varclass/recoverysim.py b/astrobase/varclass/recoverysim.py
index <HASH>..<HASH> 100644
--- a/astrobase/varclass/recoverysim.py
+++ b/astrobase/varclass/recoverysim.py
@@ -884,7 +884,7 @@ def make_fakelc_collection(lclist,
with open(dboutfname, 'wb') as outfd:
pickle.dump(fakedb, ou... | [WIP] working on recoverysim | waqasbhatti_astrobase | train | py |
0fd00b861c6e75df0ed0c60e4906a0c801ff78f7 | diff --git a/packages/core/src/Core/Model/Response/CdrResponse.php b/packages/core/src/Core/Model/Response/CdrResponse.php
index <HASH>..<HASH> 100644
--- a/packages/core/src/Core/Model/Response/CdrResponse.php
+++ b/packages/core/src/Core/Model/Response/CdrResponse.php
@@ -34,6 +34,16 @@ class CdrResponse
protect... | add is accepted, close giansalex/greenter#<I> | giansalex_greenter | train | php |
b382d17e3495b1a36d6045af80b22713279e6d2a | diff --git a/pkg/services/sqlstore/migrator/mysql_dialect.go b/pkg/services/sqlstore/migrator/mysql_dialect.go
index <HASH>..<HASH> 100644
--- a/pkg/services/sqlstore/migrator/mysql_dialect.go
+++ b/pkg/services/sqlstore/migrator/mysql_dialect.go
@@ -30,7 +30,10 @@ func (db *Mysql) AutoIncrStr() string {
}
func (db... | Fixed alerting bug for mysql (#<I>) | grafana_grafana | train | go |
e9189ec3d499b4ddd0bc5cb343e42e23af9dad19 | diff --git a/api-spec-testing/rspec_matchers.rb b/api-spec-testing/rspec_matchers.rb
index <HASH>..<HASH> 100644
--- a/api-spec-testing/rspec_matchers.rb
+++ b/api-spec-testing/rspec_matchers.rb
@@ -227,8 +227,12 @@ RSpec::Matchers.define :match_response do |pairs, test|
def compare_string(expected, actual_value, te... | Test Runner: Modify rspec_matcher to parse more than one regex in expected values | elastic_elasticsearch-ruby | train | rb |
5b311f9b63d3f04d8873034b295c9304b9aa638d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,12 +1,6 @@
var parsers = require('./parsers')
var url = require('url')
-const CONTENT_TYPE_PARSERS = {
- 'application/json': parsers.json,
- 'text/plain': parsers.text,
- 'application/octet-stream': parsers.raw
-}
-
... | use regex for content-types | dcousens_dhttp | train | js |
679bb716d577d27d67d8b85fcea4915b9ca2eaaf | diff --git a/resource_aws_efs_file_system_test.go b/resource_aws_efs_file_system_test.go
index <HASH>..<HASH> 100644
--- a/resource_aws_efs_file_system_test.go
+++ b/resource_aws_efs_file_system_test.go
@@ -317,7 +317,6 @@ resource "aws_efs_file_system" "foo" {
func testAccAWSEFSFileSystemConfigPagedTags(rInt int) str... | remove some manual names to allow the automatic random names, avoid some possible conflicts | terraform-providers_terraform-provider-aws | train | go |
0b4c3a1a53056b839eef571a24081b5ae97d881c | diff --git a/src/transformers/models/wav2vec2/modeling_wav2vec2.py b/src/transformers/models/wav2vec2/modeling_wav2vec2.py
index <HASH>..<HASH> 100755
--- a/src/transformers/models/wav2vec2/modeling_wav2vec2.py
+++ b/src/transformers/models/wav2vec2/modeling_wav2vec2.py
@@ -1606,6 +1606,7 @@ class Wav2Vec2ForMaskedLM(W... | fix missing import (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
8158ae421ce7f5b019376074e0ccd5337eafc479 | diff --git a/lib/glimpse/views/active_record.rb b/lib/glimpse/views/active_record.rb
index <HASH>..<HASH> 100644
--- a/lib/glimpse/views/active_record.rb
+++ b/lib/glimpse/views/active_record.rb
@@ -21,7 +21,7 @@ module Glimpse
end
def formatted_duration
- "%.2f" % (duration * 1000)
+ "%.2... | Add ms after duration for ActiveRecord | peek_peek | train | rb |
86a09b8b1f349727cebb36a9be500e8b17b31bf4 | diff --git a/src/console/ConsoleLogTarget.php b/src/console/ConsoleLogTarget.php
index <HASH>..<HASH> 100644
--- a/src/console/ConsoleLogTarget.php
+++ b/src/console/ConsoleLogTarget.php
@@ -6,6 +6,7 @@ use hidev\components\Log;
use Psr\Log\LogLevel;
use yii\helpers\Console;
use yii\helpers\VarDumper;
+use yii\log\L... | Convert log levels from Yii to PSR | hiqdev_hiapi | train | php |
71d0c39ef96167a3078497a5bfc4701b03542d0d | diff --git a/builder/vmware/common/driver_fusion6.go b/builder/vmware/common/driver_fusion6.go
index <HASH>..<HASH> 100644
--- a/builder/vmware/common/driver_fusion6.go
+++ b/builder/vmware/common/driver_fusion6.go
@@ -22,6 +22,12 @@ func (d *Fusion6Driver) Clone(dst, src string) error {
"clone", src, dst,
"full"... | builder/vmware: better error if clone not supported [GH-<I>] | hashicorp_packer | train | go |
e31d9830f6e2ee62d230d0e628970d98ce0c072e | diff --git a/lib/chef/resource/homebrew_tap.rb b/lib/chef/resource/homebrew_tap.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource/homebrew_tap.rb
+++ b/lib/chef/resource/homebrew_tap.rb
@@ -48,7 +48,7 @@ class Chef
description: "The path to the Homebrew binary.",
default: "/usr/loca... | Revert homebrew_tap to using String for owner
It's using owner in an env variable and I'm not sure if that will
actually work. We should stick with a string here. | chef_chef | train | rb |
5223586abf36790a4f109a11d1351b9ddd4e9f9e | diff --git a/git/githistory/log/log.go b/git/githistory/log/log.go
index <HASH>..<HASH> 100644
--- a/git/githistory/log/log.go
+++ b/git/githistory/log/log.go
@@ -185,11 +185,7 @@ func (l *Logger) consume() {
func (l *Logger) logTask(task Task) {
defer l.wg.Done()
- var logAll bool
- if durable, ok := task.(Durabl... | git/githistory/log: collapse DurableTask interface into Task | git-lfs_git-lfs | train | go,go |
1152f8ea08b7f5a3024115557e6530548674b351 | diff --git a/salt/modules/wordpress.py b/salt/modules/wordpress.py
index <HASH>..<HASH> 100644
--- a/salt/modules/wordpress.py
+++ b/salt/modules/wordpress.py
@@ -10,8 +10,8 @@ from __future__ import absolute_import
import collections
# Import Salt Modules
-from salt.ext.six.moves import map
import salt.utils.path... | Update reference to old salt.utils.which function | saltstack_salt | train | py |
83048f10cad15265135b7a2c69775dca18046174 | diff --git a/rocketchat_API/rocketchat.py b/rocketchat_API/rocketchat.py
index <HASH>..<HASH> 100644
--- a/rocketchat_API/rocketchat.py
+++ b/rocketchat_API/rocketchat.py
@@ -609,6 +609,10 @@ class RocketChat:
"""Removes the direct message from the user’s list of direct messages."""
return self.__call... | Added method to retrieve DMs by username. | jadolg_rocketchat_API | train | py |
64d022dbda311df87e489222a9310249afae4f43 | diff --git a/src/goals/ReadmeGoal.php b/src/goals/ReadmeGoal.php
index <HASH>..<HASH> 100644
--- a/src/goals/ReadmeGoal.php
+++ b/src/goals/ReadmeGoal.php
@@ -42,6 +42,10 @@ class ReadmeGoal extends TemplateGoal
public function renderBadges()
{
+ $c = $this->config->get('composer.json');
+ if ... | fixed versioneye badge: don't show when no dependencies | hiqdev_hidev | train | php |
1cd9e90171d0b61bc784847fdf43738b3d416f01 | diff --git a/src/widgets/editor/editor.js b/src/widgets/editor/editor.js
index <HASH>..<HASH> 100644
--- a/src/widgets/editor/editor.js
+++ b/src/widgets/editor/editor.js
@@ -5,7 +5,7 @@
* Copyright (c) 2015-2017 Fabio Spampinato
* Licensed under MIT (https://github.com/svelto/svelto/blob/master/LICENSE)
* ======... | Editor: avoid errors if the parser has not been loaded | svelto_svelto | train | js |
18f419ef723fb30957e2e68e15a1e795d4943976 | diff --git a/project_generator/yaml_parser.py b/project_generator/yaml_parser.py
index <HASH>..<HASH> 100644
--- a/project_generator/yaml_parser.py
+++ b/project_generator/yaml_parser.py
@@ -13,6 +13,8 @@
# limitations under the License.
import os
+from os import listdir
+from os.path import isfile, join
class Y... | source_files can be folders, or separate files | project-generator_project_generator | train | py |
ca8f8be6436540a11bfe349da2d5a82a339c8fc1 | diff --git a/static/manager/js/src/article.js b/static/manager/js/src/article.js
index <HASH>..<HASH> 100644
--- a/static/manager/js/src/article.js
+++ b/static/manager/js/src/article.js
@@ -10,11 +10,13 @@ var imageManager = React.render(
var articleId = $('#article-admin').data('id');
var articleId = articleId ? ... | pass section id and slug into ArticleAdmin component | ubyssey_dispatch | train | js |
c3acfc0f676fac4e3304c28ef327199b90ddca7b | diff --git a/src/Symfony/Console/Command/Command.php b/src/Symfony/Console/Command/Command.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Console/Command/Command.php
+++ b/src/Symfony/Console/Command/Command.php
@@ -21,9 +21,9 @@ abstract class Command extends Base
final protected static function tempnamCheck... | snagging scrutinizer issues is getting annoying now ¬_¬ | SignpostMarv_daft-framework | train | php |
fa44a498ac26cad5372dfab48df2c4e3f191f860 | diff --git a/client/sizes.go b/client/sizes.go
index <HASH>..<HASH> 100644
--- a/client/sizes.go
+++ b/client/sizes.go
@@ -36,11 +36,11 @@ func main() {
prot = t
}
- var wg sync.WaitGroup
+ wg := &sync.WaitGroup{}
wg.Add(f.NumWorkers)
for i := 0; i < f.NumWorkers; i++ {
- go func(prot common.Prot, wg sync... | Passing sync.WaitGroup by reference in client sizes testing program
Previously it was passed by value, meaning the program would never stop. | Netflix_rend | train | go |
b0d33b86ed383478ac23ed14ef6c1ad398ce243a | diff --git a/tests/test_isort.py b/tests/test_isort.py
index <HASH>..<HASH> 100644
--- a/tests/test_isort.py
+++ b/tests/test_isort.py
@@ -836,6 +836,15 @@ def test_remove_imports() -> None:
)
assert test_output == "import lib1\nimport lib5\n"
+ # From imports
+ test_input = "from x import y"
+ tes... | Add test for removing from imports | timothycrosley_isort | train | py |
bcbd67841676c1f19b611f7d932c3625ba76d5ab | diff --git a/packages/fireplace/lib/utils/expand_path.js b/packages/fireplace/lib/utils/expand_path.js
index <HASH>..<HASH> 100644
--- a/packages/fireplace/lib/utils/expand_path.js
+++ b/packages/fireplace/lib/utils/expand_path.js
@@ -4,7 +4,7 @@ FP.Utils = FP.Utils || {};
FP.Utils.expandPath = function(path, opts) {
... | better assert message when path expansion is missing parts | rlivsey_fireplace | train | js |
b5473c7fe65959a26064b2c69c9e7865d12a4c5a | diff --git a/src/client/pps.go b/src/client/pps.go
index <HASH>..<HASH> 100644
--- a/src/client/pps.go
+++ b/src/client/pps.go
@@ -240,7 +240,7 @@ func (c APIClient) ListJob(pipelineName string, inputCommit []*pfs.Commit, outpu
if err == io.EOF {
break
} else if err != nil {
- return nil, err
+ return nil... | Scrub GRPC error text from streaming errors (so that they work with client-side error libraries) | pachyderm_pachyderm | train | go |
635ef5f2fd409a5602b2c68b4382530e67f244c5 | diff --git a/TYPO3.Media/Classes/TYPO3/Media/Domain/Repository/AssetRepository.php b/TYPO3.Media/Classes/TYPO3/Media/Domain/Repository/AssetRepository.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Media/Classes/TYPO3/Media/Domain/Repository/AssetRepository.php
+++ b/TYPO3.Media/Classes/TYPO3/Media/Domain/Repository/Asset... | [TASK] Match filenames in asset search
When searching for assets the filename is now included
in the search criteria allowing assets without titles
to be found.
Change-Id: I<I>ba<I>ead<I>e<I>b0cc<I>d8f1d4a<I>e8
Releases: master
Resolves: NEOS-<I>
Reviewed-on: <URL> | neos_neos-development-collection | train | php |
6b3bcbe224ee555485980e2230046210b8b0e7ce | diff --git a/src/utils/network_utils.js b/src/utils/network_utils.js
index <HASH>..<HASH> 100644
--- a/src/utils/network_utils.js
+++ b/src/utils/network_utils.js
@@ -74,7 +74,7 @@ const NetworkUtils = {
},
getAddressAndPortFromUri(uriString) {
- let regexStr = /(?:http:\/\/|rosrpc:\/\/)?([a-zA-Z\d\-.:]+):(\... | Fix regex for parsing url. (#<I>)
Added `_` to the valid characters in the hostname and removed ':'.
Fixes #<I>. | RethinkRobotics-opensource_rosnodejs | train | js |
b21e52be8d4f78ad12ce2eb7517d7e75981e5a73 | diff --git a/bliss/core/dmc.py b/bliss/core/dmc.py
index <HASH>..<HASH> 100644
--- a/bliss/core/dmc.py
+++ b/bliss/core/dmc.py
@@ -42,6 +42,7 @@ TwoPi = 2 * math.pi
DOY_Format = '%Y-%jT%H:%M:%SZ'
ISO_8601_Format = '%Y-%m-%dT%H:%M:%SZ'
+_DEFAULT_FILE_NAME = 'leapseconds.dat'
LeapSeconds = None
def getTimesta... | Issue #8 - Fix inconsistent default leap second file name | NASA-AMMOS_AIT-Core | train | py |
2013f28e35e1b81388b623d3f91342aac07f6347 | diff --git a/src/Listener/GenerateSitemap.php b/src/Listener/GenerateSitemap.php
index <HASH>..<HASH> 100644
--- a/src/Listener/GenerateSitemap.php
+++ b/src/Listener/GenerateSitemap.php
@@ -4,6 +4,7 @@ namespace Terabin\Sitemap\Listener;
use Illuminate\Contracts\Events\Dispatcher;
use Flarum\Event\DiscussionWasSta... | add(): generate sitemap after discussion was deleted | terabin_flarum-ext-sitemap | train | php |
82affabb4866393a2fe563302ed2e29e9f620793 | diff --git a/test/stream-end.js b/test/stream-end.js
index <HASH>..<HASH> 100644
--- a/test/stream-end.js
+++ b/test/stream-end.js
@@ -173,9 +173,35 @@ tape('close after both sides of a duplex stream ends', function (t) {
})
A.close(function (err) {
- console.log('A CLOSE')
+ console.log('A CLOSE', err)
... | test that "closed" is always emitted | ssbc_muxrpc | 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.