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
golang/go
7bed50e667cf1b4ba5b2ec7ca699c835c696e454
e3e9f0bb2d6cc15b201fe2e0a0ac095d62cf4b8c
[dev.typeparams] Revert "[dev.typeparams] runtime: remove unnecessary split-prevention from defer code" This reverts CL 337651. This causes `go test -count 1000 -run TestDeferHeapAndStack runtime` to fail with a SIGSEGV freedefer [https://build.golang.org/log/c113b366cc6d51146db02a07b4d7dd931133efd5] and possibly som...
[ { "path": "src/runtime/panic.go", "patch": "@@ -261,8 +261,10 @@ 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-// Nosplit because of the unin...
2021-07-30T20:41:11
electron/electron
0087f8da27011f5f58b76f72e9f4dd320d64f0b1
dd606684c7f8eef05c821496be6a3f863738144f
linux: Fix building for Chrome 40
[ { "path": "atom/browser/ui/views/submenu_button.cc", "patch": "@@ -37,7 +37,7 @@ SubmenuButton::SubmenuButton(views::ButtonListener* listener,\n underline_color_(SK_ColorBLACK) {\n #if defined(OS_LINUX)\n // Dont' use native style border.\n- SetBorder(CreateDefaultBorder().PassAs<views::Border>());...
2015-01-28T01:20:50
vercel/next.js
434a8cb7d0764993b8cb39fe1ec520eb667de703
e36fb42e30e7b69f6484275df960bc91ab81ee86
Fix missing hasHeader mock during revalidate (#45681) Replaces usage of `hasHeader` of `getHeader` and also ensures we include `hasHeader` in our `mockRes` we create during revalidate for good measure. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a ...
[ { "path": "packages/next/src/server/lib/mock-request.ts", "patch": "@@ -35,6 +35,7 @@ export function mockRequest(\n \n mockRes.writeHead = (_status: any, _headers: any) =>\n Object.assign(mockHeaders, _headers)\n+ mockRes.hasHeader = (name: string) => Boolean(mockHeaders[name.toLowerCase()])\n moc...
2023-02-08T01:51:26
rust-lang/rust
ace4c6e01587a213bd0cc78b6d8a981ba403dc81
b99daba38e3005f7e430655abf6138b4d9fc03e3
fix for doctest-xcompile stabilization
[ { "path": "src/tools/miri/cargo-miri/src/main.rs", "patch": "@@ -63,27 +63,37 @@ fn main() {\n return;\n }\n \n+ let Some(first) = args.next() else {\n+ show_error!(\n+ \"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`\"\n+ ...
2025-05-17T08:35:40
nodejs/node
f0346065a7fad3ed1b22159b92a6e5a9bafb2851
620c97716c9c77dcc6fc12d86f486fed729e9f85
test: update strictEqual arguments order The argument order in the strictEqual check against stderr is 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/23552 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.c...
[ { "path": "test/parallel/test-stdin-from-file.js", "patch": "@@ -36,5 +36,5 @@ childProcess.exec(cmd, common.mustCall(function(err, stdout, stderr) {\n \n assert.ifError(err);\n assert.strictEqual(stdout, `hello world\\r\\n${string}`);\n- assert.strictEqual('', stderr);\n+ assert.strictEqual(stderr, '...
2018-10-12T17:31:06
golang/go
53fd5b1b77aa2801ca042386c93fe59e7e23abc4
ea94e5d3c57fadea088cdc5002e014b3c7ef4bc1
[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
dd606684c7f8eef05c821496be6a3f863738144f
12998399f8bb3965a6e54d32cb4ae6e94bb4d653
Upgrade node to fix module initialization
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 62df860d4388c5b0371a2796998981202481a850\n+Subproject commit 70498428ced2b8ae4ce020051f06d104b5c6c4de", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-01-27T23:29:39
vercel/next.js
7150a87fa87c533644907b3f3d48c4683c9b0ec3
25466918e9e12de6e1af72a12d04b7cd7bc53d6b
More explicit errors for invalid exports in SWC (#45679 NEXT-476 ## 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 - [ ] Imple...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -10,10 +10,10 @@ use next_binding::swc::core::{\n ecma::{\n ast::{\n op, ArrayLit, AssignExpr, AssignPatProp, BlockStmt, CallExpr, ComputedPropName, Decl,\n- ExportDecl, Expr, ExprStmt, FnDecl, F...
2023-02-08T00:28:06
huggingface/transformers
af9870265e817e57541d90c1797cb68959eb7b1e
7b3807387b5b24a98fc66101268972ac8e25d7ed
GLM-4.1V Model support (#38431) * 20250508 Model Architecture * Update modeling_glm4v.py * Update modeling_glm4v.py * Update modeling_glm4v.py * update 1447 * 0526 * update * format * problem * update * update with only image embed diff * Final * upload * update * 1 * upload with ruff * update * updat...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -955,6 +955,8 @@\n title: Gemma3\n - local: model_doc/git\n title: GIT\n+ - local: model_doc/glm4v\n+ title: glm4v\n - local: model_doc/got_ocr2\n title: GOT-OCR2\n - local: model_doc/granitevision", ...
2025-06-25T08:43:05
golang/go
52e970b1c86f18806232adb0e1f42636645d21ff
3a69cef65a856afd1f8b9d5c22e6729d0f4d84ac
[dev.cmdgo] cmd: support space and quotes in CC and CXX The CC and CXX environment variables now support spaces and quotes (both double and single). This fixes two issues: first, if CC is a single path that contains spaces (like 'c:\Program Files\gcc\bin\gcc.exe'), that should now work if the space is quoted or escape...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -23,10 +23,13 @@ import (\n \t\"internal/xcoff\"\n \t\"math\"\n \t\"os\"\n+\t\"os/exec\"\n \t\"strconv\"\n \t\"strings\"\n \t\"unicode\"\n \t\"unicode/utf8\"\n+\n+\t\"cmd/internal/str\"\n )\n \n var debugDefine = flag.Bool(\"debug-define\", false, \"print relevan...
2021-07-14T23:57:24
nodejs/node
620c97716c9c77dcc6fc12d86f486fed729e9f85
d9a1776bcdf6198d03f17bac18c03726ae3ccd2f
test: removed unused error variable in try catch In test/parallel/test-fs-access.js PR-URL: https://github.com/nodejs/node/pull/23553 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 <gpunath...
[ { "path": "test/parallel/test-fs-access.js", "patch": "@@ -55,7 +55,7 @@ if (!common.isWindows && process.getuid() === 0) {\n try {\n process.setuid('nobody');\n hasWriteAccessForReadonlyFile = false;\n- } catch (err) {\n+ } catch {\n }\n }\n ", "additions": 1, "deletions": 1, "lan...
2018-10-12T16:55:48
electron/electron
7df1957ac78a99d66b3e514b2a27d104622c3c80
241e410a078aeb27435461a948aeef7e346d01d7
Fix executing upload-node-headers.py in cygwin
[ { "path": "script/upload-node-headers.py", "patch": "@@ -105,10 +105,9 @@ def copy_source_file(source, start, destination):\n \n \n def upload_node(bucket, access_key, secret_key, version):\n- os.chdir(DIST_DIR)\n-\n- s3put(bucket, access_key, secret_key, DIST_DIR,\n- 'atom-shell/dist/{0}'.format(v...
2015-01-23T01:58:54
vercel/next.js
25466918e9e12de6e1af72a12d04b7cd7bc53d6b
2246db680ed11cb78f3e68965b4f5f5d6b63b878
fix(next-mdx): mark `mdx-js/*` as optional (#45440) Realized when I was checking out https://github.com/vercel/next.js/issues/45431 that the package manager will complain about missing peer deps, even though they are not required with the `experimental.mdxRs` option. Fixing a small visual issue too: <details> ...
[ { "path": "examples/app-dir-mdx/app/page.module.css", "patch": "@@ -80,6 +80,10 @@\n padding: 4rem 0;\n }\n \n+.center > div {\n+ position: relative;\n+}\n+\n .center::before {\n background: var(--secondary-glow);\n border-radius: 50%;", "additions": 4, "deletions": 0, "language": "CSS" ...
2023-02-07T23:59:22
huggingface/transformers
3ee72af6b6133be5280a1abcf2cb7b497555f537
ae32f1ad1102fbce259382dec7dd86e39ee23337
Fix graph break in torch.compile when using FA2 with attention_mask=None and batch size > 1 (#37332) * Fix graph break in torch.compile when using FA2 with attention_mask=None and batch size > 1 * fix code format * add test; replace position_ids with query_states becasue position_ids.shape[0] is always 1 * add asse...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -385,8 +385,10 @@ def _flash_attention_forward(\n # If position_ids is provided and check all examples do not contain only 1 sequence, If tensor in increasing\n # then we probably have one sequence, otherwise it is packed. ...
2025-06-25T07:58:34
golang/go
b7a85e0003cedb1b48a1fd3ae5b746ec6330102e
70fd4e47d73b92fe90e44ac785e2f98f9df0ab67
net/http/httputil: close incoming ReverseProxy request body Reading from an incoming request body after the request handler aborts with a panic can cause a panic, becuse http.Server does not (contrary to its documentation) close the request body in this case. Always close the incoming request body in ReverseProxy.Ser...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -235,6 +235,15 @@ func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {\n \tif req.ContentLength == 0 {\n \t\toutreq.Body = nil // Issue 16036: nil Body for http.Transport retries\n \t}\n+\tif outreq.Body != nil {\n+\t\t...
2021-07-07T23:34:34
nodejs/node
f77f6939422c5e93c0605addac9d548b02c88dec
7e2edc5f553f999ff1dd3c1ef1e0a21b9687bb94
test: reverse order of args in reconnect-error assert PR-URL: https://github.com/nodejs/node/pull/23555 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: Gireesh...
[ { "path": "test/sequential/test-net-reconnect-error.js", "patch": "@@ -33,7 +33,7 @@ c.on('connect', common.mustNotCall('client should not have connected'));\n \n c.on('error', common.mustCall((e) => {\n client_error_count++;\n- assert.strictEqual('ECONNREFUSED', e.code);\n+ assert.strictEqual(e.code, '...
2018-10-12T17:14:18
vercel/next.js
4a472abc89df9fa7e868a59dda2fe82f7b6c72e5
7fde79a9e840f3c73b60b49dd7df6849d332d07d
chore: simplify package scripts (#45226) <!-- 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 that you're making: --> ## Bug - [ ] Relate...
[ { "path": "package.json", "patch": "@@ -8,22 +8,22 @@\n \"scripts\": {\n \"new-error\": \"plop error\",\n \"new-test\": \"plop test\",\n- \"clean\": \"pnpm lerna clean -y && pnpm lerna bootstrap && pnpm lerna run clean && pnpm lerna exec 'rm -rf ./dist'\",\n+ \"clean\": \"lerna clean -y && l...
2023-02-07T23:30:02
electron/electron
86644543edfda907c82892ada47ba0a712bcbd3d
a9c720969f02912d263aeb4b1d432b443be94b66
Fix cpplint warning
[ { "path": "atom/browser/web_dialog_helper.cc", "patch": "@@ -61,13 +61,14 @@ void WebDialogHelper::RunFileChooser(content::WebContents* web_contents,\n params.default_file_name,\n file_dialog::Filters(),\n ...
2015-01-13T00:53:43
huggingface/transformers
ca402e2116f5917ce0a03659b779a02a555b285f
48b6ef02380f993a6e8dfa0c355f722c2b7b96ed
[LightGlue] Fixed attribute usage from descriptor_dim to keypoint_detector_descriptor_dim (#39021) fix: fix descriptor dimension handling in LightGlue model
[ { "path": "src/transformers/models/lightglue/modeling_lightglue.py", "patch": "@@ -516,16 +516,15 @@ def __init__(self, config: LightGlueConfig):\n \n self.keypoint_detector = AutoModelForKeypointDetection.from_config(config.keypoint_detector_config)\n \n+ self.keypoint_detector_descriptor_di...
2025-06-24T22:32:07
golang/go
4480e3b11ab6dcd8d4c6a1e87388f573ff49f429
27283d208f1757f388ac84d2989e24ee3edcb869
[dev.typeparams] go/types: backport lazy loading changes from CL 336252 When CL 336252 was created (itself a port of CL 335929), types2 tests revealed that lazy expansion of instances was not behaving correctly with respect to lazy loading of Named types. This CL ports the fixes from CL 336252 back to go/types. Chan...
[ { "path": "src/go/types/decl.go", "patch": "@@ -317,7 +317,7 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t}\n \n \tcase *Named:\n-\t\tt.complete()\n+\t\tt.expand()\n \t\t// don't touch the type if it is from a different package or the Universe scope\n \t\t// (doing so would l...
2021-07-29T20:39:49
nodejs/node
c0014d5ff01a3988c8f49b668b6ca24a8ad45cc8
a5a1e9a2e4197e8b5a4a324420e042e4ee61ed10
test: fix order of assert arguments in vm-new-script-this-context Fixes the order of assert.strictEqual arguments. PR-URL: https://github.com/nodejs/node/pull/23558 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Rev...
[ { "path": "test/parallel/test-vm-new-script-this-context.js", "patch": "@@ -27,7 +27,7 @@ const Script = require('vm').Script;\n // Run a string\n let script = new Script('\\'passed\\';');\n const result = script.runInThisContext(script);\n-assert.strictEqual('passed', result);\n+assert.strictEqual(result, ...
2018-10-12T17:55:28
vercel/next.js
63d7705f873bb8e871b649e032cae8928a0081f2
d9412b762114bd9f53e917afd6381aebf373223c
Fix directive parsing in SWC (#45671) The server directive is allowed to have other directives and comments above. This PR fixes the transform with tests added for failing cases. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, s...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -93,16 +93,12 @@ impl<C: Comments> VisitMut for ServerActions<C> {\n // All export functions in a server file are actions\n in_action_fn = true;\n } else {\n- // Check if the first item i...
2023-02-07T22:48:15
huggingface/transformers
ea9a30923e5ea4d4afb02c41b1ab34093af3a700
995666edb5e9760e163567ee0dccba9a4394cbcd
[HPU][Critical Issue Fix] ThreadPool instead of Pool for parallel pre-processing (#39002) * ThreadPool instead of Pool for parallel pre-processing * ThreadPool only if hpu available
[ { "path": "src/transformers/data/processors/squad.py", "patch": "@@ -16,6 +16,7 @@\n import os\n from functools import partial\n from multiprocessing import Pool, cpu_count\n+from multiprocessing.pool import ThreadPool\n from typing import Optional\n \n import numpy as np\n@@ -286,7 +287,6 @@ def squad_conv...
2025-06-24T18:24:50
golang/go
3e7571f6ffb65a7d45c8035f7f8d2409bfda3307
1d35d8ffa5561d1b69ede515c94c2785eaf29e1f
[dev.typeparams] go/types,cmd/compile/internal/types2: fix TypeParams.At docs Presumably the "It is safe to call on a nil receiver" comment was mistakenly copied from TypeParams.Len, which is actually safe to call on a nil receiver. Change-Id: Iec5ae32c98dc91ce84a6207b47f2b1e530bdbfe2 Reviewed-on: https://go-review.g...
[ { "path": "src/cmd/compile/internal/types2/typeparam.go", "patch": "@@ -108,7 +108,6 @@ func (tps *TypeParams) Len() int {\n }\n \n // At returns the i'th type parameter in the list.\n-// It is safe to call on a nil receiver.\n func (tps *TypeParams) At(i int) *TypeName {\n \treturn tps.list()[i]\n }", ...
2021-07-29T23:01:30
nodejs/node
83fa60b37b775a1ef768b504a3cbae928a0c9c92
96311903e87eeaabbd3ab0fddab205ee6000cdce
test: fix strictEqual assertion order on readline tests PR-URL: https://github.com/nodejs/node/pull/23561 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: G...
[ { "path": "test/parallel/test-readline.js", "patch": "@@ -143,7 +143,7 @@ const assert = require('assert');\n ''\n ].forEach(function(expectedLine) {\n rl.write.apply(rl, key.xterm.metad);\n- assert.strictEqual(0, rl.cursor);\n- assert.strictEqual(expectedLine, rl.line);\n+ assert.strictE...
2018-10-12T17:57:10
vercel/next.js
d9412b762114bd9f53e917afd6381aebf373223c
01649d93ab1858bac499962e25da0c22b6dc72c1
Update react-hydration-error.md (#43671) This adds a new section about local overrides, as I ran into this error and it took me ages to figure out what was going wrong Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "errors/react-hydration-error.md", "patch": "@@ -82,6 +82,10 @@ Common causes with css-in-js libraries:\n - When using other css-in-js libraries\n - Similar to Styled Components / Emotion css-in-js libraries generally need configuration specified in their examples in the [examples directory](htt...
2023-02-07T22:38:03
huggingface/transformers
67d36dc1d727d887b0ec91cc8e296ef1d216a792
6bdd4ec95264e5d8f219cfe4ee29ea9b42474bb7
Fix bugs in DynamicCache (#37880) * Fix bugs in DynamicCache * Updarte * Update * Lint * lint * Rename test * update * update
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -695,7 +695,7 @@ def _flatten_dynamic_cache_for_fx(cache, spec):\n \"key_cache\": getattr(cache, \"key_cache\"),\n \"value_cache\": getattr(cache, \"value_cache\"),\n }\n- return torch.utils._pytree.tree_flatten(dictionary)[0]\...
2025-06-24T17:43:40
rust-lang/rust
b99daba38e3005f7e430655abf6138b4d9fc03e3
8f2da9b487f47827d565c52e019db5a464f31808
fix clippy lints
[ { "path": "src/tools/miri/cargo-miri/src/setup.rs", "patch": "@@ -24,11 +24,9 @@ pub fn setup(\n let ask_user = !only_setup;\n let print_sysroot = only_setup && has_arg_flag(\"--print-sysroot\"); // whether we just print the sysroot path\n let show_setup = only_setup && !print_sysroot;\n- if ...
2025-05-17T08:07:20
golang/go
600b7b431bd546841c04a27d4ac73af1e4f2fcc4
5ecbd811b54f478244b7e54a621f32b5b8e3ea95
[dev.typeparams] cmd/compile: handle meth expressions on typeparams Rewrite a method expression such as 'T.String' (where T is type param and String is part of its type bound Stringer) as: func(rcvr T, other params...) { return Stringer(rcvr).String(other params...) } New function buildClosure2 to create the nee...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -357,8 +357,7 @@ func (g *irgen) buildClosure(outer *ir.Func, x ir.Node) ir.Node {\n \t// }\n \n \t// Make a new internal function.\n-\tfn := ir.NewClosureFunc(pos, outer != nil)\n-\tir.NameClosure(fn.OClosure, outer)\n+\tfn, formalParams...
2021-07-27T02:25:40
nodejs/node
0b0aeda2ceec4089da2b53a3372006fea9d85b81
c5d0a48fb3c2a5ba564800447628bbd135369f35
test: assert.strictEqual parameters ordered correctly The assert.strictEqual function should have the actual value first and the expected value second to enable easier debugging of AssertionErrors. PR-URL: https://github.com/nodejs/node/pull/23538 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihri...
[ { "path": "test/parallel/test-tls-securepair-server.js", "patch": "@@ -137,7 +137,7 @@ server.listen(0, common.mustCall(function() {\n client.stdout.pipe(process.stdout, { end: false });\n \n client.on('exit', common.mustCall(function(code) {\n- assert.strictEqual(0, code);\n+ assert.strictEqual(c...
2018-10-12T17:30:25
vercel/next.js
01649d93ab1858bac499962e25da0c22b6dc72c1
6444006f231c148bcee146624d4bc8ae3ec7adfd
Skip prefetching for bots in app-router too (#45678) Same as https://github.com/vercel/next.js/pull/40435 this ensures we don't prefetch for bots in `app-router` as well. Fixes: https://github.com/vercel/next.js/issues/45677 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests ad...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -36,6 +36,7 @@ import {\n InitialRouterStateParameters,\n } from './router-reducer/create-initial-router-state'\n import { fetchServerResponse } from './router-reducer/fetch-server-response'\n+import { isBot } from '../../shared/...
2023-02-07T22:15:10
electron/electron
92142ee3725a8aab72640d527dc9e757b99403cd
715ac3567291baeab15bc0de2e58f2163acdeff0
Fix the API to set opaque background
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -247,14 +247,14 @@ void WebContents::RenderViewReady() {\n // WebContents::GetRenderWidgetHostView will return the RWHV of an\n // interstitial page if one is showing at this time. We only want opacity\n // to apply to web pages.\n- ...
2015-01-10T02:10:59
huggingface/transformers
6bdd4ec95264e5d8f219cfe4ee29ea9b42474bb7
08bf7f1afee8c1127a28053cf452c44cf7e04d9c
Add kyutai stt (#38909) * first draft * cleaner version * udpate tests + modeling * add tests * init * udpate test_modeling_common * fix tests * csm Processor draft * convertion update * mimi cache padding convolutions draft * mimi streaming udpates * update mimi padding cache test * udpate cache padding m...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -843,6 +843,8 @@\n title: GraniteSpeech\n - local: model_doc/hubert\n title: Hubert\n+ - local: model_doc/stt\n+ title: Kyutai Speech-To-Text\n - local: model_doc/mctct\n title: MCTCT\n - local: model...
2025-06-24T16:01:15
golang/go
c079b6baaa781e71a48661c05063d1d2754937f8
ff0c0dbca6a7a3a3d6528481829679be4c9d7e94
[dev.typeparams] cmd/compile/internal/types2: trigger verification while resolving instance This is a straight port of CL 335978 with minor adjustements to white space and an error message. Change-Id: Icfcb562f75802a119ce5d02427bffecf7e279b2f Reviewed-on: https://go-review.googlesource.com/c/go/+/338097 Trust: Robert...
[ { "path": "src/cmd/compile/internal/types2/instance.go", "patch": "@@ -26,7 +26,7 @@ func (n *Named) expand() {\n \t\t// tparams. This is done implicitly by the call to n.TParams, but making it\n \t\t// explicit is harmless: load is idempotent.\n \t\tn.load()\n-\t\tinst := n.check.instantiate(n.instance.pos...
2021-07-28T20:50:09
nodejs/node
c5d0a48fb3c2a5ba564800447628bbd135369f35
3c2f9ad0a1ef366e76188a01a24042550fa86b5b
test: fix assert.strictEqual() arguments order PR-URL: https://github.com/nodejs/node/pull/23539 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridge...
[ { "path": "test/parallel/test-tls-set-encoding.js", "patch": "@@ -64,15 +64,15 @@ server.listen(0, function() {\n // readyState is deprecated but we want to make\n // sure this isn't triggering an assert in lib/net.js\n // See https://github.com/nodejs/node-v0.x-archive/issues/1069.\n- assert...
2018-10-12T17:39:25
vercel/next.js
6444006f231c148bcee146624d4bc8ae3ec7adfd
c26fc2456bba2acf2bdd5708a5fbffd5489cfbbf
[ESLint] Add `app` dir to default linting directories (#44426) Fixes #44424 by adding the `app` folder to an `ESLINT_DEFAULT_DIRS` constant which defines all folders where the linter should go through. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a h...
[ { "path": "docs/api-reference/cli.md", "patch": "@@ -120,7 +120,7 @@ npx next start --keepAliveTimeout 70000\n \n ## Lint\n \n-`next lint` runs ESLint for all files in the `pages`, `components`, and `lib` directories. It also\n+`next lint` runs ESLint for all files in the `pages/`, `app` (only if the experi...
2023-02-07T21:53:46
huggingface/transformers
08bf7f1afee8c1127a28053cf452c44cf7e04d9c
be10d4df60bec044ac0c1ab6fd326479874baafc
Add kernelize to transformers (#38205) * fix * fix * fix flow * remove non compiling path * change * style * fix * update * update pin * revert
[ { "path": "setup.py", "patch": "@@ -128,7 +128,7 @@\n # Keras pin - this is to make sure Keras 3 doesn't destroy us. Remove or change when we have proper support.\n \"keras>2.9,<2.16\",\n \"keras-nlp>=0.3.1,<0.14.0\", # keras-nlp 0.14 doesn't support keras 2, see pin on keras.\n- \"kernels>=...
2025-06-24T15:38:54
golang/go
70fd4e47d73b92fe90e44ac785e2f98f9df0ab67
9eee0ed4391942c73157c868a9ddcfdef48982f9
runtime: avoid possible preemption when returning from Go to C When returning from Go to C, it was possible for the goroutine to be preempted after calling unlockOSThread. This could happen when there a context function installed by SetCgoTraceback set a non-zero context, leading to a defer call in cgocallbackg1. The ...
[ { "path": "src/runtime/cgocall.go", "patch": "@@ -212,6 +212,8 @@ func cgocallbackg(fn, frame unsafe.Pointer, ctxt uintptr) {\n \t// a different M. The call to unlockOSThread is in unwindm.\n \tlockOSThread()\n \n+\tcheckm := gp.m\n+\n \t// Save current syscall parameters, so m.syscall can be\n \t// used ag...
2021-07-29T04:09:31
huggingface/transformers
be10d4df60bec044ac0c1ab6fd326479874baafc
e1e11b0299fcb932cc1ed1bddcc42352e8fbc9d5
Granite speech - minor fixes to support training with the HF trainer (#38833) * 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 r...
[ { "path": "src/transformers/models/granite_speech/feature_extraction_granite_speech.py", "patch": "@@ -50,15 +50,16 @@ def __init__(\n **kwargs,\n ):\n super().__init__(**kwargs)\n+ self.sampling_rate = sampling_rate\n self.melspec_kwargs = {\n \"sample_rate\":...
2025-06-24T15:06:52
nodejs/node
37dfdccbb600d0e69dd25eab621a73a49c77a1f8
5856a59a42c72974620c2db771c184e840363563
test: fix assertions argument order PR-URL: https://github.com/nodejs/node/pull/23544 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpu...
[ { "path": "test/parallel/test-vm-static-this.js", "patch": "@@ -26,7 +26,7 @@ const vm = require('vm');\n \n // Run a string\n const result = vm.runInThisContext('\\'passed\\';');\n-assert.strictEqual('passed', result);\n+assert.strictEqual(result, 'passed');\n \n // thrown error\n assert.throws(function() ...
2018-10-12T17:26:11
vercel/next.js
c26fc2456bba2acf2bdd5708a5fbffd5489cfbbf
f93c685281feb9089597f2c23fd893411ad4a7f1
Picking apple-icon instead of apple-touch-icon (#45673) Fix up a icon convention in #45612, we should pick up the `apple-icon.<ext>` as this is a shorter path for users to remember. Also addessing some feedbacks from @shuding in #45612 ---------
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -2529,8 +2529,6 @@ export default async function getBaseWebpackConfig(\n // webpack config such as `@svgr/webpack` plugin or\n // the `babel-plugin-inline-react-svg` plugin.\n nextImageRule.test = /\\.(png|jpg|jpeg|gif|web...
2023-02-07T21:25:39
golang/go
4a47e40a14c2051656d4ff4b768fe21a5fc308fa
506fd520d5cd6ea075ac82e79a23c502c1540170
[dev.typeparams] cmd/compile: don't export blank functions in unified IR After the previous two CLs, there's no need for unified IR to write/read blank functions anymore: types2 has already checked that they're valid, and the compiler backend is going to ignore them. Allows dropping code for worrying about blank meth...
[ { "path": "src/cmd/compile/internal/noder/writer.go", "patch": "@@ -550,25 +550,6 @@ func (w *writer) doObj(obj types2.Object) codeObj {\n \t\tassert(ok)\n \t\tsig := obj.Type().(*types2.Signature)\n \n-\t\t// Rewrite blank methods into blank functions.\n-\t\t// They aren't included in the receiver type's m...
2021-07-28T20:17:56
nodejs/node
5856a59a42c72974620c2db771c184e840363563
f7a50f76eeb1bc8107cab440ea71328b2c6c6899
test: fix assertion argument order PR-URL: https://github.com/nodejs/node/pull/23545 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 <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivik...
[ { "path": "test/parallel/test-stream-pipe-cleanup.js", "patch": "@@ -65,8 +65,8 @@ for (i = 0; i < limit; i++) {\n r.pipe(w);\n r.emit('end');\n }\n-assert.strictEqual(0, r.listeners('end').length);\n-assert.strictEqual(limit, w.endCalls);\n+assert.strictEqual(r.listeners('end').length, 0);\n+assert.str...
2018-10-12T17:40:59
vercel/next.js
f93c685281feb9089597f2c23fd893411ad4a7f1
7f28195dc4d20b30f9b2371e63a4ebc45d8244d1
Fix error page line height (#45676 Fixes styling issue introduced in #45586, lineHeight: 49 should be px instead of number **After** <img width="493" alt="image" src="https://user-images.githubusercontent.com/4800338/217356260-11f7d57b-31e0-401f-901f-f67eede3f6e3.png"> **Before** <img width="500" alt="imag...
[ { "path": "packages/next/src/client/components/error.tsx", "patch": "@@ -24,13 +24,13 @@ const styles: { [k: string]: React.CSSProperties } = {\n fontSize: 24,\n fontWeight: 500,\n verticalAlign: 'top',\n- lineHeight: 49,\n+ lineHeight: '49px',\n },\n \n h2: {\n fontSize: 14,\n ...
2023-02-07T20:45:24
huggingface/transformers
e1e11b0299fcb932cc1ed1bddcc42352e8fbc9d5
bdf5fb70aa11782cce22027d76879f71f4e41c1e
Fix undeterministic order in modular dependencies (#39005) * sort correctly * Update modeling_minimax.py * Update modular_model_converter.py
[ { "path": "examples/modular-transformers/configuration_my_new_model.py", "patch": "@@ -14,6 +14,7 @@ class MyNewModelConfig(PretrainedConfig):\n This is the configuration class to store the configuration of a [`MyNewModelModel`]. It is used to instantiate an MyNewModel\n model according to the speci...
2025-06-24T15:04:33
electron/electron
c2b109f7fca5abfdeec4849d0a6c026786d52094
a755edebfabc1877d4de886555545eaa9505f8ef
Fix process.crash()
[ { "path": "atom/common/api/atom_bindings.cc", "patch": "@@ -11,7 +11,6 @@\n #include \"atom/common/chrome_version.h\"\n #include \"atom/common/native_mate_converters/string16_converter.h\"\n #include \"base/logging.h\"\n-#include \"base/debug/debugger.h\"\n #include \"native_mate/dictionary.h\"\n \n #includ...
2015-01-24T05:55:42
golang/go
adedf54288e826bd93ccf22ad104f768d42289d4
53557530093938e19c21f6b02a482939ac6e634b
[dev.typeparams] test: rename blank functions This CL renames blank functions in the test/ directory so that they don't rely on the compiler doing anything more than typechecking them. In particular, I ran this search to find files that used blank functions and methods: $ git grep -l '^func.*\b_(' | xargs grep -n '^...
[ { "path": "test/escape5.go", "patch": "@@ -173,13 +173,13 @@ type U int\n func (*U) M() {}\n func (_ *U) N() {}\n \n-func _() {\n+func fbad24305a() {\n \tvar u U\n \tu.M()\n \tu.N()\n }\n \n-func fbad24305() {\n+func fbad24305b() {\n \tvar u U\n \t(*U).M(&u)\n \t(*U).N(&u)", "additions": 2, "delet...
2021-07-28T19:59:14
vercel/next.js
7f28195dc4d20b30f9b2371e63a4ebc45d8244d1
c6fe3f32240a92093a290847a3ae6023b01e3d04
Improve client-only imported in external package error (#45484) Currently if an external package imports `'client-only'` it's difficult to figure out why the error occured. This change adds an explanation of which import caused the error. The errors in the images are from using `<style jsx>` in a Server Component. B...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1651,6 +1651,7 @@ export default async function getBaseWebpackConfig(\n 'next-middleware-wasm-loader',\n 'next-app-loader',\n 'next-font-loader',\n+ 'next-invalid-import-error-loader',\n ].reduce((alias...
2023-02-07T19:56:03
nodejs/node
5ae0f111dc9d4ec730893c7f214c6616ab7ddb7d
d51d1ad4c80f5cefda685e66eb5c7655f567258b
test: fix assert.strictEqual() argument order PR-URL: https://github.com/nodejs/node/pull/23529 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgew...
[ { "path": "test/parallel/test-http-buffer-sanity.js", "patch": "@@ -40,13 +40,13 @@ const server = http.Server(function(req, res) {\n req.on('data', (d) => {\n measuredSize += d.length;\n for (let j = 0; j < d.length; j++) {\n- assert.strictEqual(buffer[i], d[j]);\n+ assert.strictEqual(d...
2018-10-12T17:21:44
huggingface/transformers
bdf5fb70aa11782cce22027d76879f71f4e41c1e
719058c6255aa877eabd4e0e1fb69460a1680e30
Skip non-selected experts for qwen3_moe (#38133) * fix(qwen3moe): skip experts with no workload * avoid tolist and also update other moe models * fix: should squeeze 0-dim only
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -123,10 +123,10 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n # this will be used to easily index which expert is going to be sollicitated\n expert_mask = torch.nn.functional.one_hot(selected...
2025-06-24T14:33:48
electron/electron
33b6876cc147a25f281b5973e45fe26b038face5
81b370ee9f5b1990371ac4299f96fed1d3b498b2
Add support for `Plus` as accelerator key, fixes #1050
[ { "path": "atom/browser/ui/accelerator_util.cc", "patch": "@@ -121,6 +121,9 @@ bool StringToAccelerator(const std::string& description,\n modifiers |= ui::EF_ALT_DOWN;\n } else if (tokens[i] == \"shift\") {\n modifiers |= ui::EF_SHIFT_DOWN;\n+ } else if (tokens[i] == \"plus\") {\n+ m...
2015-01-23T23:26:54
rust-lang/rust
e666b83b11689a17571305592f4b67dce6bc1d4a
dcd8bb6d7e5d7eab9d815150a1cc09c24928a672
excessive_precision: Fix false positive when exponent has leading zero
[ { "path": "clippy_lints/src/float_literal.rs", "patch": "@@ -126,7 +126,7 @@ impl<'tcx> LateLintPass<'tcx> for FloatLiteral {\n },\n );\n }\n- } else if digits > max as usize && float_str.len() < sym_str.len() {\n+ } else if d...
2025-05-17T04:35:09
nodejs/node
d51d1ad4c80f5cefda685e66eb5c7655f567258b
a24027f9eea200ebf2603560feaf54dfcf50085c
test: fix strictEqual assertion argument in test-tls-ecdh-auto PR-URL: https://github.com/nodejs/node/pull/23530 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-...
[ { "path": "test/parallel/test-tls-ecdh-auto.js", "patch": "@@ -48,7 +48,7 @@ server.listen(0, function() {\n });\n \n client.on('exit', function(code) {\n- assert.strictEqual(0, code);\n+ assert.strictEqual(code, 0);\n server.close();\n });\n ", "additions": 1, "deletions": 1, "l...
2018-10-12T17:33:15
electron/electron
81b370ee9f5b1990371ac4299f96fed1d3b498b2
fe81e5b32d4d837658b65edce91e477235e22574
Implement CheckMediaAccessPermission, fixes #1017
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -152,6 +152,12 @@ void WebContents::EnumerateDirectory(content::WebContents* guest,\n web_dialog_helper_->EnumerateDirectory(guest, request_id, path);\n }\n \n+bool WebContents::CheckMediaAccessPermission(content::WebContents* web_content...
2015-01-23T23:13:49
vercel/next.js
25dfdbb1319c41d112260693fe5d373004f5b74f
588a9c1089e36aa116a19f9bdb4df76feb1da40e
Support filebased metadata icon and apple touch icons (#45612) This PR add supports for a shortcut for adding `icons.icon` or `icons.apple` metadata for page or layout with static files. Closes NEXT-263 Closes NEXT-260 If you specific icon.png or apple-touch-icon.png, they will be automatically picked by and ...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -61,6 +61,7 @@ import { AppBuildManifestPlugin } from './webpack/plugins/app-build-manifest-plu\n import { SubresourceIntegrityPlugin } from './webpack/plugins/subresource-integrity-plugin'\n import { FontLoaderManifestPlugin } from './webp...
2023-02-07T17:30:59
rust-lang/rust
9205ee27a815e5b356cfce6269d9ded1d1c098f7
35f847363729b16332eab1a85900617218495757
Docs(lib/extract_if): Unify paragraph about closure actions Also fixes `HashSet`'s that incorrectly designated itself as a `list`. Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
[ { "path": "library/alloc/src/collections/linked_list.rs", "patch": "@@ -1124,9 +1124,9 @@ impl<T, A: Allocator> LinkedList<T, A> {\n \n /// Creates an iterator which uses a closure to determine if an element should be removed.\n ///\n- /// If the closure returns true, then the element is removed ...
2025-05-17T00:36:08
huggingface/transformers
1636a7bcb942370bb4098c8e67e4c3d3fd6a1740
71de20b818c3aa9715fb3d0e26f448ec534b03d2
Fixes for Arcee model (#39001) * fix modular * Update modular_arcee.py * fix
[ { "path": "src/transformers/models/arcee/configuration_arcee.py", "patch": "@@ -128,7 +128,6 @@ class ArceeConfig(PretrainedConfig):\n \"layers.*.self_attn.k_proj\": \"colwise\",\n \"layers.*.self_attn.v_proj\": \"colwise\",\n \"layers.*.self_attn.o_proj\": \"rowwise\",\n- \"l...
2025-06-24T13:23:52
nodejs/node
a24027f9eea200ebf2603560feaf54dfcf50085c
244180826e401873ed1b27f8694a24cd81b873a9
test: correct labelling of asserts errors PR-URL: https://github.com/nodejs/node/pull/23531 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: R...
[ { "path": "test/parallel/test-tls-over-http-tunnel.js", "patch": "@@ -57,12 +57,12 @@ const proxy = net.createServer((clientSocket) => {\n clientSocket.on('data', (chunk) => {\n if (!serverSocket) {\n // Verify the CONNECT request\n- assert.strictEqual(`CONNECT localhost:${server.address()....
2018-10-12T17:25:33
electron/electron
98bf5bf3edcd05c258862110df434db5e9c41a36
4bbe026d481190ce1d66b9c9aef5c4489f9ba5cb
Implement CheckMediaAccessPermission Part of the fixes for #1017.
[ { "path": "brightray/browser/default_web_contents_delegate.cc", "patch": "@@ -10,6 +10,13 @@ DefaultWebContentsDelegate::DefaultWebContentsDelegate() {\n DefaultWebContentsDelegate::~DefaultWebContentsDelegate() {\n }\n \n+bool DefaultWebContentsDelegate::CheckMediaAccessPermission(\n+ content::WebConten...
2015-01-23T23:12:24
vercel/next.js
f65d709b565bb9736069fb05232a6c7a9cdd6197
17fba45a54f6eedf4aeaf6e0ac9cd4fb442baa39
detect missing trait methods at compile time (vercel/turbo#3657) Leaves the default implementations of a trait "in place" and implements the "cross-trait" resolving differently we get back the normal rust error messages when you don't have every method implemented 🎉
[ { "path": "packages/next-swc/crates/next-core/src/app_render/next_layout_entry_transition.rs", "patch": "@@ -7,7 +7,11 @@ use turbopack::{\n transition::{Transition, TransitionVc},\n ModuleAssetContextVc,\n };\n-use turbopack_core::{asset::AssetVc, environment::EnvironmentVc, virtual_asset::VirtualA...
2023-02-07T16:06:19
huggingface/transformers
71de20b818c3aa9715fb3d0e26f448ec534b03d2
23c89a67321ddd85a6e291ed30c421b0bb351b9e
Add Arcee model support (#38621) * Add Arcee model support to transformers - Add ArceeConfig and model mappings for all task types (CausalLM, SequenceClassification, QuestionAnswering, TokenClassification) - Add auto-loading support through AutoModel, AutoConfig, and AutoTokenizer - Use LlamaTokenizer for tokenizatio...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -363,6 +363,8 @@\n - sections:\n - local: model_doc/albert\n title: ALBERT\n+ - local: model_doc/arcee\n+ title: Arcee\n - local: model_doc/bamba\n title: Bamba\n - local: model_doc/bart", "additions"...
2025-06-24T13:05:29
golang/go
9eee0ed4391942c73157c868a9ddcfdef48982f9
b39e0f461c099abf98f5a8c81d58d32d9a765a03
cmd/go: fix go.mod file name printed in error messages for replacements This fixes a logic error introduced in CL 337850. Fixes #47444 Change-Id: I6a49c8fc71fdde4ecb7f2e3329ad1f2cd286b7eb Reviewed-on: https://go-review.googlesource.com/c/go/+/338189 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot...
[ { "path": "src/cmd/go/internal/modload/modfile.go", "patch": "@@ -652,8 +652,8 @@ func rawGoModData(m module.Version) (name string, data []byte, err error) {\n \t\tif !filepath.IsAbs(dir) {\n \t\t\tdir = filepath.Join(ModRoot(), dir)\n \t\t}\n-\t\tgomod := filepath.Join(dir, \"go.mod\")\n-\t\tif gomodActual...
2021-07-28T18:52:14
nodejs/node
2d76dec4b47e515238173516ac2667f414315b49
3d8c512b67c209cdaca23cabbf5668730cf44a9e
test: updating assertion on test so it fits the new method signature One assertion on test-tls-connect-address-family.js was out fo date, here we are fixing it to match the signature of strictEqual method. PR-URL: https://github.com/nodejs/node/pull/23536 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tr...
[ { "path": "test/parallel/test-tls-connect-address-family.js", "patch": "@@ -26,7 +26,7 @@ function runTest() {\n };\n // Will fail with ECONNREFUSED if the address family is not honored.\n tls.connect(options).once('secureConnect', common.mustCall(function() {\n- assert.strictEqual('::1', t...
2018-10-12T17:34:28
electron/electron
854c59df5c4d1ffe3ea72b7eff16181b3779160d
f6db9bc84c614edc26ea99d9fd2e4cd250b98126
docs: Make getCurrentWindow more clear, fixes #1035
[ { "path": "docs/api/remote.md", "patch": "@@ -135,8 +135,8 @@ Returns the object returned by `require(module)` in the browser process.\n \n ## remote.getCurrentWindow()\n \n-Returns the [BrowserWindow](browser-window.md) object which\n-represents the current window.\n+Returns the [BrowserWindow](browser-win...
2015-01-21T21:47:28
huggingface/transformers
23c89a67321ddd85a6e291ed30c421b0bb351b9e
4f650040a68c915c4e9fa70c4a7a62714e471d65
[`Attention`] Small fix on output attentions (#38948) small fix
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -338,7 +338,7 @@ def output_attentions(self):\n \n @output_attentions.setter\n def output_attentions(self, value):\n- if self._attn_implementation != \"eager\":\n+ if value is True and self._attn_implementation != \"eage...
2025-06-24T12:42:10
golang/go
473e493d18c277d69e40a4930af045d474ff2be4
e00a6ec084605b773cdb87971de5b5536c0cc13e
[dev.typeparams] cmd/compile/internal/types2: merge instance and Named to eliminate sanitization This is a port of CL 335929 to types2. It differs significantly from that CL to handle lazy loading, which wasn't tested in go/types. Additionally, the *Checker field was moved out of instance and back onto Named. This way...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -798,7 +798,7 @@ func hasVarSize(t Type) bool {\n \t\t}\n \tcase *TypeParam:\n \t\treturn true\n-\tcase *Named, *Union, *instance, *top:\n+\tcase *Named, *Union, *top:\n \t\tunreachable()\n \t}\n \treturn false", "additions": 1, "...
2021-07-21T16:12:22
vercel/next.js
ac5a9bd4dde5eccf08aa65badc7c7f856521e2fe
016dbe50ab3562a4bdaeb3a68e3c31f1717eba9b
detect missing trait methods at compile time (vercel/turbo#3657) Leaves the default implementations of a trait "in place" and implements the "cross-trait" resolving differently we get back the normal rust error messages when you don't have every method implemented 🎉
[ { "path": "crates/next-core/src/app_render/next_layout_entry_transition.rs", "patch": "@@ -7,7 +7,11 @@ use turbopack::{\n transition::{Transition, TransitionVc},\n ModuleAssetContextVc,\n };\n-use turbopack_core::{asset::AssetVc, environment::EnvironmentVc, virtual_asset::VirtualAssetVc};\n+use tur...
2023-02-07T16:06:19
nodejs/node
3a62c06067d43553609535cd074d4f10b6bfd21e
8c86463d9ffbde3fadb2d462657a210b0b37d1f9
test: fix test-dgram-pingpong assertion arg order PR-URL: https://github.com/nodejs/node/pull/23514 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bri...
[ { "path": "test/sequential/test-dgram-pingpong.js", "patch": "@@ -6,7 +6,7 @@ const dgram = require('dgram');\n function pingPongTest(port, host) {\n \n const server = dgram.createSocket('udp4', common.mustCall((msg, rinfo) => {\n- assert.strictEqual('PING', msg.toString('ascii'));\n+ assert.strictE...
2018-10-12T17:09:09
huggingface/transformers
f9be71b34d5efbba50bc787848c6e421822b14ba
9eac19eb598f10f76b1f276a36a8c1f6690d200e
Fix `rag` (#38585) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/rag/test_modeling_rag.py", "patch": "@@ -21,6 +21,7 @@\n from unittest.mock import patch\n \n import numpy as np\n+import requests\n \n from transformers import BartTokenizer, T5Tokenizer\n from transformers.models.bert.tokenization_bert import VOCAB_FILES_NAMES as DPR_VOCAB_FILES_NA...
2025-06-23T15:42:46
electron/electron
23760058e9d2aed61218b7cf24ac36a04a2c1a91
7b621262eaf3ad5d4cc02d29a706a77e1d2bafb0
Fix target url
[ { "path": "script/upload.py", "patch": "@@ -196,7 +196,8 @@ def upload_node(bucket, access_key, secret_key, version):\n execute([atom_shell,\n os.path.join(SOURCE_ROOT, 'script', 'dump-version-info.js'),\n index_json])\n- s3put(bucket, access_key, secret_key, OUT_DIR, 'atom-...
2015-01-21T06:16:27
golang/go
176baafd5b6d968fc0df25b344ffe826e47e6879
288a83dcffef18514e8c01f0ca2053c6be185305
[dev.cmdgo] cmd/go: sort roots when joining multiple main module roots When concatenating multiple main modules' roots we need to resort the list of main module roots. This avoids a panic from unsorted main module roots. This will get better when we have structured module roots. Change-Id: I68fed47b0f3b131ed3dadf45db...
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -1083,6 +1083,9 @@ func updateEagerRoots(ctx context.Context, direct map[string]bool, rs *Requireme\n \t\t}\n \t\troots = append(roots, min...)\n \t}\n+\tif MainModules.Len() > 1 {\n+\t\tmodule.Sort(roots)\n+\t}\n \tif rs.depth == eager && r...
2021-07-28T16:32:08
vercel/next.js
12e4175475a1e23b22ab1b6c7e0863410c0276b1
fc9b7d77919ce34d8210d0085e1332edaa6580ec
Avoid injecting the TS plugin if `extends` is used (#45655) This is necessary because TS config won't merge array fields and it will override parent plugins. In that case we will output a message instead: ![CleanShot-2023-02-07-RqtKpP75@2x](https://user-images.githubusercontent.com/3676859/217249167-b79f11f6-d5e8-424...
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -195,20 +195,33 @@ export async function writeConfigurationDefaults(\n // Enable the Next.js typescript plugin.\n if (isAppDirEnabled) {\n if (userTsConfig.compilerOptions) {\n- if (!('plugins' in userTsCon...
2023-02-07T13:43:02
huggingface/transformers
9eac19eb598f10f76b1f276a36a8c1f6690d200e
2ce02b98bfe135c0a94ab169c5d95c88b91de3c3
[Feature] Support `is_split_into_words` in the `TokenClassificationPipeline`. (#38818) * some fixes * some fixes * now the pipeline can take list of tokens as input and is_split_into_words argument * now the pipeline can take list of tokens as input and is_split_into_words argument * now the pipeline can take list...
[ { "path": "src/transformers/pipelines/token_classification.py", "patch": "@@ -30,14 +30,17 @@ class TokenClassificationArgumentHandler(ArgumentHandler):\n \"\"\"\n \n def __call__(self, inputs: Union[str, list[str]], **kwargs):\n+ is_split_into_words = kwargs.get(\"is_split_into_words\", Fals...
2025-06-23T15:31:32
nodejs/node
8c86463d9ffbde3fadb2d462657a210b0b37d1f9
8f68ed92fc262f374f7a37cfe99ab4404e0c6d33
test: fix assert.strictEqual() argument order PR-URL: https://github.com/nodejs/node/pull/23515 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgew...
[ { "path": "test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js", "patch": "@@ -44,7 +44,7 @@ async function runTests() {\n await checkAsyncStackTrace(session);\n \n await session.runToCompletion();\n- assert.strictEqual(55, (await instance.expectShutdown()).exitCode);\n+ assert.strictEqu...
2018-10-12T17:24:33
golang/go
b39e0f461c099abf98f5a8c81d58d32d9a765a03
7cd10c1149e51a9d2f0868babaf66b8091b9c0b9
runtime: don't crash on nil pointers in checkptrAlignment Ironically, checkptrAlignment had a latent case of bad pointer arithmetic: if ptr is nil, then `add(ptr, size-1)` might produce an illegal pointer value. The fix is to simply check for nil at the top of checkptrAlignment, and short-circuit if so. This CL also...
[ { "path": "src/runtime/checkptr.go", "patch": "@@ -7,6 +7,11 @@ package runtime\n import \"unsafe\"\n \n func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {\n+\t// nil pointer is always suitably aligned (#47430).\n+\tif p == nil {\n+\t\treturn\n+\t}\n+\n \t// Check that (*[n]elem)(p) is appro...
2021-07-28T01:30:38
vercel/next.js
fc9b7d77919ce34d8210d0085e1332edaa6580ec
3827d8fbfb0db4cf69ffae7559804b09b7155730
Fix ts config in reproduction-template-app-dir (#45653) Commited tsconfig generated by running `next build`. ## 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/contri...
[ { "path": "examples/reproduction-template-app-dir/tsconfig.json", "patch": "@@ -13,8 +13,13 @@\n \"moduleResolution\": \"node\",\n \"resolveJsonModule\": true,\n \"isolatedModules\": true,\n- \"jsx\": \"preserve\"\n+ \"jsx\": \"preserve\",\n+ \"plugins\": [\n+ {\n+ \"name\":...
2023-02-07T12:18:05
electron/electron
0933a7d1b234accf1ed73c7fbea0a54456205a8d
fe78c17ea6a2a37f8a9f74eca9b82e89dd290ec8
Evaluate the "fs.js" in original-fs Some high-level APIs in fs are using low-level APIs via "fs.xxx", which will be overriden by our asar wrappers, so just shadow-copy those methods is not enough. By evaluating the whole "fs.js" we can make sure original-fs is not polluted by the asar wrappers. Fixes #782.
[ { "path": "atom/common/api/lib/original-fs.coffee", "patch": "@@ -1,6 +1,8 @@\n-fs = require 'fs'\n+vm = require 'vm'\n \n-copied = {}\n-copied[k] = v for k, v of fs\n-\n-module.exports = copied\n+# Execute the 'fs.js' and pass the 'exports' to it.\n+source = '(function (exports, require, module, __filename...
2015-01-19T22:22:32
nodejs/node
8f68ed92fc262f374f7a37cfe99ab4404e0c6d33
544d4976b97dde111bd48dbd3a7a1a2ae4a198b8
test: fix assert.strictEqual arg order in test-tls-ecdh-multiple.js PR-URL: https://github.com/nodejs/node/pull/23516 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Revi...
[ { "path": "test/parallel/test-tls-ecdh-multiple.js", "patch": "@@ -48,7 +48,7 @@ server.listen(0, function() {\n });\n \n client.on('exit', function(code) {\n- assert.strictEqual(0, code);\n+ assert.strictEqual(code, 0);\n server.close();\n });\n ", "additions": 1, "deletions": 1, ...
2018-10-12T17:27:36
rust-lang/rust
10f4f6ae3d41c95e56a6ba46dd82d5eb283a9e54
d24c37ed03504a8f872681b97bdce1d0a1d721b9
fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already set
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/sysroot.rs", "patch": "@@ -137,7 +137,12 @@ impl Sysroot {\n }\n \n let mut cmd = toolchain::command(tool.prefer_proxy(), current_dir, envs);\n- cmd.env(\"RUSTUP_TOOLCHAIN\", AsRef::<std::path::Path>::...
2025-05-16T12:52:28
golang/go
e00a6ec084605b773cdb87971de5b5536c0cc13e
c751e2e6ba30fc319c93b9cfe207dc7d1b48c3fb
[dev.typeparams] cmd/compile: mark methods of instantiated interface types as used Fix the cons.go missing method error. Mark all the methods of instantiated interface types as used. We could try to record all the exact methods used for generic interface types, but for now, just mark all the methods as used so that th...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1515,6 +1515,23 @@ func deref(t *types.Type) *types.Type {\n \treturn t\n }\n \n+// markTypeUsed marks type t as used in order to help avoid dead-code elimination of\n+// needed methods.\n+func markTypeUsed(t *types.Type, lsym *obj.LSym) {...
2021-07-26T01:27:15
vercel/next.js
3827d8fbfb0db4cf69ffae7559804b09b7155730
fea8c8e13a40967e927ce28c4e492b2736e22bce
Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) fixes https://github.com/vercel/next.js/issues/42492
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -118,6 +118,9 @@ class ScrollAndFocusHandler extends React.Component<{\n componentDidMount() {\n // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed.\n const { focusAndS...
2023-02-07T12:03:18
electron/electron
fe78c17ea6a2a37f8a9f74eca9b82e89dd290ec8
79a233436be97b5321570b74c15e478442b50cf0
Don't popup error if the user has a custom uncaught exception handler Fix #1012.
[ { "path": "atom/browser/lib/init.coffee", "patch": "@@ -44,6 +44,10 @@ process.once 'BIND_DONE', ->\n \n # Don't quit on fatal error.\n process.on 'uncaughtException', (error) ->\n+ # Do nothing if the user has a custom uncaught exception handler.\n+ if process.listeners('uncaughtException').lengt...
2015-01-19T20:48:49
rust-lang/rust
f0648966e4aa48d83bbd395c513ad1febbb5a8e6
6ba33f5e1189a5ae58fb96ce3546e76b13d090f5
Add missing `add_eval` to generate `__rdl_oom` in the alloc error handler
[ { "path": "src/allocator.rs", "patch": "@@ -152,6 +152,7 @@ fn create_wrapper_function(\n if output.is_some() {\n block.end_with_return(None, ret);\n } else {\n+ block.add_eval(None, ret);\n block.end_with_void_return(None);\n }\n ", "additions": 1, "deletions": 0,...
2025-05-16T11:02:20
nodejs/node
495ced01fddf4693377cd3aa509032d2de4bc2ec
d5abbabc4f1db2d4e4ce8c1c98afd4981808074b
test: fix assert order in test-vm-context PR-URL: https://github.com/nodejs/node/pull/23523 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater...
[ { "path": "test/parallel/test-vm-context.js", "patch": "@@ -30,18 +30,18 @@ let script = new Script('\"passed\";');\n // Run in a new empty context\n let context = vm.createContext();\n let result = script.runInContext(context);\n-assert.strictEqual('passed', result);\n+assert.strictEqual(result, 'passed');...
2018-10-12T17:23:09
rust-lang/rust
13b070e3560a2ecfb11d9bb11ca2ea0a8296e4d8
b3f490202b471eb4714402f816b18c23c2726058
clippy_dev: Fix previous renames in `rename_lint`
[ { "path": "clippy_dev/src/rename_lint.rs", "patch": "@@ -43,6 +43,17 @@ pub fn rename(clippy_version: Version, old_name: &str, new_name: &str, uplift: b\n let lint = &lints[lint_idx];\n \n let old_name_prefixed = String::from_iter([\"clippy::\", old_name]);\n+ let new_name_prefixed = if uplift {\...
2025-04-16T20:00:14
vercel/next.js
fea8c8e13a40967e927ce28c4e492b2736e22bce
5b6b00d0434121e1a5a6bc69e378a9543b8326d3
Use higher instanceId for redux devtools (#45649) Fixes https://github.com/reduxjs/redux-toolkit/issues/3154 Thanks @markerikson for helping out on this one. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](ht...
[ { "path": "packages/next/src/client/components/use-reducer-with-devtools.ts", "patch": "@@ -143,7 +143,7 @@ function useReducerWithReduxDevtoolsImpl(\n \n devtoolsConnectionRef.current = window.__REDUX_DEVTOOLS_EXTENSION__.connect(\n {\n- instanceId: 1,\n+ instanceId: 8000, // Random...
2023-02-07T10:17:21
golang/go
2c8acf63c233430f8fb48f37c6ec54a29bd53c28
72233d27c4dcbbbbb53f06bdafd4a0fb8d652662
[dev.cmdgo] cmd/go: make fewer 'go mod' commands update go.mod 'go mod graph', 'go mod vendor', 'go mod verify', and 'go mod why' will no longer edit go.mod or go.sum. 'go mod graph', 'go mod verify', and 'go mod why' may still fetch files and look up packages as if they were able to update go.mod. They're useful for...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -955,12 +955,25 @@ func setDefaultBuildMod() {\n \t\treturn\n \t}\n \n-\tif cfg.CmdName == \"get\" || strings.HasPrefix(cfg.CmdName, \"mod \") {\n-\t\t// 'get' and 'go mod' commands may update go.mod automatically.\n-\t\t// TODO(jayconrod): shoul...
2021-07-20T21:46:40
electron/electron
3d398458a8d4cf76fba821893cd4be7e8912dd01
dec3e3768364da76b95c2a149c1971d82bb647f9
Throw error when PathService call failed
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -151,18 +151,26 @@ void App::OnFinishLaunching() {\n Emit(\"ready\");\n }\n \n-base::FilePath App::GetPath(const std::string& name) {\n+base::FilePath App::GetPath(mate::Arguments* args, const std::string& name) {\n+ bool succeed = false;\n bas...
2015-01-19T04:24:58
huggingface/transformers
2ce02b98bfe135c0a94ab169c5d95c88b91de3c3
b6b4d43d6d5b661cf6e6a9e683164c7980d5d4b9
fix `mistral` and `mistral3` tests (#38978) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -112,6 +112,7 @@ def test_flash_attn_2_inference_equivalence_right_padding(self):\n \n \n @require_torch_accelerator\n+@require_read_token\n class MistralIntegrationTest(unittest.TestCase):\n # This variable is used to determine whi...
2025-06-23T15:07:18
rust-lang/rust
5f8954bc4185bf825eb84a44d3833e0ce78590da
c79bbfab78dcb0a72aa3b2bc35c00334b58bfe2e
Fix the issue of typo of comma in arm parsing
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -3311,26 +3311,44 @@ impl<'a> Parser<'a> {\n let sm = this.psess.source_map();\n if let Ok(expr_lines) = sm.span_to_lines(expr_span)\n && let Ok(arm_start...
2025-05-16T10:38:51
nodejs/node
d5abbabc4f1db2d4e4ce8c1c98afd4981808074b
32cef50c99f9131915820c2795b8c5bcad7d1675
test: switch arguments of assert() The arguments of the assert were passed in the wrong order (expected, actual). This would have been confusing in case of an error. Changed it to be (actual, expected) PR-URL: https://github.com/nodejs/node/pull/23524 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin ...
[ { "path": "test/sequential/test-inspector-break-when-eval.js", "patch": "@@ -63,7 +63,7 @@ async function runTests() {\n await breakOnLine(session);\n await stepOverConsoleStatement(session);\n await session.runToCompletion();\n- assert.strictEqual(0, (await child.expectShutdown()).exitCode);\n+ ass...
2018-10-12T17:23:40
vercel/next.js
5b6b00d0434121e1a5a6bc69e378a9543b8326d3
836ac9cc7f290e95b564a61341fa95a5f4f0327e
Add same-origin to fetchServerResponse (#45648) Mirrors the way the router fetches in `pages`. This is only needed for older browsers. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/n...
[ { "path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts", "patch": "@@ -33,6 +33,8 @@ export async function fetchServerResponse(\n }\n \n const res = await fetch(url.toString(), {\n+ // Backwards compat for older browsers. `same-origin` is the default in modern browsers...
2023-02-07T09:48:16
electron/electron
4f6ee31a289bbf2e659e7b5f4f0b1de5f6d75a17
1746518cdfe47c87b2641f2b4dbc76555dd13c25
docs: Fix typo
[ { "path": "docs/api/screen.md", "patch": "@@ -86,7 +86,7 @@ Returns an array of displays that are currently available.\n \n ## screen.getDisplayNearestPoint(point)\n \n-* `rect` Object\n+* `point` Object\n * `x` Integer\n * `y` Integer\n ", "additions": 1, "deletions": 1, "language": "Markdo...
2015-01-16T22:01:52
golang/go
72233d27c4dcbbbbb53f06bdafd4a0fb8d652662
b2205eab0efef6cba784aca4436cb0ef8ac0a4de
[dev.cmdgo] cmd/go: add -testsum flag to update go.sum in script tests -testsum may be set to "tidy", "listm", or "listall". When set, TestScript runs 'go mod tidy', 'go list -m -mod=mod all', or 'go list -mod=mod all' at the beginning of each test that has a go.mod file in its root directory. If the test passes and g...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -11,6 +11,7 @@ import (\n \t\"bytes\"\n \t\"context\"\n \t\"errors\"\n+\t\"flag\"\n \t\"fmt\"\n \t\"go/build\"\n \t\"internal/testenv\"\n@@ -35,6 +36,8 @@ import (\n \t\"cmd/internal/sys\"\n )\n \n+var testSum = flag.String(\"testsum\", \"\", `may be tidy,...
2021-07-20T21:37:53
rust-lang/rust
44681fd81bc33752a638cf0d8398155da77b260a
95d7eda0b44cc883516b9198dce3b05db3a581f9
Improve `cargo dev rename_lint` * rename test files inside directories and ui-toml tests * rename tests prefixed with the lint's name * better module path renaming when renaming the lint's module * partially delete lint files when uplifting * rename ui_test error markers
[ { "path": "clippy_dev/Cargo.toml", "patch": "@@ -5,7 +5,6 @@ version = \"0.0.1\"\n edition = \"2024\"\n \n [dependencies]\n-aho-corasick = \"1.0\"\n chrono = { version = \"0.4.38\", default-features = false, features = [\"clock\"] }\n clap = { version = \"4.4\", features = [\"derive\"] }\n indoc = \"1.0\"",...
2025-04-16T13:24:39
nodejs/node
c95707f56edd57a2b840bcb1c3abd08a9e925818
179c3a8f04553e6d28769a45b2e8bca5b23e56f7
test: fix order of assert.strictEqual() args to actual, expected PR-URL: https://github.com/nodejs/node/pull/23501 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/addons-napi/test_make_callback/test.js", "patch": "@@ -13,22 +13,21 @@ function myMultiArgFunc(arg1, arg2, arg3) {\n return 42;\n }\n \n-assert.strictEqual(42, makeCallback(process, common.mustCall(function() {\n+assert.strictEqual(makeCallback(process, common.mustCall(function() {\n ass...
2018-10-12T17:10:15
vercel/next.js
17fba45a54f6eedf4aeaf6e0ac9cd4fb442baa39
f43c3588be2a35a5489893e3de61bca0931da253
Export __N_SSG and __N_SSP from the error component (vercel/turbo#3574) `export *` would be preferable once supported.
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/error.tsx", "patch": "@@ -1,4 +1,7 @@\n-import Error, { getStaticProps } from \"@vercel/turbopack-next/internal/_error\";\n-\n-export default Error;\n-export { getStaticProps };\n+// TODO(alexkirsz) export * would be preferrable here once supported....
2023-02-07T09:39:49
electron/electron
167995119a5a7636eb69803388ab0443727d1c0b
0e0079956c27b7e7f7cfac634a15f7b9a7b59f71
Use current exe's icon as default window icon. Fixes atom/atom-shell#863.
[ { "path": "brightray/browser/views/views_delegate.cc", "patch": "@@ -50,7 +50,8 @@ void ViewsDelegate::NotifyMenuItemFocused(\n \n #if defined(OS_WIN)\n HICON ViewsDelegate::GetDefaultWindowIcon() const {\n- return NULL;\n+ // Use current exe's icon as default window icon.\n+ return LoadIcon(GetModuleHan...
2015-01-15T23:30:04
golang/go
7cd10c1149e51a9d2f0868babaf66b8091b9c0b9
c8cf0f74e4a8f078ab5570e76c37621a0daf0309
cmd/go: use .mod instead of .zip to determine if version has go.mod file When checking for updates, the go command checks whether the highest compatible version has a go.mod file in order to determine whether +incompatible versions may be considered "latest". Previously, to perform this check, the go command would dow...
[ { "path": "src/cmd/go/internal/modfetch/coderepo.go", "patch": "@@ -864,22 +864,25 @@ func (r *codeRepo) GoMod(version string) (data []byte, err error) {\n \tdata, err = r.code.ReadFile(rev, path.Join(dir, \"go.mod\"), codehost.MaxGoMod)\n \tif err != nil {\n \t\tif os.IsNotExist(err) {\n-\t\t\treturn r.leg...
2021-07-27T17:22:35
huggingface/transformers
b6b4d43d6d5b661cf6e6a9e683164c7980d5d4b9
0c98f24889f4dd7ca9f35f16186b59a66add2654
Add support for auto_docstring with model outputs (#38242) * experiment auto_docstring model outputs * Fix PatchTSMixer * Add check model output docstring to check_auto_docstring and fix all model outputs docstring * add reordering of docstring in check_docstrings * add check for redundant docstring in check_docst...
[ { "path": "src/transformers/models/albert/modeling_albert.py", "patch": "@@ -570,30 +570,21 @@ def _init_weights(self, module):\n \n \n @dataclass\n-class AlbertForPreTrainingOutput(ModelOutput):\n- \"\"\"\n+@auto_docstring(\n+ custom_intro=\"\"\"\n Output type of [`AlbertForPreTraining`].\n-\n- ...
2025-06-23T14:39:41