repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
457cde3167ec474aa57948a2b1fa58e9c4a55f4c
8884a98ac0554140f366c58be246cb02c2008670
test: add error code tests in dgram test Improve error validation in test-dgram-send-bad-arguments. PR-URL: https://github.com/nodejs/node/pull/24215 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-dgram-send-bad-arguments.js", "patch": "@@ -20,25 +20,48 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n const dgram = require('dgram');\n \n const buf = Buffe...
2018-11-07T05:25:30
golang/go
37da45d05a50419b44dcb444d280af31e5344f8e
7b6893d2d2f7ff22efdbc29c6729066be8857dfc
[dev.fuzz] internal/fuzz: count -fuzzminimizetime toward -fuzztime Previously, when -fuzztime was given a number of executions like -fuzztime=100x, this was a count for each minimization independent of -fuzztime. Since there is no bound on the number of minimizations, this was not a meaningful limit. With this change...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_deadline.txt", "patch": "@@ -14,7 +14,7 @@ go test -fuzz=FuzzDeadline -timeout=0 -fuzztime=1s -wantdeadline=false\n go test -fuzz=FuzzDeadline -timeout=0 -fuzztime=100x -wantdeadline=false\n \n -- go.mod --\n-module fzz\n+module fuzz\n \n go 1.16\n -- fuzz_dea...
2021-08-06T23:15:48
huggingface/transformers
bfc9ddf5c6243c8f8a9615051436a70078f73943
b9ee5282464acdef0cb275bd05456af8dcfa8a62
Add StableAdamW Optimizer (#39446) * Added StableAdamW as an optimizer option for Trainer. Also wrote tests to verify its behaviour. * Fixed issue with * Added docs for StableAdamW. Also fixed a typo in schedule free optimizers --------- Co-authored-by: Gautham Krithiwas <gauthamkrithiwas2003@gmail.com>
[ { "path": "docs/source/en/optimizers.md", "patch": "@@ -164,7 +164,7 @@ args = TrainingArguments(\n output_dir=\"./test-schedulefree\",\n max_steps=1000,\n per_device_train_batch_size=4,\n-+ optim=\"schedule_free_radamw,\n++ optim=\"schedule_free_radamw\",\n + lr_scheduler_type=\"constant\...
2025-07-16T11:35:53
vercel/next.js
3615ede70327981933d951aa15917902b152e285
4bfb923c4658b460f5252778b12e36f286868309
fix: don't append domain to absolute urls when using i18n (#46201 <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: -...
[ { "path": "packages/next/src/client/link.tsx", "patch": "@@ -10,6 +10,7 @@ import { UrlObject } from 'url'\n import { resolveHref } from '../shared/lib/router/utils/resolve-href'\n import { isLocalURL } from '../shared/lib/router/utils/is-local-url'\n import { formatUrl } from '../shared/lib/router/utils/fo...
2023-02-22T00:27:14
electron/electron
8d3404d26c502a0d9107346d7455480cdb49279b
05e0564426474eb77f3c0dcd5ba85999e47d5010
win: Fix compilation error
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -7,6 +7,10 @@\n #include <string>\n #include <vector>\n \n+#if defined(OS_WIN)\n+#include <shlobj.h>\n+#endif\n+\n #include \"atom/browser/api/atom_api_menu.h\"\n #include \"atom/browser/atom_browser_context.h\"\n #include \"atom/browser/browser.h\"...
2015-04-29T07:13:46
nodejs/node
8884a98ac0554140f366c58be246cb02c2008670
a4a2e9f73746e72655f276b2a3638a50e9a9c4d9
test: fix order of arguments in test-delayed-require assertion Fix order of arguments in equality assertion in test-delayed-require. PR-URL: https://github.com/nodejs/node/pull/24165 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-delayed-require.js", "patch": "@@ -26,7 +26,7 @@ const fixtures = require('../common/fixtures');\n \n setTimeout(common.mustCall(function() {\n const a = require(fixtures.path('a'));\n- assert.strictEqual(true, 'A' in a);\n- assert.strictEqual('A', a.A());\n- assert.strict...
2018-11-06T15:24:56
golang/go
f27d6a23b0b9d2cb41441a5dd2bd6d65dd94acf0
68152359fdd45e8d51aaaec64075aad4ff8f68b2
cmd/compile: builtins may be in the unsafe package Now that unsafe.Sizeof and friends can operate on generic parameters, and evaluate to non-constants, we need to export/import them correctly. Fixes #48094 Change-Id: If3ebf77255385cd5462e13fb7ced8b157ba3cf5b Reviewed-on: https://go-review.googlesource.com/c/go/+/346...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -1692,6 +1692,7 @@ func (w *exportWriter) expr(n ir.Node) {\n \t\tisBuiltin := n.BuiltinOp != ir.OXXX\n \t\tw.bool(isBuiltin)\n \t\tif isBuiltin {\n+\t\t\tw.bool(n.Sym().Pkg == types.UnsafePkg)\n \t\t\tw.string(n.Sym().Name)\n \t\t\tbre...
2021-08-31T16:31:56
huggingface/transformers
b9ee5282464acdef0cb275bd05456af8dcfa8a62
79941c61ce754ac2b0e5c74f25c08af4afaef6ed
add test scanner (#39419) * add test scanner * add doc + license * refactor for only 1 tree traversal * add back test of only one method * document single method scan * format * fixup generate tests * minor fix * fixup * fixup doc
[ { "path": "docs/source/en/internal/model_debugging_utils.md", "patch": "@@ -247,3 +247,114 @@ first and last layer will be shown. This is useful when some layers (typically c\n layers.\n \n [[autodoc]] model_addition_debugger_context\n+\n+## Analyzer of skipped tests\n+\n+### Scan skipped tests - for model ...
2025-07-16T10:45:46
vercel/next.js
ccdc8367130ba884a28c5dd6e4c1804690cafa8e
1253a3035f95c83ca8ad2c01123ae95f8e257df9
Fix flaky script test (#46211) x-ref: https://github.com/vercel/next.js/actions/runs/4198362898/jobs/7282523186
[ { "path": "test/e2e/app-dir/app/index.test.ts", "patch": "@@ -1648,17 +1648,18 @@ createNextDescribe(\n const browser = await next.browser('/script')\n \n // Wait for lazyOnload scripts to be ready.\n- await new Promise((resolve) => setTimeout(resolve, 1000))\n-\n- expe...
2023-02-21T23:52:40
electron/electron
7c2b1468c8b65b8063dfcf16f39240bf1b4807ac
fb6c80d12ecbb99a481e1018a0d1d56c3fc4dce3
Fix typo
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -229,7 +229,7 @@ mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(\n .SetMethod(\"setPath\", &App::SetPath)\n .SetMethod(\"getPath\", &App::GetPath)\n .SetMethod(\"resolveProxy\", &App::ResolveProxy)\n- .SetMethod(\"s...
2015-04-28T22:49:16
nodejs/node
a4a2e9f73746e72655f276b2a3638a50e9a9c4d9
22f3ff9617019dc926e848498117fe04956f11f3
test: fix flaky test-vm-timeout-escape-nexttick Increase the VM timeout. If it is too small, the VM does not exit before the code has a chance to create the problematic condition that causes the timeout to be ignored. Fixes: https://github.com/nodejs/node/issues/24120 PR-URL: https://github.com/nodejs/node/pull/2425...
[ { "path": "test/known_issues/test-vm-timeout-escape-nexttick.js", "patch": "@@ -35,7 +35,7 @@ assert.throws(() => {\n nextTick,\n loop\n },\n- { timeout: common.platformTimeout(5) }\n+ { timeout: common.platformTimeout(10) }\n );\n }, {\n code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'", ...
2018-11-08T18:03:30
golang/go
68152359fdd45e8d51aaaec64075aad4ff8f68b2
605d1aaea26ef775369a3d1da6cf53f2a7b1e640
cmd/compile/internal/types2: disallow aliases for generic types The existing approach (alias name stands for generic type name) is an exception: it's the only place where a generic type could be used without explicit instantiation. The correct solution is currently under discussion (see proposal issue #46477). This C...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -555,7 +555,7 @@ func (check *Checker) typeDecl(obj *TypeName, tdecl *syntax.TypeDecl, def *Named\n \t\t}\n \n \t\tobj.typ = Typ[Invalid]\n-\t\trhs = check.anyType(tdecl.Type)\n+\t\trhs = check.varType(tdecl.Type)\n \t\tobj.typ = rhs\n \t\tre...
2021-08-31T03:30:25
rust-lang/rust
caf665e692d74085e28a62ce4497eb7f02c5f37f
e42bbfe1f7c26f8760a99c4b1f27d33aba1040bb
Use the fn_span when emitting function calls for better debug info. This especially improves the developer experience for long chains of function calls that span multiple lines, which is common with builder patterns, chains of iterator/future combinators, etc.
[ { "path": "compiler/rustc_codegen_ssa/src/mir/block.rs", "patch": "@@ -1181,6 +1181,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {\n (_, Some(llfn)) => llfn,\n _ => span_bug!(span, \"no instance or llfn for call\"),\n };\n+ self.set_debug_...
2025-05-21T23:21:00
huggingface/transformers
79941c61ce754ac2b0e5c74f25c08af4afaef6ed
e048d48bd0f87a0331020f55966e715faf0671d4
Fix missing definition of diff_file_url in notification service (#39445) Fix missing definition of diff_file_url
[ { "path": "utils/notification_service.py", "patch": "@@ -1497,8 +1497,8 @@ def pop_default(l: list[Any], i: int, default: Any) -> Any:\n \n # Only for AMD at this moment.\n # TODO: put this into a method\n+ diff_file_url = None\n if is_amd_daily_ci_workflow:\n- diff_file_url = None\n ...
2025-07-16T10:09:18
electron/electron
04a0aaa35f5b49e976fa975cacc31a07711576c5
f5fbd52dbdd0a27e7a19725be86b94cc35119739
Logo png -> svg Fixes broken image in Readme
[ { "path": "README.md", "patch": "@@ -1,4 +1,4 @@\n-[![Electron Logo](http://electron.atom.io/images/electron-logo-word-lg.png)](http://electron.atom.io/)\n+[![Electron Logo](http://electron.atom.io/images/electron-logo.svg)](http://electron.atom.io/)\n \n [![Build Status](https://travis-ci.org/atom/electron...
2015-04-28T14:48:54
nodejs/node
9858e331e3e461e24916c3e86087e5a73b3cb468
1357913180fcce97c447d1d5e3acbf0bbcc39b8c
test: initialize test/wpt to run URL and console .js tests This patch: - Creates a new test suite `wpt` that can be used to run a subset of Web Platform Tests - Adds a `WPTRunner` in `test/common/wpt.js` that can run the WPT subset in `test/fixtures/wpt` with a vm and the WPT harness while taking the status fil...
[ { "path": "Makefile", "patch": "@@ -496,6 +496,9 @@ test-debug: test-build\n test-message: test-build\n \t$(PYTHON) tools/test.py $(PARALLEL_ARGS) message\n \n+test-wpt: all\n+\t$(PYTHON) tools/test.py $(PARALLEL_ARGS) wpt\n+\n test-simple: | cctest bench-addons-build # Depends on 'all'.\n \t$(PYTHON) tool...
2018-09-16T07:00:40
vercel/next.js
1253a3035f95c83ca8ad2c01123ae95f8e257df9
7af4308b116a73d80b5f211d597262460ec6b4f8
Add ISR handling for app routes (#46133) Follow-up to https://github.com/vercel/next.js/pull/45716 this updates the ISR handling for app routes. This also ensures the E2E deploy tests are running for the `app-routes` test suite. fixes NEXT-509 Relies on https://github.com/vercel/vercel/pull/9489 ---------
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -130,22 +130,25 @@ import {\n import { webpackBuild } from './webpack-build'\n import { NextBuildContext } from './build-context'\n import { normalizePathSep } from '../shared/lib/page-path/normalize-path-sep'\n+import { isAppRouteRoute } from '../l...
2023-02-21T23:25:42
golang/go
605d1aaea26ef775369a3d1da6cf53f2a7b1e640
ded10d75a908b584331d01c9c0eaf1cfcb951cac
go/types, types2: union terms must be instantiated Fixes #48083. Change-Id: I77899d3e6edc806dee770403b3c3c4e2974d0e50 Reviewed-on: https://go-review.googlesource.com/c/go/+/346293 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue48083.go2", "patch": "@@ -0,0 +1,9 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package p\n+\n+type T[P any] stru...
2021-08-31T01:07:54
huggingface/transformers
e048d48bd0f87a0331020f55966e715faf0671d4
0cf08e90ddf4433a2f7d29053628a61607c2dc01
Add cosine_with_min_lr_schedule_with_warmup_lr_rate scheduler in Trainer (#31870) * add cosine_with_min_lr_schedule_with_warmup_lr_rate scheduler in trainer * Update src/transformers/optimization.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update optimization.py fix the error o...
[ { "path": "src/transformers/optimization.py", "patch": "@@ -384,6 +384,87 @@ def get_cosine_with_min_lr_schedule_with_warmup(\n return LambdaLR(optimizer, lr_lambda, last_epoch)\n \n \n+def _get_cosine_with_min_lr_schedule_with_warmup_lr_rate_lambda(\n+ current_step: int,\n+ *,\n+ num_warmup_st...
2025-07-16T10:01:08
rust-lang/rust
cb8fdb4d80a855c87c5a56a0652aa8f91b0d545d
356f2d077498d0ebe5ec4f9cfef04293a2b17611
Async drop poll shim for error dropee generates noop body (fixes #140930)
[ { "path": "compiler/rustc_mir_transform/src/shim/async_destructor_ctor.rs", "patch": "@@ -6,7 +6,7 @@ use rustc_middle::mir::{\n BasicBlock, BasicBlockData, Body, Local, LocalDecl, MirSource, Operand, Place, Rvalue,\n SourceInfo, Statement, StatementKind, Terminator, TerminatorKind,\n };\n-use rustc...
2025-05-13T13:26:22
huggingface/transformers
ae4e306a4073f72f4ad0c44aaa4c273006ef5ebe
4524a68c66db404e9dd999931eb687903f63a66d
Defaults to adamw_torch_fused for Pytorch>=2.8 (#37358) * Defaults to adamw_torch_fused for latest Pytorch Signed-off-by: cyy <cyyever@outlook.com> * Fix test Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/pytorch_utils.py", "patch": "@@ -28,6 +28,7 @@\n \n logger = logging.get_logger(__name__)\n \n+is_torch_greater_or_equal_than_2_8 = is_torch_greater_or_equal(\"2.8\", accept_dev=True)\n is_torch_greater_or_equal_than_2_6 = is_torch_greater_or_equal(\"2.6\", accept_dev=True)\n is_...
2025-07-16T09:52:33
golang/go
ded10d75a908b584331d01c9c0eaf1cfcb951cac
3920d6f2085559ae262d651b00bf8b29f953580a
cmd/compile/internal/types2: remove superfluous ordinaryType calls The value types in type assertions and type switches cannot be constraint types (if there are, an error was reported earlier), so there is no need to check again that they are not constraint types. This permits merging the ordinaryType call with varTy...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1417,7 +1417,6 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \t\t\tcheck.errorf(x, \"%s is not an interface type\", x)\n \t\t\tgoto Error\n \t\t}\n-\t\tcheck.ordinaryType(x.Pos(), xtyp)\n \t\t// x.(typ...
2021-08-31T00:18:07
nodejs/node
1357913180fcce97c447d1d5e3acbf0bbcc39b8c
8caade8bb7e7157bd066851d69886646dbd6c5c3
test: use URL fixtures under test/fixtures/wpt/url/resources Removes the following files: - test/fixtures/url-tests.js - test/fixtures/url-setter-tests.js - test/fixtures/url-toascii.js in favor of: - test/fixtures/wpt/url/resources/urltestdata.json - test/fixtures/wpt/url/resources/setters_tests.json - test/fixtur...
[ { "path": "test/fixtures/url-setter-tests.js", "patch": "@@ -1,1874 +0,0 @@\n-'use strict';\n-\n-/* The following tests are copied from WPT. Modifications to them should be\n- upstreamed first. Refs:\n- https://github.com/w3c/web-platform-tests/blob/f0fe479/url/setters_tests.json\n- License: http://ww...
2018-10-30T04:03:41
vercel/next.js
7af4308b116a73d80b5f211d597262460ec6b4f8
d0e17ba39dafa7af42392e38811dadb1f2e6b044
Fix handle extracted CSS modules without layer info (#46200) Closes #46091. As explained in the comments, in certain cases CSS extracted via mini-css-extract-plugin doesn't have layer info attached and we can't simply skip them. Since this is more of an optimization, it's fine to add a special case for CSS. ## B...
[ { "path": "packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -162,11 +162,6 @@ export class FlightManifestPlugin {\n mod: webpack.NormalModule,\n chunkCSS: string[]\n ) {\n- // Skip all modules from the pages folder.\n- if (mod.layer !== WEB...
2023-02-21T23:02:48
huggingface/transformers
4524a68c66db404e9dd999931eb687903f63a66d
d33a1c389f737a87471c64138be30bf5c59b5e8a
Fix L270 - hasattr("moe_args") returning False error (#38715) * Fix L270 - hasattr("moe_args") returning False error * Update src/transformers/models/llama4/convert_llama4_weights_to_hf.py --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/models/llama4/convert_llama4_weights_to_hf.py", "patch": "@@ -267,7 +267,7 @@ def write_model(\n \n num_key_value_heads = params[\"n_kv_heads\"] # for GQA / MQA\n \n- if hasattr(params, \"moe_args\"):\n+ if params.get(\"moe_args\", False):\n num_experts = param...
2025-07-16T09:45:58
rust-lang/rust
8799d3dd97e38af3e31a2e76369d647e01b8a423
35ba7dd217f3a1af420189927205d89cc2c02718
fix typo
[ { "path": "src/librustdoc/html/static/js/scrape-examples.js", "patch": "@@ -1,4 +1,4 @@\n-/* global addClass, hasClass, removeClass, onEachLazy, nonnull */\n+ /* global addClass, hasClass, removeClass, onEachLazy, nonnull */\n \n \"use strict\";\n \n@@ -127,9 +127,10 @@\n * @param {boolean} isHidden\n ...
2025-04-28T23:44:46
electron/electron
0e7970fec5c8667728d6b48e15c94722b1f2ea1d
ca5ee0fc818ba0b9c423961738f8f6b70a0535b1
Fix grammar in NW.js comparison
[ { "path": "docs/development/atom-shell-vs-node-webkit.md", "patch": "@@ -3,47 +3,46 @@\n __Note: Electron was previously named Atom Shell.__\n \n Like NW.js, Electron provides a platform to write desktop applications\n-with JavaScript and HTML, and has Node integration to grant access to low level\n+with Ja...
2015-04-26T23:35:52
golang/go
d384ebde60a7e720f83fb10e6fa9cbf989a8866f
7622e41c84fd9bb003a2d905b9f0545344842c3a
net: enable multicast listener tests on solaris/illumos It seems everything is in place for these tests to pass on solaris and illumos, so enable them. Fixes #7399 Change-Id: If6defb651ef9c5059c1aeccbc4fc13a12a86b682 Reviewed-on: https://go-review.googlesource.com/c/go/+/346149 Trust: Tobias Klauser <tobias.klauser@...
[ { "path": "src/net/listen_test.go", "patch": "@@ -535,8 +535,6 @@ func TestIPv4MulticastListener(t *testing.T) {\n \tswitch runtime.GOOS {\n \tcase \"android\", \"plan9\":\n \t\tt.Skipf(\"not supported on %s\", runtime.GOOS)\n-\tcase \"solaris\", \"illumos\":\n-\t\tt.Skipf(\"not supported on solaris or illu...
2021-08-30T14:00:53
vercel/next.js
d0e17ba39dafa7af42392e38811dadb1f2e6b044
a5ef594a1a4be129c4fe26f2404f7a0a43b017da
Add invariant error when the pageData is incorrectly assigned (#46204) Related to NEXT-526, we saw some error reports that `RenderResult` was created with `undefined` result: ``` Cannot read properties of undefined (reading 'getReader') ``` And that's likely from this place where we override the type with `as string...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -1682,14 +1682,27 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n } else if (cachedData.kind === 'IMAGE') {\n throw new Error('invariant SSG should not return an image cache value')\n } else ...
2023-02-21T22:48:13
huggingface/transformers
99c9763398dde67554e4ae051794c6f27de0a87f
667ad023743421be186ab2715e930c226f8fb112
Fixed a bug calculating cross entropy loss in `JetMoeForCausalLM` (#37830) fix: :bug: Fixed a bug in calculating Cross Entropy loss in JetMoeForCausalLM In the original code, we shift the logits and pass shift_logits into the self.loss_function, but in self.loss_function, the shift_logits will be shifted again, so we...
[ { "path": "src/transformers/models/jetmoe/modeling_jetmoe.py", "patch": "@@ -1205,19 +1205,9 @@ def forward(\n \n loss = None\n if labels is not None:\n- # Upcast to float if we need to compute the loss to avoid potential precision issues\n- logits = logits.float()\n- ...
2025-07-16T09:22:00
nodejs/node
1e7f056afcf0c9485ffc974232978feebcde2611
9d434db6ef188b19333a716289b73731cd063cb6
test: use git node wpt to pull WPT into test/fixtures This patch uses the `git node wpt` command in node-core-utils to initialize `test/fixtures/wpt` with a subset of the Web Platform Tests (https://github.com/web-platform-tests/wpt), including: - console tests - url tests - interfaces (.idl WebIDL files) - test harn...
[ { "path": "test/fixtures/wpt/LICENSE.md", "patch": "@@ -0,0 +1,33 @@\n+# Dual-License for W3C Test Suites\n+\n+All documents in this Repository are licensed by contributors to be distributed under both the [W3C Test Suite License](#w3c-test-suite-license) and the [W3C 3-clause BSD License](#w3c-3-clause-bsd...
2018-09-16T19:39:28
rust-lang/rust
3005a09fedd5c874c36ca1c788954e51e3fa0617
c79bbfab78dcb0a72aa3b2bc35c00334b58bfe2e
rustdoc: improve diagnostics on raw doc fragments 1. rustdoc::bare_urls doesn't output invalid suggestions if source_span_for_markdown_range fails to find a span 2. source_span_for_markdown_range tries harder to return a span by applying an additional diagnostic fixes https://github.com/rust-lang/rust/issue...
[ { "path": "compiler/rustc_resolve/src/rustdoc.rs", "patch": "@@ -514,20 +514,30 @@ pub fn span_of_fragments(fragments: &[DocFragment]) -> Option<Span> {\n /// This method does not always work, because markdown bytes don't necessarily match source bytes,\n /// like if escapes are used in the string. In this ...
2025-02-01T19:35:06
golang/go
7622e41c84fd9bb003a2d905b9f0545344842c3a
3342aa5f51e1299e9d86307e2dbf429cd2aca987
go/types, types2: add a test for invalid import of "init" This error reporting code path did not have test coverage, and panics in 1.17 (filed as #48082). Add a test that would have reproduced the panic, for both go/types and cmd/compile/internal/types2. Change-Id: Icd5f54f8407e4ab57d432f44a129ecf6b2755feb Reviewed-...
[ { "path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue48082.src", "patch": "@@ -0,0 +1,7 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package issue48082\n+\n+import \"...
2021-08-30T21:40:45
vercel/next.js
a5ef594a1a4be129c4fe26f2404f7a0a43b017da
185a8921c878fb6fff46d9fc299683ee689d3415
Update flaky dev tests (#46179) ref: [slack](https://vercel.slack.com/archives/C04DUD7EB1B/p1676914009577859) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary...
[ { "path": "test/development/acceptance-app/invalid-imports.test.ts", "patch": "@@ -188,6 +188,7 @@ createNextDescribe(\n [\n 'app/comp2.js',\n `\n+ import 'server-only-package'\n export function Comp2() {\n return (\n <di...
2023-02-21T22:28:25
huggingface/transformers
667ad023743421be186ab2715e930c226f8fb112
31d81943c994d11a079223809cfca89bfaaee363
Remove double soft-max in load-balancing loss. Fixes #39055 . (#39056) Remove double soft-max in load-balancing loss. Fixes #39055
[ { "path": "src/transformers/models/dbrx/modeling_dbrx.py", "patch": "@@ -124,7 +124,7 @@ def repeat_kv(hidden_states: torch.Tensor, n_rep: int) -> torch.Tensor:\n \n \n def load_balancing_loss_func(\n- gate_logits: torch.Tensor,\n+ gate_probabilities: torch.Tensor,\n num_experts: int,\n top_k:...
2025-07-16T09:20:23
rust-lang/rust
eec894d3f9bf708d8c4c0679bc57ed899d6c37ab
d423c815a69bbcfb4abcd23a828b9a513c397632
Fix future-incompatible lint group test
[ { "path": "tests/ui/future-incompatible-lint-group.rs", "patch": "@@ -2,16 +2,14 @@\n // lints for changes that are not tied to an edition\n #![deny(future_incompatible)]\n \n+// Error since this is a `future_incompatible` lint\n+macro_rules! m { ($i) => {} } //~ ERROR missing fragment specifier\n+ ...
2025-05-01T19:56:30
nodejs/node
52c548b05d294765f0d2f0e39a9e5552fb007b2f
1ba701383f84d632f0cfe9107f769a052f2b5b8b
test: fix arguments order in test-fs-write-buffer PR-URL: https://github.com/nodejs/node/pull/24155 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-fs-write-buffer.js", "patch": "@@ -58,11 +58,11 @@ tmpdir.refresh();\n const cb = common.mustCall((err, written) => {\n assert.ifError(err);\n \n- assert.strictEqual(2, written);\n+ assert.strictEqual(written, 2);\n fs.closeSync(fd);\n \n const f...
2018-11-06T15:25:27
golang/go
3342aa5f51e1299e9d86307e2dbf429cd2aca987
b06cfe9b25a9cd6ef6ff482b9cd08b2f709131b0
cmd/compile/internal/types2: more systematic error handling in typeWriter When using a typeWriter for debugging/error message type strings, it shouldn't crash in the presence of type-checker internal bugs. But when a typeHasher is used, we don't want to silently ignore errors. Introduce an error method that panics in...
[ { "path": "src/cmd/compile/internal/types2/typestring.go", "patch": "@@ -55,6 +55,14 @@ func WriteType(buf *bytes.Buffer, typ Type, qf Qualifier) {\n \tnewTypeWriter(buf, qf).typ(typ)\n }\n \n+// WriteSignature writes the representation of the signature sig to buf,\n+// without a leading \"func\" keyword.\n...
2021-08-29T17:57:06
electron/electron
da648511b3d77d64afdb89be92fa02e563352088
c424d0e9f3224088e739d55498201e5c57da518d
asar: make fs async methods create errors asynchronously
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -53,11 +53,20 @@ asarStatsToFsStats = (stats) ->\n }\n \n # Create a ENOENT error.\n-createNotFoundError = (asarPath, filePath) ->\n+notFoundError = (asarPath, filePath, callback) ->\n error = new Error(\"ENOENT, #{filePath} not found in #{asarPath}\...
2015-04-21T09:50:08
vercel/next.js
185a8921c878fb6fff46d9fc299683ee689d3415
04c6c8cfca70216d2a47009c21e00d97c70b3461
Fix turbopack route resolver (#46206 This ensures we correctly handle the new route matchers with turbopack. Also updates the custom-routes test suite to allow it to run against turbopack although relies on changes in https://github.com/vercel/turbo/pull/3894 for the tests to run correctly.
[ { "path": "packages/next/src/server/lib/route-resolver.ts", "patch": "@@ -1,6 +1,10 @@\n import type { IncomingMessage, ServerResponse } from 'http'\n import type { NextConfig } from '../config'\n-import type { Route } from '../router'\n+import { RouteDefinition } from '../future/route-definitions/route-def...
2023-02-21T21:53:20
huggingface/transformers
31d81943c994d11a079223809cfca89bfaaee363
add43c4d09a89e3ad134efc8fd119350f363642e
[Core] [Offloading] Fix saving offloaded submodules (#39280) * fix counting meta tensors, fix onloading meta tensors Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * remove unrelated fix Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * remove unrelated change Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3900,12 +3900,13 @@ def save_pretrained(\n # init state_dict for this shard\n shard_state_dict = dict.fromkeys(shard, \"\")\n for module_name in shard:\n- # skip to collect this w...
2025-07-16T08:44:40
nodejs/node
1ba701383f84d632f0cfe9107f769a052f2b5b8b
8272e7fba46688deabcedb284da384e12030906c
test: fix argument order in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/24147 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikr...
[ { "path": "test/parallel/test-http-chunked.js", "patch": "@@ -48,7 +48,7 @@ server.listen(0, common.mustCall(() => {\n x.setEncoding('utf8');\n x.on('data', (c) => data += c);\n x.on('end', common.mustCall(() => {\n- assert.strictEqual('string', typeof data);\n+ assert.strictEqual(type...
2018-11-06T14:53:55
golang/go
437362ccec8aeab03aaac63db188f7e8f9eed699
86fa510d2456e20ceaa518f97f0c1c89d2ebd81c
cmd/compile/internal/types2: generalize instanceHash to accept any type, rename to typeHash Rename instanceHashing accordingly. Eventually, this will make it possible to use typeHash to detect multiple identical types in type switch cases and other places. Also fix some bugs: When creating a type hash, the name of f...
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -125,7 +125,7 @@ func (check *Checker) instantiate(pos syntax.Pos, typ Type, targs []Type, posLis\n func (check *Checker) instance(pos syntax.Pos, typ Type, targs []Type) Type {\n \tswitch t := typ.(type) {\n \tcase *Named:\n-\t\th := ...
2021-08-28T03:50:31
electron/electron
05be71e9bcf9cb7765629dd2fc3108c847842600
36819e263880817beb472ed357ef05a3403d0023
fix getFavcion api in webview to return dataUrl
[ { "path": "atom/browser/api/atom_api_web_contents.h", "patch": "@@ -7,7 +7,6 @@\n \n #include <string>\n #include <vector>\n-#include <set>\n \n #include \"atom/browser/api/event_emitter.h\"\n #include \"brightray/browser/default_web_contents_delegate.h\"", "additions": 0, "deletions": 1, "langu...
2015-04-25T03:30:24
vercel/next.js
a1abeaf67bd00bfbdd2732d219bfe9aa7dc0c3ea
0ab8dcb09dd77f6c9cb986606e2f840f5f398824
build(cargo): update turbopack (#46013)Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com> # New Features - https://github.com/vercel/turbo/pull/3771 - https://github.com/vercel/turbo/pull/3690 # Performance - https://github.com/vercel/turbo/pull/3768 # Fi...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -126,7 +126,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230214.2#6d5fee7f19b229e75d692ef6fbb75056c20511e8\"\n+source = \"git+https://github.com/v...
2023-02-21T18:44:53
huggingface/transformers
add43c4d09a89e3ad134efc8fd119350f363642e
0dc2df5ddafe3cb5824ad24e85beba13e0aa6726
[autodocstring] add video and audio inputs (#39420) * add video and audio inputs in auto docstring * fix copies
[ { "path": "src/transformers/models/clap/modeling_clap.py", "patch": "@@ -1450,9 +1450,6 @@ def forward(\n return_dict: Optional[bool] = None,\n ) -> Union[tuple, BaseModelOutputWithPooling]:\n r\"\"\"\n- input_features (`torch.FloatTensor` of shape `(batch_size, num_channels, heig...
2025-07-16T07:41:50
nodejs/node
8272e7fba46688deabcedb284da384e12030906c
e1c4e918c37da28debfb730987c36d6e5b053289
test: switch arguments in strictEqual In the `test/parallel/test-vm-create-and-run-in-context.js` test the actual and expected arguments in the `assert.strictEqual()` call on line 32 are in the wrong order and they have to be switched around. PR-URL: https://github.com/nodejs/node/pull/24141 Reviewed-By: Anna Henning...
[ { "path": "test/parallel/test-vm-create-and-run-in-context.js", "patch": "@@ -29,7 +29,7 @@ const vm = require('vm');\n // Run in a new empty context\n let context = vm.createContext();\n let result = vm.runInContext('\"passed\";', context);\n-assert.strictEqual('passed', result);\n+assert.strictEqual(resul...
2018-11-06T14:33:10
golang/go
86fa510d2456e20ceaa518f97f0c1c89d2ebd81c
8f4c020660d4c8a7bab9a7363551d07176e638eb
go/types, types2: types in method expressions must be instantiated Use varType instead of instantiatedOperand to check if the type of a method expressions is instantiated. This removes the last usage of instantiatedOperand, so it can be deleted. Fixes #48048 Change-Id: I2b219dafe2bba3603100bb8f25b8ff4e8ef53841 Revi...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -479,7 +479,9 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr) {\n \t\tgoto Error\n \t}\n \n-\tcheck.instantiatedOperand(x)\n+\tif x.mode == typexpr {\n+\t\tx.typ = check.varType(e.X)\n+\t}\n \n \tobj, index, indirect = L...
2021-08-29T20:57:36
electron/electron
80c8ab4c39641727f2c37195774de01a1cd16377
826a4e0e48f728c7d998f19240028b6ed8c24c91
Style fix
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -348,11 +348,10 @@ - (void)drawRect:(NSRect)dirtyRect {\n [window_ setHasShadow:NO];\n [window_ setBackgroundColor:[NSColor clearColor]];\n }\n- \n- // Fix some non-transparent corners and lacking redraw while resizing non-frame window\...
2015-04-25T02:35:28
vercel/next.js
0ab8dcb09dd77f6c9cb986606e2f840f5f398824
9e86fd1d586e00204eb933bd969d5799585ac42a
Fix client boundary defined in a module (#46171) This PR fixes the bug where a client boundary (`"use client"`) is defined in a module (`"type": "module"`). Currently Next.js throws this error: ``` error - Error: Cannot find module 'private-next-rsc-mod-ref-proxy' ``` ...that will be resolved with this PR. The only...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -43,6 +43,7 @@ struct ReactServerComponents<C: Comments> {\n filepath: String,\n app_dir: Option<PathBuf>,\n comments: C,\n+ export_names: Vec<String>,\n invalid_server_imports: Vec<JsWord>,\n inval...
2023-02-21T15:20:45
huggingface/transformers
0dc2df5ddafe3cb5824ad24e85beba13e0aa6726
1bc9ac5107ff32c0115bd0b269924455be79db64
CI workflow for performed test regressions (#39198) * WIP script to compare test runs for models * Update line normalitzation logic * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "utils/compare_test_runs.py", "patch": "@@ -0,0 +1,91 @@\n+# Copyright 2025 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the Lic...
2025-07-16T02:20:02
rust-lang/rust
d6dc08c3f4c32744c7163561da1a16825d1eed2d
1d679446b01e65f9bc9ae609d0ae1e4a9c0ccaa3
docs: fix typos
[ { "path": "library/std/src/sync/mpmc/list.rs", "patch": "@@ -575,7 +575,7 @@ impl<T> Channel<T> {\n // After this point `head.block` is not modified again and it will be deallocated if it's\n // non-null. The `Drop` code of the channel, which runs after this function, also attempts\n ...
2025-05-22T14:47:36
nodejs/node
e1c4e918c37da28debfb730987c36d6e5b053289
16a199ad0595121daed38c3ac439673ffa8f5198
test: fix arguments order the actual and expected arguments in assert.strictEqual() calls are in the wrong order. Any literal value should be the second argument while the first argument should be the value returned by a function/be the calculated value. PR-URL: https://github.com/nodejs/node/pull/24151 Reviewed-By: ...
[ { "path": "test/parallel/test-fs-readfile-empty.js", "patch": "@@ -35,12 +35,12 @@ fs.readFile(fn, function(err, data) {\n });\n \n fs.readFile(fn, 'utf8', function(err, data) {\n- assert.strictEqual('', data);\n+ assert.strictEqual(data, '');\n });\n \n fs.readFile(fn, { encoding: 'utf8' }, function(err,...
2018-11-06T15:11:41
golang/go
8f4c020660d4c8a7bab9a7363551d07176e638eb
8250141c9a506dee883b53473867b27e68ac10a4
cmd/compile: fix bug with Inferred targs We were using the type from the wrong Node (the partially filled-in FUNCINST) rather than the original function node - which is pointed to by the OFUNCINST)) to set the final fully-substituted type of the OFUNCINST. So fixed the node reference. Also, added check so we don't do ...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -126,13 +126,15 @@ func (g *irgen) expr0(typ types2.Type, expr syntax.Expr) ir.Node {\n \t\t\t\ttargs[i] = ir.TypeNode(g.typ(inferred.TArgs.At(i)))\n \t\t\t}\n \t\t\tif fun.Op() == ir.OFUNCINST {\n-\t\t\t\t// Replace explicit type args with th...
2021-08-29T13:49:28
vercel/next.js
9e86fd1d586e00204eb933bd969d5799585ac42a
c765fadfbec886cdf1885ae3145e82a52b4fec16
Fix "use client" in pages dir errors (#46191) When in the pages dir, the compiler errors where the `"use client"` directive is used incorrectly should tell the user how to fix the error - not just say: ``` You have tried to use the "use client" directive which is not supported in the pages/ directory. ``` This remove...
[ { "path": "packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -70,33 +70,17 @@ function formatRSCErrorMessage(\n '\\n\\nOne of these is marked as a client entry with \"use client\":\\n'\n }\n } else if (NEXT_RSC_ERR_CLIENT_DIRECTIVE.test(message)) {\n- ...
2023-02-21T14:07:41
huggingface/transformers
9f41f67135b0656c428ff2c2b446d8eb15f5a7c5
b1d14086e4bfb3be4417fcac092936231ab74ec2
[vlm] fix loading of retrieval VLMs (#39242) * fix vlm with retrieval * we can't use AutoModel because new ColQwen was released after refactor * no need for colqwen * tied weight keys are necessary, if using IMageTextToText * need to apply renaming in tied weights, only for ColPali * overwrite tied keys in ColPal...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -231,6 +231,7 @@ def is_local_dist_rank_0():\n VLMS = [\n \"aria\",\n \"ayavision\",\n+ \"colpali\",\n \"emu3\",\n \"fuyu\",\n \"gotocr2\",", "additions": 1, "deletions": 0, "language": "Python" }, { "pat...
2025-07-15T15:23:54
nodejs/node
16a199ad0595121daed38c3ac439673ffa8f5198
83410d6ac84e4e85cc4f385461c4f0716fd1f836
test: fixe argument order in assert.strictEqual File: test/parallel/test-http-client-upload-buf.js PR-URL: https://github.com/nodejs/node/pull/24140 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Brid...
[ { "path": "test/parallel/test-http-client-upload-buf.js", "patch": "@@ -27,8 +27,7 @@ const http = require('http');\n const N = 1024;\n \n const server = http.createServer(common.mustCall(function(req, res) {\n- assert.strictEqual('POST', req.method);\n-\n+ assert.strictEqual(req.method, 'POST');\n let ...
2018-11-06T14:35:19
golang/go
bdc1bef8a05d4524160d56a027f110257323033d
b602daea1b94a8a578bafdc6ef6336c07fe63300
cmd/go: ensure 'go get -u' can upgrade pruned (1.17+) modules Fixes #47768 Change-Id: I981a31ba4ff716570ac4c6f35b289fa480faa5bb Reviewed-on: https://go-review.googlesource.com/c/go/+/343879 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> ...
[ { "path": "src/cmd/go/internal/modload/edit.go", "patch": "@@ -237,6 +237,7 @@ func raiseLimitsForUpgrades(ctx context.Context, maxVersion map[string]string, d\n \t\t\t\tcontinue\n \t\t\t}\n \n+\t\t\tallow(m)\n \t\t\tfor _, r := range summary.require {\n \t\t\t\tallow(r)\n \t\t\t}", "additions": 1, ...
2021-08-20T21:38:09
huggingface/transformers
67f42928f0ec97a4635e7ff52a4b5e7879590c1c
30c508dbcbc2d4e19507da5af46a32a7de73c5e9
Remove residual quantization attribute from dequantized models (#39373) * fix: removing quantization trace attribute from dequantized model Fixes #39295 * add: test `to(dtype=torch.float16)` after dequantization
[ { "path": "src/transformers/quantizers/base.py", "patch": "@@ -248,6 +248,7 @@ def dequantize(self, model):\n del model.hf_quantizer\n del model.config.quantization_config\n del model.config._pre_quantization_dtype\n+ del model.quantization_method\n model.is_quantized ...
2025-07-15T15:16:10
vercel/next.js
e706b723904d7eec8de6a35eacb2b4d1f3b6b3ca
6b79da80639e9523f9d6f10167fdae7fd0858083
fix consistency issue with reading collectibles (vercel/turbo#3878) connect original task to collectibles reading to fix strongly consistency move read collectibles tasks to task and scope instead of a separate cache reading collectibles is no longer strongly consistent by default, it's opt-in now
[ { "path": "crates/turbo-tasks-memory/src/cell.rs", "patch": "@@ -11,6 +11,8 @@ use turbo_tasks::{\n TaskId, TurboTasksBackendApi,\n };\n \n+use crate::MemoryBackend;\n+\n #[derive(Default, Debug)]\n pub(crate) enum Cell {\n /// No content has been set yet, or it was removed for memory pressure\n@@ -...
2023-02-21T12:56:18
nodejs/node
5c201b6d477525a080b11d1bd49a7c94fe81f8ac
00d412d3b721a91ce7c53fa68f2c457aef3d10cc
buffer: fix writeUInt16BE range check Fixes: https://github.com/nodejs/node/issues/24205 PR-URL: https://github.com/nodejs/node/pull/24208 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/internal/buffer.js", "patch": "@@ -667,7 +667,7 @@ function writeU_Int16BE(buf, value, offset, min, max) {\n }\n \n function writeUInt16BE(value, offset = 0) {\n- return writeU_Int16BE(this, value, offset, 0, 0xffffffff);\n+ return writeU_Int16BE(this, value, offset, 0, 0xffff);\n }\n \n fu...
2018-11-06T23:16:16
golang/go
b602daea1b94a8a578bafdc6ef6336c07fe63300
7b38dd8e255710721b7d843cddbbb46f50267aa5
cmd/compile: fix error when revcType is ptr in selectorExpr Fixes #48056 Change-Id: I13ca4caadbabf02084f66ab28b4cf0c4a3705370 Reviewed-on: https://go-review.googlesource.com/c/go/+/346049 Reviewed-by: Dan Scales <danscales@google.com> Trust: Dan Scales <danscales@google.com> Trust: Keith Randall <khr@golang.org> Run-...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -270,7 +270,7 @@ func (g *irgen) selectorExpr(pos src.XPos, typ types2.Type, expr *syntax.Selecto\n \t\tif types2.AsInterface(recvType.Underlying()) != nil {\n \t\t\tfieldType := n.X.Type()\n \t\t\tfor _, ix := range index[:len(index)-1] {\n-\...
2021-08-30T09:09:51
huggingface/transformers
d8e05951b8efd4880acca9a3f291e8b65841a86d
a989bf8d84bacd00fa13db8e7031b139bcddd622
Fix bugs in pytorch example run_clm when streaming is enabled (#39286)
[ { "path": "examples/pytorch/language-modeling/run_clm.py", "patch": "@@ -31,7 +31,7 @@\n import datasets\n import evaluate\n import torch\n-from datasets import load_dataset\n+from datasets import IterableDataset, IterableDatasetDict, load_dataset\n \n import transformers\n from transformers import (\n@@ -2...
2025-07-15T13:37:28
vercel/next.js
888384c5e853ee5f9988b74b9085f1d6f80157a3
99a0e260c6c953ec4f1a1366ccb5331fb43e61a9
Add icon descriptor property media and fetchPriority (#46149) * Add `fetchPriority` and `media` property to icon descriptor * Add more jsdoc Closes NEXT-544 Fixes https://github.com/vercel/next.js/issues/45859 Co-authored-by: Shu Ding <3676859+shuding@users.noreply.github.com>
[ { "path": "packages/next/src/lib/metadata/types/metadata-interface.ts", "patch": "@@ -12,6 +12,7 @@ import type {\n Viewport,\n } from './extra-types'\n import type {\n+ DeprecatedMetadataFields,\n AbsoluteTemplateString,\n Author,\n ColorSchemeEnum,\n@@ -33,7 +34,7 @@ import type { ResolvedTwitter...
2023-02-20T22:27:55
electron/electron
5c5fd377f7199e5296a58b9dd4577f87bed13589
0a995c3731a6a7fa52de918906f894697b545e52
Minor grammatical fixes Fixed some run-on sentances and changed structor of some.
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -2,41 +2,35 @@\n \n ## Introduction\n \n-Generally, Electron enables you to create desktop applications with pure\n-JavaScript by providing a runtime with rich native APIs. You could see it as\n-a variant of the io.js runtime which is focused on desktop...
2015-04-24T00:12:04
nodejs/node
00d412d3b721a91ce7c53fa68f2c457aef3d10cc
730ec83a00626a361d5a91dc4ef14b6f4aeb89da
test: fixing arguments order in `assert.strictEqual()` PR-URL: https://github.com/nodejs/node/pull/24152 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "test/parallel/test-event-emitter-add-listeners.js", "patch": "@@ -42,8 +42,8 @@ const EventEmitter = require('events');\n });\n \n const hello = common.mustCall(function(a, b) {\n- assert.strictEqual('a', a);\n- assert.strictEqual('b', b);\n+ assert.strictEqual(a, 'a');\n+ assert....
2018-11-06T15:11:59
golang/go
a29d9aad7a4543498ff505b0a36d10c0f0153d3f
f29abccd8aaadf0297da3947909feca3c8ec31c9
test/typeparam/sliceimp.dir: fix typo in a.go Fixing a typo, comparision -> comparison Change-Id: I369f95c251f155bc6a9a6b86077bcf1ab245fc3f Reviewed-on: https://go-review.googlesource.com/c/go/+/345950 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> Trust: Alberto ...
[ { "path": "test/typeparam/sliceimp.dir/a.go", "patch": "@@ -45,7 +45,7 @@ func Equal[Elem comparable](s1, s2 []Elem) bool {\n \treturn true\n }\n \n-// EqualFn reports whether two slices are equal using a comparision\n+// EqualFn reports whether two slices are equal using a comparison\n // function on each ...
2021-08-29T13:45:35
huggingface/transformers
a989bf8d84bacd00fa13db8e7031b139bcddd622
53c9dcd6fd31cb9e8a10248693a905d0223b8316
Fix bugs from pipeline preprocessor overhaul (#39425) * Correct load classes for VideoClassificationPipeline * Correct load classes for the ASR pipeline
[ { "path": "src/transformers/pipelines/video_classification.py", "patch": "@@ -51,8 +51,8 @@ class VideoClassificationPipeline(Pipeline):\n [huggingface.co/models](https://huggingface.co/models?filter=video-classification).\n \"\"\"\n \n- _load_processor = True\n- _load_image_processor = False\...
2025-07-15T13:28:59
golang/go
f29abccd8aaadf0297da3947909feca3c8ec31c9
f4cd001b57d91d24843325578a7bbd24dfc628fc
test: add test cases for issue47892. This issue has been fixed in https://golang.org/cl/345411 Fixes: #47892 Change-Id: I13dd3814650913da065e5f24a0c61d30adb0633a Reviewed-on: https://go-review.googlesource.com/c/go/+/345229 Reviewed-by: Dan Scales <danscales@google.com> Trust: Dan Scales <danscales@google.com> Trust...
[ { "path": "test/typeparam/issue47892.dir/a.go", "patch": "@@ -0,0 +1,17 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package a\n+\n+type Index[T any] interface {\n+\tG() T\n+}\n+\n...
2021-08-26T08:20:33
nodejs/node
3637be8064c5631257bcfcd56fbd9bec884547eb
d3a4812cb7d78975e586a8c8bb16fd3fabc738d2
test: fix assert parameter order Switched arguments in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/24144 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewa...
[ { "path": "test/parallel/test-http-blank-header.js", "patch": "@@ -26,8 +26,8 @@ const http = require('http');\n const net = require('net');\n \n const server = http.createServer(common.mustCall((req, res) => {\n- assert.strictEqual('GET', req.method);\n- assert.strictEqual('/blah', req.url);\n+ assert.s...
2018-11-06T14:47:53
huggingface/transformers
f03b3841494575b92a5350b4150e4f25faeab8d2
c4d41567fa4ed03123580d4168c25a0a328119d1
Fix invalid property (#39384) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/quantizers/quantizer_aqlm.py", "patch": "@@ -12,7 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import importlib\n-from typing import TYPE_CHECKING, Optional\n+from typing import TYPE_CHECKING\n \n from packa...
2025-07-15T12:11:37
electron/electron
00ef99826d3e3f4167018531cf4b49fd83de83e1
45943302ee9942511892fa8535c71b17ec844b8f
fix minor text error
[ { "path": "docs/development/coding-style.md", "patch": "@@ -18,7 +18,7 @@ Guide](https://github.com/styleguide/javascript), and also following rules:\n * File names should be concatenated with `-` instead of `_`, e.g.\n `file-name.coffee` rather than `file_name.coffee`, because in\n [github/atom](https:...
2015-04-23T23:32:41
golang/go
6df3aac4ae8d0ca695751ef828a500cd438b00f9
5afa5554289c91706ef6244b24ccf91181123b68
cmd/compile: fix offset-generator for storeOneLoad storeOneLoad decompose Load that is then stored, the offset value must be created on the same block with the Load to be dominated, otherwise, it's unsafe if one does not dominate the other. Fixes #48026 Change-Id: Iee5e6c5d3e1b09862afe4e65f7bcd771b4c57367 Reviewed-o...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -852,7 +852,7 @@ func storeOneArg(x *expandState, pos src.XPos, b *Block, locs []*LocalSlot, suff\n \n // storeOneLoad creates a decomposed (one step) load that is then stored.\n func storeOneLoad(x *expandState, pos src.XPos, b *Block, ...
2021-08-28T08:27:55
huggingface/transformers
f56b49f48f58ae0dbbcb164a4b4ebb137f015473
2b79f143756bf10a2d43e5ab6d413374b633d2ce
Ignore extra position embeddings weights for ESM (#39063) * Ignore extra position embeddings weights * Slight name fix
[ { "path": "src/transformers/models/esm/modeling_esm.py", "patch": "@@ -738,6 +738,7 @@ class EsmPreTrainedModel(PreTrainedModel):\n base_model_prefix = \"esm\"\n supports_gradient_checkpointing = True\n _no_split_modules = [\"EsmLayer\", \"EsmFoldTriangularSelfAttentionBlock\", \"EsmEmbeddings\"...
2025-07-15T11:57:32
nodejs/node
0dbbded38bd0e2e276c69eba2791cb3f638c5e24
bad65aa347510d32c00862ef3dc5a2da21adfeec
test: fix invalid argument order in test-http-expect-continue.js `assert.strictEqual` expects arguments in the following order: actual, expected[, message] PR-URL: https://github.com/nodejs/node/pull/24138 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rube...
[ { "path": "test/parallel/test-http-expect-continue.js", "patch": "@@ -67,7 +67,7 @@ server.on('listening', common.mustCall(() => {\n }));\n req.on('response', common.mustCall((res) => {\n assert.ok(got_continue, 'Full response received before 100 Continue');\n- assert.strictEqual(200, res.statusC...
2018-11-06T14:29:34
electron/electron
c973ebc84ae3c697532bf9677030566ec6684f6c
d0e3084a4c37148317b72314db3523a0f60bd1a5
update electron version fixing windows issues
[ { "path": "npm/install.js", "patch": "@@ -8,7 +8,7 @@ var fs = require('fs')\n \n var platform = os.platform()\n var arch = os.arch()\n-var version = '0.24.0'\n+var version = '0.25.1'\n var filename = 'electron-v' + version + '-' + platform + '-' + arch + '.zip'\n var url = 'https://github.com/atom/electron...
2015-04-23T19:37:46
huggingface/transformers
2b79f143756bf10a2d43e5ab6d413374b633d2ce
0e4b7938d0e965362973797f47ad2b85f605a96a
support loading qwen3 gguf (#38645) * support loading qwen3 gguf * Add qwen3 into GGUF_TO_FAST_CONVERTERS for tokenizer conversion * Add testcase * Fix formatting
[ { "path": "src/transformers/integrations/ggml.py", "patch": "@@ -90,6 +90,18 @@\n \"expert_count\": \"num_experts\",\n \"expert_used_count\": \"num_experts_per_tok\",\n },\n+ \"qwen3\": {\n+ \"context_length\": \"max_position_embeddings\",\n+ \"block_count\": \"num_hidde...
2025-07-15T09:53:41
golang/go
5afa5554289c91706ef6244b24ccf91181123b68
d7a43e89124044f0f468e656ec17a3cc86916b33
cmd/compile: fix wrong check for b.Controls in isBlockMultiValueExit b.Controls has type [2]*Value, thus len(b.Controls) > 0 is always true. The right check should be b.Controls[0] != nil, though, this is also always true, since when we always set control value for BlockRet and BlockRetJmp when state.exit is called. ...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -24,7 +24,7 @@ type selKey struct {\n type Abi1RO uint8 // An offset within a parameter's slice of register indices, for abi1.\n \n func isBlockMultiValueExit(b *Block) bool {\n-\treturn (b.Kind == BlockRet || b.Kind == BlockRetJmp) && l...
2021-08-28T07:55:10
nodejs/node
d070ae22ea0f77246dfdcc7cd5a3d98899dc4a36
2535aa5f7d080fa2f88dc9aeda08ee7fea8004b4
test: fixed the arguments order in `assert.strictEqual` This change was initiated from the NodeConfEU session. PR-URL: https://github.com/nodejs/node/pull/24135 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-...
[ { "path": "test/parallel/test-child-process-stdin.js", "patch": "@@ -30,8 +30,8 @@ cat.stdin.write('hello');\n cat.stdin.write(' ');\n cat.stdin.write('world');\n \n-assert.strictEqual(true, cat.stdin.writable);\n-assert.strictEqual(false, cat.stdin.readable);\n+assert.strictEqual(cat.stdin.writable, true);...
2018-11-06T14:37:00
vercel/next.js
3577988b851a8b9f059149eed350a4f318a0daf3
bee51b6c876b1d78a9232a6b7f4bab470532cb37
Update flakey instrumentation test cases (#46165) Follow-up to https://github.com/vercel/next.js/pull/46002 this fixes the flakey test cases by not relying on the timestamp to restart the dev server
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -631,9 +631,9 @@ If you cannot make the changes above, but still want to try out\\nNext.js v13 wit\n })\n \n wp.watch({ directories: [parentDir], startTime: 0 })\n- let instrumentationFileLastModified: number | undefined = undefine...
2023-02-20T19:56:03
electron/electron
7e376c1f732ca050b82ca310e52ad182a9c2e06f
a99d29b8595fd67cdebd8c27b3b9f84a6114fc78
win: Delay load of BluetoothApis.dll, fixes atom/electron#1462
[ { "path": "brightray/brightray.gyp", "patch": "@@ -202,6 +202,10 @@\n 'mf.dll',\n 'mfplat.dll',\n 'mfreadwrite.dll',\n+ # bluetooth.gyp:\n+ 'BluetoothApis.dll',\n+ 'Bthprops.cpl',...
2015-04-23T05:26:34
golang/go
d7a43e89124044f0f468e656ec17a3cc86916b33
044550ab0ee28fe85b98600503c9f33642697d76
cmd/compile: support type C comparable Support 'type C comparable' properly by using the same logic as for 'type T error', since ErrorType and ComparableType are entirely analogous. Added support for 'any' type as well, as requested by Robert. (For the future - we can't currently have 'any' anywhere other than in a c...
[ { "path": "src/cmd/compile/internal/typecheck/bexport.go", "patch": "@@ -99,6 +99,9 @@ func predeclared() []*types.Type {\n \n \t\t\t// comparable\n \t\t\ttypes.ComparableType,\n+\n+\t\t\t// any\n+\t\t\ttypes.AnyType,\n \t\t}\n \t}\n \treturn predecl", "additions": 3, "deletions": 0, "language":...
2021-08-26T00:12:27
huggingface/transformers
0e4b7938d0e965362973797f47ad2b85f605a96a
0b724114cf8475f146ca2fd644c4e31f395441eb
Add ModernBERT Decoder Models - ModernBERT, but trained with CLM! (#38967) * working locally; need to style and test * added docs and initial tests; need to debug and flesh out * fixed tests * working long context; batches * working fa2 and eager * update tests * add missing confnigs * remove default autoset *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -563,6 +563,8 @@\n title: MobileBERT\n - local: model_doc/modernbert\n title: ModernBert\n+ - local: model_doc/modernbert-decoder\n+ title: ModernBERTDecoder\n - local: model_doc/mpnet\n title: MPNet\n ...
2025-07-15T08:40:41
nodejs/node
7d86a5324bc29c21afce8cba3dba508b78d48cd5
1f6c4ba61d70318d1422a0dac2297f519ee35045
child_process: allow 'http_parser' monkey patching again Lazy load _http_common and HTTPParser so that the 'http_parser' binding can be monkey patched before any internal modules require it. This also probably improves startup performance minimally for programs that never require the HTTP stack. Fixes: https://github...
[ { "path": "lib/internal/child_process.js", "patch": "@@ -38,8 +38,6 @@ const { owner_symbol } = require('internal/async_hooks').symbols;\n const { convertToValidSignal } = require('internal/util');\n const { isArrayBufferView } = require('internal/util/types');\n const spawn_sync = internalBinding('spawn_sy...
2018-10-31T19:55:00
vercel/next.js
b3f3bf59b9ca20a5228a9a1f6a9104a2509e3162
9b2e3c5ec7d2d95133684c26a61bcec266854a57
Improve app-render error log with edge runtime (#46157) `app-render` server errors aren't logged correctly with the edge runtime. This adds logging of a filtered stack trace. Before ![image](https://user-images.githubusercontent.com/25056922/220144922-06aba048-0166-4114-8421-8f61e6137d5e.png) After ![image](https://...
[ { "path": "packages/next/src/server/app-render.tsx", "patch": "@@ -276,7 +276,17 @@ function createErrorHandler({\n if (errorLogger) {\n errorLogger(err).catch(() => {})\n } else {\n- console.error(err)\n+ // The error logger is currently not provided in the edge runtime.\n...
2023-02-20T16:24:15
electron/electron
a99d29b8595fd67cdebd8c27b3b9f84a6114fc78
e65f0941e0287beed5bcfa877b9b922a861f0c06
linux: Fix compiler warning
[ { "path": "brightray/brightray.gyp", "patch": "@@ -68,6 +68,9 @@\n '-Wno-deprecated-register',\n '-Wno-sentinel',\n ],\n+ 'cflags_cc': [\n+ '-Wno-reserved-user-defined-literal',\n+ ],\n 'direct_dependent_settings': {\n 'cfl...
2015-04-22T05:50:27
huggingface/transformers
0b724114cf8475f146ca2fd644c4e31f395441eb
8d6259b0b8290c2406949ce6342051b1f09a074c
Fix typo in `/v1/models` output payload (#39414)
[ { "path": "src/transformers/commands/serving.py", "patch": "@@ -366,7 +366,7 @@ def get_all_models():\n {\n \"id\": model.id,\n \"object\": \"model\",\n- \"crated\": model.created_at.timestamp(),\n+ ...
2025-07-15T07:59:25
nodejs/node
1f6c4ba61d70318d1422a0dac2297f519ee35045
6bbf9e07a11139015f4ec7f01f3db2cba77d5395
test: fix arguments order PR-URL: https://github.com/nodejs/node/pull/24131 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-net-stream.js", "patch": "@@ -34,11 +34,11 @@ s.server = new net.Server();\n s.server.connections = 10;\n s._server = s.server;\n \n-assert.strictEqual(10, s.server.connections);\n+assert.strictEqual(s.server.connections, 10);\n s.destroy();\n-assert.strictEqual(9, s.server.con...
2018-11-06T14:30:10
vercel/next.js
9b2e3c5ec7d2d95133684c26a61bcec266854a57
5cb69259e6f7e1c14303d39fac3d6d62b0b52f8e
Use next/font in create-next-app (#45897) Rmove `@next/font` package and use `next/font` in create-next-app. Fixes NEXT-484 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/nex...
[ { "path": "packages/create-next-app/templates/app/js/app/page.js", "patch": "@@ -1,5 +1,5 @@\n import Image from 'next/image'\n-import { Inter } from '@next/font/google'\n+import { Inter } from 'next/font/google'\n import styles from './page.module.css'\n \n const inter = Inter({ subsets: ['latin'] })", ...
2023-02-20T15:42:18
golang/go
f371b30f326b66e4c5c13c7ea51358a42c431752
ef4cb2f776f1c7e861604d1b46ab8fcf2672f10d
unicode/utf8: add AppendRune AppendRune appends the UTF-8 encoding of a rune to a []byte. It is a generally more user friendly than EncodeRune. EncodeASCIIRune-4 2.35ns ± 2% EncodeJapaneseRune-4 4.60ns ± 2% AppendASCIIRune-4 0.30ns ± 3% AppendJapaneseRune-4 4.70ns ± 2% The ASCII case is wri...
[ { "path": "src/cmd/compile/internal/test/inl_test.go", "patch": "@@ -122,6 +122,7 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"FullRune\",\n \t\t\t\"FullRuneInString\",\n \t\t\t\"RuneLen\",\n+\t\t\t\"AppendRune\",\n \t\t\t\"ValidRune\",\n \t\t},\n \t\t\"reflect\": {", "additions": 1, "dele...
2021-08-12T06:51:09
electron/electron
38583ca721f61459efc08765a30dcda6e87fa87a
5126f02184bdaed184df7fd204d38e0d096cfe65
linux: Update brightray to fix crash
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit ede706c109a0e5b8d9103b1502ade353872e7b9e\n+Subproject commit 685435ae679affcfcb095c546b3e884cbbc9f898", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-04-21T13:43:53
nodejs/node
6bbf9e07a11139015f4ec7f01f3db2cba77d5395
dc3bc8928f9d7c22fe9b909fa3cc49e8c85ec860
test: http-client-timeout error assert arguments PR-URL: https://github.com/nodejs/node/pull/24130 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-http-client-timeout-on-connect.js", "patch": "@@ -24,7 +24,7 @@ server.listen(0, common.localhostIPv4, common.mustCall(() => {\n }));\n req.on('timeout', common.mustCall(() => req.abort()));\n req.on('error', common.mustCall((err) => {\n- assert.strictEqual('socket han...
2018-11-06T14:30:19
vercel/next.js
5cb69259e6f7e1c14303d39fac3d6d62b0b52f8e
80c4766d2c16ca37cbf915512075273cbf4f610b
fix: OpenGraph metadata images rendering (#46154) fixes #46152. image urls will be convert to array and map to meta tags. https://stackblitz.com/edit/vercel-next-js-kc2ejf?file=next.config.js,app%2Flayout.tsx,app%2Fpage.tsx ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x...
[ { "path": "packages/next/src/lib/metadata/resolve-metadata.test.ts", "patch": "@@ -1,4 +1,5 @@\n import { accumulateMetadata, MetadataItems } from './resolve-metadata'\n+import { Metadata } from './types/metadata-interface'\n \n describe('accumulateMetadata', () => {\n describe('typing', () => {\n@@ -48,4...
2023-02-20T15:22:12
huggingface/transformers
8d6259b0b8290c2406949ce6342051b1f09a074c
6017f5e8ed33d48096cdf8630d1cc7cbf2550c90
[refactor] set attention implementation (#38974) * update * fix some tests * init from config, changes it in-place, add deepcopy in tests * fix modernbert * don't delete thsi config attr * update * style and copies * skip tests in generation * fix style * accidentally removed flash-attn-3, revert * docs * f...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1961,11 +1961,8 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, PushToHubMixin, PeftAdapterMi\n supports_gradient_checkpointing = False\n _is_stateful = False\n \n- # Flash Attention 2 support\n- _supports_flash_attn_2 = False...
2025-07-15T07:34:06
golang/go
5fb177163bccb66a39516542e4b9e127ec771c1f
c81fa001a7b01be5ce9d2990e706f0ed2c1299e8
go/types, types2: types in type switch cases must be instantiated We already have a function that does all the right checks and it's called varType. The only reason it wasn't used for type switch cases was that we also have to accept the nil value. That was handled with typeOrNil. But that function (typeOrNil) was onl...
[ { "path": "src/cmd/compile/internal/types2/stmt.go", "patch": "@@ -264,15 +264,29 @@ L:\n \t}\n }\n \n+// isNil reports whether the expression e denotes the predeclared value nil.\n+func (check *Checker) isNil(e syntax.Expr) bool {\n+\t// The only way to express the nil value is by literally writing nil (po...
2021-08-28T00:04:42
electron/electron
c910686b01c39de1ff8a618159b918a30b6902ba
23833cf7f44604bb8d25b2bc1a59f4a0cd8bc32e
mac: Update brightray to fix Release linking
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 10baaa8879962e9d2e50d1fbef73af22a51f30d0\n+Subproject commit ede706c109a0e5b8d9103b1502ade353872e7b9e", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-04-21T11:06:28
vercel/next.js
80c4766d2c16ca37cbf915512075273cbf4f610b
a9b56610e144520f4cbc1961a4ac9de8b6ec1080
Adding next-multilingual as a new i18n option (#37452)Co-authored-by: Tim Neutkens <tim@timneutkens.nl> <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right che...
[ { "path": "docs/advanced-features/i18n-routing.md", "patch": "@@ -13,7 +13,7 @@ description: Next.js has built-in support for internationalized routing and lang\n \n Next.js has built-in support for internationalized ([i18n](https://en.wikipedia.org/wiki/Internationalization_and_localization#Naming)) routin...
2023-02-20T12:56:48
huggingface/transformers
6017f5e8ed33d48096cdf8630d1cc7cbf2550c90
8d40ca5749dff9e0dcdc18eba4165691fe951f42
[siglip] fix pooling comment (#39378) * feat(siglip2): add forward pass with pooled output logic in Siglip2TextModel * test(siglip2): add test_text_model.py to verify pooled output behavior * style(siglip2): fix formatting in test_text_model.py using Ruff * fix(siglip2): remove misleading 'sticky EOS' comment and s...
[ { "path": "src/transformers/models/siglip/modeling_siglip.py", "patch": "@@ -664,7 +664,7 @@ def forward(\n last_hidden_state = encoder_outputs.last_hidden_state\n last_hidden_state = self.final_layer_norm(last_hidden_state)\n \n- # Assuming \"sticky\" EOS tokenization, last token is ...
2025-07-14T17:47:19
nodejs/node
d8e06b23b047b52c96ee01f7afb436aad4610c71
5c596222433166a7c0274251cca1e55f3bf9560f
test: fix flaky VM timeout test on Raspberry Pi Increase the timeouts based on platform. This required adjusting common.platformTimeout() to deal with bigint. Fixes: https://github.com/nodejs/node/issues/24120 PR-URL: https://github.com/nodejs/node/pull/24238 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed...
[ { "path": "test/common/README.md", "patch": "@@ -271,10 +271,12 @@ See `common.expectWarning()` for usage.\n Indicates whether 'opensslCli' is supported.\n \n ### platformTimeout(ms)\n-* `ms` [&lt;number>]\n-* return [&lt;number>]\n+* `ms` [&lt;number>|&lt;bigint>]\n+* return [&lt;number>|&lt;bigint>]\n \n-...
2018-11-07T22:40:35
golang/go
c81fa001a7b01be5ce9d2990e706f0ed2c1299e8
a9377183d0f3ccd49631e2d927d55d91f2ab5ec6
cmd/compile/internal/types: simplify and optimize PtrDataSize The current implementation of PtrDataSize checks HasPointers each call, which could lead to exponential blow-up in handling (admittedly contrived) deeply nested structs. To avoid the duplicate recursion, this CL incorporates the HasPointers logic directly ...
[ { "path": "src/cmd/compile/internal/escape/expr.go", "patch": "@@ -30,7 +30,7 @@ func (e *escape) exprSkipInit(k hole, n ir.Node) {\n \t\tbase.Pos = lno\n \t}()\n \n-\tif k.derefs >= 0 && !n.Type().HasPointers() {\n+\tif k.derefs >= 0 && !n.Type().IsUntyped() && !n.Type().HasPointers() {\n \t\tk.dst = &e.bl...
2021-08-28T00:14:00