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
Python
Python
fix mypy errors for tableau provider
6174198a3fa3ab7cffa7394afad48e5082210283
<ide><path>airflow/providers/tableau/operators/tableau.py <ide> def execute(self, context: dict) -> str: <ide> <ide> response = method(resource_id) <ide> <del> if self.method == 'refresh': <del> <del> job_id = response.id <add> job_id = response.id <ide> <add> if self.meth...
1
Java
Java
remove fixme on retain in reactorserverhttprequest
65246f8cfdcda92288e96209edbbdad3a4321a80
<ide><path>spring-web-reactive/src/main/java/org/springframework/http/server/reactive/ReactorServerHttpRequest.java <ide> protected MultiValueMap<String, HttpCookie> initCookies() { <ide> <ide> @Override <ide> public Flux<DataBuffer> getBody() { <del> return this.channel.receive() <del> .retain(...
1
PHP
PHP
reduce duplicate calls
82913a35db2c80f61b3af713b9493b97235fe89e
<ide><path>src/Illuminate/Queue/Worker.php <ide> public function __construct(QueueManager $manager, <ide> */ <ide> public function daemon($connectionName, $queue, WorkerOptions $options) <ide> { <del> if ($this->supportsAsyncSignals()) { <add> if ($supportsAsyncSignals = $this->supportsAsyncS...
1
Ruby
Ruby
allow loading formula from contents
ff0f6598ce6057a36c222e2ec374d4ae37e2258a
<ide><path>Library/Homebrew/formulary.rb <ide> def self.formula_class_get(path) <ide> FORMULAE.fetch(path) <ide> end <ide> <del> def self.load_formula(name, path) <add> def self.load_formula(name, path, contents, namespace) <ide> mod = Module.new <del> const_set("FormulaNamespace#{Digest::MD5.hexdigest(...
1
Text
Text
add resources for learning tableau
e268de9cac4a8ee2fbfdbb1bfc6874890db66376
<ide><path>guide/english/data-science-tools/tableau/index.md <ide> If you want to learn Tableau on your own, it's possible to get a free license fo <ide> ### Links: <ide> * [Tableau Website](https://www.tableau.com) <ide> * [Tableau Public Gallery](https://public.tableau.com/en-us/s/gallery) <add> * [Tableau Learn...
1
Ruby
Ruby
update pat regex
229e035a3dbc3268683c9f045eb7a58c19f500f7
<ide><path>Library/Homebrew/utils/github/api.rb <ide> module GitHub <ide> #{ALL_SCOPES_URL} <ide> #{Utils::Shell.set_variable_in_profile("HOMEBREW_GITHUB_API_TOKEN", "your_token_here")} <ide> EOS <del> GITHUB_PAT_REGEX = /^(?:[a-f0-9]{40}|gp1_[A-Za-z0-9_]{40,255})$/.freeze <add> GITHUB_PERSONAL_ACCESS...
1
PHP
PHP
apply fixes from styleci
52a6e51d672ed65574733cc8be8652ebd2efad99
<ide><path>tests/Database/DatabaseEloquentBelongsToManySyncReturnValueTypeTest.php <ide> protected function seedData() <ide> BelongsToManySyncTestTestUser::create(['id' => 1, 'email' => 'taylorotwell@gmail.com']); <ide> BelongsToManySyncTestTestArticle::insert([ <ide> ['id' => '7b7306ae-5a02...
1
Python
Python
show the full list of leaked objects
d21ec05eb006c072e4fd8c5fe1bd63619378aded
<ide><path>numpy/testing/_private/utils.py <ide> import contextlib <ide> from tempfile import mkdtemp, mkstemp <ide> from unittest.case import SkipTest <add>import pprint <ide> <ide> from numpy.core import( <ide> float32, empty, arange, array_repr, ndarray, isnat, array) <ide> def _assert_no_gc_cycles_context(nam...
1
Text
Text
fix new version for match_alignments
40ca23bde007f087c8628811a44c4b8b40c41aba
<ide><path>website/docs/api/matcher.md <ide> Find all token sequences matching the supplied patterns on the `Doc` or `Span`. <ide> | _keyword-only_ | ...
1
PHP
PHP
pass the locator to the constructor
cb4d38da950d054e4c7785cc5baace8e47310584
<ide><path>src/ORM/AssociationCollection.php <ide> use ArrayIterator; <ide> use Cake\Datasource\EntityInterface; <ide> use Cake\ORM\Locator\LocatorAwareTrait; <add>use Cake\ORM\Locator\LocatorInterface; <ide> use InvalidArgumentException; <ide> use IteratorAggregate; <ide> <ide> class AssociationCollection implements ...
3
Text
Text
add flow reminder to pr template
bfd5b1878e6eeebd8899bd221cb62ddc046c875d
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <del>*Before* submitting a pull request, please make sure the following is done... <add>**Before submitting a pull request,** please make sure the following is done: <ide> <del>1. Fork the repo and create your branch from `master`. <add>1. Fork [the repository](https://githu...
2
Ruby
Ruby
add a template per case on asset debugging tests
0063fb307a8f9cc033e3d6c3de95a0c8dec120e4
<ide><path>railties/test/application/asset_debugging_test.rb <ide> class ::PostsController < ActionController::Base ; end <ide> image_submit_tag: %r{<input type="image" src="/images/#{contents}" />} <ide> } <ide> <add> class ::PostsController < ActionController::Base <add> def index <ad...
1
PHP
PHP
remove prefix before normalizing the channel name
b204042056458faefee1be04c0e4b2fb59424cbe
<ide><path>src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php <ide> public function __construct(Redis $redis, $connection = null) <ide> */ <ide> public function auth($request) <ide> { <del> $channelName = $this->normalizeChannelName($request->channel_name); <add> $channelName = str...
1
PHP
PHP
fix coding style
50f048dd87d4b28912ccbaa97faf3867cb73f4af
<ide><path>src/ORM/Association/HasMany.php <ide> protected function _saveTarget( <ide> if (!empty($options['atomic'])) { <ide> $original[$k]->setErrors($entity->getErrors()); <ide> $original[$k]->setInvalid($entity->getInvalid()); <add> <ide> return false; <id...
2
Text
Text
update documentation with coding guidelines
11c41993f1654631a4cc9162404107f76bc5a949
<ide><path>CONTRIBUTING.md <ide> to expect from the Spring team when evaluating your submission._ <ide> _Please refer back to this document as a checklist before issuing any pull <ide> request; this will save time for everyone!_ <ide> <del>## Understand the basics <add>## Take your first steps <add> <add>### Understan...
3
Javascript
Javascript
add forum link in the docs
760f726e516752d27142346d8552682d3f6f0532
<ide><path>docs/source/_static/js/custom.js <ide> function addHfMenu() { <ide> <div class="menu"> <ide> <a href="/welcome">🔥 Sign in</a> <ide> <a href="/models">🚀 Models</a> <add> <a href="http://discuss.huggingface.co">💬 Forum</a> <ide> </div> <ide> `; <ide> document.body.inse...
1
PHP
PHP
make set() also hook events up
d95c00503897fdc389d19ded11888b979053d894
<ide><path>src/Utility/ObjectRegistry.php <ide> public function reset() { <ide> } <ide> <ide> /** <del> * set an object directly into the registry by name <add> * Set an object directly into the registry by name. <ide> * <del> * This is primarily to aid testing <add> * If this collection implements events, the passe...
2
Python
Python
assert length first
0ba5cf51d2735432e367ff384cbb53e10e02bd74
<ide><path>spacy/tests/tokenizer/test_urls.py <ide> def test_tokenizer_handles_simple_url(tokenizer, url): <ide> @pytest.mark.parametrize("url", URLS) <ide> def test_tokenizer_handles_prefixed_url(tokenizer, prefix, url): <ide> tokens = tokenizer(prefix + url) <add> assert len(tokens) == 2 <ide> assert token...
1
Text
Text
update line 28 and 34
2e0c720e8aaf08ca1fb8c316cbc616fe0c3590b8
<ide><path>guide/english/computer-hardware/motherboard/index.md <ide> To understand how computers work, you don't need to know every single part of th <ide> - A second chip controls the input and output (I/O) functions. It is not connected directly to the CPU but to the Northbridge. This I/O controller is referred to a...
1
Javascript
Javascript
add batched mode
862f499facfba9635f21c25b17368cb980b17c7e
<ide><path>packages/react-art/src/ReactART.js <ide> <ide> import React from 'react'; <ide> import ReactVersion from 'shared/ReactVersion'; <add>import {LegacyRoot} from 'shared/ReactRootTags'; <ide> import { <ide> createContainer, <ide> updateContainer, <ide> class Surface extends React.Component { <ide> <ide> ...
24
Python
Python
fix deprecation warnings for int div
531336bbfd2a97cf800f610d971d6ec0a1578752
<ide><path>examples/pytorch/speech-pretraining/run_wav2vec2_pretraining_no_trainer.py <ide> def __call__(self, features: List[Dict[str, Union[List[int], torch.Tensor]]]) -> <ide> batch_size = batch["input_values"].shape[0] <ide> <ide> mask_indices_seq_length = self.model._get_feat_extract_output_length...
10
Ruby
Ruby
allow skip_clean? to skip entire directories
6661f78618a640ac9570f2003df5c359d1027579
<ide><path>Library/Homebrew/brew.h.rb <ide> def clean_file path <ide> <ide> def clean_dir d <ide> d.find do |path| <del> if not path.file? <add> if path.directory? <add> Find.prune if @f.skip_clean? path <add> elsif not path.file? <ide> next <ide> elsif path.extname == '.la' a...
1
Javascript
Javascript
add webgl constants for some technique.states
756df409752902dd860790bcebb25d6f6cdc8c09
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> 10497: THREE.RepeatWrapping <ide> }; <ide> <add> var WEBGL_SIDES = { <add> 1028: THREE.BackSide, // Culling front <add> 1029: THREE.FrontSide // Culling back <add> //1032: THREE.NoSide // Culling front and back, what ...
1
Text
Text
update v8 debugger doc to mention --inspect-brk
ec4440aa10383900b023a20582df00df62e74fe7
<ide><path>doc/api/debugger.md <ide> V8 Inspector can be enabled by passing the `--inspect` flag when starting a <ide> Node.js application. It is also possible to supply a custom port with that flag, <ide> e.g. `--inspect=9222` will accept DevTools connections on port 9222. <ide> <del>To break on the first line of the...
1
Javascript
Javascript
add touch support to `d3.svg.mouse`
5f2e430f25076dd222b1e88bde0ffef857cd80bb
<ide><path>d3.js <ide> d3.svg.mouse = function(container) { <ide> d3_mouse_bug44083 = !(ctm.f || ctm.e); <ide> svg.remove(); <ide> } <del> if (d3_mouse_bug44083) { <add> if (d3.event.touches && d3.event.touches.length > 0) { <add> point.x = d3.event.touches[0].pageX; <add> point.y = d3.event.touches[0...
3
Go
Go
add compatibility with contrib builder
756df27e45f2e5d9033058f60afa9547239af1d6
<ide><path>builder.go <ide> func (builder *Builder) Build(dockerfile io.Reader, stdout io.Writer) (*Image, e <ide> } <ide> return err <ide> } <del> line = strings.TrimSpace(line) <add> line = strings.Replace(strings.TrimSpace(line), " ", " ", 1) <ide> // Skip comments and empty line <ide> if len(line) == ...
1
Java
Java
define event category in event class
8ba4a2f127ee5fd862f2bb573ded50abce70c048
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java <ide> import com.facebook.react.common.mapbuffer.ReadableMapBuffer; <ide> import com.facebook.react.config.ReactFeatureFlags; <ide> import com.facebook.react.fabric.events.EventBeatManager; <del>import com.facebook.react.fabric.events....
7
Text
Text
write changelog entry for . [ci skip]
9f3b089b7b288cce1cb891537a8ecae7dba015df
<ide><path>activerecord/CHANGELOG.md <add>* Stop interpreting SQL 'string' columns as :string type because there is no <add> common STRING datatype in SQL. <add> <add> *Ben Woosley* <add> <ide> * `ActiveRecord::FinderMethods#exists?` returns `true`/`false` in all cases. <ide> <ide> *Xavier Noria*
1
Python
Python
fix intermittent orphan test
387c43f625e379a0de8e3527a98833eb5f62d3bf
<ide><path>tests/jobs/test_scheduler_job.py <ide> # <ide> <ide> import datetime <add>import logging <ide> import os <ide> import shutil <ide> from datetime import timedelta <ide> import airflow.example_dags <ide> import airflow.smart_sensor_dags <ide> from airflow import settings <add>from airflow.configuration import...
1
Go
Go
fix error handling if we didn't receive a response
efe0ab37a1ded98fe879c366ccfa6d6db3d6ed78
<ide><path>libnetwork/resolver.go <ide> func (r *resolver) ServeDNS(w dns.ResponseWriter, query *dns.Msg) { <ide> resp, err = co.ReadMsg() <ide> // Truncated DNS replies should be sent to the client so that the <ide> // client can retry over TCP <del> if err != nil && (resp != nil && !resp.Truncated) { <add>...
1
PHP
PHP
convert last long notation array to short notation
945d4f559448ac6ec125bc44858e6c5815f9afd0
<ide><path>resources/views/emails/auth/reminder.blade.php <ide> <h2>Password Reset</h2> <ide> <ide> <div> <del> To reset your password, complete this form: {{ URL::to('password/reset', array($token)) }}.<br/> <add> To reset your password, complete this form: {{ URL::to('password/reset', [$token]) }}.<br/> <ide...
1
Java
Java
update copyright for yoga files
b8cb8d50a5e0bea9ceaade49b97806998c84cdbe
<ide><path>ReactAndroid/src/main/java/com/facebook/yoga/YogaAlign.java <ide> /* <del> * Copyright (c) Facebook, Inc. and its affiliates. <add> * Copyright (c) 2018-present, Facebook, Inc. <ide> * <ide> * This source code is licensed under the MIT license found in the LICENSE <ide> * file in the root directory of...
19
Ruby
Ruby
remove array workaround in pg quoting
228aa4fff8d91a179abc81be7891d5a8772257c3
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb <ide> def quote(value, column = nil) #:nodoc: <ide> else <ide> super <ide> end <del> when Array <del> super(value, array_column(column)) <ide> when Hash <ide> ...
1
Go
Go
monitor the tty after starting the container
656b66e51b18ff9f5f2720c3ce9ff9ec2937f05f
<ide><path>commands.go <ide> func (cli *DockerCli) CmdRun(args ...string) error { <ide> hijacked := make(chan bool) <ide> <ide> if config.AttachStdin || config.AttachStdout || config.AttachStderr { <del> if config.Tty { <del> if err := cli.monitorTtySize(runResult.ID); err != nil { <del> utils.Errorf("Error mo...
1
Python
Python
make main a strict prototype in configure checks
c0bba1ce75197a58a1d9f6ec8b13b5a09f18a558
<ide><path>numpy/distutils/command/config.py <ide> def check_decl(self, symbol, <ide> headers=None, include_dirs=None): <ide> self._check_compiler() <ide> body = """ <del>int main() <add>int main(void) <ide> { <ide> #ifndef %s <ide> (void) %s; <ide> def check_macro_true(self, symb...
1
Javascript
Javascript
stabilize test for windows
f5c8b428ab3975f75461e9d50155bf5344531974
<ide><path>test/integration/getserversideprops/test/index.test.js <ide> const runTests = (dev = false) => { <ide> await waitFor(500) <ide> await browser.eval('window.beforeClick = "abc"') <ide> await browser.elementByCss('#broken-post').click() <del> await waitFor(1000) <del> expect(await browser.eval...
2
Javascript
Javascript
add emoj3 app to showcase
f01addb4a182d973103c931cc9a6b9b34449a76e
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> linkPlayStore: 'https://play.google.com/store/apps/details?id=com.eon', <ide> author: 'Sharath Prabhal', <ide> }, <add> { <add> name: 'Emoj3 - The emoji only social network', <add> icon: 'https://emoj3.com/images/favicon/apple-tou...
1
PHP
PHP
fix stupid mistake
fad9daf85238dc788dfb972388c845abbac71399
<ide><path>tests/TestCase/Database/Type/FloatTypeTest.php <ide> public function setUp() <ide> $this->type = Type::build('float'); <ide> $this->driver = $this->getMock('Cake\Database\Driver'); <ide> $this->locale = I18n::locale(); <add> $this->numberClass = FloatType::$numberClass; <ide> ...
1
Javascript
Javascript
remove forced optimization from es
ef8cc301fed5f0b4b3107fae5d896eb27f9519f8
<ide><path>benchmark/es/defaultparams-bench.js <ide> function defaultParams(x = 1, y = 2) { <ide> <ide> function runOldStyleDefaults(n) { <ide> <del> common.v8ForceOptimization(oldStyleDefaults); <del> <ide> var i = 0; <ide> bench.start(); <ide> for (; i < n; i++) <ide> function runOldStyleDefaults(n) { <ide> ...
2
Text
Text
remove the need for bootstrap
9fb0b57c26a7fc754e95d85051aac67841c79240
<ide><path>docs/how-to-setup-freecodecamp-locally.md <ide> You need to point your local clone to the `upstream` in addition to the `origin` <ide> git remote -v <ide> ``` <ide> <del> The output should be something like below: <add> The output should be something like below: <ide> <ide> ```she...
1
Java
Java
provide full request url for "http.url" keyvalue
681cf0dae7c739125479168b5a7ce7e716eba2f5
<ide><path>spring-web/src/main/java/org/springframework/http/client/observation/DefaultClientHttpObservationConvention.java <ide> public class DefaultClientHttpObservationConvention implements ClientHttpObserva <ide> <ide> private static final KeyValue EXCEPTION_NONE = KeyValue.of(ClientHttpObservation.LowCardinality...
5
PHP
PHP
fix coding style
1ebb2ed0a0d2d710e54fb436c943ceef3ff37fcd
<ide><path>lib/Cake/View/View.php <ide> public function renderCache($filename, $timeStart) { <ide> //@codingStandardsIgnoreStart <ide> @unlink($filename); <ide> //@codingStandardsIgnoreEnd <del> unset ($out); <add> unset($out); <ide> return false; <ide> } else { <ide> if ($this->layout === ...
1
Go
Go
fix typo in client/errors.go comments
a68ba6be5d5e3341bb1deca52329d1a8aa6c024d
<ide><path>client/errors.go <ide> type imageNotFoundError struct { <ide> imageID string <ide> } <ide> <del>// NoFound indicates that this error type is of NotFound <add>// NotFound indicates that this error type is of NotFound <ide> func (e imageNotFoundError) NotFound() bool { <ide> return true <ide> } <ide> type c...
1
Python
Python
handle unknown tags in koreantokenizer tag map
e908a67829e546d1dc9f93aa409b8bcf8939f758
<ide><path>spacy/lang/ko/__init__.py <ide> from ...language import Language, BaseDefaults <ide> from ...tokens import Doc <ide> from ...scorer import Scorer <del>from ...symbols import POS <add>from ...symbols import POS, X <ide> from ...training import validate_examples <ide> from ...util import DummyTokenizer, regist...
2
Javascript
Javascript
add missing semicolon in rollercoaster
98da28a50e97792e1e9a3746266c88028f65fb41
<ide><path>examples/js/RollerCoaster.js <ide> var RollerCoasterLiftersGeometry = function ( curve, size ) { <ide> var point1 = shape[ j ]; <ide> var point2 = shape[ ( j + 1 ) % jl ]; <ide> <del> vector1.copy( point1 ) <add> vector1.copy( point1 ); <ide> vector1.applyQuaternion( quaternion ); <ide> vect...
1
Python
Python
remove old example
e44bbb53616e07ffcf855e7dea7bee9e3011d9da
<ide><path>examples/training/load_ner.py <del># Load NER <del>from __future__ import unicode_literals <del>import spacy <del>import pathlib <del>from spacy.pipeline import EntityRecognizer <del>from spacy.vocab import Vocab <del> <del>def load_model(model_dir): <del> model_dir = pathlib.Path(model_dir) <del> nlp ...
1
PHP
PHP
fix invalid key in translatorregistry
703f8a4240a71ec0db9d9bd19a3df2b0af37341d
<ide><path>src/I18n/TranslatorRegistry.php <ide> public function get($name, $locale = null) <ide> return $this->registry[$name][$locale] = $this->_getTranslator($name, $locale); <ide> } <ide> <del> $key = "translations.$name.$locale"; <add> // Cache keys cannot contain / if they go to...
1
Python
Python
add test_connection method to trino hook
122d2f69bbf39c445ddcaa5a9c09a9ea86434a55
<ide><path>airflow/providers/trino/hooks/trino.py <ide> def insert_rows( <ide> commit_every = 0 <ide> <ide> super().insert_rows(table, rows, target_fields, commit_every, replace) <add> <add> def test_connection(self): <add> """Tests the connection from UI using Trino specific query""" <ad...
2
PHP
PHP
remove unused use
7bd077e01692c04329c26148c54f648c3151d5d4
<ide><path>src/Illuminate/Broadcasting/BroadcastEvent.php <ide> <?php namespace Illuminate\Broadcasting; <ide> <del>use Pusher; <ide> use ReflectionClass; <ide> use ReflectionProperty; <ide> use Illuminate\Contracts\Queue\Job; <ide><path>src/Illuminate/Console/Command.php <ide> use Symfony\Component\Console\Input\Inpu...
5
Text
Text
fix changelog entry position [ci skip]
ccb009511685adac1d14d3c1e07dde640d0d7042
<ide><path>activesupport/CHANGELOG.md <del>## Rails 5.1.0.beta1 (February 23, 2017) ## <del> <ide> * `ActiveSupport::Gzip.decompress` now checks checksum and length in footer. <ide> <ide> *Dylan Thacker-Smith* <ide> <add> <add>## Rails 5.1.0.beta1 (February 23, 2017) ## <add> <ide> * Cache `ActiveSupport::Tim...
1
Javascript
Javascript
fix plugin typos in options validation
36b7f21b92cd4dbcece4fba3f7bf9dc0b109db56
<ide><path>lib/WebpackOptionsValidationError.js <ide> WebpackOptionsValidationError.formatValidationError = function formatValidationE <ide> "The 'debug' property was removed in webpack 2.\n" + <ide> "Loaders should be updated to allow passing this option via loader options in module.rules.\n" + <ide> ...
2
Ruby
Ruby
fix bad const override
5e6d5f68cacc5e0dbcd130ca62b811edd66bfe96
<ide><path>Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb <ide> let(:url) { "https://#{GitHubPackages::URL_DOMAIN}/v2/homebrew/core/spec_test/manifests/1.2.3" } <ide> let(:version) { "1.2.3" } <ide> let(:specs) { {} } <add> let(:authorization) { nil } <ide> <ide> describe "#fetch" do <...
1
Javascript
Javascript
increase test timeout in examples.test
f3fc2e63c31858119255cece99bca9aeef08bbf3
<ide><path>test/Examples.test.js <ide> describe("Examples", () => { <ide> done(); <ide> }); <ide> }, <del> 30000 <add> 45000 <ide> ); <ide> }); <ide> });
1
Python
Python
push fix to training
a049c8043b65ffed887e661b3b0506eb7a8c8c50
<ide><path>examples/run_glue.py <ide> def train(args, train_dataset, model, tokenizer): <ide> <ide> tr_loss += loss.item() <ide> if (step + 1) % args.gradient_accumulation_steps == 0: <del> scheduler.step() # Update learning rate schedule <ide> optimizer.step() <...
6
Javascript
Javascript
fix typo in example
2d6c218327c6361fde62efa5c019b49cfeef5c42
<ide><path>src/ngMock/angular-mocks.js <ide> angular.mock.$RootElementProvider = function() { <ide> * <ide> * myMod.controller('MyDirectiveController', ['$log', function($log) { <ide> * $log.info(this.name); <del> * })]; <add> * }]); <ide> * <ide> * <ide> * // In a test ...
1
Python
Python
remove unused train code
ed2aff2db346d7be9d94e73e0e2e2921cf966ccf
<ide><path>spacy/cli/train.py <ide> from ..training.example import Example <ide> from ..training.initialize import must_initialize, init_pipeline <ide> from ..errors import Errors <del>from ..util import dot_to_object <add>from ..util import resolve_dot_names <ide> <ide> <ide> @app.command( <ide> def update_meta( <id...
1
PHP
PHP
fix failing test
00edc594bf2304d7b36ee36df32760c61a63f004
<ide><path>lib/Cake/Test/Case/Utility/DebuggerTest.php <ide> public function testDump() { <ide> ob_start(); <ide> Debugger::dump($var); <ide> $result = ob_get_clean(); <add> <add> $open = php_sapi_name() == 'cli' ? "\n" : '<pre>'; <add> $close = php_sapi_name() == 'cli' ? "\n" : '</pre>'; <ide> $expected = <<...
1
Python
Python
fix two tests that were setup incorrectly
bd1d6a5d51cda6fdac6986669962e6e79f425656
<ide><path>numpy/core/tests/test_function_base.py <ide> def __init__(self, data): <ide> <ide> @property <ide> def __array_interface__(self): <del> # Ideally should be `'shape': ()` but the current interface <del> # does not allow that <del> return {'...
2
Text
Text
replace arraybufferview in crypto
def6072f3a8eeffaa8fd48e9088c50490c647765
<ide><path>doc/api/crypto.md <ide> added: v7.10.0 <ide> changes: <ide> - version: v9.0.0 <ide> pr-url: https://github.com/nodejs/node/pull/15231 <del> description: The `buffer` argument may be any ArrayBufferView <add> description: The `buffer` argument may be any `TypedArray` or `DataView`. <ide> --> <ide>...
1
Text
Text
clarify documentation by removing charged words
b0743dda8c0073df240907caf4e684b27cf13a39
<ide><path>guides/source/active_record_basics.md <ide> NOTE: While these column names are optional, they are in fact reserved by Active <ide> Creating Active Record Models <ide> ----------------------------- <ide> <del>It is very easy to create Active Record models. All you have to do is to <del>subclass the `Applicat...
6
Text
Text
remove reference to stale citgm job
48a1f75a90a402fce0664f19e1ddf77e5b281d5c
<ide><path>COLLABORATOR_GUIDE.md <ide> for changes that only affect comments or documentation. <ide> * [`citgm-smoker`](https://ci.nodejs.org/job/citgm-smoker/) <ide> uses [`CitGM`](https://github.com/nodejs/citgm) to allow you to run <ide> `npm install && npm test` on a large selection of common modules. This is <del>...
1
PHP
PHP
replacearray
16afbf8465dc54e4998e54e364fe4b0cda4a477f
<ide><path>tests/Support/SupportStrTest.php <ide> public function testRandom() <ide> public function testReplaceArray() <ide> { <ide> $this->assertEquals('foo/bar/baz', Str::replaceArray('?', ['foo', 'bar', 'baz'], '?/?/?')); <add> $this->assertEquals('foo/bar/baz/?', Str::replaceArray('?', ['foo...
1
Javascript
Javascript
add types to nextconfig in default template
0fd2f3ba98c44bb05df61b51a163081eea1644c8
<ide><path>packages/create-next-app/templates/default/next.config.js <del>module.exports = { <add>/** @type {import('next').NextConfig} */ <add>const nextConfig = { <ide> reactStrictMode: true, <ide> } <add> <add>module.exports = nextConfig
1
PHP
PHP
fix failing tests
f9928c018345785f47fad078b50e3f1db0f2f97e
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testFormControlsBlacklist() <ide> '*/div', <ide> '/fieldset', <ide> ]; <del> $this->assertHtml($expected, $result, 'A falsey value (array) should not remove the input'); <add> $this->assertHtml($...
3
Mixed
Javascript
add edge case to goaway request
7262d6321b1565bc3388c9e4c7e90b1232c18c71
<ide><path>doc/api/http2.md <ide> For HTTP/2 Client `Http2Session` instances only, the `http2session.request()` <ide> creates and returns an `Http2Stream` instance that can be used to send an <ide> HTTP/2 request to the connected server. <ide> <add>When a `ClientHttp2Session` is first created, the socket may not yet b...
2
Javascript
Javascript
add missing test coverage for setlocaladdress()
e53f23229113edc43e555aae070739b9e88bfc1b
<ide><path>test/parallel/test-dns-setlocaladdress.js <ide> const promiseResolver = new dns.promises.Resolver(); <ide> }, Error); <ide> assert.throws(() => { <ide> resolver.setLocalAddress(123); <del> }, Error); <add> }, { code: 'ERR_INVALID_ARG_TYPE' }); <add> assert.throws(() => { <add> resolver.setLocal...
1
Text
Text
add changelog for
951503819e067ee87569137111016e375d7b6a2b
<ide><path>actionmailer/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Prevent mail from being delievered within the mailer actions by setting `perform_deliveries: false` *Aditya Sanghi* <add> <add> mail :to => user.email, :subject => "Campaign", :perform_deliveries => user.sendable? <add> <add> ...
1
Javascript
Javascript
remove needless regexp capturing
b9457717cab131a0f6e58b12f4b65a7aae4ecc30
<ide><path>benchmark/common.js <ide> function formatResult(data) { <ide> } <ide> <ide> var rate = data.rate.toString().split('.'); <del> rate[0] = rate[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,'); <add> rate[0] = rate[0].replace(/(\d)(?=(?:\d\d\d)+(?!\d))/g, '$1,'); <ide> rate = (rate[1] ? rate.join('.') : r...
2
Python
Python
prepare tools/icu/icutrim.py for python 3
a91293d4d9ab403046ab5eb022332e4e3d249bd3
<ide><path>tools/icu/icutrim.py <ide> # Use "-h" to get help options. <ide> <ide> from __future__ import print_function <del>import sys <del>import shutil <del># for utf-8 <del>reload(sys) <del>sys.setdefaultencoding("utf-8") <ide> <add>import json <ide> import optparse <ide> import os <del>import json <ide> import ...
1
Python
Python
set version to v2.1.0a5.dev0
d8d27f9129f78f34e830c98b002c4cdc5a273639
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy-nightly" <del>__version__ = "2.1.0a4" <add>__version__ = "2.1.0a5.dev0" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI" <ide>...
1
PHP
PHP
update return description
dd65c3cee78475a9c16465bca5a2883b5530607a
<ide><path>src/Network/Session/CacheSession.php <ide> public function write($id, $data) <ide> * Method called on the destruction of a cache session. <ide> * <ide> * @param int $id ID that uniquely identifies session in cache <del> * @return bool True for successful delete, false otherwise. <add> ...
1
Ruby
Ruby
fix path issues in comments
569bd7c42583040a261372714bbd9abb16467e0c
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_user_path_2 <ide> <<-EOS.undent <ide> Homebrew's bin was not found in your PATH. <ide> Consider setting the PATH for example like so <del> echo export PATH="#{HOMEBREW_PREFIX}/bin:$PATH" >> ~/.bash_profile <add> echo export PATH...
1
Python
Python
fix serialization issue with nested sequential
5156673e1761a3ef8ad0d6d355d15554a8ea10a8
<ide><path>keras/models.py <ide> def get_config(self): <ide> return copy.deepcopy(config) <ide> <ide> @classmethod <del> def from_config(cls, config): <add> def from_config(cls, config, layer_cache={}): <ide> '''Supports legacy formats <ide> ''' <ide> from keras.utils.layer_ut...
1
Javascript
Javascript
add test for scale.quantize.invertextent
ea2a48a2481748c5978190061ba45daf9ec23335
<ide><path>test/scale/quantize-test.js <ide> suite.addBatch({ <ide> assert.equal(x(.6), b); <ide> assert.equal(x(.8), c); <ide> assert.equal(x(1), c); <add> }, <add> "maps a value in the range to a domain extent": function(quantize) { <add> var x = quantize().range([0, 1, 2, 3]); <add> ...
1
Javascript
Javascript
improve test coverage of readline/promises
bb3ff8139b60f5d8fe48035cc5f4082f61155867
<ide><path>test/parallel/test-readline-promises-interface.js <ide> for (let i = 0; i < 12; i++) { <ide> rli.close(); <ide> } <ide> <add> // Throw an error when question is executed with an aborted signal <add> { <add> const ac = new AbortController(); <add> const signal = ac.signal; <add> ac.abort(); ...
1
Text
Text
remove article from repo root
c1eaa4899f53b857b67c5d9b59ca56025088a499
<ide><path>freeCodeCamp/guide/english/book-recommendations/javascript/index.md <del>--- <del>title: Books on JavaScript <del>--- <del> ### List of Books <del> <del>*Eloquent JavaScript* <del> <del>One of the best books on JavaScript. A must for both, beginners and intermediate programmers, who code in JavaScript. The b...
1
Javascript
Javascript
fix ngdocspec tests
bb7228e2d906602608a878092158c8004a190809
<ide><path>docs/spec/ngdocSpec.js <ide> describe('ngdoc', function(){ <ide> doc.parse(); <ide> <ide> expect(doc.description). <del> toContain('foo <a href="#!api/angular.foo"><code>angular.foo</code></a>'); <add> toContain('foo <a href="#!/api/angular.foo"><code>angular.foo</code></a>...
1
Javascript
Javascript
remove unused parameter
88f2bf871d4c0dd751cf2295773e55b59dbb2d14
<ide><path>test/sequential/test-async-wrap-getasyncid.js <ide> if (common.hasCrypto) { // eslint-disable-line crypto-check <ide> const tcp_wrap = process.binding('tcp_wrap'); <ide> const server = net.createServer(common.mustCall((socket) => { <ide> server.close(); <del> socket.on('data', (x) => { <add> so...
1
Ruby
Ruby
use default + merge! instead of reverse_merge
fef781cac4cb6ff6482307f3c253bdc01d4bed82
<ide><path>activemodel/lib/active_model/validations/acceptance.rb <ide> module ActiveModel <ide> module Validations <ide> class AcceptanceValidator < EachValidator #:nodoc: <ide> def initialize(options) <del> super(options.reverse_merge(:allow_nil => true, :accept => "1")) <add> super({ :allow...
1
Text
Text
fix incorrect path in entrypoint example
2819d9b4062914daa5b6bd4d08676807859eae3f
<ide><path>docs/sources/reference/builder.md <ide> optional but default, you could use a `CMD` instruction: <ide> <ide> FROM ubuntu <ide> CMD ["-l"] <del> ENTRYPOINT ["/usr/bin/ls"] <add> ENTRYPOINT ["ls"] <ide> <ide> > **Note**: <ide> > It is preferable to use the JSON array format for specifying
1
Text
Text
remove ^m chars from profiling-node-js blog post
f70be41d80b389cb0d1ce12fa93669b0b44e4005
<ide><path>doc/blog/Uncategorized/profiling-node-js.md <ide> status: publish <ide> category: Uncategorized <ide> slug: profiling-node-js <ide> <del>It's incredibly easy to visualize where your Node program spends its time using DTrace and <a href="http://github.com/davepacheco/node-stackvis">node-stackvis</a> (a Node ...
1
Javascript
Javascript
fix treemap overlap problem
1708e5e7a57dcc856ad0352f3a76ff62c2366a1d
<ide><path>d3.layout.js <ide> d3.layout.treemap = function() { <ide> v = u ? round(row.area / u) : 0, <ide> o; <ide> if (u == rect.dx) { // horizontal subdivision <del> if (flush || v > rect.dy) v = v ? rect.dy : 0; // over+underflow <add> if (flush || v > rect.dy) v = rect.dy; // over+und...
4
Javascript
Javascript
add userdata to buffergeometry
0e489d543b20f4406bbc95a2dae45bcfe67f4c2b
<ide><path>src/core/BufferGeometry.js <ide> function BufferGeometry() { <ide> <ide> this.drawRange = { start: 0, count: Infinity }; <ide> <add> this.userData = {}; <add> <ide> } <ide> <ide> BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ), { <ide> BufferGeometry.prototype = Objec...
1
Python
Python
use more meaningfull message for dagbag timeouts
0382f7728e3a53049c1e826221fb99efed594ca5
<ide><path>airflow/models/dagbag.py <ide> def _load_modules_from_file(self, filepath, safe_mode): <ide> if mod_name in sys.modules: <ide> del sys.modules[mod_name] <ide> <del> with timeout(self.DAGBAG_IMPORT_TIMEOUT): <add> timeout_msg = f"DagBag import timeout for {filepath} after {s...
1
Python
Python
fix typo in polyint
dde6a64fc78bd2159ae610e59bdc99ee5211ab08
<ide><path>numpy/lib/polynomial.py <ide> def polyint(p, m=1, k=None): <ide> Parameters <ide> ---------- <ide> p : array_like or poly1d <del> Polynomial to differentiate. <add> Polynomial to integrate. <ide> A sequence is interpreted as polynomial coefficients, see `poly1d`. <ide> m...
1
Java
Java
verify types when setting header
98d70733704fd96b999e1664a6609e5191affc2d
<ide><path>spring-context/src/main/java/org/springframework/messaging/support/MessageHeaderAccessor.java <ide> else if (this.originalHeaders != null) { <ide> */ <ide> public void setHeader(String name, Object value) { <ide> Assert.isTrue(!isReadOnly(name), "The '" + name + "' header is read-only."); <add> verifyT...
1
Javascript
Javascript
replace annonymous functions with arrow
73900983f0180f563b9a6959fee378789db6854c
<ide><path>test/parallel/test-net-reconnect.js <ide> const server = net.createServer(function(socket) { <ide> console.error('SERVER connect, writing'); <ide> socket.write('hello\r\n'); <ide> <del> socket.on('end', function() { <add> socket.on('end', () => { <ide> console.error('SERVER socket end, calling end...
1
Java
Java
support variable resolution of wildcard types
7c84695333228fb2960d69aa312e41e4ead3b5aa
<ide><path>spring-core/src/main/java/org/springframework/core/ResolvableType.java <ide> private ResolvableType resolveVariable(TypeVariable<?> variable) { <ide> return forType(ownerType, this.variableResolver).resolveVariable(variable); <ide> } <ide> } <add> if (this.type instanceof WildcardType) { <add> Re...
2
Python
Python
add docs for detection generator
1b42579112143632993db667491e3e8593ff1f25
<ide><path>official/vision/beta/projects/yolo/modeling/layers/detection_generator.py <ide> def __init__(self, <ide> """ <ide> parameters for the loss functions used at each detection head output <ide> <del>scale_anchors: `int` for how much to scale this level to get the orginal <del> input shape <del> <ide> ...
2
Python
Python
move matrix_power to linalg
e3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3
<ide><path>numpy/linalg/linalg.py <ide> add, multiply, sqrt, maximum, fastCopyAndTranspose, sum, isfinite, size, <ide> finfo, errstate, geterrobj, longdouble, moveaxis, amin, amax, product, abs, <ide> broadcast, atleast_2d, intp, asanyarray, object_, ones, matmul, <del> swapaxes, divide, count_nonzero, n...
3
Python
Python
add test for prediction with structured output
19c1fddda6b2f8f95745d5d288767dcfac3a74e7
<ide><path>keras/engine/training_test.py <ide> def test_predict_error_with_empty_x(self): <ide> 'Unexpected result of `predict_function`.*'): <ide> model.predict(np.array([])) <ide> <add> @test_combinations.run_all_keras_modes(always_skip_v1=True) <add> @parameterized.named_para...
1
Javascript
Javascript
make redirection from http to https work
00cd48027bdfe1998da7100a56b5d68cc57277c2
<ide><path>lib/adapters/http.js <ide> module.exports = function httpAdapter(config) { <ide> method: config.method.toUpperCase(), <ide> headers: headers, <ide> agent: agent, <add> agents: { <add> httpsAgent: config.httpsAgent, <add> httpAgent: config.httpAgent <add> }, <ide> ...
1
Javascript
Javascript
fix several issues with glyph id mappings
ac33358e1fd34fbb30a9f73bba7a729ebf97f2dc
<ide><path>src/core/fonts.js <ide> var ProblematicCharRanges = new Int32Array([ <ide> */ <ide> var Font = (function FontClosure() { <ide> function Font(name, file, properties) { <del> var charCode, glyphName, unicode; <add> var charCode; <ide> <ide> this.name = name; <ide> this.loadedName = properties...
1
Javascript
Javascript
remove repeated test
69d4a48ff67188214bc28ec1a4d138c5997ce171
<ide><path>test/unit/core.js <ide> test( "isNumeric", function() { <ide> equal( t( [ 42 ] ), false, "Array with one number" ); <ide> equal( t(function(){} ), false, "Instance of a function"); <ide> equal( t( new Date() ), false, "Instance of a Date"); <del> equal( t(function(){} ), false, "Instance of a function"); ...
1
Text
Text
move thefourtheye to tsc emeritus
c3c64a1034a52e58c9684a0135a2e4ce536e41ef
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Sam Roberts** &lt;vieuxtech@gmail.com&gt; <ide> * [targos](https://github.com/targos) - <ide> **Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him) <del>* [thefourtheye](https://github.com/thefourtheye) - <del>**Sakth...
1
Javascript
Javascript
add coverage for string array dgram send()
df14956ca05aa26573474af17e00abf0e02edb6a
<ide><path>test/parallel/test-dgram-send-multi-string-array.js <add>'use strict'; <add>const common = require('../common'); <add>const assert = require('assert'); <add>const dgram = require('dgram'); <add>const socket = dgram.createSocket('udp4'); <add>const data = ['foo', 'bar', 'baz']; <add> <add>socket.on('message',...
1
PHP
PHP
fix a typo in artisan command description
72546bb59b55cf8edb0ddbdf49ac8537ae3e9f3c
<ide><path>src/Illuminate/Foundation/Console/UpCommand.php <ide> class UpCommand extends Command { <ide> * <ide> * @var string <ide> */ <del> protected $description = "Bring the application out of maintenace mode"; <add> protected $description = "Bring the application out of maintenance mode"; <ide> <ide> /** <...
1
Python
Python
fix image ids in libvirt driver
78527a5e8e41244820b03a007ba8f495f331c36e
<ide><path>libcloud/compute/drivers/libvirt_driver.py <ide> def list_images(self, location=IMAGES_LOCATION): <ide> name, size = image.split(' ') <ide> name = name.replace(IMAGES_LOCATION + '/', '') <ide> size = int(size) <del> nodeimage = NodeImage(id=image, name=name, dri...
1
Text
Text
add global node_modules to require.resolve()
6fd8022641da3e58fa44f339457110b15813c9be
<ide><path>doc/api/modules.md <ide> LOAD_AS_DIRECTORY(X) <ide> 2. LOAD_INDEX(X) <ide> <ide> LOAD_NODE_MODULES(X, START) <del>1. let DIRS=NODE_MODULES_PATHS(START) <add>1. let DIRS = NODE_MODULES_PATHS(START) <ide> 2. for each DIR in DIRS: <ide> a. LOAD_AS_FILE(DIR/X) <ide> b. LOAD_AS_DIRECTORY(DIR/X) <ide> <ide...
1
Javascript
Javascript
add `js_file_prod` rule
0b2d5317c419a78f2068437c18a0bf54c0ef325d
<ide><path>packager/react-packager/src/JSTransformer/worker/__tests__/inline-test.js <ide> describe('inline constants', () => { <ide> const {ast} = inline('arbitrary.hs', {ast: toAst(code)}, {dev: false}); <ide> expect(toString(ast)).toEqual(code.replace(/__DEV__/, 'false')); <ide> }); <del>}); <ide> <add> ...
5