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 |
|---|---|---|---|---|---|
d2ffe122fff415689a3056480a6955034fd76632 | diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ServiceProvider.php
+++ b/src/ServiceProvider.php
@@ -0,0 +1,31 @@
+<?php
+
+namespace Ageras\LaravelOneSky;
+
+use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;
+
+class ServiceProvider extends Illum... | Registering the artisan commands in the service provider | ageras-com_laravel-onesky | train | php |
20934d5d932ec8faff48ab262d8897385872f6d8 | diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/management/targettable/TargetTableLayout.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/management/targettable/TargetTableLayout.java
index <HASH>..<HASH> 100644
--- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/management/targettable/TargetTableL... | Removed usage of spring context helper | eclipse_hawkbit | train | java |
1d98d441b803bd279b1f1842a667850f91fdaa56 | diff --git a/modules/saml2debug/www/debug.php b/modules/saml2debug/www/debug.php
index <HASH>..<HASH> 100644
--- a/modules/saml2debug/www/debug.php
+++ b/modules/saml2debug/www/debug.php
@@ -20,7 +20,7 @@ function getValue($raw) {
if (array_key_exists('LogoutRequest', $arr)) return $arr['LogoutRequest'];
if (array_... | saml2debug: Don't treat '+' as urlencoded space.
A '+' in the SAMLRequest/Response is more likely to belong to the
base<I>-encoding than to represent a space. | simplesamlphp_saml2 | train | php |
645971db1d8ec1015ff170635023c7b677a598c6 | diff --git a/client/state/index.js b/client/state/index.js
index <HASH>..<HASH> 100644
--- a/client/state/index.js
+++ b/client/state/index.js
@@ -30,9 +30,6 @@ import support from './support/reducer';
import themes from './themes/reducer';
import ui from './ui/reducer';
import users from './users/reducer';
-import ... | Remove duplicate imports in client/state/index.js after bad merge | Automattic_wp-calypso | train | js |
67873552b0687d90884d278c8b1663a465c04d4b | diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py
index <HASH>..<HASH> 100644
--- a/hooks/post_gen_project.py
+++ b/hooks/post_gen_project.py
@@ -35,11 +35,12 @@ def get_random_string(length=50):
The default length of 12 with the a-z, A-Z, 0-9 character set returns
a 71-bit value. log_2((26+2... | Removed single and double quotes from punctuation used in random key | pydanny_cookiecutter-django | train | py |
f26e2b93a1ee67f7cfbcaf8ae90496c83e3e746e | diff --git a/src/actions/hits.js b/src/actions/hits.js
index <HASH>..<HASH> 100644
--- a/src/actions/hits.js
+++ b/src/actions/hits.js
@@ -1,5 +1,6 @@
import { UPDATE_HITS, UPDATE_AGGS, UPDATE_COMPOSITE_AGGS } from '../constants';
import { SET_QUERY_TO_HITS } from '../../lib/constants';
+import { setError } from './m... | feat: add support for errors in mocking | appbaseio_reactivecore | train | js |
e82d819f034616c856d41daba0e395934b34337c | diff --git a/salt/states/smartos.py b/salt/states/smartos.py
index <HASH>..<HASH> 100644
--- a/salt/states/smartos.py
+++ b/salt/states/smartos.py
@@ -319,7 +319,7 @@ def image_absent(name):
ret['result'] = True
else:
__salt__['imgadm.delete'](name)
- ret['r... | drop outer parens, not needed | saltstack_salt | train | py |
6b9efc6670c40cf6560a119bdb012d044982366c | diff --git a/bids/utils.py b/bids/utils.py
index <HASH>..<HASH> 100644
--- a/bids/utils.py
+++ b/bids/utils.py
@@ -10,4 +10,12 @@ def matches_entities(obj, entities, strict=False):
return False
comm_ents = list(set(obj.entities.keys()) & set(entities.keys()))
- return all([obj.entities[k] == entities... | match_entities takes lists nwo | bids-standard_pybids | train | py |
f60dc56d9120fee041daf553a628bd278bacb03c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -32,5 +32,9 @@ module.exports = function (opts) {
});
yield *next;
+
+ if (this.status == 302 && this.session && !(this.session[key])) {
+ this.session[key] = data;
+ }
};
}; | Enables flash messages to propagate across redirects | rickharrison_koa-flash | train | js |
fb67beb97bd6b65ab0a7ad15758d03b786deea38 | diff --git a/Kwf/Controller/Action/Maintenance/SetupController.php b/Kwf/Controller/Action/Maintenance/SetupController.php
index <HASH>..<HASH> 100644
--- a/Kwf/Controller/Action/Maintenance/SetupController.php
+++ b/Kwf/Controller/Action/Maintenance/SetupController.php
@@ -47,7 +47,6 @@ class Kwf_Controller_Action_Mai... | don't use progress dialog, that's fast enough | koala-framework_koala-framework | train | php,js |
54461e35828c4eb0957ac4675e35345fd3f5c885 | diff --git a/lib/components/base.js b/lib/components/base.js
index <HASH>..<HASH> 100644
--- a/lib/components/base.js
+++ b/lib/components/base.js
@@ -106,17 +106,24 @@ export class BaseComponent {
var self = this;
function merge(into, schemas) {
if (into.required || into.properties) {
- console... | Throw errors for incorrect or not-supported allOfs | Rebilly_ReDoc | train | js |
872d9364aba016f713174d95c279abefb236b7a6 | diff --git a/lib/blockchain.js b/lib/blockchain.js
index <HASH>..<HASH> 100644
--- a/lib/blockchain.js
+++ b/lib/blockchain.js
@@ -24,6 +24,7 @@ startChain = function(env) {
}
cmd += "--mine ";
+ cmd += "--maxpeers 0 ";
if (config.account.password !== void 0) {
cmd += "--password " + config.account.p... | No reason for peers with test
This made mine start to mine. (Would not start without it.) | embark-framework_embark | train | js |
cc59c20a84a00fb8d5547d0e221bfb6eb6695e46 | diff --git a/tests/functional/CreateCept.php b/tests/functional/CreateCept.php
index <HASH>..<HASH> 100644
--- a/tests/functional/CreateCept.php
+++ b/tests/functional/CreateCept.php
@@ -21,6 +21,4 @@ $I->see('Password cannot be blank.');
$page->create('toster', 'toster@example.com', 'toster');
$I->see('User has been... | little refactoring in create and update cepts | dektrium_yii2-user | train | php,php |
0d673763d1954fa24c8ed73d7d942b7e33ef1b12 | diff --git a/walk.go b/walk.go
index <HASH>..<HASH> 100644
--- a/walk.go
+++ b/walk.go
@@ -24,7 +24,7 @@ func (c *Client) walk(path string, walkFn filepath.WalkFunc) error {
err = walkFn(path, info, err)
if err != nil {
- if info.IsDir() && err == filepath.SkipDir {
+ if info != nil && info.IsDir() && err == fi... | info may be nil
info may be nil caused by network error or other errors | colinmarc_hdfs | train | go |
cbecf658230fedd8bb8135e24d3b9c522cbee341 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -245,8 +245,8 @@ on_saltstack = 'SALT_ON_SALTSTACK' in os.environ
project = 'Salt'
version = salt.version.__version__
-latest_release = '2017.7.0' # latest release
-previous_release = '2016.11.6' # latest rel... | [<I>] Bump latest and previous versions | saltstack_salt | train | py |
1753900f701888def49e74f646cd74ce753850fa | diff --git a/js/exx.js b/js/exx.js
index <HASH>..<HASH> 100644
--- a/js/exx.js
+++ b/js/exx.js
@@ -407,15 +407,13 @@ module.exports = class exx extends Exchange {
//
const code = this.safeString (response, 'code');
const message = this.safeString (response, 'message');
- const feedback... | exx throwExactlyMatchedException | ccxt_ccxt | train | js |
641520a68bb926594b7870e9310731907c087432 | diff --git a/master/buildbot/schedulers/timed.py b/master/buildbot/schedulers/timed.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/schedulers/timed.py
+++ b/master/buildbot/schedulers/timed.py
@@ -73,10 +73,6 @@ class Timed(base.BaseScheduler):
self.reason = util.ascii2unicode(reason % {'name': name})
... | Allow createAbsoluteSourceStamps without onlyIfChanged | buildbot_buildbot | train | py |
8ac10c1fc80c9241086e4b4854886d771a71e8a1 | diff --git a/salmon/apps/monitor/utils.py b/salmon/apps/monitor/utils.py
index <HASH>..<HASH> 100644
--- a/salmon/apps/monitor/utils.py
+++ b/salmon/apps/monitor/utils.py
@@ -10,7 +10,7 @@ def build_command(target, function, output='json'):
def check_failed(value, opts):
if isinstance(value, basestring):
- ... | Oops
Guess it's time to start adding tests | lincolnloop_salmon | train | py |
ae4ec97bc01db011b93ae57c1e978f0aad5bee2f | diff --git a/helios-system-tests/src/main/java/com/spotify/helios/system/RamdiskTest.java b/helios-system-tests/src/main/java/com/spotify/helios/system/RamdiskTest.java
index <HASH>..<HASH> 100644
--- a/helios-system-tests/src/main/java/com/spotify/helios/system/RamdiskTest.java
+++ b/helios-system-tests/src/main/java/... | Fix copy-pasta'd comment in test | spotify_helios | train | java |
8b5a05b921414164b09e2e6341d0983a48c06c88 | diff --git a/chartpress.py b/chartpress.py
index <HASH>..<HASH> 100755
--- a/chartpress.py
+++ b/chartpress.py
@@ -265,11 +265,11 @@ def _get_identifier(tag, n_commits, commit, long):
if "-" in tag:
# append a pre-release tag, with a . separator
# 0.1.2-alpha.1 -> 0.1.2-alpha.1.n.h
- ... | Add n and sha prefix to build info | jupyterhub_chartpress | train | py |
1e820485177e2490a0620c4227345df1b1cff1a4 | diff --git a/lib/travis/model/ssl_key.rb b/lib/travis/model/ssl_key.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/ssl_key.rb
+++ b/lib/travis/model/ssl_key.rb
@@ -35,7 +35,7 @@ class SslKey < Travis::Model
def generate_keys
unless public_key && private_key
- keys = OpenSSL::PKey::RSA.generate(204... | go all the way to <I> | travis-ci_travis-core | train | rb |
ce1923167f14fc9fc0142c669444f0c1a11636fc | diff --git a/dom/events/events.js b/dom/events/events.js
index <HASH>..<HASH> 100644
--- a/dom/events/events.js
+++ b/dom/events/events.js
@@ -30,10 +30,10 @@ module.exports = {
return (this.nodeName && (this.nodeType === 1 || this.nodeType === 9)) || this === window;
},
dispatch: function(event, args, bubbles){... | Prefer making events with ownerDocument (#<I>) | canjs_can-util | train | js |
74205e663f52e3cfc68ab41283633bc99bac9755 | diff --git a/tests/commands/thread_test.py b/tests/commands/thread_test.py
index <HASH>..<HASH> 100644
--- a/tests/commands/thread_test.py
+++ b/tests/commands/thread_test.py
@@ -13,10 +13,10 @@ from alot.commands import thread
class Test_ensure_unique_address(unittest.TestCase):
- foo = '"foo" <foo@example.com... | Fix test for ensure_unique_address with new quoting | pazz_alot | train | py |
99d968801aee8bf95b8b335dd379ae3431eada78 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -362,13 +362,12 @@ async.parallel(loadFixtures(csvFixtures), function (err) {
});
});
- test('should add a \\ to escape \\" when doubleQuotes is set to \\"', function(t){
+ test('should escape... | made test more generic based on more testing | zemirco_json2csv | train | js |
89b8b78980429b5f0eff62ee97637bf56a2dedfb | diff --git a/requesting.go b/requesting.go
index <HASH>..<HASH> 100644
--- a/requesting.go
+++ b/requesting.go
@@ -227,7 +227,7 @@ func (p *Peer) applyRequestState(next desiredRequestState) bool {
requestHeap := &next.Requests
t := p.t
heap.Init(requestHeap)
- for requestHeap.Len() != 0 && maxRequests(current.Req... | Include requests pending cancel in current request count
This fix a situation where peers might be dropping our requests, and since we depend on all requests being satisfied before re-requesting, we get stuck waiting for the request to be filled. | anacrolix_torrent | train | go |
79b2d816f541e69d5fb7f36a3c39fa0d432157a6 | diff --git a/wright/stage/c.py b/wright/stage/c.py
index <HASH>..<HASH> 100644
--- a/wright/stage/c.py
+++ b/wright/stage/c.py
@@ -62,7 +62,7 @@ int main() {
def __call__(self, name, headers=()):
source = self.source % (name,)
for header in headers:
- source = '#include <{}>\n'.format(... | c: pass headers in CheckDefine | tehmaze-labs_wright | train | py |
fb66ad1d07095751ecc17b7af458a6adc7549e72 | diff --git a/trie/ctrie/ctrie.go b/trie/ctrie/ctrie.go
index <HASH>..<HASH> 100644
--- a/trie/ctrie/ctrie.go
+++ b/trie/ctrie/ctrie.go
@@ -63,8 +63,10 @@ type Ctrie struct {
}
// generation demarcates Ctrie snapshots. We use a heap-allocated reference
-// instead of an integer to avoid integer overflows.
-type gene... | Add field to generation
In Go, two zero-sized structs can be placed in the same memory address. | Workiva_go-datastructures | train | go |
2065abaf09f316a812e836ebb2b8b919fb864dfa | diff --git a/test/modules/misc.js b/test/modules/misc.js
index <HASH>..<HASH> 100644
--- a/test/modules/misc.js
+++ b/test/modules/misc.js
@@ -1556,6 +1556,20 @@ define([ 'ractive' ], function ( Ractive ) {
t.equal( ractive.find( 'svg' ).getAttribute( 'viewBox' ), '0 0 100 100' );
});
+ test( 'Nested conditio... | add test case for conditional and computation behavior from #<I> | ractivejs_ractive | train | js |
72414940cc99185305e048dfcdbcddc0b758fa38 | diff --git a/go/test/endtoend/vtgate/lookup_test.go b/go/test/endtoend/vtgate/lookup_test.go
index <HASH>..<HASH> 100644
--- a/go/test/endtoend/vtgate/lookup_test.go
+++ b/go/test/endtoend/vtgate/lookup_test.go
@@ -161,7 +161,7 @@ func TestConsistentLookup(t *testing.T) {
if got, want := fmt.Sprintf("%v", qr.Rows), "... | use lookup vindex to delete the record | vitessio_vitess | train | go |
43e218c9690dd32268f6266ba0fe6705380b3605 | diff --git a/lib/OpenLayers/Popup/Anchored.js b/lib/OpenLayers/Popup/Anchored.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Popup/Anchored.js
+++ b/lib/OpenLayers/Popup/Anchored.js
@@ -33,13 +33,6 @@ OpenLayers.Popup.Anchored.prototype =
},
/**
- */
- destroy: function() {
- OpenLay... | no reason to override Popup's destroy() if nothing new is being destroyed
git-svn-id: <URL> | openlayers_openlayers | train | js |
6309ffd1b7c678568705f1cf0fb5e44ea0fb3c22 | diff --git a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
+++ b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
@@ -62,17 +62,14 @@ class Deb... | Use $this->iniSet() in tests | symfony_symfony | train | php |
2f4866b7047a72a435f18274b692902ced85e3b9 | diff --git a/angr/simos/javavm.py b/angr/simos/javavm.py
index <HASH>..<HASH> 100644
--- a/angr/simos/javavm.py
+++ b/angr/simos/javavm.py
@@ -16,6 +16,9 @@ class SimJavaVM(SimOS):
kwargs['arch'] = self.arch
if kwargs.get('os_name', None) is None:
kwargs['os_name'] = self.name
+ ... | SimJavaVM: pass project object to SimState constructor | angr_angr | train | py |
285ef0529961156f383a9099d8730b821b393429 | diff --git a/lib/stsci/tools/eparoption.py b/lib/stsci/tools/eparoption.py
index <HASH>..<HASH> 100644
--- a/lib/stsci/tools/eparoption.py
+++ b/lib/stsci/tools/eparoption.py
@@ -113,8 +113,10 @@ class EparOption(object):
self.inputLabel.pack(side = LEFT, fill = X, expand = TRUE)
# Get the prompt st... | for a small part of #<I>; disable use of user-edited prompt/description fields, and thus will not color them red to signify that
git-svn-id: <URL> | spacetelescope_stsci.tools | train | py |
c9a4098d66cf8646c3b4f06b241d0018b329eec9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,9 +25,10 @@ long_description = 'FIXME stub: refer to https://github.com/netheosgithub/pcs_ap
setup(
- name='pcs_api',
+ name='pcs-api',
version=metadata['version'],
url='https://github.com/netheosgithu... | setup.py: renamed (underscore not allowed in a pypi distribution) | netheosgithub_pcs_api | train | py |
838fe38f48d7da28f6c1fa7c9c55018e52eb8e46 | diff --git a/lib/core/polling/tests/polling-spec.js b/lib/core/polling/tests/polling-spec.js
index <HASH>..<HASH> 100644
--- a/lib/core/polling/tests/polling-spec.js
+++ b/lib/core/polling/tests/polling-spec.js
@@ -1,4 +1,4 @@
-/*global inject, beforeEach, expect, module, angular, spyOn*/
+/*global inject, describe, it... | linter fixes for polling spec | Availity_availity-angular | train | js |
06651fd28b57a603fa9a0bfaa7687ef5e29b9ceb | diff --git a/src/main/java/org/jboss/pressgang/ccms/contentspec/ContentSpec.java b/src/main/java/org/jboss/pressgang/ccms/contentspec/ContentSpec.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/contentspec/ContentSpec.java
+++ b/src/main/java/org/jboss/pressgang/ccms/contentspec/ContentSpe... | Added a way to get the FileList object. | pressgang-ccms_PressGangCCMSContentSpec | train | java |
6b8c6b3fe9eb1cb80e9ef6d414e6fe5d44314857 | diff --git a/commands.go b/commands.go
index <HASH>..<HASH> 100644
--- a/commands.go
+++ b/commands.go
@@ -273,6 +273,13 @@ func (c *cmdable) Ping() *StatusCmd {
return cmd
}
+func (c *cmdable) Wait(numSlaves int, timeout time.Duration) *IntCmd {
+
+ cmd := NewIntCmd("wait", numSlaves, int(timeout/time.Second))
+ ... | Added implementation for WAIT command
Reference: <URL> | go-redis_redis | train | go,go |
40df4aad14cca76d0572b22b8c9d564a2bc5f695 | diff --git a/fsnotify_bsd.go b/fsnotify_bsd.go
index <HASH>..<HASH> 100644
--- a/fsnotify_bsd.go
+++ b/fsnotify_bsd.go
@@ -385,9 +385,8 @@ func (w *Watcher) watchDirectoryFiles(dirPath string) error {
// Inherit fsnFlags from parent directory
w.fsnmut.Lock()
- dirFsnFlags, dirFsnFound := w.fsnFlags[dirPath]
- ... | If statements on map results more idiomatic. | fsnotify_fsnotify | train | go |
990af5ee793a6383a49055794e855ed61997e91f | diff --git a/pywb/rewrite/test/test_rewrite_live.py b/pywb/rewrite/test/test_rewrite_live.py
index <HASH>..<HASH> 100644
--- a/pywb/rewrite/test/test_rewrite_live.py
+++ b/pywb/rewrite/test/test_rewrite_live.py
@@ -174,6 +174,19 @@ def test_local_2_no_rewrite():
# still link rewrite in HTML
assert '"/pywb/201... | rewrite: add extra test for rewriting html with <script> tag that's never closed | webrecorder_pywb | train | py |
658f76ec5ccf3eec29ecfbc9fa1680356fd7b55c | diff --git a/lib/classes/task/period/writemeta.php b/lib/classes/task/period/writemeta.php
index <HASH>..<HASH> 100644
--- a/lib/classes/task/period/writemeta.php
+++ b/lib/classes/task/period/writemeta.php
@@ -134,7 +134,7 @@ class task_period_writemeta extends task_databoxAbstract
{
... | #PHRAS-<I> #time <I>m
fix: task writemeta, mwg checkbox is saved | alchemy-fr_Phraseanet | train | php |
8191921c6f9b705984ad7dba375dbe798a9d73be | diff --git a/app/views/dashboard/incidents/add.blade.php b/app/views/dashboard/incidents/add.blade.php
index <HASH>..<HASH> 100644
--- a/app/views/dashboard/incidents/add.blade.php
+++ b/app/views/dashboard/incidents/add.blade.php
@@ -54,6 +54,7 @@
{{ trans('cachet.incidents.status')[4]... | Only show component picker if there are components to pick | CachetHQ_Cachet | train | php |
5b78601b4ab9edd3ceeb9328be320d22289a1c19 | diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/bitcoin/core/Wallet.java
+++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java
@@ -115,7 +115,7 @@ public class Wallet imple... | Wallet: make last seen block height default to zero not -1 | bitcoinj_bitcoinj | train | java |
8365d48c863cf06ccf1465cc0a161cefae29d69d | diff --git a/templates/trust.tpl.php b/templates/trust.tpl.php
index <HASH>..<HASH> 100644
--- a/templates/trust.tpl.php
+++ b/templates/trust.tpl.php
@@ -10,7 +10,7 @@ $params = array(
echo('<p>' . $this->t('{openidProvider:openidProvider:confirm_question}', $params) . '</p>');
?>
<form method="post" action="?">
-<... | openidProvider: Fix cross-site scripting.
If someone is able to perform a session fixation attack on the
openidProvider host, he can then make users execute scripts in that
domain.
git-svn-id: <URL> | simplesamlphp_simplesamlphp-module-openidprovider | train | php |
886ed1ccf38715dbae587ce6d6e736809bf73d4f | diff --git a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java
index <HASH>..<HASH> 100644
--- a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java
+++ b/check_api/src/main/java/com/google/errorprone/fix... | Handle diagnostics without source
In some cases, compiler diagnostics may not have an associated source,
and for testing whether suggested fixes compile these should be treated
as originating from the same compilation unit of the suggested fix.
Fixes #<I>
Fixes #<I>
COPYBARA_INTEGRATE_REVIEW=<URL> | google_error-prone | train | java |
c039ee0752db5ccf091358cd797bf521d677dded | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
from setuptools import setup
from codecs import open
from os import path | declare encoding in setup.py | regardscitoyens_anpy | train | py |
2847b2f0a649089478be8133a1cf7c8fdb590f53 | diff --git a/simulator/src/test/java/com/hazelcast/simulator/worker/tasks/AbstractAsyncWorkerTest.java b/simulator/src/test/java/com/hazelcast/simulator/worker/tasks/AbstractAsyncWorkerTest.java
index <HASH>..<HASH> 100644
--- a/simulator/src/test/java/com/hazelcast/simulator/worker/tasks/AbstractAsyncWorkerTest.java
+... | Fixed workerId in AbstractAsyncWorkerTest. | hazelcast_hazelcast-simulator | train | java |
b44cedd1a0913ca7b1785dfb47b809ad6e5af9ef | diff --git a/alerta/views/alerts.py b/alerta/views/alerts.py
index <HASH>..<HASH> 100644
--- a/alerta/views/alerts.py
+++ b/alerta/views/alerts.py
@@ -82,7 +82,7 @@ def set_status(alert_id):
timeout = request.json.get('timeout', None)
if not status:
- raise ApiError("must supply 'status' as json data... | Missing JSON data is <I>, not <I> error (#<I>) | alerta_alerta | train | py |
3c0669c1dc80d9c028a0cd5986b209231e93861e | diff --git a/nodeconductor/monitoring/zabbix/db_client.py b/nodeconductor/monitoring/zabbix/db_client.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/monitoring/zabbix/db_client.py
+++ b/nodeconductor/monitoring/zabbix/db_client.py
@@ -108,6 +108,12 @@ class ZabbixDBClient(object):
ORDER BY hi.clock - (... | Work-around buggy MySQL-python for resource usage | opennode_waldur-core | train | py,py |
4dd35cdaf12b2207820496e9eb96c33635553d5e | diff --git a/package/rules/sass.js b/package/rules/sass.js
index <HASH>..<HASH> 100644
--- a/package/rules/sass.js
+++ b/package/rules/sass.js
@@ -1,8 +1,9 @@
const getStyleRule = require('../utils/get_style_rule')
+const { resolved_paths: includePaths } = require('../config')
module.exports = getStyleRule(/\.(scss... | Pass resolved_paths as includePaths to sass-loader (#<I>) | rails_webpacker | train | js |
e30171bfbc43acbc8a98757de9c9acf7ffe49a44 | diff --git a/lib/scoped_search/definition.rb b/lib/scoped_search/definition.rb
index <HASH>..<HASH> 100644
--- a/lib/scoped_search/definition.rb
+++ b/lib/scoped_search/definition.rb
@@ -168,7 +168,7 @@ module ScopedSearch
column_types += [:integer, :double, :float, :decimal] if value =~ NUMERICAL_REGXP
c... | removed set fields from numerical value free text search | wvanbergen_scoped_search | train | rb |
d1952e45dabdef7b6e1f77acf707a947db654c4c | diff --git a/src/main/java/com/hubspot/jinjava/lib/tag/IncludeTag.java b/src/main/java/com/hubspot/jinjava/lib/tag/IncludeTag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hubspot/jinjava/lib/tag/IncludeTag.java
+++ b/src/main/java/com/hubspot/jinjava/lib/tag/IncludeTag.java
@@ -74,17 +74,7 @@ public class I... | Render node in tag in the same scope. | HubSpot_jinjava | train | java |
bf023693b600cfa252589a13553980b8c9b1813a | diff --git a/lib/ui/validation/field.js b/lib/ui/validation/field.js
index <HASH>..<HASH> 100644
--- a/lib/ui/validation/field.js
+++ b/lib/ui/validation/field.js
@@ -121,7 +121,7 @@
var avValField = controllers[2];
if(!ngModel && !rule) {
- $log.info('avValField requires ngModel and a vali... | validation fixes
* submitted/revalidate events should trigger a validation with data from $viewValue
* use $log.error for invalid av-val-field state | Availity_availity-angular | train | js |
831157dede672227ba5b9d820f47453bc4c65d8e | diff --git a/src/Nayjest/Grids/Components/CsvExport.php b/src/Nayjest/Grids/Components/CsvExport.php
index <HASH>..<HASH> 100644
--- a/src/Nayjest/Grids/Components/CsvExport.php
+++ b/src/Nayjest/Grids/Components/CsvExport.php
@@ -95,9 +95,7 @@ class CsvExport extends RenderableComponent
header("Pragma: no-cac... | added prepearing for grid before csv export | Nayjest_Grids | train | php,php |
b5018f206f2e577b25ad1c20904df2513399bd70 | diff --git a/src/Exception/StateMachineException.php b/src/Exception/StateMachineException.php
index <HASH>..<HASH> 100755
--- a/src/Exception/StateMachineException.php
+++ b/src/Exception/StateMachineException.php
@@ -7,8 +7,6 @@
*/
namespace Mothership\StateMachine\Exception;
-use Mothership\Exception\ExceptionA... | Update StateMachineException.php | mothership-gmbh_state_machine | train | php |
6ce58a789df2f4565250cc4e9f607f5863654109 | diff --git a/src/reducers/__tests__/collections.spec.js b/src/reducers/__tests__/collections.spec.js
index <HASH>..<HASH> 100644
--- a/src/reducers/__tests__/collections.spec.js
+++ b/src/reducers/__tests__/collections.spec.js
@@ -1,4 +1,3 @@
-import expect from 'expect';
import { OrderedMap, fromJS } from 'immutable'... | Do not use expect to get better diffs out of Jest | netlify_netlify-cms | train | js |
c4d336c07b97fb8a43848a5624a1ea6ac78a4d32 | diff --git a/examples/__init__.py b/examples/__init__.py
index <HASH>..<HASH> 100755
--- a/examples/__init__.py
+++ b/examples/__init__.py
@@ -78,8 +78,8 @@ result = zendesk.ticket_create(data=new_ticket)
#ticket_id = get_id_from_url(ticket_url)
# Need ticket ID?
-from zendesk import get_id_from_url
-ticket_id = ge... | fix example file so it will execute completely | fprimex_zdesk | train | py |
01ba20ca0486fbbd50ae5f0b4926b6959d4fca5d | diff --git a/unitypack/__init__.py b/unitypack/__init__.py
index <HASH>..<HASH> 100644
--- a/unitypack/__init__.py
+++ b/unitypack/__init__.py
@@ -10,3 +10,10 @@ def load(file, env=None):
if env is None:
env = UnityEnvironment()
return env.load(file)
+
+def load_from_file(file, env=None):
+ from .environment ... | Expose get_asset_by_filename as load_from_file | HearthSim_UnityPack | train | py |
0638da7c4909feb5ae36bfee54e4e30e512aa0c3 | diff --git a/exampleConfig.js b/exampleConfig.js
index <HASH>..<HASH> 100644
--- a/exampleConfig.js
+++ b/exampleConfig.js
@@ -42,7 +42,7 @@ Optional Variables:
log: log settings [object, default: undefined]
backend: where to log: stdout or syslog [string, default: stdout]
application: ... | Test if the supplied log level is defined in node-syslog.
Remove eval()! :) | statsd_statsd | train | js,js |
427642aaba0d93b9b104ec1f7111540c8c758f74 | diff --git a/lib/Doctrine/ORM/Cache/DefaultQueryCache.php b/lib/Doctrine/ORM/Cache/DefaultQueryCache.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Cache/DefaultQueryCache.php
+++ b/lib/Doctrine/ORM/Cache/DefaultQueryCache.php
@@ -111,10 +111,11 @@ class DefaultQueryCache implements QueryCache
$region ... | Entity cache key is built differently on read than on write | doctrine_orm | train | php |
e9a0ad94de20c75bd59c2fc89ca298b5a027a1d8 | diff --git a/etc/eslint/rules/stdlib.js b/etc/eslint/rules/stdlib.js
index <HASH>..<HASH> 100644
--- a/etc/eslint/rules/stdlib.js
+++ b/etc/eslint/rules/stdlib.js
@@ -2629,6 +2629,24 @@ rules[ 'stdlib/no-require-absolute-path' ] = 'error';
rules[ 'stdlib/no-require-index' ] = 'error';
/**
+* Never allow packages to... | Enable rule to prevent a package from requiring itself | stdlib-js_stdlib | train | js |
20fb91a810d8044db1d0591efe7149fcbe9facd5 | diff --git a/adafruit_seesaw/seesaw.py b/adafruit_seesaw/seesaw.py
index <HASH>..<HASH> 100644
--- a/adafruit_seesaw/seesaw.py
+++ b/adafruit_seesaw/seesaw.py
@@ -277,6 +277,7 @@ class Seesaw:
self.write(_GPIO_BASE, _GPIO_DIRSET_BULK, cmd)
elif mode == self.INPUT:
self.write(_GPIO_BAS... | seesaw: Clear pull-ups when setting mode to INPUT
.. pull-ups are enabled with INPUT_PULLUP, INPUT_PULLDOWN
and would otherwise never be disabled | adafruit_Adafruit_CircuitPython_seesaw | train | py |
c8546d01e1434f15615a8cdffa1c3b1b66cecc75 | diff --git a/AppiumLibrary/keywords/keywordgroup.py b/AppiumLibrary/keywords/keywordgroup.py
index <HASH>..<HASH> 100644
--- a/AppiumLibrary/keywords/keywordgroup.py
+++ b/AppiumLibrary/keywords/keywordgroup.py
@@ -2,7 +2,7 @@
import sys
import inspect
-from future.utils import with_metaclass
+from six import w... | Changing future.utils to six | serhatbolsu_robotframework-appiumlibrary | train | py |
a23f3a6e6e276a642ac0b397997f08f82ef9bd10 | diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js
index <HASH>..<HASH> 100644
--- a/packages/tiptap/src/Editor.js
+++ b/packages/tiptap/src/Editor.js
@@ -274,7 +274,7 @@ export default class Editor extends Emitter {
if (typeof content === 'string') {
const htmlString = `<div>${conte... | Fix an issue with with parsing custom extensions
see details in #<I> | scrumpy_tiptap | train | js |
b4a70cd92c56ba3bac5841cb85c7ecfdc618af42 | diff --git a/ipyrad/__main__.py b/ipyrad/__main__.py
index <HASH>..<HASH> 100644
--- a/ipyrad/__main__.py
+++ b/ipyrad/__main__.py
@@ -10,6 +10,7 @@ import ipyrad as ip
import argparse
import logging
import atexit
+import time
import sys
import os
@@ -487,6 +488,13 @@ def main():
"\n Interactive assembly a... | Write the version and the args used to the log file for each run. This might be annoying, but it could be useful. | dereneaton_ipyrad | train | py |
de86f6019c0f6c517e5346a7bf9d8db6d6ffdf27 | diff --git a/lib/by_star/by_year.rb b/lib/by_star/by_year.rb
index <HASH>..<HASH> 100644
--- a/lib/by_star/by_year.rb
+++ b/lib/by_star/by_year.rb
@@ -14,7 +14,7 @@ module ByStar
end
def by_year_String_or_Fixnum(year, options={})
- time = "#{year.to_s}-01-01 00:00:00".to_time
+ time = "#{year.to_s... | Remove The H:M:S from by_year_String_or_Fixnum
This is because to_time has these defaulting to 0 | radar_by_star | train | rb |
fe469911641169be81fc5c80d0932a256257a733 | diff --git a/tests/unit/io/test_eventletreactor.py b/tests/unit/io/test_eventletreactor.py
index <HASH>..<HASH> 100644
--- a/tests/unit/io/test_eventletreactor.py
+++ b/tests/unit/io/test_eventletreactor.py
@@ -39,6 +39,10 @@ class EventletTimerTest(unittest.TestCase, TimerConnectionTests):
# to make sure no m... | Added fix to temporal bug in eventlet | datastax_python-driver | train | py |
9bd1c951c9fd2156415e7e88019b3a87dcf50008 | diff --git a/wix-restaurants-api/src/main/java/com/wix/restaurants/Errors.java b/wix-restaurants-api/src/main/java/com/wix/restaurants/Errors.java
index <HASH>..<HASH> 100644
--- a/wix-restaurants-api/src/main/java/com/wix/restaurants/Errors.java
+++ b/wix-restaurants-api/src/main/java/com/wix/restaurants/Errors.java
@... | Added Errors.PaymentExceedsLimit | wix_wix-restaurants-java-sdk | train | java |
49e313c4698360c2e7434828d88df2fdb83234b1 | diff --git a/src/sos/executor_utils.py b/src/sos/executor_utils.py
index <HASH>..<HASH> 100644
--- a/src/sos/executor_utils.py
+++ b/src/sos/executor_utils.py
@@ -147,7 +147,7 @@ CONFIG = {}
del sos_handle_parameter_
''' + global_def, None)
except Exception as e:
- env.logger.trace(
+ env.logger.wa... | Boost trace on the execution of global_def in host as warning #<I> | vatlab_SoS | train | py |
bd23c8ef2566ae31b4d4862e3cc5af4b73b8f8dd | diff --git a/examples/list/src/com/webimageloader/example/list/MainActivity.java b/examples/list/src/com/webimageloader/example/list/MainActivity.java
index <HASH>..<HASH> 100644
--- a/examples/list/src/com/webimageloader/example/list/MainActivity.java
+++ b/examples/list/src/com/webimageloader/example/list/MainActivit... | Check if we have a memory cache | lexs_webimageloader | train | java |
eb36c85f3d5703ad20dc6f4dc523aa324842d416 | diff --git a/src/client/utils/ipcAdapter.js b/src/client/utils/ipcAdapter.js
index <HASH>..<HASH> 100644
--- a/src/client/utils/ipcAdapter.js
+++ b/src/client/utils/ipcAdapter.js
@@ -22,7 +22,7 @@ class ClientIPCAdapter extends IPCAdapter {
const currentActivityId = results[1].activityId
return acti... | fix(ipc): Set default activity state better when load activities | swissmanu_orchestra | train | js |
bf9907fd933367e6ac7d627700f460e258f83b70 | diff --git a/metamorphosis-client/src/main/java/com/taobao/metamorphosis/client/extension/spring/AbstractMetaqMessageSessionFactory.java b/metamorphosis-client/src/main/java/com/taobao/metamorphosis/client/extension/spring/AbstractMetaqMessageSessionFactory.java
index <HASH>..<HASH> 100644
--- a/metamorphosis-client/sr... | Make client to be compitable with spring 2.x | killme2008_Metamorphosis | train | java |
68455f1f8f6898eeff41c09a48b9d714f0b2717e | diff --git a/app/models/renalware/hd/dry_weight.rb b/app/models/renalware/hd/dry_weight.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/hd/dry_weight.rb
+++ b/app/models/renalware/hd/dry_weight.rb
@@ -12,7 +12,7 @@ module Renalware
has_paper_trail class_name: "Renalware::HD::Version"
- scope :... | Only display last 4 dry weights in HD Summary | airslie_renalware-core | train | rb,rb |
f1d117131c7717f9fb91061cfa31e1aa3664c2a5 | diff --git a/lib/wbench/version.rb b/lib/wbench/version.rb
index <HASH>..<HASH> 100644
--- a/lib/wbench/version.rb
+++ b/lib/wbench/version.rb
@@ -1,3 +1,3 @@
module WBench
- VERSION = '1.1.0'
+ VERSION = '1.1.1'
end | Bump to version <I> | desktoppr_wbench | train | rb |
70ca666cd2e6c9e3ea6c9bdbb70c082d442785f4 | diff --git a/neomodel/properties.py b/neomodel/properties.py
index <HASH>..<HASH> 100644
--- a/neomodel/properties.py
+++ b/neomodel/properties.py
@@ -12,12 +12,12 @@ if sys.version_info >= (3, 0):
def validator(fn):
fn_name = fn.func_name if hasattr(fn, 'func_name') else fn.__name__
- if fn_name is 'inflate... | Fixed a couple of errors in the validator decorator | neo4j-contrib_neomodel | train | py |
b9e632f4e1b8cec9720ed0bb80caf2bab74209d6 | diff --git a/lib/puppet/feature/rails.rb b/lib/puppet/feature/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/feature/rails.rb
+++ b/lib/puppet/feature/rails.rb
@@ -9,7 +9,7 @@ Puppet.features.add(:rails) do
begin
require 'active_record'
rescue LoadError => detail
- if Facter["operatings... | Fixed #<I> - Rails feature update fixed for Debian and Ubuntu | puppetlabs_puppet | train | rb |
1940d7f002c98047f4ff5037a32a66eefd15bb17 | diff --git a/tests/test_slack.py b/tests/test_slack.py
index <HASH>..<HASH> 100644
--- a/tests/test_slack.py
+++ b/tests/test_slack.py
@@ -437,7 +437,8 @@ class TestSlackBackendArchive(TestCaseBackendArchive):
def setUp(self):
super().setUp()
- self.backend = Slack('C011DUKE8', 'aaaa', max_items=... | [tests] Modify slack tests when fetching from archive
This patch adds two different backend objects (one fetches data
from remote a data source and the other one from an archive)
in order to ensure that backend and method
params are initialized in the same way independently from which method
is called (fetch or fetch_... | chaoss_grimoirelab-perceval | train | py |
08cb7a66ef64250370e327f87840f3bd3fb29201 | diff --git a/php-typography/lang_unformatted/convert_pattern.php b/php-typography/lang_unformatted/convert_pattern.php
index <HASH>..<HASH> 100644
--- a/php-typography/lang_unformatted/convert_pattern.php
+++ b/php-typography/lang_unformatted/convert_pattern.php
@@ -124,7 +124,7 @@ class Pattern_Converter {
File mo... | Don't strip trailing slash from URL | mundschenk-at_php-typography | train | php |
5554fb79c27c387993a2aeef997b2c29b399c09a | diff --git a/acos_client/client.py b/acos_client/client.py
index <HASH>..<HASH> 100644
--- a/acos_client/client.py
+++ b/acos_client/client.py
@@ -47,7 +47,7 @@ from acos_client.v30.sflow import SFlow as v30_SFlow
from acos_client.v30.slb import SLB as v30_SLB
from acos_client.v30.system import System as v30_System
... | Added vlan property to client | a10networks_acos-client | train | py |
4dae327a99f3c11fe141c7249e60f1ab8bda9a9e | diff --git a/lib/Utils.php b/lib/Utils.php
index <HASH>..<HASH> 100644
--- a/lib/Utils.php
+++ b/lib/Utils.php
@@ -22,7 +22,7 @@ class Utils {
passthru($cmd, $return_var);
- if($return_content) $output = ob_get_contents();
+ if($return_content) $output = trim(ob_get_contents());
if($... | Trim exec output and modified tests to match | FusePump_cli.php | train | php,php |
ee064df28c554370b2aed82224c5f714eabd8435 | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/OrderingFrom.java b/core/src/main/java/com/google/errorprone/bugpatterns/OrderingFrom.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/OrderingFrom.java
+++ b/core/src/main/java/com/google/errorprone/bugpatterns... | Remove triple curly braces.
These are valid syntax for code.google but Github interprets them as fluid markup. Switch to backticks. | google_error-prone | train | java |
f36aeb761e30c830f2b70ff0f0e712ed963495c0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,9 +16,13 @@ setup(
version='1.0.5',
packages=[ 'ntlm_auth' ],
install_requires=[
- "six",
- "ordereddict ; python_version<'2.7'"
+ 'six'
],
+ extras_require={
+ ':python_v... | Fix environment markers being stripped when building python wheels (#<I>) | jborean93_ntlm-auth | train | py |
a79e9fc26e6a90a31ee141d105c2ac0d637df7f6 | diff --git a/src/http-auth-interceptor.js b/src/http-auth-interceptor.js
index <HASH>..<HASH> 100644
--- a/src/http-auth-interceptor.js
+++ b/src/http-auth-interceptor.js
@@ -123,9 +123,8 @@
retryAll: function(updater) {
for (var i = 0; i < buffer.length; ++i) {
var _cfg = updater(buffer[i].c... | inverted "if" statement to remove "continue" | witoldsz_angular-http-auth | train | js |
18be0aaea210dc595d82c32e0a0d3062a27bde49 | diff --git a/spec/aptly/repo_spec.rb b/spec/aptly/repo_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/aptly/repo_spec.rb
+++ b/spec/aptly/repo_spec.rb
@@ -45,4 +45,16 @@ module Aptly
repo.list_packages.should eq([])
end
end
+
+ describe "Adding Packages" do
+ it "should successfully add a single file... | Added test for adding packages to a repo | ryanuber_ruby-aptly | train | rb |
e68acb9a3268fb438bd47119f0fa0abd8e67055a | diff --git a/tests/Desarrolla2/Cache/Adapter/Test/FileTest.php b/tests/Desarrolla2/Cache/Adapter/Test/FileTest.php
index <HASH>..<HASH> 100644
--- a/tests/Desarrolla2/Cache/Adapter/Test/FileTest.php
+++ b/tests/Desarrolla2/Cache/Adapter/Test/FileTest.php
@@ -47,7 +47,7 @@ class FileTest extends \PHPUnit_Framework_TestC... | removed apc from travis | desarrolla2_Cache | train | php |
c518f6f97ca8686e1796824c993e5134d45c5c53 | diff --git a/src/Schema.php b/src/Schema.php
index <HASH>..<HASH> 100644
--- a/src/Schema.php
+++ b/src/Schema.php
@@ -580,17 +580,9 @@ class Schema implements \JsonSerializable {
* @return bool|null Returns the cleaned value or **null** if validation fails.
*/
private function validateBoolean($value, ... | Simplify boolean validation. | vanilla_garden-schema | train | php |
25da34054315c95a80ac2369409fd3bb90eaf1d1 | diff --git a/builtin/providers/azurerm/resource_arm_network_security_group.go b/builtin/providers/azurerm/resource_arm_network_security_group.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/azurerm/resource_arm_network_security_group.go
+++ b/builtin/providers/azurerm/resource_arm_network_security_group.go
@@ -6... | Ignoring the case for NSG Protocol's in the state (#<I>) | hashicorp_terraform | train | go,go |
0edfdb210986ee2b8fcf7dddc4d71c78f83bd427 | diff --git a/lib/sfn/version.rb b/lib/sfn/version.rb
index <HASH>..<HASH> 100644
--- a/lib/sfn/version.rb
+++ b/lib/sfn/version.rb
@@ -1,4 +1,4 @@
module Sfn
# Current library version
- VERSION = Gem::Version.new('3.0.30')
+ VERSION = Gem::Version.new('3.0.31')
end | Update version for development <I> | sparkleformation_sfn | train | rb |
24ba87430279b7ad1a04cd180713757d29806736 | diff --git a/tile_generator/package_flags.py b/tile_generator/package_flags.py
index <HASH>..<HASH> 100644
--- a/tile_generator/package_flags.py
+++ b/tile_generator/package_flags.py
@@ -125,14 +125,15 @@ class DockerBosh(FlagBase):
job_name = 'docker-bosh-' + package['name']
release['requires_docke... | Add common package only once for package docker bosh | cf-platform-eng_tile-generator | train | py |
232b9044188e3dd304343aa129301c6ad8ba5f63 | diff --git a/src/Domain/StreamName.php b/src/Domain/StreamName.php
index <HASH>..<HASH> 100644
--- a/src/Domain/StreamName.php
+++ b/src/Domain/StreamName.php
@@ -2,8 +2,6 @@
namespace HelloFresh\Engine\Domain;
-use Assert\Assertion;
-
/**
* Class StreamName
*
@@ -22,9 +20,13 @@ class StreamName
*/
... | Remove usage of Assertion in StreamName | hellofresh_engine | train | php |
26ed6b5c0ab7c1b2490fd002f117f7215a9be18b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ tests_require = [
'hypothesis-pytest==0.19.0',
'py==1.4.31',
'pydocstyle==1.0.0',
- 'pytest==3.0.1',
+ 'pytest==3.0.2',
'pytest-benchmark==3.0.0',
'pytest-cov==2.2.1',
'Sphinx... | upgrade to latest pytest (<I>) | jab_bidict | train | py |
2cec82c6694425460c24b8373f114b3749257890 | diff --git a/tensorflow_probability/python/distributions/mvn_full_covariance.py b/tensorflow_probability/python/distributions/mvn_full_covariance.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/mvn_full_covariance.py
+++ b/tensorflow_probability/python/distributions/mvn_full_covariance.... | Hypothesis testing revealed that MVNFullCov supports slicing via subclassing of MVNTriL, but does not properly specify _params_event_ndims.
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
871fcf94afa0fcbfe2ca1ff2696a20da874b7094 | diff --git a/src/components/checkbox/index.js b/src/components/checkbox/index.js
index <HASH>..<HASH> 100644
--- a/src/components/checkbox/index.js
+++ b/src/components/checkbox/index.js
@@ -57,10 +57,11 @@ class Checkbox extends BaseComponent {
};
render() {
- const {value, selectedIcon, style} = this.getTh... | pass other props to Checkbox container | wix_react-native-ui-lib | train | js |
3aa310613b75072d53511a3e3d24d630e7ddbb78 | diff --git a/src/ChildProcess/Adapter.php b/src/ChildProcess/Adapter.php
index <HASH>..<HASH> 100644
--- a/src/ChildProcess/Adapter.php
+++ b/src/ChildProcess/Adapter.php
@@ -212,9 +212,7 @@ class Adapter implements AdapterInterface
'type' => $entry['type'],
];
$promises[] = \... | Write to the stream instead of emitting it | reactphp_filesystem | train | php |
28b3b3b8c82985a83ef8938d5bff374a76038578 | diff --git a/src/Factory.php b/src/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Factory.php
+++ b/src/Factory.php
@@ -28,10 +28,10 @@ final class Factory
) {
return new Promise\Promise(function ($resolve, $reject) use ($process, $loop, $options) {
$server = new Server('127.0.0.1:0', $loo... | Support for advanced own child from examples
Fix when `address` and `random` options was not filled. | WyriHaximus_reactphp-child-process-messenger | train | php |
e24ac009bdc1f94e32a35b7b3bbee821877a5f8d | diff --git a/api/protocol/lorawan/validation.go b/api/protocol/lorawan/validation.go
index <HASH>..<HASH> 100644
--- a/api/protocol/lorawan/validation.go
+++ b/api/protocol/lorawan/validation.go
@@ -74,10 +74,10 @@ func (m *ActivationMetadata) Validate() bool {
if m.DevEui == nil || m.DevEui.IsEmpty() {
return fal... | Fix ActivationMetadata validation
Uplink ActivationMetadata does not have DevAddr and NwkSKey | TheThingsNetwork_ttn | train | go |
701a3d14899ca03fff9d7a5a0f2a2f2b3948dee2 | diff --git a/spec/gem_spec.rb b/spec/gem_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/gem_spec.rb
+++ b/spec/gem_spec.rb
@@ -3,11 +3,9 @@ require 'schema_dev/gem'
describe SchemaDev::Gem do
around(:each) do |example|
- silence_stream(STDOUT) do
- silence_stream(STDERR) do
- in_tmpdir do
- ... | replace deprecated silence_stream (activesupport) with local helper | SchemaPlus_schema_dev | train | rb,rb |
b5062d0bd1a38215c97f00833a518445562b34a5 | diff --git a/resources/lang/sv-SE/forms.php b/resources/lang/sv-SE/forms.php
index <HASH>..<HASH> 100644
--- a/resources/lang/sv-SE/forms.php
+++ b/resources/lang/sv-SE/forms.php
@@ -155,7 +155,7 @@ return [
'days-of-incidents' => 'Hur många dagar av händelser ska visas?',
... | New translations forms.php (Swedish) | CachetHQ_Cachet | train | php |
981d3e1cb1c0fa333fdd3a8cd4a28fd4219ed7f6 | diff --git a/pyads/ads.py b/pyads/ads.py
index <HASH>..<HASH> 100644
--- a/pyads/ads.py
+++ b/pyads/ads.py
@@ -5,6 +5,7 @@
:created on: 2018-06-11 18:15:53
"""
+from __future__ import annotations
import struct
import itertools
from collections import OrderedDict | Add __future__.annotations
To prevent Sphinx from expanding custom types. | stlehmann_pyads | train | py |
2ac4e2d6b5737ccfa00306432d9f41e294ed7e6a | diff --git a/chef/lib/chef/provider/file.rb b/chef/lib/chef/provider/file.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/file.rb
+++ b/chef/lib/chef/provider/file.rb
@@ -132,7 +132,9 @@ class Chef
@current_resource.path(@new_resource.path)
if !::File.directory?(@new_resource.path)
... | Don't get checksum for create_if_missing
We don't need the checksum in create for create_if_missing because
we're going to create because we already know the file doesn't exist. | chef_chef | train | rb |
9e971369bb6f30f4999be6cf2f8fc617f87f95c6 | diff --git a/app/helpers/alchemy/pages_helper.rb b/app/helpers/alchemy/pages_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/alchemy/pages_helper.rb
+++ b/app/helpers/alchemy/pages_helper.rb
@@ -10,9 +10,7 @@ module Alchemy
end
def picture_essence_caption(content)
- return "" if content.nil?
- ... | Adds spec for PagesHelper#picture_essence_caption and refactors it. | AlchemyCMS_alchemy_cms | train | rb,rb |
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.