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 |
|---|---|---|---|---|---|
b01e7efcef3c9e1477e47248883e1a0e3942634d | diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go
index <HASH>..<HASH> 100644
--- a/cmd/lncli/commands.go
+++ b/cmd/lncli/commands.go
@@ -188,8 +188,9 @@ var OpenChannelCommand = cli.Command{
Usage: "the number of satoshis the wallet should commit to the channel",
},
cli.IntFlag{
- Name: "remote_a... | cmd/lncli: add cli support for the push-during-funding workflow | lightningnetwork_lnd | train | go |
68c4445ae9d824cc05246eef3beb84bff5565688 | diff --git a/lib/offline/storage_muxer.js b/lib/offline/storage_muxer.js
index <HASH>..<HASH> 100644
--- a/lib/offline/storage_muxer.js
+++ b/lib/offline/storage_muxer.js
@@ -132,24 +132,17 @@ shaka.offline.StorageMuxer = class {
}
/**
- * Get paths to all cells. All paths can be used with |resolvePath|.
- ... | Change findAll to forEachCell
Changed |findAll| to |forEachCell| as it provides better usability in the
codebase where we would have used |findAll|.
Issue #<I>
Change-Id: I6ca<I>ffb<I>aa0bf<I>d6ac<I>ac<I>a<I>e<I>fcbe | google_shaka-player | train | js |
1ff72f6eea185857fca0db642e478cc1262c9c66 | diff --git a/napalm/base/base.py b/napalm/base/base.py
index <HASH>..<HASH> 100644
--- a/napalm/base/base.py
+++ b/napalm/base/base.py
@@ -166,9 +166,9 @@ class NetworkDriver(object):
:param cls: Instance of the driver class.
:param template_name: Identifies the template name.
:param template... | Getting make doctest to run properly | napalm-automation_napalm | train | py |
ba72a454c40d07aa7b2bc5cbf678029a04e6cdde | diff --git a/src/Rocketeer/Tasks/Deploy.php b/src/Rocketeer/Tasks/Deploy.php
index <HASH>..<HASH> 100644
--- a/src/Rocketeer/Tasks/Deploy.php
+++ b/src/Rocketeer/Tasks/Deploy.php
@@ -51,6 +51,9 @@ class Deploy extends Task
// Synchronize shared folders and files
$this->syncSharedFolders();
+ // Update symlink
... | Don't update current/ symlink until the very end of Deploy | rocketeers_rocketeer | train | php |
f8474674808b3ded69354f8a09da208c03691aaf | diff --git a/tests/base_scraper/test_base_scraper.py b/tests/base_scraper/test_base_scraper.py
index <HASH>..<HASH> 100644
--- a/tests/base_scraper/test_base_scraper.py
+++ b/tests/base_scraper/test_base_scraper.py
@@ -5,6 +5,7 @@
# You can obtain one at http://mozilla.org/MPL/2.0/.
import os
+import unittest
im... | Skip test_authentication because mozqa.com doesn't exist anymore (#<I>). (#<I>) | mozilla_mozdownload | train | py |
13b903d3d6244658ced7018942b27e49e3c2ab2f | diff --git a/lib/s3/bucket.rb b/lib/s3/bucket.rb
index <HASH>..<HASH> 100644
--- a/lib/s3/bucket.rb
+++ b/lib/s3/bucket.rb
@@ -112,7 +112,7 @@ module S3
def objects(options={})
Proxy.new(lambda { list_bucket(options) }, :owner => self, :extend => ObjectsExtension)
end
-
+
# Returns the object ... | s3_bucket.list_bucket - Escape the marker query param | megamsys_radosgw-s3 | train | rb |
2b9102c33f88c708067031fd0e26c08f60d06596 | diff --git a/lib/stache/view_context.rb b/lib/stache/view_context.rb
index <HASH>..<HASH> 100644
--- a/lib/stache/view_context.rb
+++ b/lib/stache/view_context.rb
@@ -15,7 +15,11 @@ module Stache
end
def self.included(source)
- source.send(:before_filter, :set_current_view_context) if source.respond_to... | Addressing `before_filter` deprecation warning that will be a break in Rails <I> | agoragames_stache | train | rb |
c4a32e939a9c226fb2614ce73cac16d0dad26b6d | diff --git a/lib/solargraph/source.rb b/lib/solargraph/source.rb
index <HASH>..<HASH> 100644
--- a/lib/solargraph/source.rb
+++ b/lib/solargraph/source.rb
@@ -343,6 +343,7 @@ module Solargraph
@locals = new_locals
@requires = new_requires
@symbols = new_symbols
+ @all_symbols = nil # Reset for... | Source resets all_symbols after synchronizing unmerged changes. | castwide_solargraph | train | rb,rb |
8f79109d5f892c75737769f2e3bcb9c1e7a0c032 | diff --git a/server/bundler/index.js b/server/bundler/index.js
index <HASH>..<HASH> 100644
--- a/server/bundler/index.js
+++ b/server/bundler/index.js
@@ -12,6 +12,7 @@ const getWebpackConfig = require( 'webpack.config' );
const config = require( 'config' );
const protocol = process.env.PROTOCOL || config( 'protoco... | fix(server) Display hostname from configuration.
Avoid hardcoding `calypso.localhost` because it can be changed through
`HOST` as an environment variable, or `hostname` in the configuration. | Automattic_wp-calypso | train | js |
bc673b712a45f84178b1854a558052489cee3f9b | diff --git a/djangular/forms/angular_base.py b/djangular/forms/angular_base.py
index <HASH>..<HASH> 100644
--- a/djangular/forms/angular_base.py
+++ b/djangular/forms/angular_base.py
@@ -131,7 +131,7 @@ class NgFormBaseMixin(object):
self.form_name = kwargs.pop('form_name', form_name)
error_class = kw... | re-enable convert_widgets | jrief_django-angular | train | py |
63b7ba9d7c01bb1cf2659b8ef57addc5e04e0975 | diff --git a/src/Synapse/User/UserServiceProvider.php b/src/Synapse/User/UserServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Synapse/User/UserServiceProvider.php
+++ b/src/Synapse/User/UserServiceProvider.php
@@ -86,7 +86,7 @@ class UserServiceProvider implements ServiceProviderInterface
->method... | Refs #<I> - Remove {id} from GET and PUT user route. | synapsestudios_synapse-base | train | php |
b1ba512c154f38bd377b3566e5a1068771164eb5 | diff --git a/spec/LdapTools/Connection/LdapConnectionSpec.php b/spec/LdapTools/Connection/LdapConnectionSpec.php
index <HASH>..<HASH> 100644
--- a/spec/LdapTools/Connection/LdapConnectionSpec.php
+++ b/spec/LdapTools/Connection/LdapConnectionSpec.php
@@ -112,6 +112,11 @@ class LdapConnectionSpec extends ObjectBehavior
... | Implement '__toString' on the connection to output the domain name. | ldaptools_ldaptools | train | php,php |
7e1d709e2af64e933cca9a126197eadfed4afa8d | diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js
index <HASH>..<HASH> 100644
--- a/docs/source/_static/js/custom.js
+++ b/docs/source/_static/js/custom.js
@@ -1,10 +1,10 @@
// These two things need to be updated at each release for the version selector.
// Last stable version
const st... | Fix link to stable version in the doc navbar (#<I>) | huggingface_pytorch-pretrained-BERT | train | js |
3aa561e5601da5f05ee0517229685e3af6a73454 | diff --git a/source-map-support.js b/source-map-support.js
index <HASH>..<HASH> 100644
--- a/source-map-support.js
+++ b/source-map-support.js
@@ -82,7 +82,7 @@ function wrapCallSite(cache, frame) {
}
// Code called using eval() needs special handling
- var origin = frame.getEvalOrigin();
+ var origin = frame... | check for eval before getting origin, fixes #9 | evanw_node-source-map-support | train | js,js |
ff0936fe62625865f76582e276fda6bba39979b7 | diff --git a/ide/debug/src/main/java/org/overture/ide/debug/core/model/internal/VdmStackFrame.java b/ide/debug/src/main/java/org/overture/ide/debug/core/model/internal/VdmStackFrame.java
index <HASH>..<HASH> 100644
--- a/ide/debug/src/main/java/org/overture/ide/debug/core/model/internal/VdmStackFrame.java
+++ b/ide/deb... | Fix for filenames with spaces which was reported to have url encoding resulting in file not found in source lookup
git-svn-id: <URL> | overturetool_overture | train | java |
a39a88accff57dcfab6c8f06b792a0e7b136a335 | diff --git a/src/org/opencms/ade/containerpage/CmsContainerpageService.java b/src/org/opencms/ade/containerpage/CmsContainerpageService.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ade/containerpage/CmsContainerpageService.java
+++ b/src/org/opencms/ade/containerpage/CmsContainerpageService.java
@@ -1697,7 +1... | Improved error handling for favorite/recent list entries in the
container page editor. | alkacon_opencms-core | train | java |
a02164e311d4634d49df5ca4fa7f1833b18f448d | diff --git a/src/Lit/Runner/ZendSapi/BoltZendRunner.php b/src/Lit/Runner/ZendSapi/BoltZendRunner.php
index <HASH>..<HASH> 100644
--- a/src/Lit/Runner/ZendSapi/BoltZendRunner.php
+++ b/src/Lit/Runner/ZendSapi/BoltZendRunner.php
@@ -5,13 +5,17 @@ declare(strict_types=1);
namespace Lit\Runner\ZendSapi;
use Lit\Bolt\Bo... | runner::run allow accept container interface | litphp_litphp | train | php |
54746f895ac56e8e8f296a381ed6a22bbf122e1f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -28,10 +28,7 @@ setup(
'pykml',
],
'icloud': [
- 'pyicloud', # Currently, pending action from the package
- # maintainer, this is not distrib... | Removing cautionary note regarding pyicloud; it is now pypi-distributed. | coddingtonbear_django-location | train | py |
459eca1aa6e52780fe22d01613f9db8cf872bd60 | diff --git a/packages/aragon-cli/src/commands/dao_cmds/utils/execHandler.js b/packages/aragon-cli/src/commands/dao_cmds/utils/execHandler.js
index <HASH>..<HASH> 100644
--- a/packages/aragon-cli/src/commands/dao_cmds/utils/execHandler.js
+++ b/packages/aragon-cli/src/commands/dao_cmds/utils/execHandler.js
@@ -21,7 +21,... | check for existing transactionPath in execHandler (#<I>)
`tryFindTransactionPath` was sometimes being called after `sendTransaction` resolved, which would clear ctx.transactionPath causing the reporter output `ctx.transactionPath[0].description` to fail | aragon_aragon-cli | train | js |
f0a4501da534a455650eaa385a5ee8ad7f8f8e20 | diff --git a/source/rafcon/gui/controllers/state_machines_editor.py b/source/rafcon/gui/controllers/state_machines_editor.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/state_machines_editor.py
+++ b/source/rafcon/gui/controllers/state_machines_editor.py
@@ -373,8 +373,9 @@ class StateMachinesEditor... | fix(tab close): key mask condition check for middle mouse press | DLR-RM_RAFCON | train | py |
81baf6c01451644c362570b2c4473203f6c73fdb | diff --git a/lib/veritas/tuple.rb b/lib/veritas/tuple.rb
index <HASH>..<HASH> 100644
--- a/lib/veritas/tuple.rb
+++ b/lib/veritas/tuple.rb
@@ -28,6 +28,7 @@ module Veritas
end
def eql?(other)
+ header = self.header
instance_of?(other.class) &&
header.eql?(other.header) &&
to_ary.eq... | Removed reek warning due to Tuple#header being called twice in #eql? | dkubb_axiom | train | rb |
81e7cb60fff3d5bdaba38e2cd766b016fbfb9562 | diff --git a/pkg/api/dashboard.go b/pkg/api/dashboard.go
index <HASH>..<HASH> 100644
--- a/pkg/api/dashboard.go
+++ b/pkg/api/dashboard.go
@@ -338,7 +338,7 @@ func (hs *HTTPServer) PostDashboard(c *models.ReqContext, cmd models.SaveDashboa
dashboard = dash // the original request
}
- // This will broadcast al... | Chore: Fix typo in dashboard.go (#<I>)
requets -> requests | grafana_grafana | train | go |
e09c6b57b31b33575f925735721e3ab1db5cfa06 | diff --git a/lib/art-decomp/sep_matrix.rb b/lib/art-decomp/sep_matrix.rb
index <HASH>..<HASH> 100644
--- a/lib/art-decomp/sep_matrix.rb
+++ b/lib/art-decomp/sep_matrix.rb
@@ -36,14 +36,6 @@ module ArtDecomp class SepMatrix
SepMatrix.new @matrix.zip(other.matrix).map { |a, b| a | b }
end
- def seps
- (0...... | drop SepMatrix#seps to escape the lure of Sets of Seps | chastell_art-decomp | train | rb,rb |
390c8902174a50114aac76188e259e39289d3b0e | diff --git a/lib/logstasher/version.rb b/lib/logstasher/version.rb
index <HASH>..<HASH> 100644
--- a/lib/logstasher/version.rb
+++ b/lib/logstasher/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module LogStasher
- VERSION = '2.1.1'
+ VERSION = '2.1.2'
end | Version bump after merging #<I> | shadabahmed_logstasher | train | rb |
729b844487cbf644ff0a5910b2720c092f684c02 | diff --git a/experiments/http_request.py b/experiments/http_request.py
index <HASH>..<HASH> 100644
--- a/experiments/http_request.py
+++ b/experiments/http_request.py
@@ -20,8 +20,9 @@ class HTTPRequestExperiment:
def http_request(self):
request = {
- "host" : self.host,
- "path" ... | convert response headers to a dict | iclab_centinel | train | py |
f6edd2c48b275854c37f2b4cbdf902b746c4e9b9 | diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100755
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -63,7 +63,9 @@ def _uptime_linux():
return None
up = struct.unpack_from('@l', buf.raw)[0]
- return up if up >= 0 else None
+ if up < 0:
+ up = None
+ return up
def... | Don't use conditional expressions.
Conditional expressions were introduced in <I>. Officially that's the
earliest version we support because that's when ctypes was introduced,
but Plan 9 is still on <I> *and* it's one of the few platforms that don't
need ctypes, so. | Cairnarvon_uptime | train | py |
e592f2cd5d88eb80edca65fc47b17a97b940a1cb | diff --git a/test/lib/solium.js b/test/lib/solium.js
index <HASH>..<HASH> 100644
--- a/test/lib/solium.js
+++ b/test/lib/solium.js
@@ -19,6 +19,8 @@ describe ('Checking Exported Solium API', function () {
Solium.reset.should.be.type ('function');
Solium.should.have.ownProperty ('lint');
Solium.lint.should.be.t... | test for lintAndFix() in Solium exposed API | duaraghav8_Ethlint | train | js |
aaac6a41517ca579f19ea760f458386a253219cb | diff --git a/Lib/glyphs2ufo/torf.py b/Lib/glyphs2ufo/torf.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphs2ufo/torf.py
+++ b/Lib/glyphs2ufo/torf.py
@@ -59,6 +59,7 @@ WEIGHT_CODES = {
'Black': 900}
WIDTH_CODES = {
+ 'Extra Condensed': 2,
'Condensed': 3,
'SemiCondensed': 4,
'': 5} | Add width code for "Extra Condensed" | googlefonts_glyphsLib | train | py |
a1690f7bf22cffb88e95d61891f388b1a1a2282b | diff --git a/wrapper.js b/wrapper.js
index <HASH>..<HASH> 100644
--- a/wrapper.js
+++ b/wrapper.js
@@ -66,4 +66,4 @@ if (Path.extname(main) == '.coffee') {
}
/** Load the wrapped script */
-require(main);
\ No newline at end of file
+require(main); | Added new line at eof | whitecolor_ts-node-dev | train | js |
577c51a6cde99a0bd1c2bd564c9cc934661252f9 | diff --git a/lib/porch/context.rb b/lib/porch/context.rb
index <HASH>..<HASH> 100644
--- a/lib/porch/context.rb
+++ b/lib/porch/context.rb
@@ -17,10 +17,10 @@ module Porch
self.class.new(self, self.success?)
end
- def fail!(message="")
+ def fail!(message="", stop_current=true)
@message = mes... | Add the ability to optionally stop the current step | jwright_porch | train | rb |
16fad02eaa84166bf43945c944c60154621f5fdf | diff --git a/ginkgo_writer.go b/ginkgo_writer.go
index <HASH>..<HASH> 100644
--- a/ginkgo_writer.go
+++ b/ginkgo_writer.go
@@ -45,10 +45,14 @@ func (w *ginkgoWriter) Write(b []byte) (n int, err error) {
}
func (w *ginkgoWriter) Truncate() {
+ w.lock.Lock()
+ defer w.lock.Unlock()
w.buffer.Truncate(0)
}
func (... | guard against races on Truncate and DumpOut | onsi_ginkgo | train | go |
a8ea63f5c6aa5f37462685278fc937c831ef8424 | diff --git a/ldapdao/plugins/auth/ldapdao/ldapdao.auth.php b/ldapdao/plugins/auth/ldapdao/ldapdao.auth.php
index <HASH>..<HASH> 100644
--- a/ldapdao/plugins/auth/ldapdao/ldapdao.auth.php
+++ b/ldapdao/plugins/auth/ldapdao/ldapdao.auth.php
@@ -203,8 +203,6 @@ class ldapdaoAuthDriver extends jAuthDriverBase implements jI... | Fix duplicated code, user data were loaded twice | jelix_ldapdao-module | train | php |
c2345e4706b844872867e78d22cdeffe04c4c846 | diff --git a/lib/ransack/nodes/condition.rb b/lib/ransack/nodes/condition.rb
index <HASH>..<HASH> 100644
--- a/lib/ransack/nodes/condition.rb
+++ b/lib/ransack/nodes/condition.rb
@@ -123,9 +123,11 @@ module Ransack
end
def value
- predicate.wants_array ?
- values.map { |v| v.cast(default... | Avoid ternaries & end-of-line conditionals
to keep conditionals explicit and painful. | activerecord-hackery_ransack | train | rb |
ccf6b14d8082379df5ff56d3a2510d39590b0a63 | diff --git a/wcpan/telegram/api.py b/wcpan/telegram/api.py
index <HASH>..<HASH> 100644
--- a/wcpan/telegram/api.py
+++ b/wcpan/telegram/api.py
@@ -567,7 +567,7 @@ class BotClient(object):
if switch_pm_parameter is not None:
args['switch_pm_parameter'] = switch_pm_parameter
- data = await ... | Changed request type onto POST for answer_inline_query | legnaleurc_wcpan.telegram | train | py |
43910050980af87093a3729b3938d9d15962fe1f | diff --git a/songpal/discovery.py b/songpal/discovery.py
index <HASH>..<HASH> 100644
--- a/songpal/discovery.py
+++ b/songpal/discovery.py
@@ -2,6 +2,8 @@ import logging
from xml import etree
import attr
+from async_upnp_client import UpnpFactory
+from async_upnp_client.aiohttp import AiohttpRequester
from async_u... | Catch exceptions on device description file fetch (#<I>)
* Catch exceptions on device description file fetch
* Move imports to top | rytilahti_python-songpal | train | py |
14cbcd6afd8b2bf1e9d3051278d62d02f69a35d5 | diff --git a/Controller/Payment/Verify.php b/Controller/Payment/Verify.php
index <HASH>..<HASH> 100644
--- a/Controller/Payment/Verify.php
+++ b/Controller/Payment/Verify.php
@@ -177,6 +177,16 @@ class Verify extends \Magento\Framework\App\Action\Action
->setResponse($response)
->saveCard();
... | Added a save card result message handler to the verify controller | checkout_checkout-magento2-plugin | train | php |
1851a904675d299956d5b0efc76a7db2ce7576af | diff --git a/networkzero/sockets.py b/networkzero/sockets.py
index <HASH>..<HASH> 100644
--- a/networkzero/sockets.py
+++ b/networkzero/sockets.py
@@ -129,7 +129,7 @@ class Sockets:
# to [addressB, addressA], three separate sockets will be
# created and used.
#
- identifier = (caddress... | With one *tiny* change, we can now send & receive via any socket, regardless: the first time it's used it will either be bound or connected, according to whether the first attempt is a send or a receive. After that, though, the same connection will be returned and can be used for either. | tjguk_networkzero | train | py |
aeee11b9b34d58bc897aebae09996d8b39f66169 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -33,6 +33,9 @@ module.exports = function(options) {
var files = [];
content
+ .replace(startCondReg, '')
+ .replace(endCondReg, '')
+ .replace(/<!--(?:(?:.|\r|\n)*?)-->/gim, '')
.replace(reg, function (a, b) ... | Restored ability to ignore sources commented out while correctly processing conditional comments at the same time | zont_gulp-usemin | train | js |
2e5dee696882d51564ddcad5581b3b30ca770b28 | diff --git a/src/main/java/org/dasein/cloud/google/network/LoadBalancerSupport.java b/src/main/java/org/dasein/cloud/google/network/LoadBalancerSupport.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/google/network/LoadBalancerSupport.java
+++ b/src/main/java/org/dasein/cloud/google/network/LoadBa... | Temporarily reverse health check counts for core bug | dasein-cloud_dasein-cloud-google | train | java |
2b492bc29878674922cb7fbeb1cd99f99fbe99bd | diff --git a/lib/formalist/rich_text/rendering/html_compiler.rb b/lib/formalist/rich_text/rendering/html_compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/formalist/rich_text/rendering/html_compiler.rb
+++ b/lib/formalist/rich_text/rendering/html_compiler.rb
@@ -52,6 +52,11 @@ module Formalist
def visit_entity... | Add temporary fix for entity data coming through with string keys. | team-formalist_formalist-rb | train | rb |
707f1a2832c1c0681408d2fdf000d2503ba6b66b | diff --git a/pkg/kubectl/cmd/cmd.go b/pkg/kubectl/cmd/cmd.go
index <HASH>..<HASH> 100644
--- a/pkg/kubectl/cmd/cmd.go
+++ b/pkg/kubectl/cmd/cmd.go
@@ -109,7 +109,7 @@ __kubectl_override_flags()
done
for var in "${__kubectl_override_flag_list[@]##*-}"; do
if eval "test -n \"\$${var}\""; then
- ... | Fix unexpected line end in override flags | kubernetes_kubernetes | train | go |
dd9fd1d46d4bbc2f1559c337b184c8352c4c7ae8 | diff --git a/spec/webfinger/debugger/request_filter_spec.rb b/spec/webfinger/debugger/request_filter_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/webfinger/debugger/request_filter_spec.rb
+++ b/spec/webfinger/debugger/request_filter_spec.rb
@@ -8,7 +8,7 @@ describe WebFinger::Debugger::RequestFilter do
describe ... | should_receive => expect(x).to receive | nov_webfinger | train | rb |
be40c18e2b04ad81707be31c116770e1ddb79e34 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,7 +3,14 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rails'
require 'mongoid'
require 'kaminari'
-
+# Ensure we use 'syck' instead of 'psych' in 1.9.2
+# RubyGems >= ... | Add YAML merge keys workaround.
Prevent problems when using running tests with
a mongoid.yml using YAML merge keys on Ruby <I>
and RubyGems >= <I>
Will be needed until r<I> and r<I> are backported
to <I> (ticket #<I>)
<URL> | kaminari_kaminari | train | rb |
d55346db198a1f60ab62afdc0739c5926f91e030 | diff --git a/Legobot/Connectors/IRC.py b/Legobot/Connectors/IRC.py
index <HASH>..<HASH> 100644
--- a/Legobot/Connectors/IRC.py
+++ b/Legobot/Connectors/IRC.py
@@ -87,6 +87,8 @@ class IRCBot(threading.Thread, irc.bot.SingleServerIRCBot):
"""
text = e.arguments[0]
metadata = Metadata(source=sel... | Add source_connector field to metadata in Slack and IRC connectors | Legobot_Legobot | train | py,py |
286d128c1e7e2666615aac42a5c56c6b10b442ca | diff --git a/src/Handlers/Eloquent.php b/src/Handlers/Eloquent.php
index <HASH>..<HASH> 100644
--- a/src/Handlers/Eloquent.php
+++ b/src/Handlers/Eloquent.php
@@ -76,7 +76,7 @@ class Eloquent extends DatabaseHandler
*/
protected function delete($key)
{
- $this->resolver()->where('id', '=', $id)->... | Fix where call in delete for Eloquent handler | orchestral_memory | train | php |
480e1ab809d585addb55577a6a969112c3dfeeed | diff --git a/framework/helpers/BaseConsole.php b/framework/helpers/BaseConsole.php
index <HASH>..<HASH> 100644
--- a/framework/helpers/BaseConsole.php
+++ b/framework/helpers/BaseConsole.php
@@ -611,7 +611,7 @@ class BaseConsole
if (static::isRunningOnWindows()) {
$output = [];
exec('... | add isset check on index which might not be set
close #<I> | yiisoft_yii-core | train | php |
7f220269768aeb85f7e729a2ccce4d4d955436a0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,8 @@ setup(name='tacl',
},
package_data={
'tacl': ['assets/jitc/*.js', 'assets/jitc/*.css',
- 'assets/templates/*.html', 'assets/xslt/*.xsl'],
+ 'assets/re... | Added JS required for tacl highlight to package data in setup.py. | ajenhl_tacl | train | py |
ba0574ef6d9037a2eccc6a253d2ce442e416e13f | diff --git a/commands/review/post/command.go b/commands/review/post/command.go
index <HASH>..<HASH> 100644
--- a/commands/review/post/command.go
+++ b/commands/review/post/command.go
@@ -322,6 +322,12 @@ You are about to post some of the following commits for code review:
if err != nil {
return nil, errs.NewErro... | review post: Abort on no commit when -pick used
When -pick is used and all commits are skipped, SF aborts now.
Change-Id: fb0c4d<I>de
Story-Id: SF-<I> | salsaflow_salsaflow | train | go |
b981e2d47a7bc174a98884ab02a78f4e2aeacaca | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -32,9 +32,14 @@ class Store {
dispatch.apply(this, args)
}
// use a Vue instance to store the state tree
+ // suppress warnings just in case the user has added
+ // some funky global mixi... | suppress warnings during vm instantiation | vuejs_vuex | train | js |
2fbfe65bfa9c1b106151b7e9a15e0cd211ecd3c7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,9 @@
from setuptools import setup, find_packages, findall
from get_git_version import get_git_version
+import os.path
+
+root = os.path.abspath(os.path.dirname(__file__))
setup(name='tkbd',
version=get_git_... | (bugfix of)^3. Hopefully the packaged mirte files are installed | bwesterb_tkbd | train | py |
f69298d4cd487674d4f702b3df7266d33722e225 | diff --git a/test/test_transforms.py b/test/test_transforms.py
index <HASH>..<HASH> 100644
--- a/test/test_transforms.py
+++ b/test/test_transforms.py
@@ -150,7 +150,7 @@ class Tester(unittest.TestCase):
assert output.size[0] == width + padding[0] + padding[2]
assert output.size[1] == height + padding... | fix typo in test function name (#<I>) | pytorch_vision | train | py |
3eaf79fe655e66ff40c1fb0c1157076b3be9f41b | diff --git a/fragments/commands.py b/fragments/commands.py
index <HASH>..<HASH> 100644
--- a/fragments/commands.py
+++ b/fragments/commands.py
@@ -353,10 +353,12 @@ def fork(*args):
config.dump()
+try:
+ raw_input
+except NameError: # pragma: no cover # Python 3 support
+ raw_input = input
+
def _main()... | better way to detect raw_input | glyphobet_fragments | train | py |
76615a79970d274c0f26045cc57bcf06ad59aac0 | diff --git a/src/jarvis.js b/src/jarvis.js
index <HASH>..<HASH> 100644
--- a/src/jarvis.js
+++ b/src/jarvis.js
@@ -486,8 +486,6 @@
reporter: null,
htmlDiffs: false,
- Error: JarvisError,
-
run: function(test, parentId) {
var id = (testId++),
caughtError, | don't need to expose JarvisError | tmont_jarvis | train | js |
e57e3108d1aefe7e560fb52c487c809085751421 | diff --git a/aeron-archive/src/test/java/io/aeron/archive/workloads/ArchiveReplayLoadTest.java b/aeron-archive/src/test/java/io/aeron/archive/workloads/ArchiveReplayLoadTest.java
index <HASH>..<HASH> 100644
--- a/aeron-archive/src/test/java/io/aeron/archive/workloads/ArchiveReplayLoadTest.java
+++ b/aeron-archive/src/t... | [Java] When replaying check that image is not closed unexpectedly. | real-logic_aeron | train | java |
a0985a8773cb841e5497e1ff4cc567748c1e615a | diff --git a/lxd/db/networks.go b/lxd/db/networks.go
index <HASH>..<HASH> 100644
--- a/lxd/db/networks.go
+++ b/lxd/db/networks.go
@@ -299,9 +299,9 @@ func (c *ClusterTx) CreatePendingNetwork(node string, projectName string, name s
return ErrAlreadyDefined
}
- // Insert the node-specific configuration.
- columns... | lxd/db/networks: Populate node state column in CreatePendingNetwork | lxc_lxd | train | go |
98c63636a74ebc51f06d2abc5ce47776c0c9fdf1 | diff --git a/cumulus/management/commands/collectstatic.py b/cumulus/management/commands/collectstatic.py
index <HASH>..<HASH> 100644
--- a/cumulus/management/commands/collectstatic.py
+++ b/cumulus/management/commands/collectstatic.py
@@ -2,7 +2,7 @@ import hashlib
from django.contrib.staticfiles.management.commands... | Updated to use new Swiftclient class | django-cumulus_django-cumulus | train | py |
bab426a171862271d3ac7eb4648208bf62699af1 | diff --git a/lib/discourse_api/api/users.rb b/lib/discourse_api/api/users.rb
index <HASH>..<HASH> 100644
--- a/lib/discourse_api/api/users.rb
+++ b/lib/discourse_api/api/users.rb
@@ -64,6 +64,11 @@ module DiscourseApi
response = put("admin/users/#{user_id}/grant_admin")
response[:body]
end
+
+ ... | be able to rovoke admin | discourse_discourse_api | train | rb |
ce60374d62cb20ced195770fd19c154c627824dc | diff --git a/src/main/BamDataSource.js b/src/main/BamDataSource.js
index <HASH>..<HASH> 100644
--- a/src/main/BamDataSource.js
+++ b/src/main/BamDataSource.js
@@ -86,6 +86,7 @@ function createFromBamFile(remoteSource: BamFile): AlignmentDataSource {
coveredRanges = ContigInterval.coalesce(coveredRanges);
... | Only fire newdata when new data comes in | hammerlab_pileup.js | train | js |
f0299893c99537b1d23c54fbdbd04b463a6eed26 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -23,8 +23,15 @@ module.exports = function(grunt) {
test: {
src: ['test/**/*_test.js']
},
- }
+ },
+ });
+
+ // Dynamic alias task to nodeunit. Run individual tests with: grunt tes... | Add dynamic alias task for running individual tests | shama_gaze | train | js |
2053aabe21c4a5cc26efe718cd92767c9e15094a | diff --git a/src/main/java/water/api/Constants.java b/src/main/java/water/api/Constants.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/api/Constants.java
+++ b/src/main/java/water/api/Constants.java
@@ -122,7 +122,7 @@ public class Constants extends Iced {
public static final String NORMALIZE ... | PUB-<I>: Clarify that gflops on cloud status page is from Linpack. | h2oai_h2o-2 | train | java |
5636719cdc58ec9dfc348e34955d7707e6b9302c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -29,7 +29,9 @@ module.exports = {
server._flumeUse('unread-dummy-index', flumeView(
VERSION,
(_, msg) => {
- db.put(msg.key, null, noop)
+ db.get(msg.key, (err, _) => {
+ if (err.notFo... | when re-indexing, skip over unread entries already in local unread level db | ssbc_ssb-unread | train | js |
a7baf7b47c052c0414d84134197002bc81ca24ca | diff --git a/lib/discordrb/api/server.rb b/lib/discordrb/api/server.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/api/server.rb
+++ b/lib/discordrb/api/server.rb
@@ -183,11 +183,12 @@ module Discordrb::API::Server
# Ban a user from a server and delete their messages from the last message_days days
# https://... | Fix issue with ban reasons being mangled or rejected (#<I>)
* Fix issue with ban reasons being mangled or rejected
Ban reasons, unusually, are sent in the query params rather than the request headers. This means they need to be URL encoded to work reliably. Currently this must be done manually, which this commit fi... | meew0_discordrb | train | rb |
1bd9e9fbb10c3cb2201a2bc6ac10fa9430945376 | diff --git a/dvc/output.py b/dvc/output.py
index <HASH>..<HASH> 100644
--- a/dvc/output.py
+++ b/dvc/output.py
@@ -98,6 +98,10 @@ class Dependency(object):
if not os.path.isfile(self.path) and not os.path.isdir(self.path):
raise CmdOutputIsNotFileOrDirError(self.rel_path)
+ if (os.path.is... | dvc: print warning when file/dir is empty
Fixes #<I> | iterative_dvc | train | py,py |
8dd08b828315852a5edf780eeacaaf462cd10f1c | diff --git a/lib/streams.js b/lib/streams.js
index <HASH>..<HASH> 100644
--- a/lib/streams.js
+++ b/lib/streams.js
@@ -1,4 +1,3 @@
-import { createReadableStreamWrapper } from '@mattiasbuelens/web-streams-adapter';
import { isNode, isStream, isArrayStream, isUint8Array, concatUint8Array } from './util';
import { node... | Fetch web-streams-adapter on demand | openpgpjs_web-stream-tools | train | js |
e769b87c337aa9b13b34b04cb943ee4cfcf25766 | diff --git a/param/version.py b/param/version.py
index <HASH>..<HASH> 100644
--- a/param/version.py
+++ b/param/version.py
@@ -233,7 +233,8 @@ class Version(object):
"""
if self.release is None: return 'None'
release = '.'.join(str(el) for el in self.release)
- if self.commit_count == ... | Displaying commit if it does not contain "$Format" string | pyviz_param | train | py |
bfe231490187d4d0826c53e4b719bcf8f55db2dc | diff --git a/test/form_builder/hint_test.rb b/test/form_builder/hint_test.rb
index <HASH>..<HASH> 100644
--- a/test/form_builder/hint_test.rb
+++ b/test/form_builder/hint_test.rb
@@ -79,6 +79,15 @@ class HintTest < ActionView::TestCase
end
end
+ test 'hint should not use i18n just with attribute to lookup tr... | Add test case to hint (i<I>n): a model should not be used as attribute in a hint; | plataformatec_simple_form | train | rb |
031f3926e1085b9412e56a540f56b92b7d43b003 | diff --git a/Generator/FormBuilder.php b/Generator/FormBuilder.php
index <HASH>..<HASH> 100644
--- a/Generator/FormBuilder.php
+++ b/Generator/FormBuilder.php
@@ -31,9 +31,11 @@ class FormBuilder extends PHPMethod {
$function_code[] = " £form['{$content['key']}'] = [";
- foreach ($content['array'] as $... | Fixed FormBuilder unable to produce FormAPI properties whose values are arrays. | drupal-code-builder_drupal-code-builder | train | php |
fd180b0767908f6ceefc202f83b262a72fb26864 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -77,6 +77,10 @@ var test = function( config, isRecordingResults ) {
} else if ( key == 'preprocessors' ) {
+ if ( karmaConfig.preprocessors === undefined ) {
+ karmaConfig.preprocessors = {};
+ }
+
for( var f... | Fixing initialization of preprocessors on karmaConfig to handle case where it's undefined. This was previously initialized in some code that was recently removed. | Brightspace_valence-ui-helpers | train | js |
7ca10fb770934f78f3df1cc3f47a6613c4c62c13 | diff --git a/superset/utils/cache_manager.py b/superset/utils/cache_manager.py
index <HASH>..<HASH> 100644
--- a/superset/utils/cache_manager.py
+++ b/superset/utils/cache_manager.py
@@ -41,7 +41,7 @@ class CacheManager:
cache_config = app.config[cache_config_key]
cache_type = cache_config.get("CACHE_... | fix(cache): only warn about fallback cache for non-debug mode (#<I>) | apache_incubator-superset | train | py |
262a85e21a9d73586f7a0909fafbace4fce62414 | diff --git a/server-elm-script.js b/server-elm-script.js
index <HASH>..<HASH> 100644
--- a/server-elm-script.js
+++ b/server-elm-script.js
@@ -751,6 +751,7 @@ editor = typeof editor == "undefined" ? {} : editor;
if(!location.search.match(new RegExp("edit" + prev))) {
if(editor.ui.init) {
... | Fixed the adding of contenteditable... | MikaelMayer_Editor | train | js |
299ac350c64e6f865cded74df855bed2e804e10b | diff --git a/Template/Util/SimpleTemplateUtil.php b/Template/Util/SimpleTemplateUtil.php
index <HASH>..<HASH> 100644
--- a/Template/Util/SimpleTemplateUtil.php
+++ b/Template/Util/SimpleTemplateUtil.php
@@ -134,7 +134,7 @@ class SimpleTemplateUtil {
self::insertTemplate($v, $l);
}
else if(empty($dbTpl[$... | Bugfix; simple filenames had been replaced by FilesystemFile objects | Vectrex_vxPHP | train | php |
e48ff6e1de0926f4bcf81f8dfd576e65f07707df | diff --git a/napalm/nxos.py b/napalm/nxos.py
index <HASH>..<HASH> 100644
--- a/napalm/nxos.py
+++ b/napalm/nxos.py
@@ -521,7 +521,7 @@ class NXOSDriver(NetworkDriver):
snmp_command = 'show running-config | section snmp-server'
- snmp_raw_output = self.cli(snmp_command).get(snmp_command, '')
+ ... | Defined for IOS-XR | napalm-automation_napalm-nxos | train | py |
55fedeada0654bd9881d2dcee668516c49ed32a1 | diff --git a/mockredis/exceptions.py b/mockredis/exceptions.py
index <HASH>..<HASH> 100644
--- a/mockredis/exceptions.py
+++ b/mockredis/exceptions.py
@@ -1,15 +1,20 @@
"""
-Emulates exceptions raised by the Redis client.
+Emulates exceptions raised by the Redis client, if necessary.
"""
+try:
+ # Prefer actual ... | Prefer using redis-py's exception classes over our own.
Our own tests run into this issue - when using --use-redis we expected a mockredis exception, but got a redis-py exception. | locationlabs_mockredis | train | py |
245fcf53c8ff0baa00dbc86fd5be3fb47995bce1 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -186,6 +186,12 @@ class Generator extends EventEmitter {
});
this.resolved = this.options.resolved || __dirname;
+ this.description = this.description || '';
+
+ if (this.options.help) {
+ ... | We should not lookup for .yo-rc.json and change cwd when running help. | yeoman_generator | train | js |
d43bd2540bb469e271c3a88e7bbf2ddbc956156f | diff --git a/samples/java/zentasks/app/Global.java b/samples/java/zentasks/app/Global.java
index <HASH>..<HASH> 100644
--- a/samples/java/zentasks/app/Global.java
+++ b/samples/java/zentasks/app/Global.java
@@ -19,7 +19,7 @@ public class Global extends GlobalSettings {
if(Ebean.find(User.class).findRowCoun... | Update Global.java
Removed unneeded tabs | playframework_playframework | train | java |
e49d23e8180ad1ad4ea3651d4746ab13f5fded3a | diff --git a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/cache/TtlCache.java b/blueflood-core/src/main/java/com/rackspacecloud/blueflood/cache/TtlCache.java
index <HASH>..<HASH> 100644
--- a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/cache/TtlCache.java
+++ b/blueflood-core/src/main/java/co... | set lastFetchError to 0 | rackerlabs_blueflood | train | java |
7d7d1ecf4ecebb066afad5c14930da3643329fee | diff --git a/src/views/default/toolbar.php b/src/views/default/toolbar.php
index <HASH>..<HASH> 100644
--- a/src/views/default/toolbar.php
+++ b/src/views/default/toolbar.php
@@ -15,7 +15,7 @@ $url = $firstPanel->getUrl();
<div class="yii-debug-toolbar__bar">
<div class="yii-debug-toolbar__block yii-debug... | Added alt tag to debug toolbar image (#<I>)
not super relevant, but I noticed it when activating a CSS style to higlight images without alt tag on my site. | yiisoft_yii2-debug | train | php |
c5c3e1fa2b24177558066bfc26b1df0fe877bba9 | diff --git a/remotecv/detectors/__init__.py b/remotecv/detectors/__init__.py
index <HASH>..<HASH> 100644
--- a/remotecv/detectors/__init__.py
+++ b/remotecv/detectors/__init__.py
@@ -45,7 +45,15 @@ class CascadeLoaderDetector(BaseDetector):
faces_scaled = []
for (x, y, w, h) in faces:
- f... | Get numpy elements as python data type | thumbor_remotecv | train | py,py |
9da5c9a8a1ee0787b70c93258400212cf20c0bcb | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -372,7 +372,7 @@ TokenParser.prototype = {
if (i === 0) {
return;
}
- build += ' && "' + v + '" in ' + c;
+ build += ' && "' + c + '.' + v + '" !== undefined';
... | standardize variable undefined checking. Fixes gh-<I> | Thunf_swiger | train | js |
e65d9a0e591a5b35a3c4f9e2504825cdffec4f8c | diff --git a/lib/silo/cli.rb b/lib/silo/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/silo/cli.rb
+++ b/lib/silo/cli.rb
@@ -83,10 +83,11 @@ module Silo
paths = self.paths || [nil]
contents = []
paths.each do |path|
- contents |= repo.contents(path)
+ new_contents = repo.contents path
... | Only warn when trying to list non-existent repository contents | koraktor_silo | train | rb |
2f183df145fc6fb2e7673ae1dcb80cf200387beb | diff --git a/gimmemotifs/scanner.py b/gimmemotifs/scanner.py
index <HASH>..<HASH> 100644
--- a/gimmemotifs/scanner.py
+++ b/gimmemotifs/scanner.py
@@ -1116,7 +1116,7 @@ class Scanner(object):
if len(self.meanstd) != 1:
self.set_meanstd(gc=gc)
- batch_size = 10000
+ ... | better handling of chunks with higher number of cores | vanheeringen-lab_gimmemotifs | train | py |
737279176a1152e073311c6535474c546a1822b6 | diff --git a/src/Token/Manager.php b/src/Token/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Token/Manager.php
+++ b/src/Token/Manager.php
@@ -241,7 +241,7 @@ class Manager implements ManagerContract
$builder->setIssuer($this->issuer);
// set the subject.
- $builder->setSubject($user->{$u... | support protected Authenticatable identifiers | codecasts_laravel-jwt | train | php |
ff4d8a33404e199a03e03e4df83314abc9f2d1dd | diff --git a/etc/eslint/rules/programmer_errors.js b/etc/eslint/rules/programmer_errors.js
index <HASH>..<HASH> 100644
--- a/etc/eslint/rules/programmer_errors.js
+++ b/etc/eslint/rules/programmer_errors.js
@@ -19,6 +19,17 @@ var rules = {};
rules[ 'no-await-in-loop' ] = 'warn';
/**
+* Never allow comparison to neg... | Add rule to prevent comparisons to negative zero | stdlib-js_stdlib | train | js |
8ff156f1896a25a659575807f81514a4b1727eb0 | diff --git a/soundscrape/soundscrape.py b/soundscrape/soundscrape.py
index <HASH>..<HASH> 100755
--- a/soundscrape/soundscrape.py
+++ b/soundscrape/soundscrape.py
@@ -242,6 +242,8 @@ def process_soundcloud(vargs):
tracks = resolved.tracks
else:
tracks = get_sou... | Shrinking the tracks array to the size defined by -n on the command line when tracks to download is retrieved via get_soundcloud_api_playlist_data()
Setting aggressive to True right after to make sure soundscrape won't try downloading the files again | Miserlou_SoundScrape | train | py |
3e001c0cdb093459e14ec20fb13decb2b8fb6933 | diff --git a/fudge/patcher.py b/fudge/patcher.py
index <HASH>..<HASH> 100644
--- a/fudge/patcher.py
+++ b/fudge/patcher.py
@@ -26,7 +26,7 @@ else:
# in 2.5+
@contextmanager
def patched_context(obj, attr_name, patched_value):
- """A context manager to execute :func:`fudge.patch_object` from the wit... | minor docstring rewording | fudge-py_fudge | train | py |
2d5ae93536a4b272ef912fe5821bc484edce0659 | diff --git a/tests/test_app/config/main.js b/tests/test_app/config/main.js
index <HASH>..<HASH> 100644
--- a/tests/test_app/config/main.js
+++ b/tests/test_app/config/main.js
@@ -1,3 +1,10 @@
+try {
+ var db = require('./db').db;
+}
+catch ( e ) {
+ throw new Error( 'Please copy file `' + __dirname + '/common_db.js` ... | warning for running tests without db.js | jifeon_autodafe | train | js |
abc2fa213ab9e861f6a902dbcf029c0ff06909f5 | diff --git a/src/Discord/CommandClient/Command.php b/src/Discord/CommandClient/Command.php
index <HASH>..<HASH> 100644
--- a/src/Discord/CommandClient/Command.php
+++ b/src/Discord/CommandClient/Command.php
@@ -201,6 +201,10 @@ class Command
{
$subCommand = array_shift($args);
+ if ($this->client... | Sub commands now respect case insensitive option | teamreflex_DiscordPHP | train | php,php |
aada82a58eda1485ddeb7d9d8c70cfd41faeeecf | diff --git a/click_shell/version.py b/click_shell/version.py
index <HASH>..<HASH> 100644
--- a/click_shell/version.py
+++ b/click_shell/version.py
@@ -65,9 +65,8 @@ def get_git_changeset():
timestamp = git_log.communicate()[0]
try:
timestamp = datetime.datetime.utcfromtimestamp(int(timestamp))
+ ... | Fixed pylint issue | clarkperkins_click-shell | train | py |
e9d36a682815726a232bb6cf20dedee5729b5db7 | diff --git a/python/dllib/src/bigdl/dllib/utils/nncontext.py b/python/dllib/src/bigdl/dllib/utils/nncontext.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/utils/nncontext.py
+++ b/python/dllib/src/bigdl/dllib/utils/nncontext.py
@@ -30,5 +30,7 @@ def get_nncontext(conf=None):
"""
sc = get_... | support python object detector (#<I>)
* support python object detection
* py object detector readme and add redict_spark_log into nncontext | intel-analytics_BigDL | train | py |
2ec5f78230d24e55512a246c759e392db5a0c96d | diff --git a/library/Benri/Db/Table.php b/library/Benri/Db/Table.php
index <HASH>..<HASH> 100644
--- a/library/Benri/Db/Table.php
+++ b/library/Benri/Db/Table.php
@@ -234,11 +234,23 @@ class Benri_Db_Table extends Zend_Db_Table
// PHP's black magic
extract($matches);
- $table = new static();... | (feat) Add some voodoo to __callStatic :godmode: | douggr_benri | train | php |
3d5bd874ea19c34d33a7aa45f1409bddfafc248b | diff --git a/spec/suitesConf.js b/spec/suitesConf.js
index <HASH>..<HASH> 100644
--- a/spec/suitesConf.js
+++ b/spec/suitesConf.js
@@ -7,7 +7,7 @@ exports.config = {
okspec: 'suites/ok_spec.js',
okmany: ['suites/ok_spec.js', 'suites/ok_2_spec.js'],
failingtest: 'suites/always_fail_spec.js'
- }
+ },
... | chore(tests): fix missing comma in suite tests | angular_protractor | train | js |
04457e3830d2d4671a633a54f595bd071926ae5d | diff --git a/config.go b/config.go
index <HASH>..<HASH> 100644
--- a/config.go
+++ b/config.go
@@ -19,6 +19,7 @@ const (
optionPrefix = "agent."
logLevelFlag = optionPrefix + "log"
devModeFlag = optionPrefix + "devmode"
+ sandboxFlag = optionPrefix + "sandbox"
kernelCmdlineFile = "/proc/cm... | logging: Add sandbox field
Read the sandbox ID from the `agent.sandbox=` kernel command-line
option and add a `sandbox=` log field with this value.
This makes the logs more useful as every agent entry is now tied to a
sandboxID.
Fixes #<I>. | kata-containers_agent | train | go |
af4b3c84dae9db0348af693a355884f79bd769d5 | diff --git a/SerializableClosure.php b/SerializableClosure.php
index <HASH>..<HASH> 100644
--- a/SerializableClosure.php
+++ b/SerializableClosure.php
@@ -3,8 +3,8 @@
* SerializableClosure Class
*
* Packages a PHP Closure for serialization.
- * @author Jeremy Lindblom
- * @copyright (c) 2010 Jeremy Lindblom
+ *... | fixed some formatting and added website url to @author | jeremeamia_super_closure | train | php |
ac15a99a545f9a511f2297cddf396bed0f93e7ca | diff --git a/views/simple.php b/views/simple.php
index <HASH>..<HASH> 100755
--- a/views/simple.php
+++ b/views/simple.php
@@ -90,7 +90,7 @@ use yii\helpers\Url;
<?php if( $register ) { ?>
<div id="box-signup" class='box-signup'>
- <form class="cmt-form" id="frm-register" cmt-controller="user" cmt-action="registe... | Fixed form id issue for signup form. | cmsgears_widget-login | train | php |
bf2c30cd9495c903a8545fd31c7a3275a8840fc7 | diff --git a/Admin/Admin.php b/Admin/Admin.php
index <HASH>..<HASH> 100644
--- a/Admin/Admin.php
+++ b/Admin/Admin.php
@@ -10,6 +10,7 @@
namespace Sonata\DoctrinePHPCRAdminBundle\Admin;
use Sonata\AdminBundle\Admin\Admin as BaseAdmin;
+use Sonata\AdminBundle\Route\RouteCollection;
/**
* Extend the Admin class ... | expose the routes to js automatically so we need no manual configuration of fosjsrouting anymore | sonata-project_SonataDoctrinePhpcrAdminBundle | train | php |
db512d0859a6d0e03c9c4b7c6c0184c42d1b8906 | diff --git a/libreantdb/api.py b/libreantdb/api.py
index <HASH>..<HASH> 100644
--- a/libreantdb/api.py
+++ b/libreantdb/api.py
@@ -87,8 +87,8 @@ class DB(object):
# End setup }}
# Queries {{{2
- def _search(self, body):
- return self.es.search(index=self.index_name, body=body)
+ def _search(sel... | Still no pagination, at least we have more results | insomnia-lab_libreant | train | py |
500e67306e4a0b2047a52f5baf16bb653407ea9e | diff --git a/lib/groupdate/magic.rb b/lib/groupdate/magic.rb
index <HASH>..<HASH> 100644
--- a/lib/groupdate/magic.rb
+++ b/lib/groupdate/magic.rb
@@ -110,7 +110,8 @@ module Groupdate
def time_zone_support?(relation)
if relation.connection.adapter_name =~ /mysql/i
- sql = relation.send(:sanit... | Fixed error in time zone check for Rails < <I> | ankane_groupdate | train | rb |
1941958968cd2324969de6b8e812183bb1665993 | diff --git a/Thru/ActiveRecord/Search.php b/Thru/ActiveRecord/Search.php
index <HASH>..<HASH> 100644
--- a/Thru/ActiveRecord/Search.php
+++ b/Thru/ActiveRecord/Search.php
@@ -97,12 +97,15 @@ class Search
foreach ($response as $result) {
/* @var $result ActiveRecord */
if ($result->get_primary_k... | Bug fix, collections returning single items. Whoops. | Thruio_ActiveRecord | train | php |
5dfcbb6b5e46b8ab4a0428455fa607805e1818ca | diff --git a/ghost/sdk/layer1/index.js b/ghost/sdk/layer1/index.js
index <HASH>..<HASH> 100644
--- a/ghost/sdk/layer1/index.js
+++ b/ghost/sdk/layer1/index.js
@@ -22,7 +22,7 @@ module.exports = function layer1(options) {
});
return init(gateway).then(function () {
return gateway;
- ... | Added missing semicolons
no-issue | TryGhost_Ghost | train | js |
f46fcc7c73dc09aa54fc2f23bc114c0e4685f32d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ install_requires += [
test_requires = [
- 'pytest==3.3.2',
+ 'pytest==3.6.3',
'pytest-cov==2.5.1',
'coverage==4.5.1',
'mock==1.0.1;python_version<"3.3"', | test_requires: upgrade pytest | Kuniwak_vint | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.