content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Text
Text
remove callback thereby stripping js comments
1c65d5d34ac2e9d054a11df7c3f9304f62ba6388
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md <ide> Change the code so that all variables are declared using `let` or `const`. Use ` <ide> `var` should not exist in your code. <ide> <ide> ```js <del>(getUser...
2
Javascript
Javascript
fix handling of asterisk in sni context
f572b91c3ea71e6854cb699ae728a320662bc261
<ide><path>lib/_tls_wrap.js <ide> Server.prototype.addContext = function(servername, credentials) { <ide> <ide> var re = new RegExp('^' + <ide> servername.replace(/([\.^$+?\-\\[\]{}])/g, '\\$1') <del> .replace(/\*/g, '.*') + <add> .r...
2
Text
Text
add some faq entries
53cbfc62226255e2435cde10624bcafb54502fbb
<ide><path>docs/guides/faq.md <ide> * [Q: Can Video.js be required in node.js?](#q-can-videojs-be-required-in-nodejs) <ide> * [Q: Does Video.js work with webpack?](#q-does-videojs-work-with-webpack) <ide> * [Q: Does Video.js work with react?](#q-does-videojs-work-with-react) <add>* [Q: Can the big play button be center...
2
Python
Python
prevent sequential scan of task instance table
cfc0d6c1113e70e9591c369920e5f750fab13459
<ide><path>airflow/models/dag.py <ide> def clear( <ide> conditions = [] <ide> for dag in self.subdags + [self]: <ide> conditions.append( <del> TI.dag_id.like(dag.dag_id) & <add> (TI.dag_id == dag.dag_id) & <ide> TI.task_id...
1
PHP
PHP
enable strict files for test files
77a2488bcdcb981fc03fdf40d47ea72b82a3175c
<ide><path>tests/TestCase/Http/ActionDispatcherTest.php <ide> <?php <add>declare(strict_types=1); <ide> /** <ide> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <ide> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <ide><path>tests/TestCase/Http/BaseApplicationTest.php <...
18
Python
Python
save model as artifact
30fa0b780f30efacdfe3f0964bb1b941b22aa8d5
<ide><path>src/transformers/integrations.py <ide> Integrations with other Python libraries. <ide> """ <ide> import math <add>import numbers <ide> import os <add>import re <add>import tempfile <add>from pathlib import Path <ide> <add>from .file_utils import ENV_VARS_TRUE_VALUES <ide> from .trainer_utils import Evaluati...
3
Javascript
Javascript
add missing lod.islod
14d58824ea8973d4200e7c021623024ac7252a9b
<ide><path>src/objects/LOD.js <ide> LOD.prototype = Object.assign( Object.create( Object3D.prototype ), { <ide> <ide> constructor: LOD, <ide> <add> isLOD: true, <add> <ide> copy: function ( source ) { <ide> <ide> Object3D.prototype.copy.call( this, source, false );
1
Javascript
Javascript
add mustcall in test-timers-clearimmediate
c4054970868dbfd7bff47c2f0acf4c79714b9d1b
<ide><path>test/parallel/test-timers-clearImmediate.js <ide> 'use strict'; <del>require('../common'); <del>const assert = require('assert'); <add>const common = require('../common'); <ide> <ide> const N = 3; <del>let count = 0; <add> <ide> function next() { <del> const immediate = setImmediate(function() { <del> c...
1
Text
Text
fix typo in md files
1e9b07d82cb9f9171f95d9db59cd664b652987d2
<ide><path>research/deeplab/g3doc/faq.md <del>#FAQ <add># FAQ <ide> ___ <ide> Q1: What if I want to use other network backbones, such as ResNet [1], instead of only those provided ones (e.g., Xception)? <ide> <ide><path>research/deeplab/g3doc/installation.md <ide> to avoid running this manually, you can add it as a ne...
2
Javascript
Javascript
add https to helmet whitelist
a621ff31907948f75db34f17bf6a607c3bdb1fec
<ide><path>server/server.js <ide> var trusted = [ <ide> '104.236.218.15', <ide> '*.freecodecamp.com', <ide> 'http://www.freecodecamp.com', <add> 'https://www.freecodecamp.com', <add> 'https://freecodecamp.com', <ide> 'ws://freecodecamp.com/', <ide> 'ws://www.freecodecamp.com/', <ide> '*.gstatic.com',
1
Javascript
Javascript
remove array.from(s) and remove iifes
2a54dda3e982872c90e246b27ced2fbe2e5513da
<ide><path>src/config.js <ide> class Config { <ide> getSchema (keyPath) { <ide> const keys = splitKeyPath(keyPath) <ide> let { schema } = this <del> for (let key of Array.from(keys)) { <add> for (let key of keys) { <ide> let childSchema <ide> if (schema.type === 'object') { <ide> chi...
1
Text
Text
update spelling on installation guide
073ea9a4ef68e0e4381e5ac011edda582c659dce
<ide><path>docs/how-to-catch-outgoing-emails-locally.md <ide> Download the latest version of MailHog from [MailHog's official repository](http <ide> <ide> When the download completes, click to open the file. A Windows firewall notification may appear, requesting access permission for MailHog. A standard Windows comman...
1
PHP
PHP
avoid multiple runtimeexception
3237de6e719d818b02853fad5d4ddcae247ab11d
<ide><path>src/Network/Session.php <ide> public function start() { <ide> } <ide> <ide> if (ini_get('session.use_cookies') && headers_sent($file, $line)) { <del> throw new \RuntimeException( <del> sprintf('Cannot start session, headers already sent in "%s" at line %d', $file, $line) <del> ); <add> return; ...
1
Text
Text
fix typo in rails plugins guide
879c18df83ec019da08d8ba7688b5722af5981bb
<ide><path>guides/source/plugins.md <ide> Run `rake` to run the test. This test should fail because we haven't implemented <ide> <ide> Great - now you are ready to start development. <ide> <del>Then in `lib/yaffle.rb` require `lib/core_ext`: <add>Then in `lib/yaffle.rb` add `require "yaffle/core_ext"`: <ide> <ide> `...
1
Java
Java
fix failing test
8270d82bda85f227780f03e6cdcac9ae721118ad
<ide><path>spring-test-mvc/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java <ide> protected ContentRequestMatchers() { <ide> /** <ide> * Assert the request content type as a String. <ide> */ <del> public RequestMatcher mimeType(String expectedContentType) { <del> return mimeType...
7
Python
Python
add error message if docbin zlib decompress fails
26296ab223b809cef5bd1fd997a4112119815864
<ide><path>spacy/errors.py <ide> class Errors: <ide> E1013 = ("Invalid morph: the MorphAnalysis must have the same vocab as the " <ide> "token itself. To set the morph from this MorphAnalysis, set from " <ide> "the string value with: `token.set_morph(str(other_morph))`.") <add> E1014 = ...
2
Ruby
Ruby
remove opt link in keg#uninstall
76e86891e4846b6b728ac87d3af76820e662d975
<ide><path>Library/Homebrew/cmd/uninstall.rb <ide> def uninstall <ide> puts "Uninstalling #{keg}..." <ide> keg.unlink <ide> keg.uninstall <del> rm_opt_link keg.fname <ide> rm_pin keg.fname <ide> end <ide> end <ide> def uninstall <ide> end <ide> ...
2
Python
Python
prepare pypi release
018e55be7c77f168abaea898233ccec035bb39d0
<ide><path>keras/__init__.py <ide> from .models import Model <ide> from .models import Sequential <ide> <del>__version__ = '2.1.0' <add>__version__ = '2.1.1' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='2.1.0', <add> version='2.1.1', <ide> description='Deep Learning for Py...
2
Go
Go
remove unused functions and enable disabled tests
67e4d36e46196dcebe60320036826d02c5626cc7
<ide><path>integration-cli/docker_cli_daemon_plugins_test.go <ide> import ( <ide> "strings" <ide> "testing" <ide> <del> "github.com/docker/docker/pkg/mount" <ide> "golang.org/x/sys/unix" <ide> "gotest.tools/assert" <ide> "gotest.tools/icmd" <ide> func (s *DockerDaemonSuite) TestPluginVolumeRemoveOnRestart(c *test...
5
Python
Python
allow multiple inputs
870d7f7f936bab348589d8d0bcc4d252c6ed832f
<ide><path>keras/layers/core.py <ide> def get_output_shape_for(self, input_shape): <ide> # otherwise, we default to the input shape <ide> return input_shape <ide> elif type(self._output_shape) in {tuple, list}: <del> nb_samples = input_shape[0] if input_shape else None <add> ...
1
PHP
PHP
add bigint support for postgres
7bad865d6e4e89c114b04c14a92ac30599fb678b
<ide><path>lib/Cake/Model/Datasource/Database/Postgres.php <ide> class Postgres extends DboSource { <ide> 'string' => array('name' => 'varchar', 'limit' => '255'), <ide> 'text' => array('name' => 'text'), <ide> 'integer' => array('name' => 'integer', 'formatter' => 'intval'), <add> 'biginteger' => array('name' =...
2
Ruby
Ruby
remove guard from certain parsing logic
d6202384d750909c67b3be79b4dc1b80722c829d
<ide><path>Library/Homebrew/utils/curl.rb <ide> def curl_http_content_headers_and_checksum( <ide> user_agent: user_agent <ide> ) <ide> <del> if status.success? <del> parsed_output = parse_curl_output(output) <del> responses = parsed_output[:responses] <add> parsed_output = ...
1
Java
Java
update copyright date
969aa8ad4768b08751ca8e3791f4dc62605d0e20
<ide><path>spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * y...
3
Javascript
Javascript
adapt unit tests
94efa8f58fdf654175c7a33236f5011ebe19fc06
<ide><path>Libraries/CustomComponents/Navigator/Navigation/__tests__/NavigationEvent-test.js <del> <ide> /** <ide> * Copyright (c) 2015, Facebook, Inc. All rights reserved. <ide> * <ide> describe('NavigationEvent', () => { <ide> it('recycles', () => { <ide> var event1 = NavigationEvent.pool('foo', {}, 123); <i...
1
Text
Text
update the lxc version to 1.0.7 in packagers.md
17373ca54b9caf2bc24d8a69c6b9639d167cb0cb
<ide><path>project/PACKAGERS.md <ide> the client will even run on alternative platforms such as Mac OS X / Darwin. <ide> Some of Docker's features are activated by using optional command-line flags or <ide> by having support for them in the kernel or userspace. A few examples include: <ide> <del>* LXC execution driver...
1
Ruby
Ruby
add custom exception for untapped formulae
3872f78d666ab6ed765773907cdbd84cdb5e28ad
<ide><path>Library/Homebrew/exceptions.rb <ide> class FormulaUnavailableError < RuntimeError <ide> attr_reader :name <ide> attr_accessor :dependent <ide> <add> def initialize name <add> @name = name <add> end <add> <ide> def dependent_s <ide> "(dependency of #{dependent})" if dependent and dependent != ...
2
Go
Go
fix daemon panic on restoring containers
c75de8e33cc0db5236eef6146f2de06533b46aa8
<ide><path>libcontainerd/client_linux.go <ide> func (clnt *client) Restore(containerID string, options ...CreateOption) error { <ide> clnt.remote.Lock() <ide> return nil <ide> } <add> // relock because of the defer <add> clnt.remote.Lock() <ide> <ide> clnt.deleteContainer(containerID) <ide>
1
Go
Go
remove pidfile type, rename new() to write()
43d6eb7173e0402f395df39f0c4de8615c325787
<ide><path>cmd/dockerd/daemon.go <ide> func (cli *DaemonCli) start(opts *daemonOptions) (err error) { <ide> potentiallyUnderRuntimeDir := []string{cli.Config.ExecRoot} <ide> <ide> if cli.Pidfile != "" { <del> pf, err := pidfile.New(cli.Pidfile) <del> if err != nil { <add> if err := pidfile.Write(cli.Pidfile); err...
3
PHP
PHP
stop the beforedispatch event on redirect routes
4d71b248ca7b7af1565988675ca02063aa5c9fb2
<ide><path>src/Routing/Filter/RoutingFilter.php <ide> public function beforeDispatch(Event $event) <ide> $request->addParams($params); <ide> } <ide> } catch (RedirectException $e) { <add> $event->stopPropagation(); <ide> $response = $event->data['response']; <i...
2
Text
Text
remove forbiddenattributeserror from examples
db6ce8de4ca1ec6b70dafbcc703ce67db022c382
<ide><path>guides/source/action_controller_overview.md <ide> By default, adding values to the flash will make them available to the next requ <ide> ```ruby <ide> class ClientsController < ApplicationController <ide> def create <del> @client = Client.new(params[:client]) <add> @client = Client.new(client_params)...
1
Text
Text
add missing comma
3250888e05e6c0c98efa0b20f1d5f30ce3e7d1d8
<ide><path>docs/apm-rest-api.md <ide> Returns: <ide> ```json <ide> { <ide> "name": "0.96.0", <del> "notes": "[HTML release notes]" <add> "notes": "[HTML release notes]", <ide> "pub_date": "2014-05-19T15:52:06.000Z", <ide> "url": "https://www.atom.io/api/updates/download" <ide> }
1
Ruby
Ruby
sync the visibility of `sql_for_insert` to private
f39492c75a5bae6d5ce37515e0de80431e5f96ff
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb <ide> def sql_for_insert(sql, pk, id_value, sequence_name, binds) # :nodoc: <ide> <ide> super <ide> end <del> protected :sql_for_insert <add> private :sql_for_insert <ide> <ide> def ...
1
Javascript
Javascript
restore getchar in jpegstream
6dc6f5d533f7614ca0af940265ae09cc6868d452
<ide><path>pdf.js <ide> var JpegStream = (function() { <ide> constructor.prototype = { <ide> getImage: function() { <ide> return this.domImage; <add> }, <add> getChar: function() { <add> error("internal error: getChar is not valid on JpegStream"); <ide> } <ide> ...
1
Ruby
Ruby
add outer joins for matching nodes
0480b8c717c3a76c8d7fa30236d5a843c8a675b2
<ide><path>activerecord/lib/active_record/associations/join_dependency.rb <ide> def join_constraints(outer_joins) <ide> oj = outer_joins.first <ide> <ide> if join_root.match? oj.join_root <del> outer_joins.each { |oj| merge_outer_joins! oj } <del> make_joins join_root <add> ...
1
PHP
PHP
remove unused variable
bcb8a98e22e270824cca8b7c7898acefd537aedb
<ide><path>src/Illuminate/Auth/SessionGuard.php <ide> protected function hasValidCredentials($user, $credentials) <ide> protected function fireAttemptEvent(array $credentials, $remember, $login) <ide> { <ide> if ($this->events) { <del> $payload = [$credentials, $remember, $login]; <del> <ide>...
1
Text
Text
changelog entries for and
04b6ae4d186195008b7801df19ebba295f042288
<ide><path>activerecord/CHANGELOG.md <add>* `reload` no longer merges with the existing attributes. <add> The attribute hash is fully replaced. The record is put into the same state <add> as it would be with `Model.find(model.id)`. <add> <add> *Sean Griffin* <add> <add>* The object returned from `select_al...
1
Java
Java
use static accessors in defaultsimpuserregistry
3eb2c5e22f3a114b8f8c989bd7ef079590b24c4a
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/messaging/DefaultSimpUserRegistry.java <ide> import org.springframework.core.Ordered; <ide> import org.springframework.lang.Nullable; <ide> import org.springframework.messaging.Message; <add>import org.springframework.messaging.MessageHeaders; <id...
1
Ruby
Ruby
fix bind values in insert statements
e33c568f5e07e8caf7d36e8a8ca1a793b1781dc4
<ide><path>lib/arel/visitors/mysql.rb <ide> def visit_Arel_Nodes_UpdateStatement o, collector <ide> collector = visit o.relation, collector <ide> <ide> unless o.values.empty? <del> collector << "SET " <add> collector << " SET " <ide> collector = inject_join o.values, collect...
2
Java
Java
fix regression in static setter method support
7a19fd575045333b970e645f6db8a15302484038
<ide><path>spring-beans/src/main/java/org/springframework/beans/ExtendedBeanInfo.java <ide> <ide> /** <ide> * Decorator for a standard {@link BeanInfo} object, e.g. as created by <del> * {@link Introspector#getBeanInfo(Class)}, designed to discover and register non-void <del> * returning setter methods. For example: ...
4
Javascript
Javascript
add test for isvaliddescriptor
697bf73c5f37049b1e9b048aa23007ca50f4b26d
<ide><path>src/core/__tests__/ReactDescriptor-test.js <add>/** <add> * Copyright 2013-2014 Facebook, Inc. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the License at <add> * <add>...
1
Python
Python
add multisoftmax class
b10d0cce05ee6ff90362f0571ae386ab03da01ad
<ide><path>spacy/_ml.py <ide> def getitem_fwd(X, drop=0.): <ide> return layerize(getitem_fwd) <ide> <ide> <del>def build_tagger_model(nr_class, **cfg): <add>@describe.attributes( <add> W=Synapses("Weights matrix", <add> lambda obj: (obj.nO, obj.nI), <add> lambda W, ops: None) <add>) <add>class Mu...
1
Javascript
Javascript
remove ballmer example
1876bc2432286b0378ee48449ca5bf9145e6691f
<ide><path>examples/ballmer-peak/example.js <del>'use strict'; <del> <del>function computeBallmerPeak(x) { <del> // see: http://ask.metafilter.com/76859/Make-a-function-of-this-graph-Thats-like-an-antigraph <del> x = x * 100; <del> return ( <del> 1 - 1 / (1 + Math.exp(-(x - 6))) *.5 + Math.exp(-Math.pow(Math.abs(...
1
Javascript
Javascript
display timeend with suitable time unit
66043e18128dc80457f4e184b7ed7faedcd93ca7
<ide><path>lib/internal/console/constructor.js <ide> const kTraceBegin = 'b'.charCodeAt(0); <ide> const kTraceEnd = 'e'.charCodeAt(0); <ide> const kTraceInstant = 'n'.charCodeAt(0); <ide> <add>const kSecond = 1000; <add>const kMinute = 60 * kSecond; <add>const kHour = 60 * kMinute; <add> <ide> const { <ide> isArray:...
3
Text
Text
add charcode/keycode/which to key event docs
b366e363676ea55f878237bc44aca1f450415343
<ide><path>docs/docs/ref-05-events.md <ide> Properties: <ide> <ide> ```javascript <ide> boolean altKey <del>String char <ide> boolean ctrlKey <add>Number charCode <ide> String key <add>Number keyCode <ide> String locale <ide> Number location <ide> boolean metaKey <ide> boolean repeat <ide> boolean shiftKey <add>Number...
1
Ruby
Ruby
fix #after_validation example [ci skip]
1ca957c5bb6d33a84a0a69681e66de79c702930d
<ide><path>activemodel/lib/active_model/validations/callbacks.rb <ide> def before_validation(*args, &block) <ide> # private <ide> # <ide> # def set_status <del> # self.status = (errors.empty?) ? true : false <add> # self.status = errors.empty? <ide> # ...
1
Python
Python
avoid crach on olds kernels (issue #554)
3a7856831c0d797f82a3bb47d581e1c54dd5120d
<ide><path>glances/core/glances_processes.py <ide> def __get_process_stats(self, proc, <ide> # Get the process IO counters <ide> proc_io = proc.io_counters() <ide> io_new = [proc_io.read_bytes, proc_io.write_bytes] <del> except (psutil.AccessDen...
1
Javascript
Javascript
add 2 additional tests for polish language
2da08c94599e77ca027044b93927c0146a1e415c
<ide><path>test/lang/pl.js <ide> exports["lang:pl"] = { <ide> }, <ide> <ide> "from" : function (test) { <del> test.expect(32); <add> test.expect(34); <ide> <ide> var start = moment([2007, 1, 28]); <ide> test.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), "kilka seku...
1
Javascript
Javascript
add names to components in hello-world example
f13ca3055ca31fc5c03d8e9fc187c0fba15a2245
<ide><path>examples/hello-world/pages/about.js <del>export default () => <div>About us</div> <add>export default function AboutPage() { <add> return <div>About us</div> <add>} <ide><path>examples/hello-world/pages/day/index.js <del>export default () => <div>Hello Day</div> <add>export default function DayPage() { <add...
3
Text
Text
fix remote name in airflow publishing guide
716c6355224b1d40b6475c2fa60f0b967204fce6
<ide><path>dev/README_RELEASE_AIRFLOW.md <ide> The Release Candidate artifacts we vote upon should be the exact ones we vote ag <ide> - Tag & Push the latest constraints files. This pushes constraints with rc suffix (this is expected)! <ide> <ide> ```shell script <del> git checkout constraints-${VERSION_CONSTRA...
1
Text
Text
remove stray g
d4dfdd17ff7fce23ebfb7edf7a95bda1abfda905
<ide><path>docs/publishing-a-package.md <ide> This guide will show you how to publish a package or theme to the <ide> [atom.io][atomio] package registry. <ide> <del>Publishing a package allows other people to install it and use it in Atomg. It <add>Publishing a package allows other people to install it and use it in A...
1
Mixed
Javascript
add `maxoutputlength` option
278aae28e14da89e6bd6d91c07ded2dc5f8fe8c3
<ide><path>doc/api/zlib.md <ide> These advanced options are available for controlling decompression: <ide> <!-- YAML <ide> added: v0.11.1 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/33516 <add> description: The `maxOutputLength` option is supported now. <ide> - v...
6
Python
Python
respect the no_skip value
284b530c631e7e7d110b519d54f591d66c754e13
<ide><path>spacy/cli/project/run.py <ide> def check_rerun( <ide> strict_version (bool): <ide> RETURNS (bool): Whether to re-run the command. <ide> """ <add> # Always rerun if no-skip is set <add> if command.get("no_skip", False): <add> return True <ide> lock_path = project_dir / PROJECT_LOC...
1
Go
Go
add integration test for history option
08150150bbc4477cbcf8286bc15a1cf8b4428e35
<ide><path>integration-cli/docker_cli_history_test.go <ide> package main <ide> import ( <ide> "fmt" <ide> "os/exec" <add> "regexp" <add> "strconv" <ide> "strings" <ide> <ide> "github.com/go-check/check" <ide> func (s *DockerSuite) TestHistoryImageWithComment(c *check.C) { <ide> } <ide> <ide> } <add> <add>func (s...
1
Javascript
Javascript
refine flags and handling of enablelegacyfbsupport
d5e4b3ae1d5f7d76bb3894e8d814fd4ba19dcfd5
<ide><path>packages/legacy-events/EventSystemFlags.js <ide> export type EventSystemFlags = number; <ide> <ide> export const PLUGIN_EVENT_SYSTEM = 1; <ide> export const RESPONDER_EVENT_SYSTEM = 1 << 1; <del>export const IS_PASSIVE = 1 << 2; <del>export const IS_ACTIVE = 1 << 3; <del>export const PASSIVE_NOT_SUPPORTED =...
9
Python
Python
remove absl workaround as it's no longer needed
d1ba56d8d8a4da183bfe7f0b30e0ec1220ebf6ea
<ide><path>src/transformers/__init__.py <ide> <ide> __version__ = "4.16.0.dev0" <ide> <del># Work around to update TensorFlow's absl.logging threshold which alters the <del># default Python logging output behavior when present. <del># see: https://github.com/abseil/abseil-py/issues/99 <del># and: https://github.com/t...
1
Python
Python
prepare 0.3.3 release (last release before 1.0)
bdd70d06d3590828deeaa6e41c08bba1e6c74abc
<ide><path>keras/__init__.py <del>__version__ = '0.3.2' <add>__version__ = '0.3.3' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='0.3.2', <add> version='0.3.3', <ide> description='Deep Learning for Python', <ide> author='Francois Chollet', <ide> author_email='fran...
2
Python
Python
correct the spelling of bleu metric
679d68a11be278b798e468bacafa710b544f807a
<ide><path>examples/pytorch/translation/run_translation.py <ide> class DataTrainingArguments: <ide> validation_file: Optional[str] = field( <ide> default=None, <ide> metadata={ <del> "help": "An optional input evaluation data file to evaluate the metrics (sacreblue) on a jsonlines file." ...
2
PHP
PHP
allow url #hash for scoped paginator links
72cbe47abd5167c936671e566067609d587c5021
<ide><path>src/View/Helper/PaginatorHelper.php <ide> public function generateUrlParams(array $options = [], $model = null) <ide> if (!empty($paging['scope'])) { <ide> $scope = $paging['scope']; <ide> $currentParams = $this->_config['options']['url']; <add> <add> if (isset($url...
2
Go
Go
remove some unused code
b9966f3a81e89640d0de8fa5ae8d38213df0b8fe
<ide><path>container/monitor.go <ide> const ( <ide> loggerCloseTimeout = 10 * time.Second <ide> ) <ide> <del>// supervisor defines the interface that a supervisor must implement <del>type supervisor interface { <del> // LogContainerEvent generates events related to a given container <del> LogContainerEvent(*Container...
3
PHP
PHP
remove redundant code
b34eb2573a51ef03ee3c6c6f88b4bf581d47969b
<ide><path>src/Database/Statement/BufferedStatement.php <ide> class BufferedStatement extends StatementDecorator <ide> * <ide> * @var bool <ide> */ <del> protected $_allFetched = true; <add> protected $_allFetched = false; <ide> <ide> /** <ide> * Current record pointer <ide> class Buffere...
1
Go
Go
open the journald following descriptor earlier
ab62ecf393b92d1e644f82c4711b6618b7c572a5
<ide><path>daemon/logger/journald/read.go <ide> func (s *journald) readLogs(logWatcher *logger.LogWatcher, config logger.ReadCon <ide> } <ide> cursor = s.drainJournal(logWatcher, config, j, "") <ide> if config.Follow { <del> // Create a pipe that we can poll at the same time as the journald descriptor. <del> if C....
1
Text
Text
promote 0x to tier 4
952cc0a038498c48857fa8f2e65f779204d87973
<ide><path>doc/contributing/diagnostic-tooling-support-tiers.md <ide> The tools are currently assigned to Tiers as follows: <ide> <ide> ## Tier 4 <ide> <del>| Tool Type | Tool/API Name | Regular Testing in Node.js CI | Integrated with Node.js | Target Tier | <del>| --------- | ------------- | ------------------------...
1
Python
Python
update pretrain command
008e1ee1dd1bd624eff198cbdedc504c36f82693
<ide><path>spacy/cli/pretrain.py <ide> from spacy.attrs import ID, HEAD <ide> from spacy.util import minibatch, minibatch_by_words, use_gpu, compounding, ensure_path <ide> from spacy._ml import Tok2Vec, flatten, chain, zero_init, create_default_optimizer <del>from thinc.v2v import Affine <add>from thinc.v2v import Affi...
1
Javascript
Javascript
remove bogus @param fields
ba731ab850e1d9587572ce367cec124c207adf8d
<ide><path>src/ng/directive/input.js <ide> var VALID_CLASS = 'ng-valid', <ide> * }; <ide> * ``` <ide> * <del> * @param {string} name The name of the validator. <del> * @param {Function} validationFn The validation function that will be run. <del> * <ide> * @property {Array.<Function>} $viewChangeListeners Array of ...
1
Javascript
Javascript
add rebeccapurple test
4b6bd05a3256adae42b4e0ed68839ff9f317ba1a
<ide><path>test/color/rgb-test.js <ide> suite.addBatch({ <ide> assert.rgbEqual(d3.rgb("aliceblue"), 240, 248, 255); <ide> assert.rgbEqual(d3.rgb("yellow"), 255, 255, 0); <ide> }, <add> "parses \"rebeccapurple\"": function(d3) { <add> assert.rgbEqual(d3.rgb("rebeccapurple"), 102, 51, 153); <add> ...
1
Python
Python
add regression test for
6b4bdd1a6645899fe87fb144d9012ec488580651
<ide><path>numpy/core/tests/test_regression.py <ide> def test_zeros(self): <ide> except Exception, e: <ide> self.fail("Got exception of type %s instead of ValueError" % type(e)) <ide> <add> def test_huge_arange(self): <add> """Regression test for #1062.""" <add> # Set a size which ...
1
Ruby
Ruby
fix typos in the description of the test
120751d2d482119f688c44d20bda78e7f4abc8f6
<ide><path>test/test_table.rb <ide> module Arel <ide> end <ide> <ide> describe Table do <del> describe 'when checking existence of a table' do <del> it 'should be precent in the table cache despite the class of its name' do <add> describe 'when checking the existence of a table' do <add> it 'should...
1
Ruby
Ruby
add to_json method
c34b4c3abd0654733a072df5efbfafb04e1d8d4f
<ide><path>Library/Homebrew/requirements/macos_requirement.rb <ide> def message(type: :formula) <ide> versions newer than #{@version.pretty_name} due to an upstream incompatibility. <ide> EOS <ide> when :cask <del> "This cask does not on macOS versions newer than #{@version.pretty_name}."...
1
Javascript
Javascript
add support to tag-hyphenated elements
534f13025aeb59a7d5893ce62efafa0b066a4934
<ide><path>src/core/var/rsingleTag.js <ide> define(function() { <ide> // Match a standalone tag <del> return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); <add> return (/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/); <ide> }); <ide><path>test/unit/core.js <ide> test("jQuery('html')", function() { <ide> equal( jQuery( "\\<div\\>" ).length, 0, "I...
2
Javascript
Javascript
use a single lane per priority level
d3d2451a08c9afcc561f66383211ce2274d864e6
<ide><path>packages/react-reconciler/src/ReactFiberLane.new.js <ide> export const SyncLane: Lane = /* */ 0b0000000000000000000 <ide> export const SyncBatchedLane: Lane = /* */ 0b0000000000000000000000000000010; <ide> <ide> export const InputDiscreteHydrationLane: Lane = /* *...
2
Javascript
Javascript
update eslint-check.js to object style
87b9a77290cd8727936ef15ea7f460519f8d91f5
<ide><path>tools/eslint-rules/eslint-check.js <ide> const utils = require('./rules-utils.js'); <ide> const msg = 'Please add a skipIfEslintMissing() call to allow this test to ' + <ide> 'be skipped when Node.js is built from a source tarball.'; <ide> <del>module.exports = function(context) { <del> const m...
1
Javascript
Javascript
remove extra comments and empty test
396dd7f11c7551d3250c38909f333904cd85f14e
<ide><path>packages/ember-glimmer/lib/helpers/get.js <ide> import { isConst } from 'glimmer-reference'; <ide> <ide> export default { <ide> isInternalHelper: true, <del> // toReference(args) { <ide> <ide> toReference(args) { <ide> let sourceReference = args.positional.at(0); <ide> export default { <ide> ...
2
Python
Python
add a test case for invalid app key scenario
174af8f8f78300304caf5787c20cd74bc26dd832
<ide><path>libcloud/test/common/test_ovh.py <ide> class BaseOvhMockHttp(MockHttp): <ide> <ide> def _get_method_name(self, type, use_param, qs, path): <add> if type: <add> meth_name = '_json%s_%s_%s' % (FORMAT_URL.sub('_', path), 'get', type) <add> return meth_name <ide> return ...
2
Text
Text
link minitest assertions documentation
e96e840ede2a7400f3acc73ab819ff91de068a1d
<ide><path>guides/source/testing.md <ide> Ideally, you would like to include a test for everything which could possibly br <ide> <ide> By now you've caught a glimpse of some of the assertions that are available. Assertions are the worker bees of testing. They are the ones that actually perform the checks to ensure tha...
1
Javascript
Javascript
fix coding style in test/unit/function_spec.js
3cd64a85ba9082587fd2b69a6ca1d84b6adb3cae
<ide><path>test/unit/function_spec.js <ide> describe('function', function() { <ide> this.addMatchers({ <ide> toMatchArray: function(expected) { <ide> var actual = this.actual; <del> if (actual.length != expected.length) <add> if (actual.length != expected.length) { <ide> return...
1
Ruby
Ruby
initialize instance variables
dc2352c58f0f05d9df171538483f31d42e9f0668
<ide><path>actionpack/lib/action_dispatch/middleware/session/abstract_store.rb <ide> def initialize(by, env) <ide> @env = env <ide> @delegate = {} <ide> @loaded = false <add> @exists = nil # we haven't checked yet <ide> end <ide> <ide> def destroy <ide> def inspect <...
1
Text
Text
fix portuguese translations
d4f8b00c84207b1ec40f2d601b9cda4d1c064767
<ide><path>curriculum/challenges/portuguese/03-front-end-libraries/sass/use-each-to-map-over-items-in-a-list.portuguese.md <ide> localeTitle: Use @each para mapear itens em uma lista <ide> --- <ide> <ide> ## Description <del><section id="description"> O último desafio mostrou como o <code>@for</code> diretiva usa um v...
1
Text
Text
add node 12 to the first list of versions
e029b927c2a291b78bb27202a14bff09628b75a6
<ide><path>CHANGELOG.md <ide> <ide> Select a Node.js version below to view the changelog history: <ide> <del>* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - **Current** <add>* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) - **Current** <add>* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - Current <ide> * [Node.js ...
1
Mixed
Javascript
use objects with null prototype in agent
2ef9a76ece1e403d1dd7019fceb8f258607e7a69
<ide><path>doc/api/http.md <ide> terminates them. <ide> ### `agent.freeSockets` <ide> <!-- YAML <ide> added: v0.11.4 <add>changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/36409 <add> description: The property now has a `null` prototype. <ide> --> <ide> <ide> * {Object} <ide>...
9
Python
Python
accept json= parameter for payload
fd78c65cabae2241a4c1d3a792e00620049cbf3e
<ide><path>airflow/hooks/http_hook.py <ide> def get_conn(self, headers=None): <ide> <ide> return session <ide> <del> def run(self, endpoint, data=None, headers=None, extra_options=None): <del> """ <add> def run(self, endpoint, data=None, headers=None, extra_options=None, **request_kwargs): <add> ...
2
Text
Text
add clicksign to inthewild.md
c046c49d45975e99d7038fa9e19ff5429d16d1f9
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [Clairvoyant](https://clairvoyantsoft.com) [[@shekharv](https://github.com/shekharv)] <ide> 1. [Classmethod, Inc.](https://classmethod.jp/) [[@shoito](https://github.com/shoito)] <ide> 1. [Cleartax](https://cleartax.in/) [[@anks](https://gi...
1
Python
Python
add head_mask and decoder_head_mask to fsmt
0c6c0afc0e06bc2e8277e16bc5e57e470232f63b
<ide><path>src/transformers/models/fsmt/modeling_fsmt.py <ide> also be used by default. If you want to change padding behavior, you should read <ide> :func:`modeling_fstm._prepare_fstm_decoder_inputs` and modify. See diagram 1 in the paper for more info on <ide> the default strategy ...
2
Java
Java
improve completable.delay operator internals
27c63b6a4c2074657aed4e7ee6e39a52173bbed5
<ide><path>src/main/java/io/reactivex/internal/operators/completable/CompletableDelay.java <ide> package io.reactivex.internal.operators.completable; <ide> <ide> import java.util.concurrent.TimeUnit; <add>import java.util.concurrent.atomic.AtomicReference; <ide> <ide> import io.reactivex.*; <del>import io.reactivex.d...
2
Go
Go
add support for tty in composefile v3
de15de6b4d90f8d707d92ab2f8b6a63e0742e8ce
<ide><path>cli/command/stack/deploy.go <ide> func convertService( <ide> User: service.User, <ide> Mounts: mounts, <ide> StopGracePeriod: service.StopGracePeriod, <add> TTY: service.Tty, <ide> }, <ide> Resources: resources, <ide> RestartPolicy: restartPolicy,
1
Javascript
Javascript
ignore symbols and functions in select tag
de5102c4cd9a0ece37872c5a1c6b1e1345b8afef
<ide><path>packages/react-dom/src/__tests__/ReactDOMSelect-test.js <ide> describe('ReactDOMSelect', () => { <ide> expect(node.options[1].selected).toBe(false); // b <ide> expect(node.options[2].selected).toBe(false); // c <ide> }); <add> <add> describe('When given a Symbol value', () => { <add> it('treats...
3
Javascript
Javascript
fix subtraction of runtimes
651e2ff0cb5665710234095fea4a5cc32436aa59
<ide><path>lib/util/runtime.js <ide> const subtractRuntime = (a, b) => { <ide> return undefined; <ide> } else if (typeof a === "string") { <ide> if (typeof b === "string") { <del> return undefined; <add> return a; <ide> } else if (b.has(a)) { <ide> return undefined; <ide> } else { <ide><path>test/config...
11
Javascript
Javascript
fix event handler method name in specs
e92cf0fe70b529f294a0206b7e403c99b0c4e7b0
<ide><path>spec/text-editor-component-spec.js <ide> describe('TextEditorComponent', () => { <ide> const {component, element, editor} = buildComponent() <ide> const {lineHeight} = component.measurements <ide> <del> component.didMouseDownOnLines({ <add> component.didMouseDownOnContent({ <ide> ...
1
Python
Python
emit error on duplicated dag id
09674537cb12f46ca53054314aea4d8eec9c2e43
<ide><path>airflow/example_dags/tutorial_taskflow_api_etl_virtualenv.py <ide> <ide> # [START instantiate_dag] <ide> @dag(default_args=default_args, schedule_interval=None, start_date=days_ago(2), tags=['example']) <del>def tutorial_taskflow_api_etl(): <add>def tutorial_taskflow_api_etl_virtualenv(): <ide> """ <ide...
10
PHP
PHP
fix invalid change by phpcs fixer
b5ea41d2c7fd49534ff53498aa92f019dafb7f85
<ide><path>src/Validation/ValidatorAwareTrait.php <ide> protected function createValidator(string $name): Validator <ide> throw new RuntimeException($message); <ide> } <ide> <del> $validator = new $this()->_validatorClass(); <add> // @codingStandardsIgnoreLine <add> $validator ...
1
Text
Text
remove duplicate changelog entry
4a9298223813bf32f90082c53999cb04e7d1a49e
<ide><path>CHANGELOG.md <ide> * [BUGFIX] Make errors thrown by Ember use `Ember.Error` consistently. <ide> * [BUGFIX] Ensure controllers instantiated by the `{{render}}` helper are properly torn down. <ide> * [BUGFIX] sync back burner: workaround IE's issue with try/finally without Catch. Also no longer force deoptimiz...
1
PHP
PHP
change method order
5be7f261e8a2f03d6fa6be99eb79e261a880421d
<ide><path>src/Illuminate/Cache/TaggedCache.php <ide> public function flush() <ide> $this->tags->reset(); <ide> } <ide> <add> /** <add> * {@inheritdoc} <add> */ <add> protected function itemKey($key) <add> { <add> return $this->taggedItemKey($key); <add> } <add> <ide> /** <id...
1
Go
Go
fix comparison against wrong constant
b92d91d6a1e1e29a24e0a9cbf78b2440a8258ab4
<ide><path>libnetwork/networkdb/delegate.go <ide> func (nDB *NetworkDB) handleTableEvent(tEvent *TableEvent) bool { <ide> // If it is a delete event and we did not have a state for it, don't propagate to the application <ide> // If the residual reapTime is lower or equal to 1/6 of the total reapTime don't bother br...
1
PHP
PHP
add additional tests to config repository
d1208ecab470b80389f940d2e46c7879c82ccabb
<ide><path>tests/Config/RepositoryTest.php <ide> class RepositoryTest extends TestCase <ide> */ <ide> protected $config; <ide> <del> public function setUp() <add> protected function setUp() <ide> { <ide> $this->repository = new Repository($this->config = [ <ide> 'foo' => 'bar', <...
1
Python
Python
add pytorch model for new german distilbert model
22333945fbd1f5eff8cfb664ac6f63363e6b72d4
<ide><path>transformers/modeling_distilbert.py <ide> <ide> DISTILBERT_PRETRAINED_MODEL_ARCHIVE_MAP = { <ide> 'distilbert-base-uncased': "https://s3.amazonaws.com/models.huggingface.co/bert/distilbert-base-uncased-pytorch_model.bin", <del> 'distilbert-base-uncased-distilled-squad': "https://s3.amazonaws.com/mode...
1
Ruby
Ruby
remove useless method
64df657026010a6c0500a17f64cd39a9996dc58e
<ide><path>actionpack/lib/action_controller/metal/live.rb <ide> def build_buffer(response, body) <ide> body.each { |part| buf.write part } <ide> buf <ide> end <del> <del> def handle_conditional_get! <del> super unless committed? <del> end <ide> end <ide> <ide> def process...
1
Ruby
Ruby
add missing verbose puts
20eeb5aca03915bc071a9f42b0bb3fc188fc1818
<ide><path>Library/Homebrew/dev-cmd/bottle.rb <ide> def merge(args:) <ide> <ide> all_bottle_hash = { formula_name => all_bottle_formula_hash } <ide> <del> "Copying #{local_filename} to #{all_local_filename}" if args.verbose? <add> puts "Copying #{local_filename} to #{all_local_...
1
Ruby
Ruby
add available languages to cask info command
92311901c9d85e0e43147386535118b66ca718cd
<ide><path>Library/Homebrew/cask/lib/hbc/cli/info.rb <ide> def self.info(cask) <ide> installation_info(cask) <ide> repo_info(cask) <ide> name_info(cask) <add> language_info(cask) <ide> artifact_info(cask) <ide> Installer.print_caveats(cask) <ide> end <ide> def self.n...
6
Python
Python
update linode tests for new create_node api
d9efb0b3cc51a8c84f209da2c48ce93b26a68a73
<ide><path>test/test_linode.py <ide> # <ide> <ide> from libcloud.drivers.linode import LinodeNodeDriver <del>from libcloud.base import Node <add>from libcloud.base import Node, NodeOptions, NodeAuthPassword <ide> from test import MockHttp, TestCaseMixin <ide> <ide> import unittest <ide> def test_destroy_node(self): <...
1
Python
Python
add day of month tokenizer exceptions for danish
6aa241bcec8c9bacac5c9a793fc8a255a291cac5
<ide><path>spacy/lang/da/tokenizer_exceptions.py <ide> "øv.", "øvr.", "årg.", "årh.", ""]: <ide> _exc[orth] = [{ORTH: orth}] <ide> <add># Dates <add>for h in range(1, 31 + 1): <add> for period in ["."]: <add> _exc["%d%s" % (h, period)] = [ <add> {ORTH: "%d." % h}] <add> <ide> _custom_b...
2
Javascript
Javascript
add app to showcase - rnf beacon toolkit
4c3c15fd8978f37c24237033e7e4db3a254e131f
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://itunes.apple.com/us/app/repairshopr-payments-lite/id1023262888?mt=8', <ide> author: 'Jed Tiotuico', <ide> }, <add> { <add> name: 'RNF Beacon Toolkit', <add> icon: 'http://a1.mzstatic.com/eu/r30/Purple20/v4/99/79/5e/...
1