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
vercel/next.js
1c5983fe95b79cc9ea1e52d19e69adf7827eda5a
be5fd6cee00311c9b76c6d67c382989fc3efba31
Prefix basePath in navigate and prefix methods in app router (#45771) Closes #41824. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - ...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -37,6 +37,7 @@ import {\n } from './router-reducer/create-initial-router-state'\n import { fetchServerResponse } from './router-reducer/fetch-server-response'\n import { isBot } from '../../shared/lib/router/utils/is-bot'\n+import ...
2023-02-10T13:01:00
electron/electron
faf40457c58c9d9c8e98f5ab67490bbfedf8f163
353b4852025bbf4a8e00538ddb7f9e4ab719862d
spec: Fix BrowserWindow.capturePage
[ { "path": "spec/api-browser-window-spec.coffee", "patch": "@@ -78,7 +78,7 @@ describe 'browser-window module', ->\n describe 'BrowserWindow.capturePage(rect, callback)', ->\n it 'calls the callback with a Buffer', (done) ->\n w.capturePage {x: 0, y: 0, width: 100, height: 100}, (image) ->\n- ...
2015-02-12T06:37:32
nodejs/node
1fcf83a430a4d18c8ab3a741a90f4319f998c2d1
4e8283559652a95f24ddea9be18ec4b1246958f2
test: fix backward assertion arguments PR-URL: https://github.com/nodejs/node/pull/23616 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <c...
[ { "path": "test/parallel/test-net-server-max-connections.js", "patch": "@@ -75,10 +75,10 @@ function makeConnection(index) {\n }\n \n if (index < server.maxConnections) {\n- assert.strictEqual(true, gotData,\n+ assert.strictEqual(gotData, true,\n `${index...
2018-10-12T18:27:05
huggingface/transformers
3e5cc1285503bbdb6a0a3e173b5ae90566862215
cfff7ca9a27280338c6a57dfa7722dcf44f51a87
[tests] remove tests from libraries with deprecated support (flax, tensorflow_text, ...) (#39051) * rm tf/flax tests * more flax deletions * revert fixture change * reverted test that should not be deleted; rm tf/flax test * revert * fix a few add-model-like tests * fix add-model-like checkpoint source * a few ...
[ { "path": "src/transformers/commands/add_new_model_like.py", "patch": "@@ -659,7 +659,7 @@ def get_model_files(model_type: str, frameworks: Optional[list[str]] = None) ->\n return {\"doc_file\": doc_file, \"model_files\": model_files, \"module_name\": module_name, \"test_files\": test_files}\n \n \n-_re...
2025-06-26T15:25:00
golang/go
93285c89d1146e2698d2b8e5bf45279961f5026e
5aac85ad5ebfa9c2ecb01a3292bcf3513d876d7a
[dev.typeparams] cmd/compile/internal/types2: fix range over exprs of type parameter type For range expressions of type parameter type, the structural type of the type parameter's constraint determines the range operation. While at it, rename implicitArrayDeref to arrayPtrDeref. Change-Id: Ib631a8a14e717498e5264944f...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -144,7 +144,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\tmode := invalid\n \t\tvar typ Type\n \t\tvar val constant.Value\n-\t\tswitch typ = implicitArrayDeref(under(x.typ)); t := typ.(type) {...
2021-08-04T23:52:25
vercel/next.js
fab373da1bd60b667660d9d13e9764afa9744fc6
c039615006b3a9f7af1f3b2127f6518928b161d4
Enable HMR updates even when critical issues occur (vercel/turbo#3714) This enables HMR updates, even when the update message also contains critical issues. There were some inconsistencies with the logic previously, so I'm not sure whether this fix is fully correct. More on that in PR comments.
[ { "path": "packages/next-swc/crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -284,8 +284,6 @@ function handleSocketMessage(msg: ServerMessage) {\n const hasCriticalIssues = handleIssues(msg);\n const aggregatedMsg = aggregateUpdates(msg, hasCriticalIssues);\n \n- if (hasCriticalIssues) return;...
2023-02-10T12:30:57
electron/electron
2ca6be69e21b26b6796721da35dc31175d2e8529
054b6a98170ecdab5255943e6258bff7c4701dcb
Fix cpplint warnings
[ { "path": "atom/common/api/atom_api_native_image.cc", "patch": "@@ -4,11 +4,13 @@\n \n #include \"atom/common/api/atom_api_native_image.h\"\n \n+#include <string>\n+#include <vector>\n+\n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n #include \"atom/common/native_mate_converters/gf...
2015-02-11T13:59:08
nodejs/node
3f7755b24c234eeeb592f484c504b4b85a8f9fb8
c56f38f6f935b6d4d04657fd95c9b93b7d83a05c
test: fix assertion order PR-URL: https://github.com/nodejs/node/pull/23626 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig...
[ { "path": "test/parallel/test-https-client-get-url.js", "patch": "@@ -40,8 +40,8 @@ const options = {\n };\n \n const server = https.createServer(options, common.mustCall((req, res) => {\n- assert.strictEqual('GET', req.method);\n- assert.strictEqual('/foo?bar', req.url);\n+ assert.strictEqual(req.method...
2018-10-12T21:12:00
golang/go
5e33d11e1051734b2495021aa64ed9f47fbae87e
ac78501b9c4f7458c6b4352b1590db058d9ac27c
[dev.typeparams] cmd/compile: do transformCall with non-shape type of call Do the transformCall using the original types2-derived type of the call (in particular, the types of the params as non-shapes). Currently, since we were using the param types of the instantiation, we might add in interface conversions to an int...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -125,13 +125,17 @@ func (g *irgen) expr0(typ types2.Type, expr syntax.Expr) ir.Node {\n \t\t\t}\n \t\t\tif fun.Op() == ir.OFUNCINST {\n \t\t\t\t// Replace explicit type args with the full list that\n-\t\t\t\t// includes the additional inferred...
2021-08-05T22:59:39
vercel/next.js
5966aa62e0fd587299f3eee43d1aad180d494ec0
068afb279667cd70436493b7f29dbeb516384f91
Enable HMR updates even when critical issues occur (vercel/turbo#3714) This enables HMR updates, even when the update message also contains critical issues. There were some inconsistencies with the logic previously, so I'm not sure whether this fix is fully correct. More on that in PR comments.
[ { "path": "crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -284,8 +284,6 @@ function handleSocketMessage(msg: ServerMessage) {\n const hasCriticalIssues = handleIssues(msg);\n const aggregatedMsg = aggregateUpdates(msg, hasCriticalIssues);\n \n- if (hasCriticalIssues) return;\n-\n const runH...
2023-02-10T12:30:57
electron/electron
86de75deef987dd5369e124e5577b085e3160cf1
8a7acfc6c0d57f89fa064fd8eef49725aa424eb5
Style fixups
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -2,19 +2,15 @@\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n-namespace gfx {\n-class Image;\n-}\n-\n #include \"atom/browser/api/atom_api_window.h\"\n \n #include \"atom/browser/api/a...
2015-02-11T01:14:26
rust-lang/rust
1e3fc3cc4634bad24adfb9ed253851a2647d22ec
da7b678992dd65dbd644bfe30ba61a9a0d2c695c
fix minor typo: toolcahin => toolchain changelog: none
[ { "path": "book/src/development/basics.md", "patch": "@@ -151,7 +151,7 @@ toolchain called `clippy` by default, see `cargo dev setup toolchain --help`\n for other options.\n \n ```terminal\n-cargo dev setup toolcahin\n+cargo dev setup toolchain\n ```\n \n Now you may run `cargo +clippy clippy` in any projec...
2025-05-18T08:22:11
huggingface/transformers
cfff7ca9a27280338c6a57dfa7722dcf44f51a87
02ecdcfc0f7d81e90a9c8e7f9e6d636123a84254
[Whisper] Pipeline: handle long form generation (#35750) * handle long form generation * add warning * correct incorrect in place token change * update test to catch edge case * make style * update warning * add doc
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -136,7 +136,18 @@ def _pad_to_max_length(\n cut_off_length=None,\n return_token_timestamps=False,\n force_unique_generate_call=False,\n+ skip_ending_double_timestamps=False,\n+ timestamp_begin=None,\n ):\n+ ...
2025-06-26T14:33:31
nodejs/node
aee771c73c5ae80b1c39d5c8cb92579033ba48b2
22afe4fafced0cd4b411937e476f9fd939b22b2d
test: fix assert.strictEqual() argument order PR-URL: https://github.com/nodejs/node/pull/23564 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Pun...
[ { "path": "test/parallel/test-tcp-wrap-connect.js", "patch": "@@ -18,19 +18,19 @@ function makeConnection() {\n assert.strictEqual(err, 0);\n \n req.oncomplete = function(status, client_, req_, readable, writable) {\n- assert.strictEqual(0, status);\n- assert.strictEqual(client, client_);\n- as...
2018-10-12T17:47:37
golang/go
70546f6404c5927a9868a80ccbf4c6c2beaea671
fd45e267c2f6ce7c6a88842e3ad94d3469223e42
runtime: allow arm64 SEH to be called if illegal instruction DLLs built with recent Microsoft toolchains for ARM64 test for ARMv8.1 atomics by potentially calling an illegal instruction, and then trapping the exception to disable use of them by way of a structured exception handler. However, vectored exception handler...
[ { "path": "src/runtime/signal_windows.go", "patch": "@@ -183,6 +183,17 @@ func lastcontinuehandler(info *exceptionrecord, r *context, gp *g) int32 {\n \t\treturn _EXCEPTION_CONTINUE_SEARCH\n \t}\n \n+\t// VEH is called before SEH, but arm64 MSVC DLLs use SEH to trap\n+\t// illegal instructions during runtim...
2021-08-05T11:37:29
vercel/next.js
c4e69d6ee7124c23a8978ce8a1020e6e676eaae1
bad653d2dc99a292643a4a3e6dc3d85df5728c12
include stderr and stdout in the error message when process failed to start (vercel/turbo#3718) This improves debugging startup node.js crashes
[ { "path": "crates/turbopack-node/src/pool.rs", "patch": "@@ -28,8 +28,10 @@ enum NodeJsPoolProcess {\n }\n \n struct SpawnedNodeJsPoolProcess {\n- child: Option<Child>,\n+ child: Child,\n listener: TcpListener,\n+ shared_stdout: SharedOutputSet,\n+ shared_stderr: SharedOutputSet,\n debug...
2023-02-10T11:14:52
electron/electron
bedd0a11bacd83d89d09dfe805a3c44da982a895
778078973b9b00b51d5450e92b7ad63c82b704a9
Suppress SSL verification, fixes #1115
[ { "path": "script/lib/util.py", "patch": "@@ -4,6 +4,7 @@\n import contextlib\n import errno\n import shutil\n+import ssl\n import subprocess\n import sys\n import tarfile\n@@ -45,6 +46,9 @@ def scoped_env(key, value):\n def download(text, url, path):\n safe_mkdir(os.path.dirname(path))\n with open(path...
2015-02-10T09:52:33
nodejs/node
22afe4fafced0cd4b411937e476f9fd939b22b2d
8a32a5188153d9f67866e159ff06c4ea061a1fce
test: fix parameter order of assertions PR-URL: https://github.com/nodejs/node/pull/23565 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil ...
[ { "path": "test/pummel/test-net-throttle.js", "patch": "@@ -37,7 +37,7 @@ console.log(`start server on port ${common.PORT}`);\n const server = net.createServer(function(connection) {\n connection.write(body.slice(0, part_N));\n connection.write(body.slice(part_N, 2 * part_N));\n- assert.strictEqual(fal...
2018-10-12T18:02:44
golang/go
fd45e267c2f6ce7c6a88842e3ad94d3469223e42
6e738868a7a943d7d4fd6bb1963e7f6d78111726
runtime: warn that KeepAlive is not an unsafe.Pointer workaround Even experienced users occasionally mistake that runtime.KeepAlive can be used as a workaround for following the unsafe.Pointer safety rules, but it cannot. Add an explicit warning to this effect to dissuade users from trying to use it as such. Fixes #4...
[ { "path": "src/runtime/mfinal.go", "patch": "@@ -466,6 +466,10 @@ okarg:\n // Without the KeepAlive call, the finalizer could run at the start of\n // syscall.Read, closing the file descriptor before syscall.Read makes\n // the actual system call.\n+//\n+// Note: KeepAlive should only be used to prevent fin...
2021-08-05T20:05:23
huggingface/transformers
d973e62fdd86d64259f87debc46bbcbf6c7e5de2
44b231671db25974cfebcdae34402ad5099bf37a
fix condition where torch_dtype auto collides with model_kwargs. (#39054) * fix condition where torch_dtype auto collides with model_kwargs. * update tests * update comment * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -1005,13 +1005,21 @@ def pipeline(\n model_kwargs[\"device_map\"] = device_map\n if torch_dtype is not None:\n if \"torch_dtype\" in model_kwargs:\n- raise ValueError(\n- 'You cannot use both `pipe...
2025-06-26T12:52:57
vercel/next.js
be5fd6cee00311c9b76c6d67c382989fc3efba31
484f4724f4f635f023b1db644f0544bda8bb96b9
next-dev: change cluster usage to child process + stabilise inspect port (#45745 Fixes #45122 and #44817 NEXT-447 This PR: - changes the usage of the cluster module in `next dev` to use `child_process` instead. This is mostly the same thing and helps alleviate issues with libraries that rely on `Cluster.isMas...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -1,6 +1,6 @@\n #!/usr/bin/env node\n import arg from 'next/dist/compiled/arg/index.js'\n-import { startServer } from '../server/lib/start-server'\n+import { startServer, WORKER_SELF_EXIT_CODE } from '../server/lib/start-server'\n import { getPort, ...
2023-02-10T10:20:50
nodejs/node
8a32a5188153d9f67866e159ff06c4ea061a1fce
45ef905585266504633dc4ba020b9caaea938839
test: fix assert value order Switched assertion values to match assert.strictEqual() documentation PR-URL: https://github.com/nodejs/node/pull/23566 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikr...
[ { "path": "test/parallel/test-repl-require.js", "patch": "@@ -32,7 +32,7 @@ server.listen(options, function() {\n });\n \n process.on('exit', function() {\n- assert.strictEqual(false, /Cannot find module/.test(answer));\n- assert.strictEqual(false, /Error/.test(answer));\n+ assert.strictEqual(/Cannot fin...
2018-10-12T17:52:38
huggingface/transformers
44b231671db25974cfebcdae34402ad5099bf37a
ae15715df138949328d18e1dd95fd9cb4efb8e09
[qwen2-vl] fix vision attention scaling (#39043) scale lost its `-` when refactoring
[ { "path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py", "patch": "@@ -925,7 +925,7 @@ def __init__(self, config: Qwen2_5OmniVisionEncoderConfig = None) -> None:\n self.k = nn.Linear(self.dim, self.dim, bias=True)\n self.v = nn.Linear(self.dim, self.dim, bias=True)\n ...
2025-06-26T12:06:52
golang/go
f78d538858a2d9aae975b2e2c144d23bcc22c22e
c5b6c36ddd0ecdee401c4e78da1addf64bdc6376
[dev.typeparams] cmd/compile/internal/types2: cleanup panic calls End-users are not expected to deal with the details of panics, so providing extra information such as an "internal error" prefix or the name of the function invoking the panic are not helpful. Remove unnecessary panic verbiage if it is readily availabl...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -340,15 +340,15 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t\t// cycle detected\n \t\t\tfor i, tn := range path {\n \t\t\t\tif t.obj.pkg != check.pkg {\n-\t\t\t\t\tpanic(\"internal error: type cycle via packag...
2021-08-04T19:57:23
vercel/next.js
81a4063db74e846dc53f879c10701bdb5d2fe313
d841f8ea83ecde339e9fb5ff986f0e75ceda824c
Update CNA tests (#45768 These had incorrect import alias flags since the `"` characters were being included incorrectly. x-ref: https://github.com/vercel/next.js/actions/runs/4137310428/jobs/7152385081
[ { "path": "scripts/run-for-change.js", "patch": "@@ -34,7 +34,7 @@ const CHANGE_ITEM_GROUPS = {\n 'packages/font/README.md',\n 'packages/next-env/README.md',\n ],\n- cna: ['packages/create-next-app'],\n+ cna: ['packages/create-next-app', 'test/integration/create-next-app'],\n 'next-swc': [\n ...
2023-02-09T22:59:28
huggingface/transformers
ae15715df138949328d18e1dd95fd9cb4efb8e09
3abeaba7e53512ef9c1314163dd7e462ab405ce6
polishing docs: error fixes for clarity (#39042) * fix duplicate deprecate_models.py * fix duplicate modular_model_converter.py
[ { "path": "utils/deprecate_models.py", "patch": "@@ -31,7 +31,7 @@ def get_last_stable_minor_release():\n url = \"https://pypi.org/pypi/transformers/json\"\n release_data = requests.get(url).json()\n \n- # Find the last stable release of of transformers (version below current version)\n+ # Fin...
2025-06-26T11:56:31
electron/electron
03a88883b61f1f00634cfb3594306780390c241b
59a8be53c23b8155914194ee7a3e16370d1d287a
Fix build on OS X
[ { "path": "atom/browser/native_window_mac.h", "patch": "@@ -71,6 +71,8 @@ class NativeWindowMac : public NativeWindow {\n bool HasModalDialog() override;\n gfx::NativeWindow GetNativeWindow() override;\n void SetProgressBar(double progress) override;\n+ void SetOverlayIcon(const gfx::Image& overlay,\...
2015-02-07T19:56:03
nodejs/node
093cf6f841a700a52f13ea1a9d4db0d0f6aab695
01d40473be791c301b596272feef15e7611689cb
test: fix strictEqual order for timers test PR-URL: https://github.com/nodejs/node/pull/23568 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Col...
[ { "path": "test/parallel/test-timers-linked-list.js", "patch": "@@ -41,55 +41,55 @@ L.init(C);\n L.init(D);\n \n assert.ok(L.isEmpty(list));\n-assert.strictEqual(null, L.peek(list));\n+assert.strictEqual(L.peek(list), null);\n \n L.append(list, A);\n // list -> A\n-assert.strictEqual(A, L.peek(list));\n+ass...
2018-10-12T18:06:25
golang/go
bb5608dd5d056519bd90666b815e0b2bf65e5ee8
6dadee759c812961300c8d1a44959d14299fd9f8
[dev.typeparams] cmd/compile/internal/types2: implement type sets with term lists This CL resolves several known issues and TODOs. - Represent type sets with term lists and using term list abstractions. - Represent Unions internally as a list of (syntactical) terms. Use term operations to print terms and detect ov...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -144,7 +144,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\tmode := invalid\n \t\tvar typ Type\n \t\tvar val constant.Value\n-\t\tswitch typ = implicitArrayDeref(optype(x.typ)); t := typ.(type) ...
2021-07-29T18:10:04
vercel/next.js
d841f8ea83ecde339e9fb5ff986f0e75ceda824c
a97aafea648115513b10b1076fbefdb02f8dedc1
Move CSS tests out of the main test suite (#45765) No changes in this PR, just move out all CSS related tests out of app-dir/app/index.tests.ts into a separate suite. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contri...
[ { "path": "test/e2e/app-dir/app-css/app/client-component-route/page.js", "patch": "@@ -0,0 +1,20 @@\n+'use client'\n+\n+import { useState, useEffect } from 'react'\n+\n+import style from './style.module.css'\n+import './style.css'\n+\n+export default function ClientComponentRoute() {\n+ const [count, setCo...
2023-02-09T22:22:53
huggingface/transformers
25c44d4b68d4a0feafb3a5a3fc640d04cf59d5a9
f85b47d1b8820fefc8fbe2704a2fd67e908f9614
Internvl fix (#38946) * Image processor compile fix (#38540) * Added a compile-friendly versiom of resize to BaseImgProcessorFast * Changed qwen2 processor to use its parent class .resize * Style * underlined issue only happens on AMD w/ comment and bool check * Fixed some utils functions * Fixed the same issue ...
[ { "path": "src/transformers/image_processing_utils_fast.py", "patch": "@@ -49,6 +49,7 @@\n is_vision_available,\n logging,\n )\n+from .utils.import_utils import is_rocm_platform\n \n \n if is_vision_available():\n@@ -280,8 +281,34 @@ def resize(\n \"Size must contain 'height' and 'wi...
2025-06-26T11:44:59
nodejs/node
01d40473be791c301b596272feef15e7611689cb
552fe56b654e6ef4a87d4a9bf935155760a9da25
test: corrected assertion arguments order Fixed the order of expected arguments for assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/23569 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: T...
[ { "path": "test/parallel/test-util.js", "patch": "@@ -28,75 +28,75 @@ const errors = require('internal/errors');\n const context = require('vm').runInNewContext;\n \n // isArray\n-assert.strictEqual(true, util.isArray([]));\n-assert.strictEqual(true, util.isArray(Array()));\n-assert.strictEqual(true, util.i...
2018-10-12T14:57:07
golang/go
5dcb5e2cea883b1bd69b543841b137a287aa7037
3cdf8b429e7550c04ab986327bf9aed8de08d6fa
[dev.typeparams] cmd/compile: dictionary/shape cleanup - Removed gcshapeType - we're going with more granular shapes for now, and gradually coarsening later if needed. - Put in early return in getDictionarySym(), so the entire rest of the function can be un-indented by one level. - Removed some duplicated i...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -8,7 +8,6 @@\n package noder\n \n import (\n-\t\"bytes\"\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/objw\"\n@@ -19,7 +18,6 @@ import (\n \t\"cmd/internal/src\"\n \t\"fmt\"\n \t\"go/constant\...
2021-08-05T00:58:54
rust-lang/rust
2dddbd1ecb586b7a7dc67c078c2f7785a5cb63ba
65d381b0cc2b7b8404e7c910055dd3cf806f1cca
rustc-dev-guide: fix Rust for Linux rust-lang/rust label
[ { "path": "src/doc/rustc-dev-guide/src/notification-groups/rust-for-linux.md", "patch": "@@ -1,9 +1,9 @@\n # Rust for Linux notification group\n \n-**Github Label:** [O-rfl] <br>\n+**Github Label:** [A-rust-for-linux] <br>\n **Ping command:** `@rustbot ping rfl`\n \n-[O-rfl]: https://github.com/rust-lang/ru...
2025-05-17T15:51:00
huggingface/transformers
f85b47d1b8820fefc8fbe2704a2fd67e908f9614
583db52bc6d5415a205724776136d094ff70c9a4
[`Generate`] Fix no grad on some models (#39008) fixes on torch no grad for generate
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1265,6 +1265,7 @@ def forward(\n attentions=all_self_attentions,\n )\n \n+ @torch.no_grad()\n def generate(\n self,\n coarse_output: torch.Tensor,", "additions": 1, "deletions": 0, ...
2025-06-26T11:06:09
vercel/next.js
a97aafea648115513b10b1076fbefdb02f8dedc1
e8e85effd6113ab8a8b22ebb906faf244b3c74d7
Forward type definition with the TS plugin (#45764) Improve the experience that when you have type errors, you can use CMD+Click to directly jump to the metadata definition: https://user-images.githubusercontent.com/3676859/217918427-590d1feb-1d05-4b15-8146-0b7aa35fab0b.mp4 ## Bug - [ ] Related issues link...
[ { "path": "packages/next/src/server/typescript/index.ts", "patch": "@@ -285,6 +285,19 @@ export function createTSPlugin(modules: {\n return prior\n }\n \n+ // Get definition and link for specific node\n+ proxy.getDefinitionAndBoundSpan = (fileName: string, position: number) => {\n+ if (...
2023-02-09T21:50:02
electron/electron
7861eec4268aef13e6a91b34f0ab35904d21981d
a02707f998266aabdc223386b725230a75255a12
linux: Fix building
[ { "path": "atom/common/api/atom_api_asar.cc", "patch": "@@ -2,6 +2,8 @@\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n+#include <stddef.h>\n+\n #include <vector>\n \n #include \"atom_natives.h\" // NOLINT: This file is generated with coffee2c.",...
2015-02-04T19:18:25
golang/go
3cdf8b429e7550c04ab986327bf9aed8de08d6fa
1b708c0260b6627fc23dda30c3f1e691373c032d
[dev.typeparams] cmd/compile: fixing case where type arg is an interface In this case, we can't use an itab for doing a bound call, since we're converting from an interface to an interface. We do a static or dynamic type assert in new function assertToBound(). The dynamic type assert in assertToBound() is only needed...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1181,19 +1181,26 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\t\t// The only dot on a shape type value are methods.\n \t\t\t\tif mse.X.Op() == ir.OTYPE {\n \t\t\t\t\t// Method expression T.M\n-\t\t\t\t\tm = subst.g.buildClosur...
2021-08-04T21:25:01
rust-lang/rust
65d381b0cc2b7b8404e7c910055dd3cf806f1cca
a43b8d1d2b10bf4d9e9d935aed497f7ebbeeb6e4
triagebot: fix Rust for Linux ping group rust-lang/rust label
[ { "path": "triagebot.toml", "patch": "@@ -133,7 +133,7 @@ In case it's useful, here are some [instructions] for tackling these sorts of is\n \n [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/rust-for-linux.html\n \"\"\"\n-label = \"O-rfl\"\n+label = \"A-rust-for-linux\"\n \n [ping...
2025-05-17T15:48:57
nodejs/node
552fe56b654e6ef4a87d4a9bf935155760a9da25
2505f05ce8af7c2b928bbe1ab88cd5301c780fc3
test: fix strictEqual input parameters order PR-URL: https://github.com/nodejs/node/pull/23570 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil ...
[ { "path": "test/parallel/test-pipe-file-to-http.js", "patch": "@@ -34,7 +34,7 @@ let count = 0;\n \n const server = http.createServer(function(req, res) {\n let timeoutId;\n- assert.strictEqual('POST', req.method);\n+ assert.strictEqual(req.method, 'POST');\n req.pause();\n \n setTimeout(function() ...
2018-10-12T18:00:55
vercel/next.js
e8e85effd6113ab8a8b22ebb906faf244b3c74d7
1e13662daa7f2647b72e9ff19c8f2e9713c13239
Support favicon.ico for metadata (#45759 ## Feature * Picking up root favicon (`/app/favicon.ico`) into icons, and add missing `type` prop for `<link>` * Fixes the `/favicon.ico` 500 in dev server (`fileExists` checking part) Closes NEXT-475 - [x] Implements an existing feature request or RFC. Make sure th...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -217,6 +217,7 @@ export function getAppEntry(opts: {\n appDir: string\n appPaths: string[] | null\n pageExtensions: string[]\n+ assetPrefix: string\n isDev?: boolean\n rootDir?: string\n tsconfigPath?: string\n@@ -410,6 +411,7 @@ expo...
2023-02-09T21:14:09
huggingface/transformers
583db52bc6d5415a205724776136d094ff70c9a4
5995cfa0a07de86e3c53fe1f57378c956a5d03db
Add Dia model (#38405) * add dia model * add tokenizer files * cleanup some stuff * brut copy paste code * rough cleanup of the modeling code * nuke some stuff * more nuking * more cleanups * updates * add mulitLayerEmbedding vectorization * nits * more modeling simplifications * updates * update rope * ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -839,6 +839,8 @@\n title: CSM\n - local: model_doc/dac\n title: dac\n+ - local: model_doc/dia\n+ title: Dia\n - local: model_doc/encodec\n title: EnCodec\n - local: model_doc/fastspeech2_conformer", ...
2025-06-26T11:04:23
electron/electron
a02707f998266aabdc223386b725230a75255a12
f214e887843e0982adccf125a771a95b80126a51
Fix cpplint warnings
[ { "path": "atom/common/api/atom_api_asar.cc", "patch": "@@ -4,7 +4,7 @@\n \n #include <vector>\n \n-#include \"atom_natives.h\"\n+#include \"atom_natives.h\" // NOLINT: This file is generated with coffee2c.\n #include \"atom/common/asar/archive.h\"\n #include \"atom/common/native_mate_converters/file_path_...
2015-02-04T19:01:01
rust-lang/rust
1adfdb42b923d432e8a163350115819e6c0cb887
a43b8d1d2b10bf4d9e9d935aed497f7ebbeeb6e4
Use `crate::` prefix for root macro suggestions
[ { "path": "compiler/rustc_resolve/src/diagnostics.rs", "patch": "@@ -2493,7 +2493,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {\n let Res::Def(DefKind::Macro(MacroKind::Bang), _) = binding.res() else {\n return None;\n };\n- let module_name = crate_module.kind.name().unwrap_o...
2025-05-17T14:01:57
golang/go
e590cb64f940b2d4996a6e7773c1b855be952632
d27a889119ce05b1faae29aa549887e86ce453df
[dev.typeparams] runtime: handle d.link carefully when freeing a defer CL 339396 allowed stack copying on entry to and during freedefer, but this introduced a subtle bug: if d is heap-allocated, and d.link points to a stack-allocated defer, stack copying during freedefer can briefly introduce a stale pointer, which th...
[ { "path": "src/runtime/panic.go", "patch": "@@ -338,7 +338,17 @@ func newdefer() *_defer {\n \n // Free the given defer.\n // The defer cannot be used after this call.\n+//\n+// This is nosplit because the incoming defer is in a perilous state.\n+// It's not on any defer list, so stack copying won't adjust ...
2021-08-04T12:54:09
nodejs/node
2505f05ce8af7c2b928bbe1ab88cd5301c780fc3
cac4909bf31f9eeb1071830cbb5cd6c77748b642
test: fix order of arguments passed to strictEqual The argument order in the strictEqual check was in the wrong order. The first argument is now the actual value and the second argument is the expected value. PR-URL: https://github.com/nodejs/node/pull/23571 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-net-socket-local-address.js", "patch": "@@ -18,8 +18,8 @@ const server = net.createServer((socket) => {\n \n server.on('close', common.mustCall(() => {\n // client and server should agree on the ports used\n- assert.deepStrictEqual(clientLocalPorts, serverRemotePorts);\n- a...
2018-10-12T18:03:15
huggingface/transformers
5995cfa0a07de86e3c53fe1f57378c956a5d03db
22b0a898787f9e34c2b9b4ac1e53d2497c44ff39
Fix Bad Outputs in Fast Path for GraniteMoeHybrid (#39033) Fix bug in previous state setting
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -867,7 +867,6 @@ def torch_forward(\n # Init cache\n if ssm_state is not None and cache_params is not None:\n cache_params.ssm_states[self.layer_idx].copy_(ssm_state)\n- cache_par...
2025-06-26T07:45:57
vercel/next.js
0f48a6f0748e4154d07e2c17e39d0c5ed4a15a94
bb9bb64864dc4ed609030d6b0a94bd5b53873b06
Fix CNA file initializing order (#45760) Fixes: https://github.com/vercel/next.js/issues/45161 ## Bug - [x] 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/contributing.md)
[ { "path": "packages/create-next-app/templates/index.ts", "patch": "@@ -7,6 +7,7 @@ import fs from 'fs'\n import path from 'path'\n import chalk from 'chalk'\n import util from 'util'\n+import { Sema } from 'async-sema'\n \n import { GetTemplateFileArgs, InstallTemplateArgs } from './types'\n \n@@ -41,77 +42...
2023-02-09T18:29:56
electron/electron
5e4c90f2648ce226c0a0d2686defbbada2776560
1c65f5d7d9a01a544fa20ad1a5ef55c31853158e
NotificationError is discarded
[ { "path": "brightray/browser/linux/notification_presenter_linux.cc", "patch": "@@ -69,7 +69,7 @@ void NotificationPresenterLinux::ShowNotification(\n notify_notification_show(notification, &error);\n if (error) {\n log_and_clear_error(error, \"notify_notification_show\");\n- delegate->Notificatio...
2015-01-28T01:18:46
nodejs/node
cac4909bf31f9eeb1071830cbb5cd6c77748b642
c596bcc4ff9108fd357d78011712af18e212e712
test: augment tests for SourceTextModule Adds tests for a few error conditions. Also, adds tests to make sure the dynamically generated url is correct. PR-URL: https://github.com/nodejs/node/pull/23573 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: R...
[ { "path": "test/parallel/test-vm-module-basic.js", "patch": "@@ -50,3 +50,16 @@ const { SourceTextModule, createContext } = require('vm');\n await m.evaluate({ timeout: 500 })\n .then(() => assert(false), () => {});\n })();\n+\n+// Check the generated url for each module\n+(async () => {\n+ const con...
2018-10-12T18:10:39
huggingface/transformers
22b0a898787f9e34c2b9b4ac1e53d2497c44ff39
1d45d90e5d1552eccb6d8cc9b7bba283ccefb808
Granite speech speedup + model saving bugfix (#39028) * ensure the query is updated during training avoid unused parameters that DDP does not like * avoid a crash when `kwargs` contain `padding=True` trainers often pass this argument automatically * minor * Remove mel_spec lazy init, and rename to mel_filters. th...
[ { "path": "src/transformers/models/granite_speech/modeling_granite_speech.py", "patch": "@@ -159,8 +159,12 @@ def forward(self, hidden_states: torch.Tensor, attention_dists: torch.Tensor) ->\n # shaw's relative positional embedding\n dist = attention_dists.to(hidden_states.device)\n ...
2025-06-26T07:44:17
vercel/next.js
bb9bb64864dc4ed609030d6b0a94bd5b53873b06
d73cceb20d04112d13a5e0dfb910f07202912f23
Fix global CSS loader behavior when appDir is enabled (#45739) The current behavior is, when `appDir` is enabled, global CSS should be allowed to be imported from anywhere (because components can be re-used by both pages and app). Changes in #45619 made it not behaving correctly and this PR fixes it. ## Bug -...
[ { "path": "packages/next/src/build/webpack/config/blocks/css/index.ts", "patch": "@@ -337,22 +337,32 @@ export const css = curry(async function css(\n )\n } else {\n // External CSS files are allowed to be loaded when any of the following is true:\n- // - hasAppDir: If the issuerLayer is RSC\n+...
2023-02-09T13:33:45
electron/electron
1c65f5d7d9a01a544fa20ad1a5ef55c31853158e
c874219101b188cd2e4f615fdb7753f47ad5aea3
Fix cpplint warning
[ { "path": "brightray/browser/remote_debugging_server.h", "patch": "@@ -16,11 +16,11 @@ class DevToolsHttpHandler;\n namespace brightray {\n \n class RemoteDebuggingServer {\n-public:\n+ public:\n RemoteDebuggingServer(const std::string& ip, uint16 port);\n virtual ~RemoteDebuggingServer();\n \n-private:...
2015-01-10T01:27:30
nodejs/node
c596bcc4ff9108fd357d78011712af18e212e712
bc89f9bbbccaa81583e9295c8d5cfa132c33b11e
test: fix arguments ordering for assertions to match the docs PR-URL: https://github.com/nodejs/node/pull/23575 Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail...
[ { "path": "test/parallel/test-require-resolve.js", "patch": "@@ -25,15 +25,12 @@ const fixtures = require('../common/fixtures');\n const assert = require('assert');\n \n assert.strictEqual(\n- fixtures.path('a.js').toLowerCase(),\n- require.resolve(fixtures.path('a')).toLowerCase());\n+ require.resolve(f...
2018-10-12T17:46:35
huggingface/transformers
d37f7517972f67e3f2194c000ed0f87f064e5099
551e48f182673cacd8ae91d839dd6962558d7b9e
Two ReDOS fixes (#39013) * two_redos_fixes * Fix two redos issues * Just don't use RE at all
[ { "path": "src/transformers/models/marian/tokenization_marian.py", "patch": "@@ -13,7 +13,6 @@\n # limitations under the License.\n import json\n import os\n-import re\n import warnings\n from pathlib import Path\n from shutil import copyfile\n@@ -104,7 +103,6 @@ class MarianTokenizer(PreTrainedTokenizer):\...
2025-06-25T16:31:26
vercel/next.js
77bab39097c9fc6fa3898eafa17e789992233cfb
94ffcba2199a5faf1bc3097b8f94b6c5130d4bb5
Ensure bundle 404 can be rewritten in dev (#45728) This fixes a mismatch in behavior between dev/start where bundle 404s could be rewritten in production but not dev. Also ensures we have a regression test for this behavior. x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1675869554570429) ...
[ { "path": "packages/next/src/server/dev/hot-reloader.ts", "patch": "@@ -60,24 +60,23 @@ export async function renderScriptError(\n res: ServerResponse,\n error: Error,\n { verbose = true } = {}\n-) {\n+): Promise<{ finished: true | undefined }> {\n // Asks CDNs and others to not to cache the errored...
2023-02-09T06:02:39
golang/go
880ab6209e618c7dd6e47fa07e66176cd801eba1
5b51cf47dcf08d86eb1de22850ebd7d75e7a02af
[dev.typeparams] cmd/compile/internal/types2: fix a panic in missingMethod When static == false, missingMethod incorrectly continues with a nil Func. Also remove some unnecessary type names from typeterm_test.go, which was done in the go/types port. Change-Id: I21fa637ac82b115563d3601314a470a5a43f9ae0 Reviewed-on: h...
[ { "path": "src/cmd/compile/internal/types2/lookup.go", "patch": "@@ -308,7 +308,10 @@ func (check *Checker) missingMethod(V Type, T *Interface, static bool) (method,\n \t\tfor _, m := range T.typeSet().methods {\n \t\t\t_, f := ityp.typeSet().LookupMethod(m.pkg, m.name)\n \n-\t\t\tif f == nil && static {\n+...
2021-08-04T00:36:02
electron/electron
02d632c4f70eb2ed84ba47783490dcf6885daf37
f8a9348bcfbfd4f1c70e6223cb5ed120bb78ed88
Fix change of ShowDesktopNotification API
[ { "path": "brightray/browser/browser_client.cc", "patch": "@@ -69,7 +69,8 @@ net::URLRequestContextGetter* BrowserClient::CreateRequestContext(\n \n void BrowserClient::ShowDesktopNotification(\n const content::ShowDesktopNotificationHostMsgParams& params,\n- content::RenderFrameHost* render_frame_ho...
2015-01-10T00:00:26
nodejs/node
bc89f9bbbccaa81583e9295c8d5cfa132c33b11e
6df946ce25726292159b2ee0b568f363f83b0ed2
test: fixed strictEqual arguments order Fixes usage of strictEqual arguments order in test/parallel/test-process-wrap.js Part of Node+JS Interactive 2018 Code & Learn PR-URL: https://github.com/nodejs/node/pull/23576 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Revi...
[ { "path": "test/parallel/test-process-wrap.js", "patch": "@@ -38,8 +38,8 @@ p.onexit = function(exitCode, signal) {\n p.close();\n pipe.readStart();\n \n- assert.strictEqual(0, exitCode);\n- assert.strictEqual('', signal);\n+ assert.strictEqual(exitCode, 0);\n+ assert.strictEqual(signal, '');\n \n ...
2018-10-12T17:48:12
huggingface/transformers
551e48f182673cacd8ae91d839dd6962558d7b9e
dad0e87c79d338f41176166b2e1e0591a87a81a1
[Kyutai-STT] correct model type + model id (#39035) * correct model type + model id * udpate doc * init fix * style !!!
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -847,7 +847,7 @@\n title: GraniteSpeech\n - local: model_doc/hubert\n title: Hubert\n- - local: model_doc/stt\n+ - local: model_doc/kyutai_speech_to_text\n title: Kyutai Speech-To-Text\n - local: model_doc/mc...
2025-06-25T16:09:00
vercel/next.js
628bc4c07b84e8fdfce0b1261c781a4c0ecbb068
d726fe30b7ba0ed1b59ec07eeda94ecdde3cb6bc
Allow setting metadataBase for metadata (#45719) ## Feature For property that needs to be resolved as URL, compose with `metadataBase` if it's provided Closes NEXT-398 ### Detail updates * fix issue that path having extra `/` in the middle for pages path under app dir * don't render Meta if value is emp...
[ { "path": "packages/next/src/lib/metadata/default-metadata.ts", "patch": "@@ -20,7 +20,9 @@ export const createDefaultMetadata = (): ResolvedMetadata => {\n robots: null,\n alternates: {\n canonical: null,\n- languages: {},\n+ languages: null,\n+ media: null,\n+ types: null...
2023-02-09T00:35:19
golang/go
e0d09072123c40cfef3015be146b55e0d26a67dd
18e0503724e64c3d55dbc705eb4f08be2fde1b32
[dev.typeparams] go/types: use comparable bit rather than ==() method This is a port of CL 337354 to go/types, adjusted for the error reporting API and to reposition a couple error messages in issue47411.go2 (the go/types position is probably better). A panic is also fixed in lookup.go when method lookup fails and st...
[ { "path": "src/go/types/instantiate.go", "patch": "@@ -173,6 +173,17 @@ func (check *Checker) satisfies(pos token.Pos, targ Type, tpar *TypeParam, smap\n \t// the parameterized type.\n \tiface = check.subst(pos, iface, smap).(*Interface)\n \n+\t// if iface is comparable, targ must be comparable\n+\t// TODO(...
2021-08-03T20:47:15
huggingface/transformers
3c1d4dfbac964dfc98c83cb30835e9058edecd63
858f9b71a8bc39b8ba64f9ca88194b195215aae9
Fix grammatical error in models documentation (#39019)
[ { "path": "docs/source/en/models.md", "patch": "@@ -18,7 +18,7 @@ rendered properly in your Markdown viewer.\n \n Transformers provides many pretrained models that are ready to use with a single line of code. It requires a model class and the [`~PreTrainedModel.from_pretrained`] method.\n \n-Call [`~PreTrai...
2025-06-25T14:55:22
nodejs/node
9bf6e2ee9dab7afc876fae25ea6ea7286e92b43a
93c918ee0cca3ef933f13842f227738eab606da8
test: reversed actual and expected values for .strictEqual() Fixed strictEqual() parameters order according to the documentation for the assertion. PR-URL: https://github.com/nodejs/node/pull/23579 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben ...
[ { "path": "test/parallel/test-next-tick-ordering.js", "patch": "@@ -47,7 +47,7 @@ console.log('Running from main.');\n \n \n process.on('exit', function() {\n- assert.strictEqual('nextTick', done[0]);\n+ assert.strictEqual(done[0], 'nextTick');\n /* Disabling this test. I don't think we can ensure the o...
2018-10-12T18:16:51
vercel/next.js
cace3b0c4fd05a46ab500e7007635a994814b821
36214b8338a9d4e607ec05d71bd6bdf1961a17aa
fix json assets (vercel/turbo#3700)
[ { "path": "crates/turbopack-json/src/lib.rs", "patch": "@@ -122,9 +122,10 @@ impl EcmascriptChunkItem for JsonChunkItem {\n let data = content.parse_json().await?;\n match &*data {\n FileJsonContent::Content(data) => {\n- let js_str_content = serde_json::to_string(...
2023-02-08T21:41:35
golang/go
18e0503724e64c3d55dbc705eb4f08be2fde1b32
89897473e289a58bf9608d525f1e9b4abd970c8d
[dev.typeparams] go/types: embedded type cannot be a (pointer to) a type parameter This is a port of CL 337353 to go/types, adjusted for the error API and to comment out a test for MethodSet. Some nearby error messages that were using errorf rather than error were also adjusted. Fixes #43621 Change-Id: I28c9747e044...
[ { "path": "src/go/types/methodset_test.go", "patch": "@@ -46,12 +46,14 @@ func TestNewMethodSet(t *testing.T) {\n \n \tgenericTests := map[string][]method{\n \t\t// By convention, look up a in the scope of \"g\"\n-\t\t\"type C interface{ f() }; func g[T C](a T){}\": {{\"f\", []int{0}, ...
2021-08-03T20:32:23
electron/electron
11cb777e35d797b91abf959ac49d57aceff831d4
27011ad0c85ea07946224677ed83b5613ab77c50
win: Delete temp file on reboot, fix #1084
[ { "path": "atom/common/asar/scoped_temporary_file.cc", "patch": "@@ -16,12 +16,13 @@ ScopedTemporaryFile::ScopedTemporaryFile() {\n \n ScopedTemporaryFile::~ScopedTemporaryFile() {\n if (!path_.empty()) {\n- // On Windows calling base::DeleteFile on exit will call an API that would\n- // halt the pr...
2015-02-03T01:03:52
huggingface/transformers
858f9b71a8bc39b8ba64f9ca88194b195215aae9
3c322c9cdf7d950ae54e0fa737de8435967aa01c
Remove script datasets in tests (#38940) * remove trust_remote_code * again * Revert "Skip some tests for now (#38931)" This reverts commit 31d30b72245aacfdf70249165964b53790d9c4d8. * again * style * again * again * style * fix integration test * fix tests * style * fix * fix * fix the last ones * style...
[ { "path": "docs/source/en/model_doc/seamless_m4t.md", "patch": "@@ -56,7 +56,7 @@ Here is how to use the processor to process text and audio:\n ```python\n >>> # let's load an audio sample from an Arabic speech corpus\n >>> from datasets import load_dataset\n->>> dataset = load_dataset(\"arabic_speech_corpu...
2025-06-25T14:31:20
vercel/next.js
7654d7bc2d95c8b3dc18cf5e94695375c733e74c
a25c32a9a0546c5973ca5b4473b2ce409746bfdc
Allow `generateMetadata` to be synchronous (#45696) The very-newly-released `generateMetadata` function currently does not allow itself to be synchronous. It leads to situations like this ```ts export async function generateMetadata() { return { title: "Hello, world!" }; } ``` where there's evidently no r...
[ { "path": "packages/next/src/build/webpack/plugins/flight-types-plugin.ts", "patch": "@@ -66,7 +66,7 @@ interface IEntry {\n : ''\n }\n metadata?: any\n- generateMetadata?: (props: PageProps, parent: ResolvingMetadata) => Promise<any>\n+ generateMetadata?: (props: PageProps, parent: ResolvingMet...
2023-02-08T20:02:03
golang/go
077925e2b008a258f5204aab8a454294b9cdca96
7ab875402985ea5a31512fb9750dc0f809e06861
[dev.typeparams] runtime: remove unnecessary split-prevention from defer code Prior to regabi, the compiler passed defer arguments to the runtime as untyped values on the stack. This meant a lot of defer-related runtime functions had to be very careful not to grow the stack or allow preemption since the stack could no...
[ { "path": "src/runtime/panic.go", "patch": "@@ -261,10 +261,8 @@ func deferproc(fn func()) {\n // deferprocStack queues a new deferred function with a defer record on the stack.\n // The defer record must have its fn field initialized.\n // All other fields can contain junk.\n-// The defer record must be im...
2021-07-26T16:04:36
electron/electron
27011ad0c85ea07946224677ed83b5613ab77c50
c6fabf8613530fe0996f699d0b56d3f4200e6860
win: Fix program not quitting, close #1084
[ { "path": "atom/common/asar/scoped_temporary_file.cc", "patch": "@@ -16,8 +16,14 @@ ScopedTemporaryFile::ScopedTemporaryFile() {\n \n ScopedTemporaryFile::~ScopedTemporaryFile() {\n if (!path_.empty()) {\n+ // On Windows calling base::DeleteFile on exit will call an API that would\n+ // halt the pro...
2015-02-03T00:09:35
rust-lang/rust
c04873b02d5a5b0723cb7e058bca323a78e6bb70
4d5c63810bbc3a82b53b11ab6edcbda5ad8746eb
Catch panics in inference in analysis-stats
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/cli/analysis_stats.rs", "patch": "@@ -4,6 +4,7 @@\n use std::{\n env, fmt,\n ops::AddAssign,\n+ panic::{AssertUnwindSafe, catch_unwind},\n time::{SystemTime, UNIX_EPOCH},\n };\n \n@@ -721,6 +722,7 @@ impl flags::AnalysisStats {\n ...
2025-05-16T15:01:24
huggingface/transformers
3c322c9cdf7d950ae54e0fa737de8435967aa01c
860b898d038f55c866d7ae07ba69bba69aa346de
fix gemma3 grad acc (#37208) * fix gemma3 grad acc * fix * fix * fix * fix * rmv print * rm * Update setup.py * Apply style fixes * propagate the changes --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.g...
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -777,6 +777,8 @@ def inner_mask(batch_idx: int, head_idx: int, q_idx: int, kv_idx: int) -> bool:\n )\n class Gemma3Model(Gemma3PreTrainedModel):\n _checkpoint_conversion_mapping = {\"language_model.model\": \"language_model\"}\n...
2025-06-25T14:28:44
vercel/next.js
a25c32a9a0546c5973ca5b4473b2ce409746bfdc
90bfb762c8c3af0282b1abb98d06962e8904e001
Fix CSS loaders in pages when app dir is enabled (#45619) This PR changes the loader logic from something like `ctx.hasAppDir ? useAppLoaderForCSS : usePagesLoaderForCSS`, to a mental modal of `[ctx.hasAppDir ? useAppLoaderForCSSInAppLayer : null, usePagesLoaderForCSSInPagesLayer]`. This change makes sure that both...
[ { "path": "packages/next/src/build/webpack-build.ts", "patch": "@@ -19,6 +19,7 @@ import { isMainThread, parentPort, Worker, workerData } from 'worker_threads'\n import { createEntrypoints } from './entries'\n import loadConfig from '../server/config'\n import { trace } from '../trace'\n+import { WEBPACK_LA...
2023-02-08T19:55:01
golang/go
4e07341afd65e4000466b6b324781e8c3565a0d9
2a0825d01f2cd68f5d82b3335f943bcf6f565f09
[dev.fuzz] cmd/go: 'go clean -fuzzcache' should not delete compiled files This change adds -fuzzcache to the list of flags that prevents 'go clean' from cleaning packages by default. Fixes #47478 Change-Id: I07c9c24ff6359e45e9661b307a671274ab2d7212 GitHub-Last-Rev: 4929618c1fedafc3712a9ffdd1691a92042334eb GitHub-Pul...
[ { "path": "src/cmd/go/internal/clean/clean.go", "patch": "@@ -116,7 +116,7 @@ func runClean(ctx context.Context, cmd *base.Command, args []string) {\n \t// or no other target (such as a cache) was requested to be cleaned.\n \tcleanPkg := len(args) > 0 || cleanI || cleanR\n \tif (!modload.Enabled() || modloa...
2021-08-03T20:56:58
electron/electron
6e469df90e8b7c21c0063c8f063bba0f58a3ef23
0c0a6bd939075c47014496888ef1f096cf6fe05d
Fix string escaping
[ { "path": "atom/common/lib/init.coffee", "patch": "@@ -50,6 +50,6 @@ source.fs = \"\"\"\n var vm = require('vm');\n var fn = vm.runInThisContext(src, { filename: 'fs.js' });\n fn(exports, require, module);\n- var asar = require('#{__dirname}/asar');\n+ var asar = require(#{JSON.stringify(__dirname)}...
2015-02-02T01:39:22
rust-lang/rust
667504b176c9e1ab380cef6eb9eaeba4813337c3
b0e925903a04fc3b2e0903ce6110938e871c61a1
check coroutines with TypingMode::Borrowck to avoid cyclic reasoning MIR borrowck taints its output if an obligation fails. This could then cause `check_coroutine_obligations` to silence its error, causing us to not emit and actual error and ICE.
[ { "path": "compiler/rustc_hir_analysis/src/check/check.rs", "patch": "@@ -1754,17 +1754,19 @@ pub(super) fn check_coroutine_obligations(\n debug!(?typeck_results.coroutine_stalled_predicates);\n \n let mode = if tcx.next_trait_solver_globally() {\n- TypingMode::post_borrowck_analysis(tcx, def...
2025-05-17T10:51:59
huggingface/transformers
860b898d038f55c866d7ae07ba69bba69aa346de
a2eb75c891f6866cc9aeb66896be59f6c4ce100e
fix: astronomical loss with ModernBERT when using gradient checkpointing (#38982) (#38983) * fix: astronomical loss with ModernBERT when using gradient checkpointing * update the modling fix --------- Co-authored-by: Arthur <arthur.zucker@gmail.com>
[ { "path": "src/transformers/models/modernbert/modeling_modernbert.py", "patch": "@@ -1071,7 +1071,7 @@ def forward(\n \n loss = None\n if labels is not None:\n- loss = self.loss_function(logits, labels, vocab_size=self.config.vocab_size)\n+ loss = self.loss_function(log...
2025-06-25T14:11:18
vercel/next.js
90bfb762c8c3af0282b1abb98d06962e8904e001
d9cf49fcc1c1ccb7888719ce69fe92bfb6e7e71a
Update app-static-to-dynamic-error.md (#45704) ## 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/contributing.md) ## Feature - [ ] Implements an existing feature re...
[ { "path": "errors/app-static-to-dynamic-error.md", "patch": "@@ -4,7 +4,7 @@\n \n Inside of one of your `app/` pages, the page was initially generated statically at build time and then during runtime either a fallback path or path being revalidated attempted to leverage dynamic server values e.g. `cookies()...
2023-02-08T16:08:35
golang/go
1b193598b3a4ad3138626ca97bca752e9e63b21c
e56234a30544c043b45601ce01601e3a03e00d63
[dev.typeparams] cmd/compile: fail early on unexpected types2.Invalid In unified IR, fail right away if we find a types2.Invalid while writing out the package. This provides a clearer error message for https://github.com/golang/go/issues/25838#issuecomment-448746670. Updates #25838. Change-Id: I6902fdd891fc31bbb832b...
[ { "path": "src/cmd/compile/internal/noder/writer.go", "patch": "@@ -282,18 +282,22 @@ func (pw *pkgWriter) typIdx(typ types2.Type, dict *writerDict) typeInfo {\n \t\tbase.Fatalf(\"unexpected type: %v (%T)\", typ, typ)\n \n \tcase *types2.Basic:\n-\t\tif kind := typ.Kind(); types2.Typ[kind] == typ {\n+\t\tsw...
2021-08-03T01:01:46
electron/electron
9aa2fd9119ca9176ec24ea17a8b92b606b58a2ea
6e5505c34fb33f3857ff7ed7d86bf7015b21255f
Fix the build on Linux See https://github.com/atom/atom-shell/issues/1074 for details
[ { "path": "brightray/brightray.gypi", "patch": "@@ -203,6 +203,7 @@\n }],\n ['OS==\"linux\"', {\n 'cflags_cc': [\n+ '-D__STRICT_ANSI__',\n '-std=gnu++11',\n '-fno-rtti',\n '<!@(pkg-config --cflags gtk+-2.0)',", "additions": 1, "deletions": 0...
2015-01-30T11:54:30
rust-lang/rust
9578b59eacbdf73d577b70439d580ac3522856db
36ad75bcebece482b9980c72541469a4a8af9dbb
Only select true errors in impossible_predicates
[ { "path": "compiler/rustc_trait_selection/src/traits/mod.rs", "patch": "@@ -701,9 +701,15 @@ pub fn impossible_predicates<'tcx>(tcx: TyCtxt<'tcx>, predicates: Vec<ty::Clause\n let obligation = Obligation::new(tcx, ObligationCause::dummy(), param_env, predicate);\n ocx.register_obligation(obl...
2025-05-17T12:01:13
huggingface/transformers
a2eb75c891f6866cc9aeb66896be59f6c4ce100e
de98fb25a3772b8fc4a31e55cb0b0560d97353af
Support for Flash Attention 3 (#38972) * Support `flash_attn_3` Implements fwd and tests for Flash Attention 3 https://github.com/Dao-AILab/flash-attention/commits/main/hopper - Includes checks for dropout>0 and ALiBi in `modeling_utils.PreTrainedModel._check_and_enable_flash_attn_3` (Dropout will likely be supported...
[ { "path": "pyproject.toml", "patch": "@@ -52,6 +52,7 @@ line-ending = \"auto\"\n addopts = \"--doctest-glob='**/*.md'\"\n doctest_optionflags=\"NUMBER NORMALIZE_WHITESPACE ELLIPSIS\"\n markers = [\n+ \"flash_attn_3_test: marks tests related to flash attention 3 (deselect with '-m \\\"not flash_attn_3_tes...
2025-06-25T12:39:27
nodejs/node
f87e96665ef8b51c820dae1617c1db2b16f2319d
c30658c11e2c80c97cb716151db55f8e58c129bc
test: fix assertion arguments order There's no issue for this PR, it's a task at the Node+JS Code-n-Learn. PR-URL: https://github.com/nodejs/node/pull/23584 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Review...
[ { "path": "test/parallel/test-querystring.js", "patch": "@@ -177,9 +177,8 @@ const qsUnescapeTestCases = [\n ' !\"#$%&\\'()*+,-./01234567']\n ];\n \n-assert.strictEqual('918854443121279438895193',\n- qs.parse('id=918854443121279438895193').id);\n-\n+assert.strictEqual(qs.parse('id=91885...
2018-10-12T18:14:50
vercel/next.js
44f23bd5da9ccb888b5f8a8331eb182a86efc13f
f83691f700a90ba3699228fa2ef7abce623da628
improve error reporting of JSON parsing (vercel/turbo#3676) also make source context generation more reusable This adds a source context snippet of the JSON that failed parsing and the json path to the error. ``` An error occurred while generating the chunk item [project]/crates/turbopack-tests/tests/snapshot/...
[ { "path": "packages/next-swc/crates/next-core/src/next_config.rs", "patch": "@@ -8,6 +8,7 @@ use turbo_tasks::{\n Value,\n };\n use turbo_tasks_env::EnvMapVc;\n+use turbo_tasks_fs::json::parse_json_rope_with_source_context;\n use turbopack::{\n evaluate_context::node_evaluate_asset_context,\n mo...
2023-02-08T09:17:42
golang/go
156eeb40a6d918bcac82871af1b8e428a5414159
283991bd7fb5f0004a8d6c27a8b8038e4d448719
[dev.typeparams] cmd/compile: make HasShape() more efficient by implementing with a type flag Implement HasShape() similar to how HasTParam() is implemented. Fixes #47456 Change-Id: Icbd538574237faad2c4cd8c8e187725a1df47637 Reviewed-on: https://go-review.googlesource.com/c/go/+/339029 Reviewed-by: Keith Randall <khr...
[ { "path": "src/cmd/compile/internal/typecheck/subr.go", "patch": "@@ -1367,6 +1367,7 @@ func Shapify(t *types.Type) *types.Type {\n \ts := types.NewNamed(name)\n \ts.SetUnderlying(u)\n \ts.SetIsShape(true)\n+\ts.SetHasShape(true)\n \tname.SetType(s)\n \tname.SetTypecheck(1)\n \t// TODO: add methods to s tha...
2021-08-02T03:29:07
electron/electron
2ed7d58ac443c33f91162cad18c4370290754323
b51e2f6453319c752b7789ea7fd2ab67645b3dc8
Fix loading node integration when page in webview navigates, close #1068
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -40,6 +40,10 @@ bool IsSwitchEnabled(base::CommandLine* command_line,\n return true;\n }\n \n+bool IsGuestFrame(blink::WebFrame* frame) {\n+ return frame->uniqueName().utf8() == \"ATOM_SHELL_GUEST_WEB_VIEW\";\n+}\n+\n } // namespace\n \n At...
2015-01-30T00:48:14
huggingface/transformers
de98fb25a3772b8fc4a31e55cb0b0560d97353af
7503cb911356abce1fc3b614193bd4384fee89cc
Fix the seamless_m4t cannot work on Gaudi (#38363) * Fix the seamless_m4t cannot work on Gaudi Signed-off-by: yuanwu <yuan.wu@intel.com> * Refine the patch Signed-off-by: yuanwu <yuan.wu@intel.com> * Fix seamless_m4t_v2 crash Signed-off-by: yuanwu <yuan.wu@intel.com> * Use the patched_gather Signed-off-by: yuan...
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -851,6 +851,28 @@ def patched_masked_fill_(self, mask, value):\n \n torch.Tensor.masked_fill_ = patched_masked_fill_\n \n+ # We patch torch.gather for int64 tensors to avoid a bug on Gaudi\n+ # Graph compile failed with synStatus...
2025-06-25T10:40:01
nodejs/node
c30658c11e2c80c97cb716151db55f8e58c129bc
c8986bb7a3cccd0df2269cf7d3f84ab9776e980d
test: fix assert.strictEqual() parameter order in test-path-maklong.js The argument order in the strictEqual check was in the wrong order. The first argument is now the actual value and the second argument is the expected value. PR-URL: https://github.com/nodejs/node/pull/23587 Reviewed-By: James M Snell <jasnell@gma...
[ { "path": "test/parallel/test-path-makelong.js", "patch": "@@ -29,17 +29,18 @@ if (common.isWindows) {\n const file = fixtures.path('a.js');\n const resolvedFile = path.resolve(file);\n \n- assert.strictEqual(`\\\\\\\\?\\\\${resolvedFile}`,\n- path.toNamespacedPath(file));\n- asser...
2018-10-12T18:22:53
golang/go
8a7ee4c51e992174d432ce0f40d9387a32d6ee4a
b8ca6e59eda969c1d3aed9b0c5bd9e99cf0e7dfe
io/fs: don't use absolute path in DirEntry.Name doc Fixes #47485 Change-Id: I64ac00905a403b7594c706141679051a93058a31 Reviewed-on: https://go-review.googlesource.com/c/go/+/338889 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed...
[ { "path": "src/io/fs/fs.go", "patch": "@@ -86,7 +86,7 @@ type File interface {\n type DirEntry interface {\n \t// Name returns the name of the file (or subdirectory) described by the entry.\n \t// This name is only the final element of the path (the base name), not the entire path.\n-\t// For example, Name ...
2021-07-31T22:39:08
electron/electron
b51e2f6453319c752b7789ea7fd2ab67645b3dc8
17c191201cec1b4665fcc3c5e8d789b35fa6d285
spec: Fix flags in fs.open
[ { "path": "spec/asar-spec.coffee", "patch": "@@ -328,7 +328,7 @@ describe 'asar package', ->\n \n it 'throws ENOENT error when can not find file', (done) ->\n p = path.join fixtures, 'asar', 'a.asar', 'not-exist'\n- fs.open p, (err, stats) ->\n+ fs.open p, 'r', (err, stats) ->\n ...
2015-01-29T05:25:48
vercel/next.js
744910dbbac497b1358fb96b754cdce32715504d
ab4597099bafeec1e126118eaa7c7eee91b88432
improve error reporting of JSON parsing (vercel/turbo#3676) also make source context generation more reusable This adds a source context snippet of the JSON that failed parsing and the json path to the error. ``` An error occurred while generating the chunk item [project]/crates/turbopack-tests/tests/snapshot/...
[ { "path": "crates/next-core/src/next_config.rs", "patch": "@@ -8,6 +8,7 @@ use turbo_tasks::{\n Value,\n };\n use turbo_tasks_env::EnvMapVc;\n+use turbo_tasks_fs::json::parse_json_rope_with_source_context;\n use turbopack::{\n evaluate_context::node_evaluate_asset_context,\n module_options::{Web...
2023-02-08T09:17:42
huggingface/transformers
7503cb911356abce1fc3b614193bd4384fee89cc
3ef889690649c082849c667be17b757c32955229
[Model] add dots1 (#38143) * add dots1 * address comments * fix * add link to dots1 doc * format --------- Co-authored-by: taishan <rgtjf1@163.com>
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -433,6 +433,8 @@\n title: DiffLlama\n - local: model_doc/distilbert\n title: DistilBERT\n+ - local: model_doc/dots1\n+ title: dots1\n - local: model_doc/dpr\n title: DPR\n - local: model_doc/electra",...
2025-06-25T09:38:25
rust-lang/rust
40e3b804e5a2c1b27b94c599e159ff8918fe9fc2
a69bc17fb8026bdc0d24bb1896ff95f0eba1da4e
opt-dist: fix deprecated BOLT -icf=1 option
[ { "path": "src/tools/opt-dist/src/bolt.rs", "patch": "@@ -80,7 +80,7 @@ pub fn bolt_optimize(\n // Move jump tables to a separate section\n .arg(\"-jump-tables=move\")\n // Fold functions with identical code\n- .arg(\"-icf=1\")\n+ .arg(\"-icf=all\")\n // The fol...
2025-05-17T10:18:46
nodejs/node
c8986bb7a3cccd0df2269cf7d3f84ab9776e980d
134389142edbe09f8881338ee738b6b93a3ec5e0
test: fix argument order in assertions PR-URL: https://github.com/nodejs/node/pull/23589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivi...
[ { "path": "test/parallel/test-child-process-ipc.js", "patch": "@@ -44,13 +44,13 @@ child.stdout.on('data', function(data) {\n console.log(`child said: ${JSON.stringify(data)}`);\n if (!gotHelloWorld) {\n console.error('testing for hello world');\n- assert.strictEqual('hello world\\r\\n', data);\n...
2018-10-12T17:19:56
golang/go
47694b59eb30bfe6a1c12a2eaaf631a4e956b9c7
90830699aee61a154e989b2d9f8ce3ff4eabbce1
[dev.cmdgo] cmd/go: provide a more helpful missing required module error in workspaces If the user is in a workspace, they might not be in the main module they need to run go get from to add a module that provides a missing dependency. Figure out what that module is from the import stack (there might be multiple but w...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -32,7 +32,7 @@ type ImportMissingError struct {\n \tModule module.Version\n \tQueryErr error\n \n-\tImportingModule module.Version\n+\tImportingMainModule module.Version\n \n \t// isStd indicates whether we would expect to find the package in...
2021-06-28T19:48:03
electron/electron
4217b7033173b166179b36549f1b06cde271719f
8947d54cc9eb8f5bd5305805d5b4856939a07ecd
Return null in window.open if failed to open new window, fixes #1067
[ { "path": "atom/renderer/lib/override.coffee", "patch": "@@ -42,7 +42,11 @@ window.open = (url, frameName='', features='') ->\n options.height ?= 600\n \n guestId = ipc.sendSync 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_OPEN', url, frameName, options\n- new FakeWindow(guestId)\n+ if guestId\n+ new Fa...
2015-01-29T05:07:57
vercel/next.js
3d05c13ba4a1ee5cbd88ff7c87af0de6420fa796
434a8cb7d0764993b8cb39fe1ec520eb667de703
test(integration): allow to conitnue when test suite fails (#45682) <!-- 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": "run-tests.js", "patch": "@@ -17,6 +17,7 @@ const DEFAULT_NUM_RETRIES = os.platform() === 'win32' ? 2 : 1\n const DEFAULT_CONCURRENCY = 2\n const RESULTS_EXT = `.results.json`\n const isTestJob = !!process.env.NEXT_TEST_JOB\n+const shouldContinueTestsOnError = !!process.env.NEXT_TEST_CONTINUE_ON_E...
2023-02-08T01:51:54
nodejs/node
134389142edbe09f8881338ee738b6b93a3ec5e0
ac23e6557f3a9d4283e0d2f0948f871892669faf
test: fix order of parameters to assert.strictEqual Usage of assert.strictEqual in test-net-server-listen-remove-callback.js incorrectly passes the expected value as the first argument and actual value as the second argument. PR-URL: https://github.com/nodejs/node/pull/23590 Reviewed-By: James M Snell <jasnell@gmail....
[ { "path": "test/parallel/test-net-server-listen-remove-callback.js", "patch": "@@ -30,7 +30,7 @@ const server = net.createServer();\n server.on('close', function() {\n const listeners = server.listeners('listening');\n console.log('Closed, listeners:', listeners.length);\n- assert.strictEqual(0, listen...
2018-10-12T18:25:42
huggingface/transformers
3ef889690649c082849c667be17b757c32955229
af9870265e817e57541d90c1797cb68959eb7b1e
Encoder-Decoder Gemma (#38332) * Initial submit * Fix bugs: 1. add __init__ file 2. tied word embedding 3. support flash/flex attention 4. model saving and loading * Code refactor: * Rename encdecgemma to t5gemma. * Split attention into self- and cross-attention * Split stack into encoder and decoder * Add test case...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -655,6 +655,8 @@\n title: SwitchTransformers\n - local: model_doc/t5\n title: T5\n+ - local: model_doc/t5gemma\n+ title: T5Gemma\n - local: model_doc/t5v1.1\n title: T5v1.1\n - local: model_doc/tapex"...
2025-06-25T09:05:10