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 |
|---|---|---|---|---|---|
47db963800649bdd609d619bbc5f08052fe5520a | diff --git a/hubconf.py b/hubconf.py
index <HASH>..<HASH> 100644
--- a/hubconf.py
+++ b/hubconf.py
@@ -4,6 +4,11 @@ dependencies = ['torch']
from torchvision.models.alexnet import alexnet
from torchvision.models.densenet import densenet121, densenet169, densenet201, densenet161
from torchvision.models.inception impo... | add more hub models (#<I>)
* add more hub models
* fix lint | pytorch_vision | train | py |
de34320b766cad35903a8037e3b8afe3a9b43f5e | diff --git a/src/main/java/com/smartsheet/api/internal/json/FormatDeserializer.java b/src/main/java/com/smartsheet/api/internal/json/FormatDeserializer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/smartsheet/api/internal/json/FormatDeserializer.java
+++ b/src/main/java/com/smartsheet/api/internal/json/Forma... | Added license to top of java files | smartsheet-platform_smartsheet-java-sdk | train | java |
169f9d22e6841032c83e3e5eedef3f6f6ae94b78 | diff --git a/builder/azure/arm/builder_acc_test.go b/builder/azure/arm/builder_acc_test.go
index <HASH>..<HASH> 100644
--- a/builder/azure/arm/builder_acc_test.go
+++ b/builder/azure/arm/builder_acc_test.go
@@ -16,7 +16,7 @@ package arm
//
// In addition, the PACKER_ACC variable should also be set to
// a non-empty ... | Update 'the other place' too | hashicorp_packer | train | go |
e522938192ada852a058dccf3742beee6ed2afd7 | diff --git a/test/contrib/esindex_test.py b/test/contrib/esindex_test.py
index <HASH>..<HASH> 100644
--- a/test/contrib/esindex_test.py
+++ b/test/contrib/esindex_test.py
@@ -61,10 +61,6 @@ try:
except Exception:
raise unittest.SkipTest('Unable to connect to ElasticSearch')
-target = ElasticsearchTarget(HOST, P... | don't create Target in global scope | spotify_luigi | train | py |
d960d042d87b8ee6d4edb0bd5e4550f2a7d9257d | diff --git a/src/mcfedr/AWSPushBundle/Message/Message.php b/src/mcfedr/AWSPushBundle/Message/Message.php
index <HASH>..<HASH> 100644
--- a/src/mcfedr/AWSPushBundle/Message/Message.php
+++ b/src/mcfedr/AWSPushBundle/Message/Message.php
@@ -260,7 +260,7 @@ class Message implements \JsonSerializable
//Note th... | use elispses when cutting pushes | mcfedr_awspushbundle | train | php |
b028dc810320b1b3ee64fb3a0cd536b82010a91d | diff --git a/src/lib/helpText.js b/src/lib/helpText.js
index <HASH>..<HASH> 100644
--- a/src/lib/helpText.js
+++ b/src/lib/helpText.js
@@ -23,6 +23,6 @@ function showMissing404Text () {
logger.info(` ${filename("import RouteNotFound from \"../containers/RouteNotFound\";")}`);
logger.info(` ${filename("import { ... | Found a typo in our help text which causes a JS error if you use it | TrueCar_gluestick | train | js |
fc3a7d5c613f9564d9c8abbcfc93b1b624d5e74f | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -401,7 +401,9 @@ module.exports = function (grunt) {
mochaSetup: {
default: {
- files: { src: helper.watchFiles(['[Ss]pec.js'], ['./app/addons/**/*[Ss]pec.js', './app/addons/**/*[Ss]pec.rea... | tests: run all tests
even those in `./app/core`
PR: #<I>
PR-URL: <URL> | apache_couchdb-fauxton | train | js |
a159f5cf16d4b5e32d10bcd4799b4a140ab22412 | diff --git a/dist/firenze.full.config.js b/dist/firenze.full.config.js
index <HASH>..<HASH> 100644
--- a/dist/firenze.full.config.js
+++ b/dist/firenze.full.config.js
@@ -1,7 +1,7 @@
var filename = __filename.split('/').pop().replace(/\.config\.js/, '.js');
module.exports = {
- entry: __dirname + '/../lib',
+ ent... | update webpack config for dists. | fahad19_firenze | train | js |
45a0eefecf3cfda76be0836ab7554f58abb6ea23 | diff --git a/samcli/__init__.py b/samcli/__init__.py
index <HASH>..<HASH> 100644
--- a/samcli/__init__.py
+++ b/samcli/__init__.py
@@ -2,4 +2,4 @@
SAM CLI version
"""
-__version__ = "0.47.0"
+__version__ = "0.48.0" | chore: version to <I> (#<I>)
Why is this change necessary?
* Needed for new release | awslabs_aws-sam-cli | train | py |
9c31686f3fa25719b95a62fcc08beb2afa5b4790 | diff --git a/dom/create.js b/dom/create.js
index <HASH>..<HASH> 100644
--- a/dom/create.js
+++ b/dom/create.js
@@ -3,11 +3,8 @@ var each = require('../each'),
module.exports = function create(tag, properties, doc) {
var element = (doc || document).createElement(tag)
- each(properties, function(val, key) {
- if... | better property key special handling for innerHTML and style in create | marcuswestin_std.js | train | js |
f6ba969114cf621b3f631f8163439211806a21f9 | diff --git a/liberty-maven-plugin/src/it/dev-it/src/test/java/net/wasdev/wlp/test/dev/it/DevTest.java b/liberty-maven-plugin/src/it/dev-it/src/test/java/net/wasdev/wlp/test/dev/it/DevTest.java
index <HASH>..<HASH> 100644
--- a/liberty-maven-plugin/src/it/dev-it/src/test/java/net/wasdev/wlp/test/dev/it/DevTest.java
+++ ... | Greatly increase the time for install features to download the features pulled in by batch-<I>. | WASdev_ci.maven | train | java |
8404389a31ae8b737a016d70fda344890c0cd0dd | diff --git a/script/upload.py b/script/upload.py
index <HASH>..<HASH> 100755
--- a/script/upload.py
+++ b/script/upload.py
@@ -51,7 +51,7 @@ def main():
release_id = create_or_get_release_draft(github, args.version)
upload_atom_shell(github, release_id, os.path.join(DIST_DIR, DIST_NAME))
upload_atom_shell(gith... | Rename no-publish-release to publish-release. | electron_electron | train | py |
beb1a013db3b31498f479854c9bbfe6fc4a9b98f | diff --git a/api/tasks.go b/api/tasks.go
index <HASH>..<HASH> 100644
--- a/api/tasks.go
+++ b/api/tasks.go
@@ -103,6 +103,9 @@ type ReschedulePolicy struct {
}
func (r *ReschedulePolicy) Merge(rp *ReschedulePolicy) {
+ if rp == nil {
+ return
+ }
if rp.Interval != nil {
r.Interval = rp.Interval
}
@@ -432,7 ... | Always merge with default reschedule policy if its not nil | hashicorp_nomad | train | go |
1edcb92bc7ff24c3332fad4cc1c603a02d83242b | diff --git a/piwik/indico_piwik/__init__.py b/piwik/indico_piwik/__init__.py
index <HASH>..<HASH> 100644
--- a/piwik/indico_piwik/__init__.py
+++ b/piwik/indico_piwik/__init__.py
@@ -32,10 +32,9 @@ from .queries.tracking import PiwikQueryTrackDownload
class PiwikPlugin(IndicoPlugin):
- """Piwik statistics plugi... | Remove redundancy from the plugin title/description | indico_indico-plugins | train | py |
5a5354a39b7b30dd7ac15ad70b660ce3ec85622d | diff --git a/packages/base.js b/packages/base.js
index <HASH>..<HASH> 100644
--- a/packages/base.js
+++ b/packages/base.js
@@ -60,18 +60,14 @@ exports.Class = function(parent, proto) {
var cls = function() { if (this.init) { return this.init.apply(this, arguments); }},
supr = parent ? function(context, method, ... | add references in the class prototypes to parent classes for traversing up a constructor | gameclosure_js.io | train | js |
c5aff4ad15147cb09fe5fb0074a35a3d2b070b7d | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -109,7 +109,7 @@ SettingsFile.prototype.set = function (contents, cb) {
return cb(err);
}
- _.assign(fileContents.global, contents);
+ _.merge(fileContents.global, contents);
self._wr... | Fixed set to use merge and not assign | nachos_settings-file | train | js |
1b8955fabf4cc091e3ebb538f4d7e5a493c377c7 | diff --git a/src/PHPoole.php b/src/PHPoole.php
index <HASH>..<HASH> 100644
--- a/src/PHPoole.php
+++ b/src/PHPoole.php
@@ -753,7 +753,7 @@ class PHPoole implements EventsCapableInterface
* Render a page.
*
* @param Page $page
- * @param $dir
+ * @param string $dir
*
* @throws \Exce... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | Cecilapp_PHPoole | train | php |
e52512cedbd72a0be48c2a02ea30753fb964c854 | diff --git a/test/unit/utils-tests.js b/test/unit/utils-tests.js
index <HASH>..<HASH> 100644
--- a/test/unit/utils-tests.js
+++ b/test/unit/utils-tests.js
@@ -127,8 +127,8 @@ test('prepareValue: date array prepared properly', function() {
});
test('prepareValue: buffer array prepared properly', function() {
- var ... | Adjust the test for arrays of buffers to work across all node versions. | brianc_node-postgres | train | js |
fd9862b2d88cabcda67e669ec43c61a66723f3cf | diff --git a/link.py b/link.py
index <HASH>..<HASH> 100644
--- a/link.py
+++ b/link.py
@@ -1,5 +1,4 @@
import re
-import controller
from markdown import convert
import importlib | Remove explicit import of controller in link.py | albert12132_templar | train | py |
6f8ee6677a042d53d9251ecf7b1c7431c23d2416 | diff --git a/api-put-object.go b/api-put-object.go
index <HASH>..<HASH> 100644
--- a/api-put-object.go
+++ b/api-put-object.go
@@ -28,7 +28,7 @@ import (
"github.com/minio/minio-go/pkg/encrypt"
"github.com/minio/minio-go/pkg/s3utils"
- "golang.org/x/net/lex/httplex"
+ "golang.org/x/net/http/httpguts"
)
// Put... | Change import httplex to httpguts. (#<I>) | minio_minio-go | train | go |
239bf39960840998f269d51df33b186e0d7f6543 | diff --git a/lib/discordrb/events/generic.rb b/lib/discordrb/events/generic.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/events/generic.rb
+++ b/lib/discordrb/events/generic.rb
@@ -57,7 +57,7 @@ module Discordrb::Events
end
end
- # Event handler that matches all events
+ # Event handler that matches a... | Add some more information on TrueEventHandler | meew0_discordrb | train | rb |
49963f91f2dce9b7c3e32fda3d2eb81843cc4ecc | diff --git a/trafaret/__init__.py b/trafaret/__init__.py
index <HASH>..<HASH> 100644
--- a/trafaret/__init__.py
+++ b/trafaret/__init__.py
@@ -1516,7 +1516,10 @@ def guard(trafaret=None, **kwargs):
trafaret = Dict(**kwargs)
def wrapper(fn):
- argspec = inspect.getargspec(fn)
+ if py3:
+ ... | guard: support keyword-only and annotated functions (Py3) | Deepwalker_trafaret | train | py |
d92762bbeb3d096ae7f98e87e5b8de7a04988d46 | diff --git a/compiler/util.py b/compiler/util.py
index <HASH>..<HASH> 100644
--- a/compiler/util.py
+++ b/compiler/util.py
@@ -31,8 +31,7 @@ _ESCAPES = {'\t': r'\t', '\r': r'\r', '\n': r'\n', '"': r'\"', '\\': r'\\'}
# This is the max length of a direct allocation tuple supported by the runtime.
-# This should mat... | Fix inaccurate comment. (#<I>) | google_grumpy | train | py |
515b0ea08d1d39bbc4c1846d1d6988cc9ab6c6b6 | diff --git a/src/Application/Modules/Admin/Controllers/Traits/AuthenticationTrait.php b/src/Application/Modules/Admin/Controllers/Traits/AuthenticationTrait.php
index <HASH>..<HASH> 100644
--- a/src/Application/Modules/Admin/Controllers/Traits/AuthenticationTrait.php
+++ b/src/Application/Modules/Admin/Controllers/Trai... | fix reference to Admin in authenticated TraitController | bytic_Common | train | php,php |
c5d5d4d35b359e819acaffb8e0b0ac8a74348217 | diff --git a/android/app/src/main/java/com/reactnativenavigation/screens/Screen.java b/android/app/src/main/java/com/reactnativenavigation/screens/Screen.java
index <HASH>..<HASH> 100644
--- a/android/app/src/main/java/com/reactnativenavigation/screens/Screen.java
+++ b/android/app/src/main/java/com/reactnativenavigati... | Set LeftButton color from screen (#<I>) | wix_react-native-navigation | train | java |
f9c4f8467473d0d9e4e64ef39a0fbf2c1da5833c | diff --git a/src/main/java/org/killbill/billing/client/model/PhasePriceOverride.java b/src/main/java/org/killbill/billing/client/model/PhasePriceOverride.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/killbill/billing/client/model/PhasePriceOverride.java
+++ b/src/main/java/org/killbill/billing/client/model/P... | Fix equals method for PhasePriceOverride Resource | killbill_killbill-client-java | train | java |
19812428d36460ce108bc224758d96059954eaf2 | diff --git a/account-management-app/src/main/java/org/duracloud/account/util/StorageProviderTypeUtil.java b/account-management-app/src/main/java/org/duracloud/account/util/StorageProviderTypeUtil.java
index <HASH>..<HASH> 100644
--- a/account-management-app/src/main/java/org/duracloud/account/util/StorageProviderTypeUt... | This update resolves issue #<I> specified in <URL> | duracloud_management-console | train | java |
e7f55a24c42444b5b9995eb84821c2e55a0417cb | diff --git a/pcap.go b/pcap.go
index <HASH>..<HASH> 100644
--- a/pcap.go
+++ b/pcap.go
@@ -7,7 +7,6 @@ struct pcap { int dummy; };
*/
import "C";
import (
- "syscall";
"unsafe";
)
@@ -47,7 +46,7 @@ type Pcap struct {
}
type Packet struct {
- Time syscall.Timeval;
+ Time struct { Sec int32; Usec int32 };
C... | make gopcap work on <I> bit systems (patch by spennig) | akrennmair_gopcap | train | go |
87abfd307fc96ee0c091ad6f0aeb80d5187263d1 | diff --git a/salt/runners/state.py b/salt/runners/state.py
index <HASH>..<HASH> 100644
--- a/salt/runners/state.py
+++ b/salt/runners/state.py
@@ -46,9 +46,6 @@ def over(saltenv='base', os_fn=None):
'removed in Salt Boron. Please migrate to state.orchestrate.'
)
- print('The state.over ru... | Don't need the additional print, it will log to the CLI | saltstack_salt | train | py |
2f1e0c6be264878da2688e20102822a6ad803e01 | diff --git a/system/src/Grav/Common/Assets.php b/system/src/Grav/Common/Assets.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Assets.php
+++ b/system/src/Grav/Common/Assets.php
@@ -628,6 +628,10 @@ class Assets
function($matches) use ($relative_path) {
$old_url = $m... | Fix for data urls in CSS | getgrav_grav | train | php |
ee571e8e116cae68548b0f13d32e83926aeb92d8 | diff --git a/lib/sqlite-store.js b/lib/sqlite-store.js
index <HASH>..<HASH> 100755
--- a/lib/sqlite-store.js
+++ b/lib/sqlite-store.js
@@ -240,7 +240,7 @@ module.exports = function (options) {
if (q.sort$) {
for (var sf in q.sort$) break
- var sd = q.sort$[sf] < 0 ? 'ASC' : 'DESC'
+ var sd = q.s... | Fixed sorting error where list is sorted in descending order when ascending order is specified and vice versa | senecajs-labs_seneca-sqlite-store | train | js |
94ae8ffb36d0a7bbaf402573eff560da1997f84f | diff --git a/paramiko/channel.py b/paramiko/channel.py
index <HASH>..<HASH> 100644
--- a/paramiko/channel.py
+++ b/paramiko/channel.py
@@ -887,6 +887,12 @@ class Channel (ClosingContextManager):
"""
self.shutdown(1)
+ @property
+ def _closed(self):
+ # Concession to Python 3's socket AP... | Give Channel ._closed as alias to .closed.
Fixes #<I>. | paramiko_paramiko | train | py |
008f14c0e721824ba10847d074025bd862ba7cd5 | diff --git a/graphistry/vgraph.py b/graphistry/vgraph.py
index <HASH>..<HASH> 100644
--- a/graphistry/vgraph.py
+++ b/graphistry/vgraph.py
@@ -93,7 +93,7 @@ def storeValueVector(vg, df, col, dtype, target):
'datetime64[ns]': datetimeEncoder,
}
(vec, info) = encoders[dtype.name](vg, df[col], dtype)
- ... | Bugfix(etl2): Don't crash when column names are not string (such as integers) | graphistry_pygraphistry | train | py |
6a269dde07a3812e7560e85842d9fa4f59358ac5 | diff --git a/lib/discourse_api/api/topics.rb b/lib/discourse_api/api/topics.rb
index <HASH>..<HASH> 100644
--- a/lib/discourse_api/api/topics.rb
+++ b/lib/discourse_api/api/topics.rb
@@ -42,6 +42,18 @@ module DiscourseApi
def delete_topic(id)
delete("/t/#{id}.json")
end
+
+ def topic_posts(t... | fetch a group of posts that belong to a topic
Added new method for fetching a chunk of posts that belong to a topic.
Currently if you called `client.topic('topic_id')` you would only get
back ~<I> posts.
Now you can call `client.topic_posts('topic_id', post_ids)` to get all
the posts you specify in the `post_ids` ar... | discourse_discourse_api | train | rb |
94cf5319d63331e1550d8292bd10a3eacade589e | diff --git a/src/nicoSWD/Rules/Tokens/BaseToken.php b/src/nicoSWD/Rules/Tokens/BaseToken.php
index <HASH>..<HASH> 100644
--- a/src/nicoSWD/Rules/Tokens/BaseToken.php
+++ b/src/nicoSWD/Rules/Tokens/BaseToken.php
@@ -49,7 +49,7 @@ abstract class BaseToken
abstract public function getGroup();
/**
- * @retu... | Fix scrutinizer issue (return type) | nicoSWD_php-rule-parser | train | php |
f0e004ffa27e2d0e8b6cde4a1e669c75910c440a | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -32,11 +32,6 @@ extensions = [
'sphinx_issues',
]
-releases_unstable_prehistory = True
-releases_document_name = ["history"]
-releases_issue_uri = "https://github.com/tmux-python/libtmux/issues/%s"
-release... | build(docs): Remove settings leftover from sphinx-releases | tmux-python_libtmux | train | py |
5349ca09b735e16bea2c3ba3438804a499a0fc7d | diff --git a/views/default/page/components/interactions.js b/views/default/page/components/interactions.js
index <HASH>..<HASH> 100644
--- a/views/default/page/components/interactions.js
+++ b/views/default/page/components/interactions.js
@@ -108,9 +108,9 @@ define(function (require) {
$form.trigger('reset');
... | fix(js): fix form bugs | hypeJunction_hypeInteractions | train | js |
d03007cfcd87e6c0ad855a82cc4b583f8dcf534b | diff --git a/lib/sup/mode.rb b/lib/sup/mode.rb
index <HASH>..<HASH> 100644
--- a/lib/sup/mode.rb
+++ b/lib/sup/mode.rb
@@ -46,7 +46,7 @@ class Mode
end
def resolve_input c
- ancestors.each do |klass| # try all keymaps in order of ancestry
+ self.class.ancestors.each do |klass| # try all keymaps in order o... | ancestors are built in, now also checks Kernel and BasicObject for keymaps | sup-heliotrope_sup | train | rb,rb |
8f8f5eaf75e4dfdac9365ec18e87b42d5929c659 | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -44,4 +44,4 @@ function bootstrap() {
add_filter( 'wp_nav_menu', [ $cache, 'cache_menu' ], PHP_INT_MAX - 1, 2 );
}
-add_action( 'plugins_loaded', __NAMESPACE__ . '\\bootstrap' );
+add_action( 'plugins_loaded', __NAMES... | Bootstrap the plugin earlier. #5 | inpsyde_menu-cache | train | php |
bccc21de9e68bdbee210c11072aae26c76ffcf6a | diff --git a/lib/lifx/routing_manager.rb b/lib/lifx/routing_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/lifx/routing_manager.rb
+++ b/lib/lifx/routing_manager.rb
@@ -53,6 +53,7 @@ module LIFX
def tags_for_device_id(device_id)
entry = @routing_table.entry_for_device_id(device_id)
+ return [] if e... | It's possible there's no routing table for a device yet | LIFX_lifx-gem | train | rb |
d94e45f3d6eb85333a433ef8d0155e740411740d | diff --git a/starlette/authentication.py b/starlette/authentication.py
index <HASH>..<HASH> 100644
--- a/starlette/authentication.py
+++ b/starlette/authentication.py
@@ -62,7 +62,9 @@ def requires(
if not has_required_scope(request, scopes_list):
if redirect is not None:
- ... | Requires decorator redirects with <I> status_code instead of <I> #<I> (#<I>) | encode_starlette | train | py |
8ea508f79bc85714b75bb517a48ba7a17a50236b | diff --git a/file.go b/file.go
index <HASH>..<HASH> 100644
--- a/file.go
+++ b/file.go
@@ -207,9 +207,9 @@ func newBufferedSectionWriter(w io.WriterAt, begPos, maxBytes int64,
if ok {
buf, pos = req.buf, req.pos
if len(buf) > 0 {
- _, err = w.WriteAt(buf, pos)
+ nBytes, err := w.WriteAt(buf, pos)
... | MB-<I> - Improving the compaction related stats
Switching from an ever-increasing compaction stats to a
compaction cycle specific stats by reseting the stats
after every compaction
Moving back to ever increasing stat and some clean up
Change-Id: Iea<I>e<I>e9bcc<I>a4f<I>fad<I>bbb<I>c<I>a
Reviewed-on: <URL> | couchbase_moss | train | go |
b9ead472a55719c3e6fd295df9b165450c44642d | diff --git a/spec/api-ipc-spec.js b/spec/api-ipc-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-ipc-spec.js
+++ b/spec/api-ipc-spec.js
@@ -149,6 +149,13 @@ describe('ipc module', function () {
assert(!proto.hasOwnProperty('method'))
assert(Object.getPrototypeOf(proto).hasOwnProperty('method'))
})... | spec: Remote object should be referenced by methods in its prototype chain | electron_electron | train | js |
993a837639998bb82019eba021750a377b4724e6 | diff --git a/malcolm/modules/scanning/parts/shutterpart.py b/malcolm/modules/scanning/parts/shutterpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/scanning/parts/shutterpart.py
+++ b/malcolm/modules/scanning/parts/shutterpart.py
@@ -34,8 +34,8 @@ class ShutterPart(CAChoicePart):
config=True ... | ShutterPart: breaking up call to super line to reduce length | dls-controls_pymalcolm | train | py |
5b863ce4bb7a78187dc70e313886c377e6143182 | diff --git a/.rubocop-todo.yml b/.rubocop-todo.yml
index <HASH>..<HASH> 100644
--- a/.rubocop-todo.yml
+++ b/.rubocop-todo.yml
@@ -29,9 +29,6 @@ Documentation:
DotPosition:
Enabled: false
-EmptyLines:
- Enabled: false
-
Encoding:
Enabled: false
diff --git a/lib/pacto/rake_task.rb b/lib/pacto/rake_task.rb
i... | Fix problem with "Extra blank line detected" (#<I>) | thoughtworks_pacto | train | yml,rb,rb |
d6a5e85632245a6624dfc2fa99623697fc3cec2d | diff --git a/salt/modules/dockermod.py b/salt/modules/dockermod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/dockermod.py
+++ b/salt/modules/dockermod.py
@@ -3843,7 +3843,6 @@ def save(name,
if os.path.exists(path) and not overwrite:
raise CommandExecutionError('{0} already exists'.format(path))
- ... | Small cleanup to dockermod.save
Removes the call to get ``compression`` out of the kwargs dict as
``compression`` is already listed in the list of positional kwargs. | saltstack_salt | train | py |
378532a5b4a6ee40512c623f9cbb49dbdff5cd2c | diff --git a/test/functional/mirror_operations_test.rb b/test/functional/mirror_operations_test.rb
index <HASH>..<HASH> 100644
--- a/test/functional/mirror_operations_test.rb
+++ b/test/functional/mirror_operations_test.rb
@@ -71,12 +71,15 @@ class MirrorOperationsTest < ActionController::TestCase
rec = GlobalRe... | Slightly more stringent functional test | DavidMikeSimon_offroad | train | rb |
5934d66268102c87bcb8d050c926943cf80cddec | diff --git a/src/sos/step_executor.py b/src/sos/step_executor.py
index <HASH>..<HASH> 100755
--- a/src/sos/step_executor.py
+++ b/src/sos/step_executor.py
@@ -1730,6 +1730,7 @@ class Base_Step_Executor:
else:
return [str(x) for x in targets._targets if isinstance(x, file_ta... | Passing step_id to report | vatlab_SoS | train | py |
53023feefd5566643cb998800a6463cecfc77ac6 | diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js
index <HASH>..<HASH> 100644
--- a/js/bootstrap-select.js
+++ b/js/bootstrap-select.js
@@ -406,7 +406,7 @@
title = typeof this.options.title !== 'undefined' ? this.options.title : this.options.noneSelectedText;
}
- this.$button.attr('tit... | Run a trim on the title before setting the title attribute on the button
Fixes problems with strangely formatted title boxes. | snapappointments_bootstrap-select | train | js |
df93865477294e9dae360ab775c85792b302be52 | diff --git a/txtorcon/endpoints.py b/txtorcon/endpoints.py
index <HASH>..<HASH> 100644
--- a/txtorcon/endpoints.py
+++ b/txtorcon/endpoints.py
@@ -693,9 +693,16 @@ class TorClientEndpoint(object):
@defer.inlineCallbacks
def connect(self, protocolfactory):
last_error = None
+
+ kwargs = dict()
... | Define kwargs once before the conditional | meejah_txtorcon | train | py |
2893248404bc36cd523d6ee6a2b39fac2a909a9d | diff --git a/integration/experimental/v3_restart_app_instance_command_test.go b/integration/experimental/v3_restart_app_instance_command_test.go
index <HASH>..<HASH> 100644
--- a/integration/experimental/v3_restart_app_instance_command_test.go
+++ b/integration/experimental/v3_restart_app_instance_command_test.go
@@ -2... | fix bad integration test assertion
[#<I>] | cloudfoundry_cli | train | go |
d1b335da47cc3d95a7b9ea7795cb9877cb22cd79 | diff --git a/SoftLayer/CLI/__init__.py b/SoftLayer/CLI/__init__.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/__init__.py
+++ b/SoftLayer/CLI/__init__.py
@@ -177,7 +177,8 @@ def parse_primary_args(argv):
execute_action(module_name, None, client=None, args=args)
sys.exit(0)
- return module_na... | Fixes --format not being injected to 2nd Parser
CLI: The issue here is that both the first parser and second parser want the --format
option. This seems like a hack. I wish to come up with a way to handle
multidimensional argument parsing to allow for sub-commands. | softlayer_softlayer-python | train | py |
cab75b4bf047429e663b1823ad8c079c47d94338 | diff --git a/src/react-spring/index.js b/src/react-spring/index.js
index <HASH>..<HASH> 100644
--- a/src/react-spring/index.js
+++ b/src/react-spring/index.js
@@ -1,10 +1,9 @@
-import spring from '@react-spring/animated'
import { TYPES } from '../utils/element'
import { applyDefaultProps } from '../utils/props'
co... | Fix import of react-spring/animated in tests and build | inlet_react-pixi | train | js |
9ba04da008267009335e09a84d59f72448dd9d80 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,4 +1,4 @@
module Appsignal
- VERSION = '0.12.beta.6'
+ VERSION = '0.12.beta.7'
AGENT_VERSION = 'fc00f64'
end | Bump to <I>.beta<I> [ci skip] | appsignal_appsignal-ruby | train | rb |
6aa21815327f2fd034972dfba392da4b33f4ae70 | diff --git a/src/nu/validator/messages/MessageEmitterAdapter.java b/src/nu/validator/messages/MessageEmitterAdapter.java
index <HASH>..<HASH> 100644
--- a/src/nu/validator/messages/MessageEmitterAdapter.java
+++ b/src/nu/validator/messages/MessageEmitterAdapter.java
@@ -390,6 +390,8 @@ public class MessageEmitterAdapte... | Drop CSS row-gap and "align-content: start" errors
This change is a hack to work around the fact the CSS-checking backend
doesn’t yet have support for recognizing the CSS row-gap property
and the "start" value for the align-content property. So rather than
continuing to emit error messages for those (which is wrong, b... | validator_validator | train | java |
f107a4bc33ce9c07023e901cdab621921768225c | diff --git a/addrs/provider_config.go b/addrs/provider_config.go
index <HASH>..<HASH> 100644
--- a/addrs/provider_config.go
+++ b/addrs/provider_config.go
@@ -84,6 +84,11 @@ func (pc ProviderConfig) Absolute(module ModuleInstance) AbsProviderConfig {
}
func (pc ProviderConfig) String() string {
+ if pc.Type == "" {... | addrs: Generate special string for invalid ProviderConfig
The zero value of ProviderConfig is not a valid provider config address,
so we'll generate a special string for that in order to make that clear
in case one sneaks in somewhere. This can happen, for example, in the
core flow of resolving provider inheritance du... | hashicorp_terraform | train | go |
d67fef28d27b23baebc72ba268fd4b8d92596690 | diff --git a/unleash/plugins/docs.py b/unleash/plugins/docs.py
index <HASH>..<HASH> 100644
--- a/unleash/plugins/docs.py
+++ b/unleash/plugins/docs.py
@@ -58,6 +58,8 @@ def _get_doc_conf(ctx):
def _set_doc_version(ctx, version, version_short):
info = ctx['info']
conf = _get_doc_conf(ctx)
+ if not conf:
+ ... | Do not proceed with docs if no docs folder found. Otherwise, packages without documentation cannot be released. | mbr_unleash | train | py |
ff0ebc62fd7593ba933baa47b03622a5463a0a61 | diff --git a/lib/tdiff.rb b/lib/tdiff.rb
index <HASH>..<HASH> 100644
--- a/lib/tdiff.rb
+++ b/lib/tdiff.rb
@@ -115,14 +115,14 @@ module TDiff
# explicitly discard the c matrix
c = nil
- # recurse down through unchanged nodes
- unchanged.each { |x,y| x.tdiff(y,&block) }
- unchanged = nil
-
# se... | yield the changes before recursing. | postmodern_tdiff | train | rb |
6431622881deba607e3bdcb640c3e3817c0be0f0 | diff --git a/examples/reprojection.js b/examples/reprojection.js
index <HASH>..<HASH> 100644
--- a/examples/reprojection.js
+++ b/examples/reprojection.js
@@ -58,10 +58,9 @@ var layers = [];
layers['bng'] = new ol.layer.Tile({
source: new ol.source.XYZ({
projection: 'EPSG:27700',
- url: 'https://googledrive... | Use better URL for BNG tiles in reprojection example | openlayers_openlayers | train | js |
61beb8c5044af93fe6ea2a6431cc5cbed17e17ef | diff --git a/openapi_spec_validator/decorators.py b/openapi_spec_validator/decorators.py
index <HASH>..<HASH> 100644
--- a/openapi_spec_validator/decorators.py
+++ b/openapi_spec_validator/decorators.py
@@ -18,7 +18,8 @@ class DerefValidatorDecorator:
def __call__(self, func):
def wrapped(validator, sch... | A `$ref` may be a property name and in such cases it's not hashable
This is not a "proper fix" as the proper fix should check if `$ref`
is used as a name of the property, but this works for the purposes of #<I>
fixes #<I> | p1c2u_openapi-spec-validator | train | py |
aa5daa1b82261417fd858cb8519e6290c42e4f03 | diff --git a/python/ray/dataframe/groupby.py b/python/ray/dataframe/groupby.py
index <HASH>..<HASH> 100644
--- a/python/ray/dataframe/groupby.py
+++ b/python/ray/dataframe/groupby.py
@@ -62,6 +62,25 @@ class DataFrameGroupBy(object):
else:
self._grouped_partitions = [df._row_partitions]
... | fixing zero length partitions (#<I>)
fixing bugs to fully handle zero len parts
resolve comments
renaming imports
Add getattr to groupby
testing | ray-project_ray | train | py |
361fa68f5e907a3d580942822683d89b62979f25 | diff --git a/lib/sigh/developer_center.rb b/lib/sigh/developer_center.rb
index <HASH>..<HASH> 100644
--- a/lib/sigh/developer_center.rb
+++ b/lib/sigh/developer_center.rb
@@ -244,7 +244,16 @@ module Sigh
# 2) Select the App ID
while not page.has_content?"Select App ID" do sleep 1 end
# example: <op... | Show nice error message if app identifier could not be found | fastlane_fastlane | train | rb |
c77e3062bb0583e7a89bfdb393ce0bc6a98c30c0 | diff --git a/src/main/java/com/synopsys/integration/blackduck/service/ProjectService.java b/src/main/java/com/synopsys/integration/blackduck/service/ProjectService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/synopsys/integration/blackduck/service/ProjectService.java
+++ b/src/main/java/com/synopsys/integra... | adding new sync method to project service | blackducksoftware_blackduck-common | train | java |
a84b7ab3b102ed1c34b31e5c030c268af3049885 | diff --git a/src/joint.dia.paper.js b/src/joint.dia.paper.js
index <HASH>..<HASH> 100644
--- a/src/joint.dia.paper.js
+++ b/src/joint.dia.paper.js
@@ -1150,10 +1150,15 @@ joint.dia.Paper = joint.mvc.View.extend({
return this;
},
+ clearGrid: function() {
+
+ this.el.style.backgroundImage = 'no... | dia.Paper: expose clearGrid() method (#<I>) | clientIO_joint | train | js |
5dfcb8994d8894b14cf5300755821b334f95c92c | diff --git a/sort.go b/sort.go
index <HASH>..<HASH> 100644
--- a/sort.go
+++ b/sort.go
@@ -39,13 +39,12 @@ func (s *sorter) Push(val interface{}) {
s.sl = reflect.Append(s.sl, reflect.ValueOf(val))
}
-func Sort(sl interface{}, less interface{}) interface{} {
+func SortSlice(sl interface{}, less interface{}) {
so... | Rename Sort->SortSlice, and don't return the slice | anacrolix_missinggo | train | go |
90984b6611dd48676760983debf9077e9af74dc9 | diff --git a/lib/amazon_auth/client.rb b/lib/amazon_auth/client.rb
index <HASH>..<HASH> 100644
--- a/lib/amazon_auth/client.rb
+++ b/lib/amazon_auth/client.rb
@@ -44,12 +44,15 @@ module AmazonAuth
end
def retry_signin_form_with_image_recognition
+ return true unless session.has_selector?('#signInSubmit... | Improve the experience with captcha image | kyamaguchi_amazon_auth | train | rb |
33aee0a7de6ad50ee6cb0fe05c49bb81bdcafac1 | diff --git a/src/PatternLab/Watcher.php b/src/PatternLab/Watcher.php
index <HASH>..<HASH> 100644
--- a/src/PatternLab/Watcher.php
+++ b/src/PatternLab/Watcher.php
@@ -195,7 +195,7 @@ class Watcher extends Builder {
if (($fileName[0] != "_") && (!in_array($object->getExtension(),$ignoreExts)) && (!in_array($object... | setting the correct class for ignoreDir method | pattern-lab_patternlab-php-core | train | php |
24bb7936f972dcc11fd01f37d14129e528181648 | diff --git a/config-annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/WebClassesFinder.java b/config-annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/WebClassesFinder.java
index <HASH>..<HASH> 100644
--- a/config-annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/WebCl... | Fixed NPE that appears when running Arquillian tests on embedded Jetty | ocpsoft_rewrite | train | java |
0a942a9b76c76c2618a5522fe67fdf319dd7d9d6 | diff --git a/tests/parser/syntax/test_code_size.py b/tests/parser/syntax/test_code_size.py
index <HASH>..<HASH> 100644
--- a/tests/parser/syntax/test_code_size.py
+++ b/tests/parser/syntax/test_code_size.py
@@ -23,10 +23,15 @@ def test_block_fail(bad_code):
valid_list = [
"""
@external
-def foo() -> int128:
+def... | test: update address.codesize tests | ethereum_vyper | train | py |
daffd87200a0be5cfd67692356a7d391f978b9a6 | diff --git a/lib/vagrant/plugin/v2/trigger.rb b/lib/vagrant/plugin/v2/trigger.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/plugin/v2/trigger.rb
+++ b/lib/vagrant/plugin/v2/trigger.rb
@@ -81,7 +81,7 @@ module Vagrant
match = false
if trigger.only_on
trigger.only_on.each do |o... | Use match over match? for Ruby <I> | hashicorp_vagrant | train | rb |
578fe1569d4182889abf3997815a3f383bf53538 | diff --git a/httprunner/client.py b/httprunner/client.py
index <HASH>..<HASH> 100644
--- a/httprunner/client.py
+++ b/httprunner/client.py
@@ -169,6 +169,8 @@ class HttpSession(requests.Session):
:param cert: (optional)
if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair... | each teststeps in one testcase share the same session. | HttpRunner_HttpRunner | train | py,py |
e95a01a94a8be0d327e3e9a837671913d9b064e7 | diff --git a/test/integration/10-cluster-broker-dynamic.js b/test/integration/10-cluster-broker-dynamic.js
index <HASH>..<HASH> 100644
--- a/test/integration/10-cluster-broker-dynamic.js
+++ b/test/integration/10-cluster-broker-dynamic.js
@@ -226,7 +226,7 @@ describe(require('../_lib/test-helper').testName(__filename, ... | test: removed only from test <I> | happner_happner-cluster | train | js |
e203d41944d9bbdc5a284f88c606424513bf2d70 | diff --git a/test/read_test.py b/test/read_test.py
index <HASH>..<HASH> 100644
--- a/test/read_test.py
+++ b/test/read_test.py
@@ -124,4 +124,29 @@ async def test_streaming_read(event_loop):
assert events_read == 3
+@pytest.mark.asyncio
+async def test_async_comprehension(event_loop):
+
+
+ async def em... | added test for async generators | madedotcom_photon-pump | train | py |
01efbac5a3e3fd9256546c886593c4611595940a | diff --git a/dvc/scm.py b/dvc/scm.py
index <HASH>..<HASH> 100644
--- a/dvc/scm.py
+++ b/dvc/scm.py
@@ -45,6 +45,10 @@ class Base(object):
pass
def brancher(self, branches=None, all_branches=False):
+ if not branches and not all_branches:
+ yield ''
+ return
+
saved ... | brancher: don't checkout if no branches is specified | iterative_dvc | train | py |
b2c2c74e8cacf9ebe1a62ed918e4b831a45ed76b | diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/TP.java
+++ b/src/org/jgroups/protocols/TP.java
@@ -47,7 +47,7 @@ import java.util.concurrent.locks.ReentrantLock;
* The {@link #receive(Address, byte[], int, int)} method mus... | allow core thread in the default and OOB pools to time out | belaban_JGroups | train | java |
55bb85f7fdb619138c0a9d0bc3234bcf4bf20037 | diff --git a/spec/main-spec.js b/spec/main-spec.js
index <HASH>..<HASH> 100644
--- a/spec/main-spec.js
+++ b/spec/main-spec.js
@@ -28,4 +28,34 @@ describe('Promisify', function() {
})
})
})
+ it('works when Array.from is available', function() {
+ const _ = Array.from
+ Array.from = function(array... | :new: Add specs for both envs | steelbrain_promisify | train | js |
60b3a96cea4a07e2084567f2a0a657aebf4860da | diff --git a/lib/perpetuity/postgres/table/attribute.rb b/lib/perpetuity/postgres/table/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/postgres/table/attribute.rb
+++ b/lib/perpetuity/postgres/table/attribute.rb
@@ -1,3 +1,5 @@
+require "bigdecimal"
+
module Perpetuity
class Postgres
class Table | Require bigdecimal library to avoid undefined constant error | jgaskins_perpetuity-postgres | train | rb |
cec447212e398b9a4df8b2aab817b7961b383cfa | diff --git a/src/ObjectManager.php b/src/ObjectManager.php
index <HASH>..<HASH> 100755
--- a/src/ObjectManager.php
+++ b/src/ObjectManager.php
@@ -66,6 +66,7 @@ class ObjectManager
if (isset($this->objectsRepository[$oid])) {
$repository = $this->objectsRepository[$oid];
$data = $repo... | Fix clear of repository on unpersist | JoffreyPoreeCoding_MongoDB-ODM | train | php |
2ceef0f07c6529696eea6551ea7f87f77776662d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='trezor',
- version='0.5.3',
+ version='0.5.4',
author='Bitcoin TREZOR',
author_email='info@bitcointrezor.com',
description='Python library for... | pin protobuf dependency to <I> | trezor_python-trezor | train | py |
58fe557a9fe1723f5990f45379ea2d573f24ebbc | diff --git a/terraform/context_import_test.go b/terraform/context_import_test.go
index <HASH>..<HASH> 100644
--- a/terraform/context_import_test.go
+++ b/terraform/context_import_test.go
@@ -39,6 +39,33 @@ func TestContextImport_basic(t *testing.T) {
}
}
+func TestContextImport_missingType(t *testing.T) {
+ p := t... | terraform: test that missing type results in error on import | hashicorp_terraform | train | go |
fec84460bcbff9fdebd68341b2b389b20a781fa4 | diff --git a/src/Patchwork/Controller/FrontController.php b/src/Patchwork/Controller/FrontController.php
index <HASH>..<HASH> 100644
--- a/src/Patchwork/Controller/FrontController.php
+++ b/src/Patchwork/Controller/FrontController.php
@@ -43,7 +43,7 @@ class FrontController extends AbstractController
funct... | got rid of native request uri check | neemzy_patchwork-core | train | php |
d77c8738505bc2234f5fcb24b0a66283072f6c79 | diff --git a/pyspider/database/mongodb/taskdb.py b/pyspider/database/mongodb/taskdb.py
index <HASH>..<HASH> 100644
--- a/pyspider/database/mongodb/taskdb.py
+++ b/pyspider/database/mongodb/taskdb.py
@@ -86,10 +86,10 @@ class TaskDB(SplitTableMixin, BaseTaskDB):
}
}])
result = {}
- ... | fix aggregate for pymongo | binux_pyspider | train | py |
9abcec51128f3eeb2579741612b0a11defb3b28c | diff --git a/core/src/jlibs/core/util/i18n/I18N.java b/core/src/jlibs/core/util/i18n/I18N.java
index <HASH>..<HASH> 100644
--- a/core/src/jlibs/core/util/i18n/I18N.java
+++ b/core/src/jlibs/core/util/i18n/I18N.java
@@ -22,7 +22,7 @@ import jlibs.core.lang.model.ModelUtil;
*/
public class I18N{
@SuppressWarnings... | changed newInstance() to getImplementation() | santhosh-tekuri_jlibs | train | java |
df20f4f704a3803e7711c82bacd4d119ed2809a3 | diff --git a/src/jquery.slotmachine.js b/src/jquery.slotmachine.js
index <HASH>..<HASH> 100644
--- a/src/jquery.slotmachine.js
+++ b/src/jquery.slotmachine.js
@@ -422,7 +422,7 @@
*/
function _isVisible(){
if(self.settings.stopHidden === false){
- return false;
+ return true;
}
//Stop animation i... | Fixing bug with stopHidden option.
The logic around the 'stopHidden' option was reversed — if stopHidden is false, we don't want it to stop when it's hidden, thus _isVisible() should return true even though it's not, since we want the animation to continue. It's a bit confusing semantically, which could be improved by... | josex2r_jQuery-SlotMachine | train | js |
2a6db12efe0bafdc804e140f09132227b2d16416 | diff --git a/lib/mongoid/contextual/mongo.rb b/lib/mongoid/contextual/mongo.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/contextual/mongo.rb
+++ b/lib/mongoid/contextual/mongo.rb
@@ -337,7 +337,7 @@ module Mongoid
# @since 3.1.0
def pluck(field)
normalized = klass.database_field_name(field)
-... | dup the query so the existing query is not modified | mongodb_mongoid | train | rb |
e19f676e937d968480e845df0292bc0a202df3c7 | diff --git a/bika/lims/content/bikasetup.py b/bika/lims/content/bikasetup.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/bikasetup.py
+++ b/bika/lims/content/bikasetup.py
@@ -24,7 +24,7 @@ class PrefixesField(RecordsField):
'prefix': 'Prefix',
'padding': '... | Allow Prefixes to be edited. | senaite_senaite.core | train | py |
eb8b1f8c7f883be7cf70a8a3027f7e0c6aa05a1d | diff --git a/src/Exception/ConnectionException.php b/src/Exception/ConnectionException.php
index <HASH>..<HASH> 100644
--- a/src/Exception/ConnectionException.php
+++ b/src/Exception/ConnectionException.php
@@ -2,4 +2,4 @@
namespace PHPFastCGI\FastCGIDaemon\Exception;
-class ConnectionException extends \Exception ... | Extended RuntimeException rather than Exception | PHPFastCGI_FastCGIDaemon | train | php,php |
0b10f94a0663185a4bfdaae65d73e4977bca65a0 | diff --git a/oidc_provider/models.py b/oidc_provider/models.py
index <HASH>..<HASH> 100644
--- a/oidc_provider/models.py
+++ b/oidc_provider/models.py
@@ -90,6 +90,11 @@ class UserInfo(models.Model):
family_name = models.CharField(max_length=255, blank=True, null=True)
middle_name = models.CharField(max_lengt... | Adding removed fields that are required by the specs | juanifioren_django-oidc-provider | train | py |
323b1aed6055a6ecfb12ab17a861253ff5c8bd43 | diff --git a/library/client.js b/library/client.js
index <HASH>..<HASH> 100644
--- a/library/client.js
+++ b/library/client.js
@@ -961,10 +961,19 @@ for(var methodName in databaseMethods) {
client.prototype[methodName]=databaseMethods[methodName];
}
-var twitchMethods = require('./api/twitch');
-for(var methodN... | Load api and utils directories. | twitch-irc_twitch-irc | train | js |
18b0dde7e13b2ffed86fc7a4b0012965adcd5f43 | diff --git a/lib/appy.js b/lib/appy.js
index <HASH>..<HASH> 100644
--- a/lib/appy.js
+++ b/lib/appy.js
@@ -58,9 +58,13 @@ module.exports = function(self) {
// of req and res to be able to do i18n magic
passReq: true,
// Set the redirect for after login passing req.user from Appy l.~208
- ... | redirect option takes req, callback | apostrophecms_apostrophe | train | js |
fe4aef8198c057836c4826608d80d368f4c6e141 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setup(
'tqdm',
'array_split',
'pytrax',
- 'pyevtk',
+# 'pyevtk',
'numba',
... | removing pyevtk from setup temporarily | PMEAL_porespy | train | py |
284b923a6aca55ffdc199a439acabd25c6715a61 | diff --git a/test/phantom-test.js b/test/phantom-test.js
index <HASH>..<HASH> 100644
--- a/test/phantom-test.js
+++ b/test/phantom-test.js
@@ -13,7 +13,7 @@ var run = require('./fixture/run');
describe('phantom', function () {
- this.timeout(3000);
+ this.timeout(5000);
it('passes', function (done) {
... | Increase timeout for travis builds | mantoni_mochify.js | train | js |
0d5302dddcb9b1ba9f6a61efb43e3e79e25e3a53 | diff --git a/src/sap.m/src/sap/m/Token.js b/src/sap.m/src/sap/m/Token.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/Token.js
+++ b/src/sap.m/src/sap/m/Token.js
@@ -129,8 +129,11 @@ sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control'],
*/
Token.prototype.ontouchstart = function(oEvent)... | [FIX] sap.m.Token: token delete in combi device is fixed
Change-Id: I9de3bb<I>d5de7f9ec<I>f<I>b<I>e<I>d0af1
BCP: <I> | SAP_openui5 | train | js |
c1acf89cdf88f0de57b2a148f0f909603873cdcc | diff --git a/hypervisor/vm.go b/hypervisor/vm.go
index <HASH>..<HASH> 100644
--- a/hypervisor/vm.go
+++ b/hypervisor/vm.go
@@ -645,11 +645,13 @@ func (vm *Vm) Stats() *types.PodStats {
ctx := vm.ctx
if ctx.current != StateRunning {
+ vm.ctx.Log(WARNING, "could not get stats from non-running pod")
return nil
... | print log if get vm stats failed | hyperhq_runv | train | go |
0f8bfe2dcaa79b2657fdddd2d38907f40467cd64 | diff --git a/src/message.js b/src/message.js
index <HASH>..<HASH> 100644
--- a/src/message.js
+++ b/src/message.js
@@ -240,19 +240,19 @@ Message.prototype.encrypt = function(keys, passwords) {
* @param {(Array<String>|String)} password(s) for message encryption
* @return {Array<module:message~Message>} new message... | Rename keys to publicKeys in message.encrypt() | openpgpjs_openpgpjs | train | js |
cd55d6e0e27387b90961f983266472aa9f8b8155 | diff --git a/src/BoomCMS/Database/Models/URL.php b/src/BoomCMS/Database/Models/URL.php
index <HASH>..<HASH> 100644
--- a/src/BoomCMS/Database/Models/URL.php
+++ b/src/BoomCMS/Database/Models/URL.php
@@ -71,7 +71,7 @@ class URL extends Model implements URLInterface
public function getPage()
{
if ($thi... | Bugfix: URL::getPage() needs to return trashed pages for moving a URL to work | boomcms_boom-core | train | php,php |
e76dc30ddb8120d78f8c1586984953b4b32c5e33 | diff --git a/src/wordcloud2.js b/src/wordcloud2.js
index <HASH>..<HASH> 100644
--- a/src/wordcloud2.js
+++ b/src/wordcloud2.js
@@ -544,7 +544,7 @@ if (!window.clearImmediate) {
};
/* Actually draw the text on the grid */
- var fillText = function fillText(gx, gy, info, word, weight,
+ var drawText = f... | fillText() -> drawText() | timdream_wordcloud2.js | train | js |
1355a069040dac21c408cdda61a5ef8d7fa6b3b3 | diff --git a/test/util.js b/test/util.js
index <HASH>..<HASH> 100644
--- a/test/util.js
+++ b/test/util.js
@@ -5,12 +5,10 @@ const chai = require('chai');
const assert = chai.assert;
function testRender(template, data, expected) {
- return done => {
+ return () =>
mustachio.string(template).render(data).string()... | Cleanup. Give promises directly to Mocha | maghoff_mustachio | train | js |
d8af9cd81afcfcd6904f60e9a669ec17470352a4 | diff --git a/trustroot.py b/trustroot.py
index <HASH>..<HASH> 100644
--- a/trustroot.py
+++ b/trustroot.py
@@ -214,6 +214,7 @@ def _test():
assertValid('http://*.b.foo.com', 'http://b.foo.com', True)
assertValid('http://*.b.foo.com', 'http://x.b.foo.com', True)
assertValid('http://*.bar.co.uk', 'http://w... | [project @ added a test to trustroot] | openid_python-openid | train | py |
159f85d413987d88730bffad7abfc5617d4721ab | diff --git a/src/Anonym/Bootstrap/AliasNotFoundException.php b/src/Anonym/Bootstrap/AliasNotFoundException.php
index <HASH>..<HASH> 100644
--- a/src/Anonym/Bootstrap/AliasNotFoundException.php
+++ b/src/Anonym/Bootstrap/AliasNotFoundException.php
@@ -15,6 +15,11 @@ use Exception;
class AliasNotFoundException extends E... | added comment lines to __construct method | AnonymPHP_Anonym-Library | train | php |
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.