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 |
|---|---|---|---|---|---|
huggingface/transformers | 11738f85377df4072e96c5842369c000c3bd46c0 | f7b21822e32fba8bd92a939db7f352d1623f09e4 | [phi-4] use mel filters from audio utils (#36966)
* use mel_filter_bank from audio utils
* Apply style fixes
---------
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | [
{
"path": "src/transformers/models/phi4_multimodal/feature_extraction_phi4_multimodal.py",
"patch": "@@ -20,7 +20,7 @@\n \n import numpy as np\n \n-from ...audio_utils import AudioInput\n+from ...audio_utils import AudioInput, mel_filter_bank\n from ...feature_extraction_sequence_utils import SequenceFeatur... | 2025-06-19T03:35:32 |
golang/go | a627fcd3c4fdacdc9bbcccdb926e4804ca6d6815 | ab361499ef7fc7079c78b566f9ff7d68c267b430 | [dev.cmdgo] cmd/go: replace Target with MainModules, allowing for multiple targets
This change replaces the Target variable that represents the main module
and the pathPrefix and inGorootSrc which provide other information about
the main module with a single MainModules value that represents multiple
main modules and ... | [
{
"path": "src/cmd/go/internal/get/get.go",
"patch": "@@ -225,7 +225,8 @@ func downloadPaths(patterns []string) []string {\n \tbase.ExitIfErrors()\n \n \tvar pkgs []string\n-\tfor _, m := range search.ImportPathsQuiet(patterns) {\n+\tnoModRoots := []string{}\n+\tfor _, m := range search.ImportPathsQuiet(pat... | 2021-05-14T15:46:26 |
electron/electron | be2934d9b5925cb017238c1b385340c2f9cfdcb7 | 4a1d11b2bea0907c66bf986ab635e161a1a16385 | Fix throwing error in constructor | [
{
"path": "native_mate/constructor.h",
"patch": "@@ -159,6 +159,8 @@ class Constructor {\n Wrappable* object = internal::InvokeFactory(args, factory);\n if (object)\n object->Wrap(isolate, args->GetThis());\n+ else\n+ args->ThrowError();\n \n MATE_METHOD_RETURN_UNDEFINED();\n }",... | 2015-01-03T02:04:46 |
nodejs/node | ff8db70bc2eacf1cc494573bb6e8335b82c9da49 | eeb2c8fcbbd15d42376249d43fec0cda648b9f72 | benchmark: add common.binding()
Recently, process.binding() was replaced with internalBinding().
However, internalBinding() is not available on older builds of
Node, which are often used for benchmarking purposes. This commit
adds a common.binding() to the benchmarks to work around the
issue. Hopefully, this can be re... | [
{
"path": "benchmark/common.js",
"patch": "@@ -242,3 +242,13 @@ Benchmark.prototype.report = function(rate, elapsed) {\n type: 'report'\n });\n };\n+\n+exports.binding = function(bindingName) {\n+ try {\n+ const { internalBinding } = require('internal/test/binding');\n+\n+ return internalBindin... | 2018-10-12T16:45:26 |
vercel/next.js | a2dc530f4485fcb7b3f061cdd6094a18ba17f1df | e3ed2f27e12f9197cb28b89f7b177b5ab33e842e | Separate next/dynamic implementation for app and pages (#45565)
## Issue
To address the problem that we introduced in 13.0.7 (#42589) where we thought we could use same implementation `next/dynamic` for both `pages/` and `app/` directory. But it turns out it leads to many problems, such as:
* SSR preloading could mi... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -1166,7 +1166,7 @@ export default async function getBaseWebpackConfig(\n if (layer === WEBPACK_LAYERS.server) return\n \n const isNextExternal =\n- /next[/\\\\]dist[/\\\\](esm[\\\\/])?(shared|server)[/\\\\](?!lib[/\\\\](r... | 2023-02-04T01:45:35 |
huggingface/transformers | 3756bf192c9b4beffda0270cee8df5164226e27c | 458e0b376ce92aad3217610762802f0b5a704205 | Add support for specifying revisions when pushing to Hub via internal Trainer call (#36852)
* Update training_args.py
* Update trainer.py
* fixes
* fix
* remove extraneous comments
* explicit revision arg
* add msg
* fixup
* fix field name
* rename field revision to hub_revision
* restore gradient_checkpoint... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3938,7 +3938,7 @@ def save_model(self, output_dir: Optional[str] = None, _internal_call: bool = Fa\n \n # Push to the Hub when `save_model` is called by the user.\n if self.args.push_to_hub and not _internal_call:\n- self.push... | 2025-06-19T02:35:33 |
golang/go | 5cb84f0604797df436d8fde548d4f797b3a6c245 | 73162a54c2885d32d40067d2e4fbe26bbe5c7d65 | [dev.typeparams] cmd/compile: make sure types added to the dictionary are instantiated correctly
Make sure the instantiating types are the type parameters of the containing
function (or types derived from those).
The one exception is the argument of a OFUNCINST, whose type
parameters are those of the declaration site... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -22,6 +22,9 @@ import (\n \t\"strconv\"\n )\n \n+// Enable extra consistency checks.\n+const doubleCheck = true\n+\n func assert(p bool) {\n \tbase.Assert(p)\n }\n@@ -1820,7 +1823,6 @@ func (g *irgen) getGfInfo(gn *ir.Name) *gfInfo {\n \t\t... | 2021-07-22T02:17:20 |
rust-lang/rust | 7b2dcf298909f1493a57387be564fc2f07a3c6ad | 3ae0b2e2ed34f9e3fa848379d3d47782701caa14 | Async drop fix for dropee from another crate (#140858) | [
{
"path": "compiler/rustc_middle/src/ty/mod.rs",
"patch": "@@ -1184,7 +1184,7 @@ pub struct Destructor {\n #[derive(Copy, Clone, Debug, HashStable, Encodable, Decodable)]\n pub struct AsyncDestructor {\n /// The `DefId` of the `impl AsyncDrop`\n- pub impl_did: LocalDefId,\n+ pub impl_did: DefId,\n... | 2025-05-15T12:03:23 |
electron/electron | 51ef072de5b2e30ace4f02a4e053f24434fab9fb | ad816986515fbfc47ff3f130c3f05a6176d69828 | Implement GetDevToolsManagerDelegate, fixes atom/atom-shell#969 | [
{
"path": "brightray/browser/browser_client.cc",
"patch": "@@ -6,6 +6,7 @@\n \n #include \"browser/browser_context.h\"\n #include \"browser/browser_main_parts.h\"\n+#include \"browser/devtools_delegate.h\"\n #include \"browser/media/media_capture_devices_dispatcher.h\"\n #include \"browser/notification_pres... | 2015-01-02T23:18:24 |
huggingface/transformers | 458e0b376ce92aad3217610762802f0b5a704205 | ea013348737fbd0efdefa38f9cad30443a810fd3 | Update bamba model card (#38853)
* Update bamba model card
* Update the doc for bamba
* Update docs/source/en/model_doc/bamba.md
Bamba paragraph
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* Update docs/source/en/model_doc/bamba.md
Bamba collection url
Co-authored-by: Steven Liu ... | [
{
"path": "docs/source/en/model_doc/bamba.md",
"patch": "@@ -14,84 +14,127 @@ rendered properly in your Markdown viewer.\n \n -->\n \n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ <img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo... | 2025-06-18T23:01:25 |
vercel/next.js | e3ed2f27e12f9197cb28b89f7b177b5ab33e842e | 0d7f7653e81a4f2aa16be7ead286e09b22761f52 | Add editor links to module import traces (#45257)
Makes it possible to open the files in module import traces in your editor by clicking them.
Module not found:

Parse error:
\n if (moduleTrace.length === 0) return ''\n \n- return `\\nImport trace for requested module:\\n${moduleTrace.join(\... | 2023-02-04T00:41:01 |
golang/go | 73162a54c2885d32d40067d2e4fbe26bbe5c7d65 | 80127a7dfe6951fb16d2b67dbe9badb5952e3a2f | [dev.typeparams] cmd/compile: remove outdate TODO in escape analysis
We now understand the root cause of #47227, it will be fixed in #47317.
Change-Id: Ifcd44f887a0bd3195818df33e409bd3e818e0b27
Reviewed-on: https://go-review.googlesource.com/c/go/+/336610
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: C... | [
{
"path": "src/cmd/compile/internal/escape/call.go",
"patch": "@@ -320,8 +320,6 @@ func (e *escape) rewriteArgument(argp *ir.Node, init *ir.Nodes, call ir.Node, fn\n \t\t\treturn\n \t\tcase ir.ONAME:\n \t\t\tif arg.(*ir.Name).Class == ir.PFUNC {\n-\t\t\t\t// TODO(cuonglm): figure it why this is necessary, w... | 2021-07-22T17:24:50 |
huggingface/transformers | ea013348737fbd0efdefa38f9cad30443a810fd3 | b922b22ec2e458978dbd89038ad4b47885b34195 | [video processor] fix slow tests (#38881)
* we need to check against mapping to be safe
* need to check only when inferring from image type, otherwise messes custom code
---------
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/auto/video_processing_auto.py",
"patch": "@@ -311,7 +311,12 @@ def from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs):\n if video_processor_class is None and video_processor_auto_map is None:\n image_processor_class = config_dict.pop... | 2025-06-18T20:39:56 |
rust-lang/rust | b7f2cd3a2b1606934018cc64bac52bb887ea892a | 414482f6a0d4e7290f614300581a0b55442552a3 | deduplicate abort implementations
Currently, the code for process aborts is duplicated across `panic_abort` and `std`. This PR uses `#[rustc_std_internal_symbol]` to make the `std` implementation available to `panic_abort` via the linker, thereby deduplicating the code. | [
{
"path": "library/Cargo.lock",
"patch": "@@ -196,7 +196,6 @@ name = \"panic_abort\"\n version = \"0.0.0\"\n dependencies = [\n \"alloc\",\n- \"cfg-if\",\n \"compiler_builtins\",\n \"core\",\n \"libc\",",
"additions": 0,
"deletions": 1,
"language": "Unknown"
},
{
"path": "library/pan... | 2025-03-29T11:16:49 |
golang/go | fca3e5c4452e8dac6c7ae028dcccc323e1d57ed5 | 5ba06495c1ab2c0e7f6e25260d1f92b5008c380e | [dev.typeparams] cmd/compile: fix missing condition in usemethod
CL 330670 simplified usemethod, but dropped the previous condition to
ensure the function have 1 or 2 result. This CL restore that condition,
and also add a test for it.
Change-Id: I434e3736785b43ceea0b386d8d9d01ad78a4ccd2
Reviewed-on: https://go-review... | [
{
"path": "src/cmd/compile/internal/walk/expr.go",
"patch": "@@ -957,7 +957,14 @@ func usemethod(n *ir.CallExpr) {\n \tif t.NumParams() != 1 || t.Params().Field(0).Type.Kind() != pKind {\n \t\treturn\n \t}\n-\tif t.NumResults() == 2 && t.Results().Field(1).Type.Kind() != types.TBOOL {\n+\tswitch t.NumResult... | 2021-07-22T16:54:19 |
vercel/next.js | 0d7f7653e81a4f2aa16be7ead286e09b22761f52 | eedceaf42ce915762e3d34d0a613d233496a786b | Avoid overwriting pre-existing VSCode settings (#45311)
## Bug
- [x] Fixes #42419
---
This PR checks to see if the VSCode setting for `typescript.tsdk` has already been set, and avoids overwriting if so. This is needed for Yarn Berry PNP (and likely other uses) that do not use `./node_modules/typescript/lib` as t... | [
{
"path": "packages/next/src/lib/typescript/writeVscodeConfigurations.ts",
"patch": "@@ -12,27 +12,28 @@ export async function writeVscodeConfigurations(\n try {\n const vscodeSettings = path.join(baseDir, '.vscode', 'settings.json')\n let settings: any = {}\n- let configExisted = false\n+ l... | 2023-02-03T20:13:57 |
electron/electron | 44b932f90b5920c49d70230953edeb539b383721 | c5411c329186de81a519b1d50a79fcd5e686903a | fix typo in atom.gyp
use product_name instead of project_name when creating framework symlinks; fixes build on MacOS | [
{
"path": "atom.gyp",
"patch": "@@ -850,7 +850,7 @@\n 'postbuild_name': 'Add symlinks for framework subdirectories',\n 'action': [\n 'tools/mac/create-framework-subdir-symlinks.sh',\n- '<(project_name) Framework',\n+ '<(product_name) ... | 2015-01-01T15:51:59 |
huggingface/transformers | b922b22ec2e458978dbd89038ad4b47885b34195 | c27f628e98744f156e653d7eeab3afe018cd14b0 | 36978 | Fast image processor for DPT model (#37481)
* chore: ran codegen script
* test: test_image_processor_properties
* test: test_image_processor_from_dict_with_kwargs
* test: wip - test_padding
* test: test_padding
* test: test_keep_aspect_ratio
* wip
* test
* test: wip
* test: wip
* test: test_call_segm... | [
{
"path": "docs/source/en/model_doc/dpt.md",
"patch": "@@ -78,7 +78,13 @@ If you're interested in submitting a resource to be included here, please feel f\n \n [[autodoc]] DPTImageProcessor\n - preprocess\n+\n+## DPTImageProcessorFast\n+\n+[[autodoc]] DPTImageProcessorFast\n+ - preprocess\n - pos... | 2025-06-18T17:33:29 |
golang/go | fdb45acd1f062884c77ea6961fb638e004af1b8e | 3e48c0381fd1beb78e993e940c3b46ca9898ce6d | runtime: move mem profile sampling into m-acquired section
It was not safe to do mcache profiling updates outside the critical
section, but we got lucky because the runtime was not preemptible.
Adding chunked memory clearing (CL 270943) created preemption
opportunities, which led to corruption of runtime data structur... | [
{
"path": "src/runtime/malloc.go",
"patch": "@@ -1135,13 +1135,21 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {\n \t\tmsanmalloc(x, size)\n \t}\n \n+\tif rate := MemProfileRate; rate > 0 {\n+\t\t// Note cache c only valid while m acquired; see #47302\n+\t\tif rate != 1 && size <... | 2021-07-21T22:38:05 |
vercel/next.js | aa3422a56f11f95d7827a7f6caee879bf747ad37 | bb0977cf771b338fcd8358479bc681b970dd7f69 | always allow to close the error overlay (vercel/turbo#3624)
It's difficult to test an app, if a single error blocks using the whole
page.
Therefore, error overlay should always be closeable. | [
{
"path": "packages/next-swc/crates/next-core/js/src/overlay/internal/container/Errors.tsx",
"patch": "@@ -182,7 +182,10 @@ export function Errors({ issues, errors }: ErrorsProps) {\n const hasServerError = readyErrors.some((err) =>\n [\"server\", \"edge-server\"].includes(getErrorSource(err.error) ||... | 2023-02-03T18:10:47 |
nodejs/node | 401dac324c5e7b24d3e6663d29589b11562c5b12 | 882e0225d5855a17dafa10820bf1a0b833df8dac | test: fix errors in test-buffer-alloc.js
This fixes test code that was mistaken landed by me this morning. (Code
& Learn rush gone bad.) Sorry. Please fast track.
PR-URL: https://github.com/nodejs/node/pull/23645
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@... | [
{
"path": "test/parallel/test-buffer-alloc.js",
"patch": "@@ -79,6 +79,11 @@ const outOfBoundsError = {\n type: RangeError\n };\n \n+const outOfRangeError = {\n+ code: 'ERR_OUT_OF_RANGE',\n+ type: RangeError\n+};\n+\n // try to write a 0-length string beyond the end of b\n common.expectsError(() => b.wr... | 2018-10-13T20:07:21 |
rust-lang/rust | 734a5b1aa7888db3d86faffea1a15254022d68c9 | 414482f6a0d4e7290f614300581a0b55442552a3 | Revert "Fix linking statics on Arm64EC #140176"
Unfortunately, multiple people are reporting linker warnings related to
`__rust_no_alloc_shim_is_unstable` after this change. The solution isn't
quite clear yet, let's revert to green for now, and try a reland with a
determined solution for `__rust_no_alloc_shim_is_unsta... | [
{
"path": "compiler/rustc_codegen_llvm/src/consts.rs",
"patch": "@@ -364,12 +364,7 @@ impl<'ll> CodegenCx<'ll, '_> {\n \n if !def_id.is_local() {\n let needs_dll_storage_attr = self.use_dll_storage_attrs\n- // If the symbol is a foreign item, then don't automatically apply... | 2025-05-15T08:51:32 |
huggingface/transformers | c55d8063557d4cfa6a15df44bdb2f29c7de51247 | 9cd7570f34fdb833ed874b2eba4d4ea3ae9ccb03 | [bugfix] fix ATTN_MASK_NPU device mismatch error on multi-device NPU … (#38876)
[bugfix] fix ATTN_MASK_NPU device mismatch error on multi-device NPU setups | [
{
"path": "src/transformers/integrations/npu_flash_attention.py",
"patch": "@@ -38,7 +38,14 @@\n \"or 3 (down-right aligned causal mask).\"\n )\n \n-ATTN_MASK_NPU = None\n+ATTN_MASK_NPU_CACHE = {}\n+\n+\n+def get_attn_mask_npu(device):\n+ \"\"\"Get or create attention mask for the specified d... | 2025-06-18T16:26:22 |
vercel/next.js | fc90e427911fd19cbbcc0811c362724372882830 | 354bc46dc66cf56ab6b3e657b00637a91367bf4b | always allow to close the error overlay (vercel/turbo#3624)
It's difficult to test an app, if a single error blocks using the whole
page.
Therefore, error overlay should always be closeable. | [
{
"path": "crates/next-core/js/src/overlay/internal/container/Errors.tsx",
"patch": "@@ -182,7 +182,10 @@ export function Errors({ issues, errors }: ErrorsProps) {\n const hasServerError = readyErrors.some((err) =>\n [\"server\", \"edge-server\"].includes(getErrorSource(err.error) || \"\")\n );\n- ... | 2023-02-03T18:10:47 |
golang/go | 61f69d2559a1177c23dea06343a4784514e8dd85 | 8e9109e95a8c4be92ba018a1353104706acf8466 | [dev.typeparams] go/types: merge instance and Named to eliminate sanitization
Storing temporary syntactic information using an *instance type forces
us to be careful not to leak references to *instance in the checker
output. This is complex and error prone, as types are written in many
places during type checking.
In... | [
{
"path": "src/go/types/check.go",
"patch": "@@ -273,10 +273,6 @@ func (check *Checker) checkFiles(files []*ast.File) (err error) {\n \n \tcheck.recordUntyped()\n \n-\tif check.Info != nil {\n-\t\tsanitizeInfo(check.Info)\n-\t}\n-\n \tcheck.pkg.complete = true\n \n \t// no longer needed - release memory",
... | 2021-07-19T17:11:50 |
nodejs/node | c23d2505b3530e35a7cf2284775c74ac3056a100 | 8691d8f5426517d3a17ec1a9532dc43d68ae38d4 | test: fix incorrect expectation order
test-http-expect-handling.js has an instance of the test value and the
expected value being reversed.
Refs: https://nodejs.org/api/assert.html
PR-URL: https://github.com/nodejs/node/pull/23466
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@i... | [
{
"path": "test/parallel/test-http-expect-handling.js",
"patch": "@@ -51,5 +51,5 @@ function nextTest() {\n \n \n process.on('exit', function() {\n- assert.strictEqual(2, testsComplete);\n+ assert.strictEqual(testsComplete, 2);\n });",
"additions": 1,
"deletions": 1,
"language": "JavaScript"
... | 2018-10-12T16:33:32 |
huggingface/transformers | 9cd7570f34fdb833ed874b2eba4d4ea3ae9ccb03 | 1fc67a25c6d6080467fae4f35efcefe5f13b7409 | Fix loop var naming (#38885) | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -380,10 +380,10 @@ def find_tensor_attributes(module: nn.Module) -> list[tuple[str, Tensor]]:\n \n gen = parameter._named_members(get_members_fn=find_tensor_attributes)\n last_tuple = None\n- for tuple in gen:\n- last_tuple = tup... | 2025-06-18T13:45:01 |
rust-lang/rust | 6a35b51860ecf1b9ecbbe6d02579dcd53291e006 | 6a44ce5ec5dc4be8569b247f85f8845e0cf012cc | fix: ide-assists, generate mut trait impl indent | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_mut_trait_impl.rs",
"patch": "@@ -1,7 +1,7 @@\n use ide_db::famous_defs::FamousDefs;\n use syntax::{\n AstNode,\n- ast::{self, make},\n+ ast::{self, edit_in_place::Indent, make},\n ted,\n };\n \n@@ -46,6 +46,7 @@ use c... | 2025-05-14T15:02:32 |
electron/electron | 5b312e8f64c0a96b8b71d226cabaf3e581996b28 | 8506725b5449aff252fceeb5d36de75cb3395a23 | mac: Fix a crash when closing window | [
{
"path": "atom/browser/native_window_mac.mm",
"patch": "@@ -296,9 +296,7 @@ - (void)drawRect:(NSRect)dirtyRect {\n width,\n height);\n \n- AtomNSWindow* atomWindow;\n-\n- atomWindow = [[AtomNSWindow alloc]\n+ AtomNSWindow* atomWindow = [[AtomNSWindow alloc]\n initWithContentRect:cocoa_... | 2014-12-23T20:31:27 |
nodejs/node | 657ee7b0251234c11ddeb629936612f70bfbdb02 | 767d4daeedfa1f336a9c652e13c154a55dcf92cd | test: fix incorrect ordering of args in assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/23461
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.co... | [
{
"path": "test/parallel/test-http-upgrade-server2.js",
"patch": "@@ -36,7 +36,7 @@ server.on('upgrade', function(req, socket, upgradeHead) {\n });\n \n process.on('uncaughtException', common.mustCall(function(e) {\n- assert.strictEqual('upgrade error', e.message);\n+ assert.strictEqual(e.message, 'upgrad... | 2018-10-12T16:32:00 |
vercel/next.js | eedceaf42ce915762e3d34d0a613d233496a786b | 2416ea4f04180fd9e8dae0f9e66b9f1e2dc4c005 | Refactor navigateReducer to handle mutable consistently (#45555
Creates a separate handleMutable function that ensures the initial call
and the second call are the same.
This only changes navigateReducer right now but I'll reuse the same
handling for serverPatch and refresh too when this lands.
Additionally foun... | [
{
"path": "packages/next/src/client/components/app-router.tsx",
"patch": "@@ -194,6 +194,7 @@ function Router({\n type: ACTION_NAVIGATE,\n url,\n isExternalUrl: isExternalURL(url),\n+ locationSearch: location.search,\n forceOptimisticNavigation,\n navigateType,... | 2023-02-03T17:50:54 |
golang/go | 8e9109e95a8c4be92ba018a1353104706acf8466 | ee20dff27debb738ca3a89a7a30113771c1c078f | [dev.typeparams] Fix problem with 14.go
Removed a case in transformCall() where we were setting a type on n,
which isn't needed, since noder2 already set the type of n. More
importantly, we are losing information, since the type of the results
may be a shape type, but the actual type of call is the known type
from typ... | [
{
"path": "src/cmd/compile/internal/ir/expr.go",
"patch": "@@ -349,6 +349,14 @@ func (n *InlinedCallExpr) SingleResult() Node {\n \tif have := len(n.ReturnVars); have != 1 {\n \t\tbase.FatalfAt(n.Pos(), \"inlined call has %v results, expected 1\", have)\n \t}\n+\tif !n.Type().HasShape() && n.ReturnVars[0].T... | 2021-07-19T19:41:30 |
rust-lang/rust | f6e95a5b23d99081765ff746e18c34c8aaec7b68 | 40bead02a528980645dda94a63b16526f9d2ffc3 | Fix false positive of `useless_conversion` when using `into_iter()` | [
{
"path": "clippy_lints/src/useless_conversion.rs",
"patch": "@@ -7,7 +7,7 @@ use clippy_utils::{\n };\n use rustc_errors::Applicability;\n use rustc_hir::def_id::DefId;\n-use rustc_hir::{BindingMode, Expr, ExprKind, HirId, MatchSource, Node, PatKind};\n+use rustc_hir::{BindingMode, Expr, ExprKind, HirId, M... | 2025-05-14T17:10:25 |
electron/electron | 70225009afa59c8f765e16032e6e3efc8bdf00ec | 80bea0766e81db29b36d8f8b0e9db3c2b17dd52a | Fix bootstrap.py on posix platform | [
{
"path": "script/bootstrap.py",
"patch": "@@ -100,7 +100,11 @@ def create_chrome_version_h():\n version = f.read()\n with open(template_file, 'r') as f:\n template = f.read()\n- with open(target_file, 'wb+') as f:\n+ if sys.platform in ['win32', 'cygwin']:\n+ open_mode = 'wb+'\n+ else:\n+ ... | 2014-12-22T01:39:59 |
huggingface/transformers | 1fc67a25c6d6080467fae4f35efcefe5f13b7409 | 12d4c5b66f7ff2765bacfeee214e7504671824bf | More PYUP fixes (#38883)
More pyup fixes
Signed-off-by: cyy <cyyever@outlook.com> | [
{
"path": "src/transformers/generation/candidate_generator.py",
"patch": "@@ -710,8 +710,8 @@ def __init__(\n assistant_model: Optional[\"PreTrainedModel\"] = None,\n assistant_prune_lm_head: bool = False,\n ):\n- self._target_tokenizer: \"PreTrainedTokenizerBase\" = target_tokeni... | 2025-06-18T13:38:08 |
nodejs/node | a2392704b2987073a2c918f349e91e7c5ecaed7c | 84b21eb377531ecdc78d4f84309edc13e5beb595 | test: fix assert.strictEqual argument order
PR-URL: https://github.com/nodejs/node/pull/23457
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | [
{
"path": "test/parallel/test-vm-new-script-new-context.js",
"patch": "@@ -30,8 +30,8 @@ const Script = require('vm').Script;\n const script = new Script('\\'passed\\';');\n const result1 = script.runInNewContext();\n const result2 = script.runInNewContext();\n- assert.strictEqual('passed', result1);... | 2018-10-12T16:30:12 |
vercel/next.js | bb0977cf771b338fcd8358479bc681b970dd7f69 | 0851ce9885345d4fd7de257f2b7b5511b468f46b | initial work for compile-time evaluation (vercel/turbo#3495)
Allows to skip unreachable code based on compile-time constant
conditions
e. g.
```
if (!process.turbopack) {
require("will-not-be-processed");
}
```
* add if() and process.turbopack fixes WEB-491
* Removes unreachable code fixes WEB-498
* ... | [
{
"path": "packages/next-swc/crates/next-dev-tests/tests/integration/turbopack/basic/comptime/input/index.js",
"patch": "@@ -0,0 +1,82 @@\n+it(\"importing a not existing file should throw\", () => {\n+ // This is a check to make sure that the following tests would fail if they require(\"fail\")\n+ expect(... | 2023-02-03T16:34:17 |
golang/go | 4e6836e82c981af7c041474f139b3de03906c3b0 | dcc8350ad304714824cc8e5b8a00105dabb61c54 | [dev.typeparams] Fix the types of the OFUNCINST nodes in noder2
types2 doesn't actually give us the type of an instantiated
function/method after the type args have been applied. So, do a
substitution at the point that we create the OFUNCINST nodes.
We also needed to add in translation of the typeparams of a function... | [
{
"path": "src/cmd/compile/internal/noder/expr.go",
"patch": "@@ -80,7 +80,7 @@ func (g *irgen) expr(expr syntax.Expr) ir.Node {\n \tif n.Typecheck() != 1 && n.Typecheck() != 3 {\n \t\tbase.FatalfAt(g.pos(expr), \"missed typecheck: %+v\", n)\n \t}\n-\tif !g.match(n.Type(), typ, tv.HasOk()) {\n+\tif n.Op() !... | 2021-07-21T02:18:15 |
rust-lang/rust | 8f0522dc811b7132c3bd2b2bc5c134a869824cf3 | ac9ac0e0f36dcd7f8a8f0405cd003585fe4e4426 | Fix confusing WTF surrogate safety docs | [
{
"path": "library/std/src/ffi/os_str.rs",
"patch": "@@ -594,9 +594,9 @@ impl OsString {\n /// The slice must be valid for the platform encoding (as described in\n /// [`OsStr::from_encoded_bytes_unchecked`]).\n ///\n- /// This bypasses the encoding-dependent surrogate joining, so `self` must... | 2025-05-12T08:49:36 |
huggingface/transformers | 3620b32cc853593abb629f0e680d79125e6ece4a | cb0f60419231ebec83b9ced356bb47a74a4009ea | Fixed markdown for BertTokenizer's '[CLS]' token. (#38506) | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -911,7 +911,7 @@ def add_special_tokens(\n makes it easy to develop model-agnostic training and fine-tuning scripts.\n \n When possible, special tokens are already registered for provided pretrained models (for instance\... | 2025-06-18T13:09:58 |
electron/electron | 54933f992af05ea3ac1edbb11e5873b9327a946e | c0bf2facca6147f678e51e51d93e449f4bfffb50 | Upgrade libchromiumcontent to fix icu symbols | [
{
"path": "script/lib/config.py",
"patch": "@@ -4,7 +4,7 @@\n import sys\n \n BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eba0cd17361ee0997c'\n+LIBCHROMIUMCONTENT_COMMIT = '55efd338101e08691560192b2be0f9c3b1b0eb72'\n \n AR... | 2014-12-22T00:27:56 |
nodejs/node | 0005846f033ae9866a6bc5dbbe7f73c6aeb67185 | c301518a456f36382a73ed9e36816061107b2444 | test: replace assert.throws w/ common.expectsError
Converts RangeError assertions to use common.expectsError and includes
an assertion for the error code.
PR-URL: https://github.com/nodejs/node/pull/23454
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ann... | [
{
"path": "test/parallel/test-buffer-alloc.js",
"patch": "@@ -74,41 +74,22 @@ new Buffer('', 'latin1');\n new Buffer('', 'binary');\n Buffer(0);\n \n+const outOfBoundsError = {\n+ code: 'ERR_BUFFER_OUT_OF_BOUNDS',\n+ type: RangeError\n+};\n+\n // try to write a 0-length string beyond the end of b\n-common... | 2018-10-12T16:33:37 |
golang/go | dcc8350ad304714824cc8e5b8a00105dabb61c54 | f19e49e7b185472b8ff919285e740cc198596497 | [dev.typeparams] cmd/compile: handle ++/-- in noder2 for operands with generic type
types2 will have already proved the expression's type is compatible, so
just assign the one const to have the same type as the operand.
Fixes #47258.
Change-Id: If0844e6bf6d0a5e6b11453b87df71353863ccc5d
Reviewed-on: https://go-review... | [
{
"path": "src/cmd/compile/internal/noder/helpers.go",
"patch": "@@ -337,5 +337,15 @@ var one = constant.MakeInt64(1)\n \n func IncDec(pos src.XPos, op ir.Op, x ir.Node) *ir.AssignOpStmt {\n \tassert(x.Type() != nil)\n-\treturn ir.NewAssignOpStmt(pos, op, x, typecheck.DefaultLit(ir.NewBasicLit(pos, one), x.... | 2021-07-19T05:10:13 |
rust-lang/rust | 4ec219393a48eff84c8c08b854d50a454b8f422c | 40bead02a528980645dda94a63b16526f9d2ffc3 | Fix size computation when element is a slice
In this case, a dereference is needed before using `mem::size_of_val()`. | [
{
"path": "clippy_lints/src/manual_slice_size_calculation.rs",
"patch": "@@ -49,7 +49,11 @@ impl<'tcx> LateLintPass<'tcx> for ManualSliceSizeCalculation {\n {\n let ctxt = expr.span.ctxt();\n let mut app = Applicability::MachineApplicable;\n- let deref = \"*\".repe... | 2025-05-14T21:17:56 |
huggingface/transformers | cb0f60419231ebec83b9ced356bb47a74a4009ea | c77bcd889fa0cf3dc7ee3a21c99dc3c2871cc9ad | Fix HQQ model param device transfer issue (#38466)
* Fix HQQ model param device transfer issue
* modify a comment
* clear the code and add test for hqq device/dtype
* fix test hqq code quality of imports
---------
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3897,7 +3897,20 @@ def get_memory_footprint(self, return_buffers=True):\n @wraps(torch.nn.Module.cuda)\n def cuda(self, *args, **kwargs):\n if getattr(self, \"quantization_method\", None) == QuantizationMethod.HQQ:\n- r... | 2025-06-18T13:09:00 |
electron/electron | 6cdc8e4b96bf2d900f43fbf9786cc07794ebd944 | 598060dfd8698d1e76f075332a1178530b3e7bc3 | Small style fixes | [
{
"path": "atom/browser/api/atom_api_window.cc",
"patch": "@@ -498,8 +498,8 @@ void Window::BuildPrototype(v8::Isolate* isolate,\n .SetMethod(\"setMenuBarVisibility\", &Window::SetMenuBarVisibility)\n .SetMethod(\"isMenuBarVisible\", &Window::IsMenuBarVisible)\n #if defined(OS_MACOSX)\n- .S... | 2014-12-19T20:48:53 |
nodejs/node | dee9d27923ecb4b9cc8aaa0e233d712d802c2d0c | 478fe0aaff48c6dcbb586e2f82ea3a5499250985 | test: fix http local address test assertion
Reverse the argument for assertion. The first argument should be the
actual value and the second value should be the expected value. When
there is an AssertionError, the expected and actual value will be
labeled correctly.
PR-URL: https://github.com/nodejs/node/pull/23451
R... | [
{
"path": "test/parallel/test-http-localaddress.js",
"patch": "@@ -30,7 +30,7 @@ const assert = require('assert');\n \n const server = http.createServer(function(req, res) {\n console.log(`Connect from: ${req.connection.remoteAddress}`);\n- assert.strictEqual('127.0.0.2', req.connection.remoteAddress);\n... | 2018-10-12T16:05:57 |
golang/go | f19e49e7b185472b8ff919285e740cc198596497 | e6a2cf233f736e6852b64b53d66dbda21c2e062d | [dev.typeparams] cmd/compile: added a builtins.go test, fixed one bug
The builtins.go test is derived from
cmd/compile/internal/types2/testdata/check/builtins.go2, after removing
the error cases. Added a few extra tests for len/cap/append.
Fixed one bug, which is that DELETE operations can't be transformed if
their ... | [
{
"path": "src/cmd/compile/internal/noder/helpers.go",
"patch": "@@ -126,22 +126,17 @@ func Call(pos src.XPos, typ *types.Type, fun ir.Node, args []ir.Node, dots bool)\n \t}\n \n \tif fun, ok := fun.(*ir.Name); ok && fun.BuiltinOp != 0 {\n-\t\t// For Builtin ops, we currently stay with using the old\n-\t\t/... | 2021-07-20T16:37:35 |
vercel/next.js | 354bc46dc66cf56ab6b3e657b00637a91367bf4b | 06728a60376d75517c0721455906a5228356a7bb | initial work for compile-time evaluation (vercel/turbo#3495)
Allows to skip unreachable code based on compile-time constant
conditions
e. g.
```
if (!process.turbopack) {
require("will-not-be-processed");
}
```
* add if() and process.turbopack fixes WEB-491
* Removes unreachable code fixes WEB-498
* ... | [
{
"path": "crates/next-dev-tests/tests/integration/turbopack/basic/comptime/input/index.js",
"patch": "@@ -0,0 +1,82 @@\n+it(\"importing a not existing file should throw\", () => {\n+ // This is a check to make sure that the following tests would fail if they require(\"fail\")\n+ expect(() => {\n+ requ... | 2023-02-03T16:34:17 |
huggingface/transformers | c77bcd889fa0cf3dc7ee3a21c99dc3c2871cc9ad | 5a95ed5ca0826c867e35e52f698db4d8fc907bcb | Fix `qwen3_moe` tests (#38865)
* try 1
* try 2
* try 3
* try 4
* try 5
* try 6
* try 7
* try 8
* try 9
* try 10
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/aya_vision/test_modeling_aya_vision.py",
"patch": "@@ -338,7 +338,7 @@ def setUpClass(cls):\n \n @classmethod\n def tearDownClass(cls):\n- del cls.model_checkpoint\n+ del cls.model\n cleanup(torch_device, gc_collect=True)\n \n def tearDown(self):",
... | 2025-06-18T12:36:03 |
electron/electron | 47d7a355f25c089cb36478efce21c16319d2c8f9 | a1ae399d10927d4cb05ba51976304fcbb3843f17 | Make file dialogs work in <webview>, fixes #930 | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -5,6 +5,9 @@\n #include \"atom/browser/api/atom_api_web_contents.h\"\n \n #include \"atom/browser/atom_browser_context.h\"\n+#include \"atom/browser/native_window.h\"\n+#include \"atom/browser/web_dialog_helper.h\"\n+#include \"atom/browser... | 2014-12-18T20:58:17 |
nodejs/node | 478fe0aaff48c6dcbb586e2f82ea3a5499250985 | f0c5c962ce971213c0c055b91bb747860defd492 | test: fix order of values in test assertions
Have actual first, expected second.
PR-URL: https://github.com/nodejs/node/pull/23450
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.co... | [
{
"path": "test/parallel/test-http-server.js",
"patch": "@@ -37,23 +37,23 @@ const server = http.createServer(function(req, res) {\n req.id = request_number++;\n \n if (req.id === 0) {\n- assert.strictEqual('GET', req.method);\n- assert.strictEqual('/hello', url.parse(req.url).pathname);\n- ass... | 2018-10-12T16:17:17 |
golang/go | e6a2cf233f736e6852b64b53d66dbda21c2e062d | 4a97fe8c2298ae879904d3cf304ca29500abf169 | [dev.typeparams] cmd/compile: get runtime stuff working
Remaining stuff from Dan's CL 335412 to get tests passing.
- Removed PTRLIT case in node() that was added with the gcshape change.
I don't think it is needed anymore.
- Modified (*itab).init() to add an irrelevant pointer (the itab
itself) for the '==' ... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1394,11 +1394,6 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\t// TODO: need to modify m.X? I don't think any downstream passes use it.\n \t\t\tm.SetType(subst.unshapifyTyp(m.Type()))\n \n-\t\tcase ir.OPTRLIT:\n-\t\t\tm := m.(*... | 2021-07-20T22:02:01 |
vercel/next.js | 2416ea4f04180fd9e8dae0f9e66b9f1e2dc4c005 | 4e2267ff61bcee74c26f16ec7675bf29338af141 | Add unit test for prefetchReducer (#45516)
## 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 reques... | [
{
"path": "packages/next/src/client/components/router-reducer/reducers/navigate-reducer.test.tsx",
"patch": "@@ -234,4 +234,183 @@ describe('navigateReducer', () => {\n \n expect(newState).toMatchObject(expectedState)\n })\n+\n+ it('should apply navigation when called twice (concurrent)', async () =>... | 2023-02-03T15:29:31 |
huggingface/transformers | 5a95ed5ca0826c867e35e52f698db4d8fc907bcb | 309e8c96f2065a02167be7142077ffc49e817c34 | 🚨🚨 Fix initialization of Mask2Former (#38864)
* Correctly fix init
Co-authored-by: BUI Van Tuan <buivantuan07@gmail.com>
* add back the block, breaking BC but this is correct author's code
* override the test for params needing it
---------
Co-authored-by: BUI Van Tuan <buivantuan07@gmail.com> | [
{
"path": "src/transformers/models/mask2former/modeling_mask2former.py",
"patch": "@@ -2127,30 +2127,20 @@ def _init_weights(self, module: nn.Module):\n for p in module.parameters():\n if p.dim() > 1:\n nn.init.xavier_uniform_(p, gain=xavier_std)\n-\n- ... | 2025-06-18T07:46:22 |
electron/electron | a1ae399d10927d4cb05ba51976304fcbb3843f17 | 48b0d85f5477bc8dfb72ef27afb51a068ef22dbb | Make getUserMedia work in <webview>, fixes #845 | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -22,6 +22,7 @@\n #include \"content/public/browser/web_contents.h\"\n #include \"native_mate/dictionary.h\"\n #include \"native_mate/object_template_builder.h\"\n+#include \"vendor/brightray/browser/media/media_stream_devices_controller.h\"... | 2014-12-18T20:02:23 |
nodejs/node | 64d65ed7ac1f31bb65dbcc7a7d0fe4e891297149 | 9f7e3a404096db60438f6dc305b0a5fa4ecddae7 | test: fix `assert.strictEqual` arguments in test/parallel/test-c-ares.js
When using `assert.strictEqual`, the first argument must be the actual
value and the second argument must be the expected value.
PR-URL: https://github.com/nodejs/node/pull/23448
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By:... | [
{
"path": "test/parallel/test-c-ares.js",
"patch": "@@ -46,20 +46,20 @@ const dnsPromises = dns.promises;\n \n dns.lookup(null, common.mustCall((error, result, addressType) => {\n assert.ifError(error);\n- assert.strictEqual(null, result);\n- assert.strictEqual(4, addressType);\n+ assert.strictEqual(re... | 2018-10-12T16:13:42 |
huggingface/transformers | 309e8c96f2065a02167be7142077ffc49e817c34 | 3526e25d3d24d555377e444a2147e0f8ff318403 | Fix `phi4_multimodal` tests (#38816)
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py",
"patch": "@@ -12,7 +12,6 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-import gc\n import tempfile\n import unittest\n \n@@ -31,7 +30,15 @@\n is_torch_available... | 2025-06-18T07:39:17 |
golang/go | 4a97fe8c2298ae879904d3cf304ca29500abf169 | 2fe4b14795fe20fa3ba8efbe92b88f2d564509d2 | [dev.typeparams] cmd/compile: avoid adding incorrectly instantiated types to the dictionary
FUNCINST nodes aren't instantiated correctly. Skip those types when
adding to the set of types considered for the dictionary. Those types
include those which are uninstantiated(have tparams), and those with
type parameters tha... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1836,11 +1836,7 @@ func addType(info *gfInfo, n ir.Node, t *types.Type) {\n \tif t.IsTypeParam() && t.Underlying() == t {\n \t\treturn\n \t}\n-\tif t.Kind() == types.TFUNC && n != nil &&\n-\t\t(n.Op() != ir.ONAME || n.Name().Class == ir.PF... | 2021-07-20T21:52:19 |
vercel/next.js | 4e2267ff61bcee74c26f16ec7675bf29338af141 | f25c73cc92819f08fc6fad459b23736cc477f954 | Add unit test for serverPatchReducer (#45511
Adds additional unit tests.
<!--
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 ... | [
{
"path": "packages/next/src/client/components/router-reducer/reducers/restore-reducer.test.tsx",
"patch": "@@ -0,0 +1,186 @@\n+import React from 'react'\n+import { FlightRouterState } from '../../../../server/app-render'\n+import {\n+ CacheNode,\n+ CacheStates,\n+} from '../../../../shared/lib/app-router... | 2023-02-03T12:45:35 |
huggingface/transformers | 3526e25d3d24d555377e444a2147e0f8ff318403 | d058f81e5bac1a52a7e9acfd30526f7bcbcae40a | enable misc test cases on XPU (#38852)
* enable misc test cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* tweak bamba ground truth on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* remove print
Signed-off-by: YAO Matrix <matrix... | [
{
"path": "src/transformers/training_args.py",
"patch": "@@ -391,7 +391,7 @@ class TrainingArguments:\n installation](https://github.com/intel/intel-extension-for-pytorch).\n bf16 (`bool`, *optional*, defaults to `False`):\n Whether to use bf16 16-bit (mixed) precision traini... | 2025-06-18T07:20:49 |
golang/go | d5f6ba943c4e8f39d1bd20c79f4e9274ad10c103 | 6a931673f0b655e7ca538826af21a54d3f958070 | [dev.typeparams] test: add regression test for go/defer wrapper
CL 330330 moved logic for wrapping go/defer from order to esacpe
analysis. It introduced a bug involves go/defer statement with ABI0
functions.
Consider this following code:
package p
//go:cgo_unsafe_args
func g(*int) (r1 struct{}) {
return
}
f... | [
{
"path": "src/cmd/compile/internal/escape/call.go",
"patch": "@@ -320,6 +320,8 @@ func (e *escape) rewriteArgument(argp *ir.Node, init *ir.Nodes, call ir.Node, fn\n \t\t\treturn\n \t\tcase ir.ONAME:\n \t\t\tif arg.(*ir.Name).Class == ir.PFUNC {\n+\t\t\t\t// TODO(cuonglm): figure it why this is necessary, w... | 2021-07-16T17:15:07 |
vercel/next.js | b28fa1b7b6cd72c8f2f17948d951c40953b36718 | d4cfb74bb5381239aa8472c462d576fb6aacae72 | fix outstanding clippy lints (vercel/turbo#3601)
Two minor issues that clippy complains about.
```
cargo clippy
Blocking waiting for file lock on package cache
warning: using `write!()` with a format string that ends in a single newline
--> crates/turbopack-ecmascript/src/chunk/mod.rs:515:17
|
515 ... | [
{
"path": "crates/turbopack-ecmascript/src/chunk/mod.rs",
"patch": "@@ -512,11 +512,7 @@ impl EcmascriptChunkContentEntryVc {\n issue.as_issue().emit();\n let mut code = CodeBuilder::default();\n code += \"(() => {{\\n\\n\";\n- write!(\n- ... | 2023-02-03T10:22:51 |
nodejs/node | 3ab4146008bcee397bc76dbdf00e43647260218d | 9ed4646df05b9593075bb0cd0b3ab420bae482a5 | deps: cherry-pick b0af309 from upstream V8
Original commit message:
[api] Remove deprecated wasm methods
These methods were deprecated in 7.0, now we can remove them.
R=adamk@chromium.org
Bug: v8:7868
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I60badb378a055152bd... | [
{
"path": "common.gypi",
"patch": "@@ -33,7 +33,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.4',\n+ 'v8_embedder_string': '-node.5',\n \n # Enable disassembler for `--print-code... | 2018-10-10T22:24:08 |
huggingface/transformers | d058f81e5bac1a52a7e9acfd30526f7bcbcae40a | 508a7040556dc6b45f09174c662a9632284b2445 | Post-PR fixes! (#38868)
* Post-PR fixes!
* make fix-copies | [
{
"path": "src/transformers/models/lightglue/convert_lightglue_to_hf.py",
"patch": "@@ -15,7 +15,6 @@\n import gc\n import os\n import re\n-from typing import List\n \n import torch\n from datasets import load_dataset\n@@ -90,7 +89,7 @@ def verify_model_outputs(model, device):\n }\n \n \n-def convert_old_ke... | 2025-06-17T18:58:47 |
golang/go | 6a931673f0b655e7ca538826af21a54d3f958070 | e4994e71fb1809d8ce7df89e471586e05797e171 | [dev.typeparams] cmd/compile: add base.Assertf{,At} functions
We have almost 200 uses of the "assert" helper functions in noder and
typecheck. Clearly the tiny bit of extra convenience of writing a
one-line assertion rather than an if+panic is helpful, so we might as
well add functions for this to base itself so that ... | [
{
"path": "src/cmd/compile/internal/base/print.go",
"patch": "@@ -233,6 +233,27 @@ func FatalfAt(pos src.XPos, format string, args ...interface{}) {\n \tErrorExit()\n }\n \n+// Assert reports \"assertion failed\" with Fatalf, unless b is true.\n+func Assert(b bool) {\n+\tif !b {\n+\t\tFatalf(\"assertion fai... | 2021-07-20T20:28:12 |
vercel/next.js | 06b6aa2fa44bc9bdd990bdca7fa51e2682756caf | dff39acc30d60741f700b46fd849f6dad4f8c5bf | Error when exporting AMP config in app dir (#45228)
Errors in app-render if an exported amp config is found.
Fixes NEXT-223
## 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... | [
{
"path": "packages/next/src/server/app-render.tsx",
"patch": "@@ -1373,6 +1373,12 @@ export async function renderToHTMLOrFlight(\n `The default export of notFound is not a React Component in ${segment}`\n )\n }\n+\n+ if (layoutOrPageMod?.config?.amp) {\n+ throw... | 2023-02-02T23:37:05 |
nodejs/node | 9ed4646df05b9593075bb0cd0b3ab420bae482a5 | c1288fe4320ec1f1e3a29cb7293d2d2faa43d522 | crypto: fix length argument to snprintf()
Introduced in commit d3d6cd3eca ("src: improve SSL version extraction
logic".)
PR-URL: https://github.com/nodejs/node/pull/23622
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -5745,7 +5745,7 @@ std::string GetOpenSSLVersion() {\n const int start = search(OPENSSL_VERSION_TEXT, 0, ' ') + 1;\n const int end = search(OPENSSL_VERSION_TEXT + start, start, ' ') + 1;\n const int len = end - start;\n- snprintf(buf, len, \"%.*s\\n\", len... | 2018-10-12T20:22:06 |
electron/electron | 6d168b89ef8fc9598207ef1d6c3d6e5da91d2596 | 55c8206bdacccf83343427f4ab48d546cfa0340a | Use "http" for download url, fixes #929 | [
{
"path": "script/lib/config.py",
"patch": "@@ -3,7 +3,7 @@\n import platform\n import sys\n \n-BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n+BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n LIBCHROMIUMCONTENT_COMMIT = 'e375124044f9044ac88076eb... | 2014-12-18T00:25:25 |
rust-lang/rust | 6274d461cf3005ff1e22afa77c1a96090f63b40f | 6a44ce5ec5dc4be8569b247f85f8845e0cf012cc | fix: Removing all unused imports removes used imports for imports used for Derive macros
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> | [
{
"path": "src/tools/rust-analyzer/crates/hir/src/lib.rs",
"patch": "@@ -97,7 +97,8 @@ pub use crate::{\n diagnostics::*,\n has_source::HasSource,\n semantics::{\n- PathResolution, Semantics, SemanticsImpl, SemanticsScope, TypeInfo, VisibleTraits,\n+ PathResolution, PathResolutionP... | 2025-05-14T00:59:20 |
vercel/next.js | dff39acc30d60741f700b46fd849f6dad4f8c5bf | 2fe67d0dcce31676deaa14a8ba3709d581e24a91 | fix typo in comment and unused variable remove (#45307)
<!--
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
... | [
{
"path": "bench/recursive-copy/run.js",
"patch": "@@ -12,7 +12,7 @@ const createSrcFolder = async () => {\n \n const files = new Array(100)\n .fill(undefined)\n- .map((x, i) =>\n+ .map((_, i) =>\n join(srcDir, `folder${i % 5}`, `folder${i + (1 % 5)}`, `file${i}`)\n )\n ",
"additio... | 2023-02-02T22:55:23 |
nodejs/node | c1288fe4320ec1f1e3a29cb7293d2d2faa43d522 | 6cd5c7420ac82fe256180b29a1b8ab0b861cc1bc | test: fix parameter order passed to strictEqual
strictEqual() expects the first argument to be the actual value and the
second argument to be the expected value. This fix will correctly label
the AssertionError.:
PR-URL: https://github.com/nodejs/node/pull/23577
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Review... | [
{
"path": "test/sequential/test-inspector-break-e.js",
"patch": "@@ -16,7 +16,7 @@ async function runTests() {\n ]);\n await session.waitForBreakOnLine(2, '[eval]');\n await session.runToCompletion();\n- assert.strictEqual(0, (await instance.expectShutdown()).exitCode);\n+ assert.strictEqual((await ... | 2018-10-12T18:10:26 |
electron/electron | 5142b7858b8351921bda120ab17f402d45b11406 | 64a41b65bb35a61b67a85445041e02e2af6fa4b2 | Upgrade brightray to fix crash in #393 | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit d54838e3f5211e986424f4e82e24f1960b60594a\n+Subproject commit 77e3a33ffd0dff64f6b1cbc59d74796bff9d26f1",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2014-12-17T21:16:06 |
rust-lang/rust | 65117eeda8dd672fe1420538d8cf228ee41e13f7 | 2b9256e1c8454255441983446ca6bb63a6d8a199 | Skip {f32,f64}::mul_add tests on MinGW
Per [1], MinGW has an incorrect fma implementation. This showed up in
tests run with cranelift after adding float math operations to `core`.
Presumably we hadn't noticed this when running tests with LLVM because
LLVM was constant folding the result away.
Rust issue: https://gith... | [
{
"path": "library/core/src/num/f32.rs",
"patch": "@@ -1742,6 +1742,8 @@ pub fn fract(x: f32) -> f32 {\n /// ```\n /// #![feature(core_float_math)]\n ///\n+/// # // FIXME(#140515): mingw has an incorrect fma https://sourceforge.net/p/mingw-w64/bugs/848/\n+/// # #[cfg(all(target_os = \"windows\", target_env ... | 2025-04-30T22:02:24 |
vercel/next.js | 2fe67d0dcce31676deaa14a8ba3709d581e24a91 | bf7fea5b8080cd9164ea7db70181c76d4164cb7b | Improve error when create root layout fails (#45304)
Improves the error that you can get if the creation of the root layout fails for some reason. Not sure there's an easy way to add tests for this case, but there's [tests](https://github.com/vercel/next.js/tree/canary/test/e2e/app-dir/create-root-layout) to verify th... | [
{
"path": "packages/next/src/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -3,7 +3,7 @@ import chalk from 'next/dist/compiled/chalk'\n import type { ValueOf } from '../../../shared/lib/constants'\n import { NODE_RESOLVE_OPTIONS } from '../../webpack-config'\n import { getModuleBuildInfo } from './... | 2023-02-02T22:43:36 |
nodejs/node | 6cd5c7420ac82fe256180b29a1b8ab0b861cc1bc | b2d8ae0a1401ad2730219dbb0da489d63a11d924 | test: adding test coverage for SourceTextModule.evaluate
This checks that invalid option throws an error.
PR-URL: https://github.com/nodejs/node/pull/23595
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By:... | [
{
"path": "test/parallel/test-vm-module-errors.js",
"patch": "@@ -131,6 +131,15 @@ async function checkModuleState() {\n message: 'Module status must be one of instantiated, evaluated, and errored'\n });\n \n+ await expectsRejection(async () => {\n+ const m = new SourceTextModule('');\n+ await ... | 2018-10-12T18:28:54 |
rust-lang/rust | 06da7b31ac227edb12fbf9e3760d2fb42fe7084c | 6a44ce5ec5dc4be8569b247f85f8845e0cf012cc | fixes: ide-assists, generate_new indent loses | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_new.rs",
"patch": "@@ -129,17 +129,23 @@ pub(crate) fn generate_new(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option\n \n // Get the mutable version of the impl to modify\n let impl_def = if let Some(impl_def) =... | 2025-05-12T15:08:54 |
electron/electron | dc86ab58a96298b9fc7b88cf98ec6ae055ce1437 | 779c44424fbd4162263db6d41917d10cdcfd5d43 | Remove DownloadManagerDelegate
Having a partial implemented DownloadManagerDelegate will cause crashes under
certain places. | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -48,8 +48,6 @@\n 'browser/devtools_embedder_message_dispatcher.h',\n 'browser/devtools_ui.cc',\n 'browser/devtools_ui.h',\n- 'browser/download_manager_delegate.cc',\n- 'browser/download_manager_delegate.h',\n 'br... | 2014-12-17T21:13:19 |
golang/go | d568e6e075e6434635268d3caf55963f4e564579 | c8f4e6152d5f0b767a8177b7d09884cf2279d8e6 | runtime/debug: skip TestPanicOnFault on netbsd/arm
This test has been failing since the builder was updated to
NetBSD 9. While the issue is under investigation, skip the test
so that we do not miss other breakage.
Update issue #45026
Change-Id: Id083901c517f3f88e6b4bc2b51208f65170d47a6
Reviewed-on: https://go-review... | [
{
"path": "src/runtime/debug/panic_test.go",
"patch": "@@ -24,6 +24,9 @@ func TestPanicOnFault(t *testing.T) {\n \tif runtime.GOOS == \"ios\" {\n \t\tt.Skip(\"iOS doesn't provide fault addresses\")\n \t}\n+\tif runtime.GOOS == \"netbsd\" && runtime.GOARCH == \"arm\" {\n+\t\tt.Skip(\"netbsd-arm doesn't provi... | 2021-07-20T13:36:08 |
huggingface/transformers | 508a7040556dc6b45f09174c662a9632284b2445 | a396f4324bec03e0329bcd67a58648b95d557599 | No more Tuple, List, Dict (#38797)
* No more Tuple, List, Dict
* make fixup
* More style fixes
* Docstring fixes with regex replacement
* Trigger tests
* Redo fixes after rebase
* Fix copies
* [test all]
* update
* [test all]
* update
* [test all]
* make style after rebase
* Patch the hf_argparser test
*... | [
{
"path": "benchmark/benchmarks_entrypoint.py",
"patch": "@@ -28,7 +28,7 @@ def __init__(\n self.commit_id = commit_id\n self.commit_msg = commit_msg\n \n- def initialise_benchmark(self, metadata: Dict[str, str]) -> int:\n+ def initialise_benchmark(self, metadata: dict[str, str]) -> in... | 2025-06-17T18:37:18 |
vercel/next.js | bf7fea5b8080cd9164ea7db70181c76d4164cb7b | b294073d0fa94f5a91c6d8f29907018ff26e2e65 | Fix image blur cover when `fill` and `blurDataURL` (#44317)
- Fixes #42765
- Fixes #40644 | [
{
"path": "packages/next/src/client/image.tsx",
"patch": "@@ -837,6 +837,7 @@ const Image = forwardRef<HTMLImageElement | null, ImageProps>(\n blurWidth,\n blurHeight,\n blurDataURL,\n+ objectFit: imgStyle.objectFit,\n }\n ... | 2023-02-02T22:04:03 |
rust-lang/rust | 66b2bf150c899de069be288d41db2428ac3bde00 | e98364238c035a432ff26fd3e16ddbbbf46eab10 | Fix link to GatherBorrows | [
{
"path": "src/doc/rustc-dev-guide/src/borrow_check/two_phase_borrows.md",
"patch": "@@ -76,7 +76,7 @@ borrow.\n [`AutoBorrow`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/adjustment/enum.AutoBorrow.html\n [converted]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir... | 2025-05-14T09:36:00 |
nodejs/node | 4d16d1ed344dd0ff91ae421dab64e44335c2e4e2 | 627bcf7f275e266d8ec5c42bcedd68c188444ead | zlib: generate error code names in C++
This makes it easier to implement the lookup in a way that targets
error codes from a specific compression library, as a way towards
supporting multiple ones (e.g. brotli).
PR-URL: https://github.com/nodejs/node/pull/23413
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By... | [
{
"path": "lib/zlib.js",
"patch": "@@ -143,7 +143,7 @@ function zlibBufferSync(engine, buffer) {\n return buffer;\n }\n \n-function zlibOnError(message, errno) {\n+function zlibOnError(message, errno, code) {\n var self = this[owner_symbol];\n // there is no way to cleanly recover.\n // continuing o... | 2018-10-07T00:26:02 |
electron/electron | 4fc14959a87c4ce1da915d6f09ef497f101c9e71 | 95dd73bd1ddf5ccabc18b3e7f7f75f0af95af6b7 | Allow same object to appear in one list when parsing V8 array
Fixes #874. | [
{
"path": "atom/common/native_mate_converters/v8_value_converter.cc",
"patch": "@@ -294,7 +294,10 @@ base::Value* V8ValueConverter::FromV8Array(\n if (!val->HasRealIndexedProperty(i))\n continue;\n \n- base::Value* child = FromV8ValueImpl(state, child_v8, isolate);\n+ // When parsing element... | 2014-12-17T00:57:42 |
golang/go | ab361499ef7fc7079c78b566f9ff7d68c267b430 | aa4da4f189e3418566d71e9d75823d8642c39d93 | [dev.cmdgo] cmd/go/testdata/script: fix a small typo in modfile_flag
Change-Id: Id854869e581645dad7a250d40b150ebaf541c043
Reviewed-on: https://go-review.googlesource.com/c/go/+/334931
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
R... | [
{
"path": "src/cmd/go/testdata/script/modfile_flag.txt",
"patch": "@@ -73,7 +73,7 @@ cmp go.mod go.mod.orig\n cmp go.sum go.sum.orig\n \n \n-# If the altnernate mod file does not have a \".mod\" suffix, an error\n+# If the alternate mod file does not have a \".mod\" suffix, an error\n # should be reported.\... | 2021-07-07T23:41:02 |
huggingface/transformers | a396f4324bec03e0329bcd67a58648b95d557599 | 3ae52cc312e0aa737d40887ec5c1356609883c59 | Update roc bert docs (#38835)
* Moved the sources to the right
* small Changes
* Some Changes to moonshine
* Added the install to pipline
* updated the monshine model card
* Update docs/source/en/model_doc/moonshine.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* Update docs/source/... | [
{
"path": "docs/source/en/model_doc/roc_bert.md",
"patch": "@@ -14,39 +14,78 @@ rendered properly in your Markdown viewer.\n \n -->\n \n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ <img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&l... | 2025-06-17T18:02:18 |
rust-lang/rust | f38d6d0a8fdeee797a6e32a04bd0895bc4f7b322 | 44af0a8b6c7be8bc9411ec8539729cf94f2b1a20 | Fix for xsave test on Intel SDE | [
{
"path": ".github/workflows/stdarch.yml",
"patch": "@@ -102,7 +102,7 @@ jobs:\n run: |\n # FIXME: these tests fail when the sysroot is compiled with LTO because of a missing symbol in proc-macro.\n # TODO: remove --skip test_tile_ when it's implemented.\n- STDARCH_TEST_EVERYTHI... | 2025-05-14T08:59:02 |
vercel/next.js | b294073d0fa94f5a91c6d8f29907018ff26e2e65 | 3fa4798831dcc221bb56b853dc877946421a94a0 | Add more JSDoc to metadata interface (#45526)
Over time we need to add that to all types with example values and what
does the tag looks like as a result.
Co-authored with some AI.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attach... | [
{
"path": "packages/next/src/lib/metadata/types/metadata-interface.ts",
"patch": "@@ -29,39 +29,110 @@ import type {\n import type { OpenGraph, ResolvedOpenGraph } from './opengraph-types'\n import type { ResolvedTwitterMetadata, Twitter } from './twitter-types'\n \n-export interface Metadata {\n- // origi... | 2023-02-02T21:10:28 |
nodejs/node | 0ea804aae58568d6bf18e4eee7976ccccdbe6704 | 63a6352aaf06b41db6a3d6d127b410845cd02d63 | test: improve test-gc-http-client-onerror
* refactor out usage of 'function' for scoping
* inline runTest function
PR-URL: https://github.com/nodejs/node/pull/23196
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/sequential/test-gc-http-client-onerror.js",
"patch": "@@ -3,7 +3,7 @@\n // just like test-gc-http-client.js,\n // but with an on('error') handler that does nothing.\n \n-require('../common');\n+const common = require('../common');\n const onGC = require('../common/ongc');\n \n function serve... | 2018-10-01T12:29:08 |
golang/go | 2a0825d01f2cd68f5d82b3335f943bcf6f565f09 | 3e06338c5ddb6cfd639015ba24655f9c9df87ef7 | [dev.fuzz] internal/fuzz: avoid marshaling input before calling fuzz function
Previously, before each call to the fuzz function, the worker process
marshalled the mutated input into shared memory. If the worker process
terminates unexpectedly, it's important that the coordinator can find
the crashing input in shared m... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt",
"patch": "@@ -0,0 +1,66 @@\n+# TODO(jayconrod): support shared memory on more platforms.\n+[!darwin] [!linux] [!windows] skip\n+\n+# Verify that the fuzzing engine records the actual crashing input, even when\n+# a worker process terminate... | 2021-07-12T22:39:43 |
huggingface/transformers | e5a9ce48f711b1f26eef3f7047a13b8235e4a71b | 2507169bf658e39e6ffe89a04b32e3729b218b73 | Add LightGlue model (#31718)
* init
* chore: various changes to LightGlue
* chore: various changes to LightGlue
* chore: various changes to LightGlue
* chore: various changes to LightGlue
* Fixed dynamo bug and image padding tests
* refactor: applied refactoring changes from SuperGlue's concat, batch and stack f... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -743,6 +743,8 @@\n title: ImageGPT\n - local: model_doc/levit\n title: LeViT\n+ - local: model_doc/lightglue\n+ title: LightGlue\n - local: model_doc/mask2former\n title: Mask2Former\n - local: model_... | 2025-06-17T16:10:23 |
rust-lang/rust | 878a1732bc14e33f14ae2350d4a4ba75f7992035 | 57011501d5c907b89d2854ebfb889d652024b4fc | Fix for the fminimum intrinsics | [
{
"path": "src/intrinsic/mod.rs",
"patch": "@@ -72,44 +72,8 @@ fn get_simple_intrinsic<'gcc, 'tcx>(\n sym::fabsf64 => \"fabs\",\n sym::minnumf32 => \"fminf\",\n sym::minnumf64 => \"fmin\",\n- sym::minimumf32 => \"fminimumf\",\n- sym::minimumf64 => \"fminimum\",\n- ... | 2025-05-12T15:52:18 |
vercel/next.js | 8aa42519f3e31360314e6b0f2d224af4e3d159ae | c45481beb1d8c3bc0e1882ee153ef22004ba60c1 | Reload on server component change (#45268)
If there's an error when hard navigating to a page, the overlay in `packages/react-dev-overlay` is rendered instead of the one in `next`. This can cause you to get stuck if it's a server component because currently `packages/react-dev-overlay` ignores server component change ... | [
{
"path": "packages/next/src/client/dev/error-overlay/hot-dev-client.ts",
"patch": "@@ -275,6 +275,8 @@ function processMessage(e: any) {\n }\n case 'serverComponentChanges': {\n // Server component changes don't apply to `pages`.\n+ // TODO-APP: Remove reload once the correct overlay is ... | 2023-02-02T14:58:39 |
nodejs/node | b4e979ff84bbd366218ddba73ce7f275415b3569 | ea15d848e5adbd65ef6bc08859fa41e2b91b77cf | test: fix assert.strictEqual argument order
PR-URL: https://github.com/nodejs/node/pull/23518
Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> | [
{
"path": "test/addons-napi/test_conversions/test.js",
"patch": "@@ -9,8 +9,8 @@ const stringExpected = /string was expected/;\n \n const testSym = Symbol('test');\n \n-assert.strictEqual(false, test.asBool(false));\n-assert.strictEqual(true, test.asBool(true));\n+assert.strictEqual(test.asBool(false), fals... | 2018-10-12T17:30:13 |
electron/electron | 98127ba13c49196fb2b969920ef6f10c0d0ac153 | cb911b19dd3f3d028648c961db4529ade5ef69f2 | linux: Fix building | [
{
"path": "atom/browser/native_window_views.cc",
"patch": "@@ -26,6 +26,7 @@\n #include \"ui/views/controls/webview/unhandled_keyboard_event_handler.h\"\n #include \"ui/views/controls/webview/webview.h\"\n #include \"ui/views/window/client_view.h\"\n+#include \"ui/views/widget/native_widget_private.h\"\n #i... | 2014-12-16T01:28:51 |
golang/go | c8f4e6152d5f0b767a8177b7d09884cf2279d8e6 | 1d91551b7326383343c7c143a8ac299d0a685289 | spec: correct example comment in Conversions from slice to array
Fixes #47280
Change-Id: I78a8d235949b4878c7f075ac4ca37700e7e6c31c
GitHub-Last-Rev: 067f96eeb2c918eb4f775c428edc945c75af44d8
GitHub-Pull-Request: golang/go#47282
Reviewed-on: https://go-review.googlesource.com/c/go/+/335470
Reviewed-by: Robert Griesemer ... | [
{
"path": "doc/go_spec.html",
"patch": "@@ -4334,7 +4334,7 @@ <h4 id=\"Conversions_from_slice_to_array_pointer\">Conversions from slice to array\n \n var t []string\n t0 := (*[0]string)(t) // t0 == nil\n-t1 := (*[1]string)(t) // panics: len([1]string) > len(s)\n+t1 := (*[1]string)(t) // panics: len... | 2021-07-19T20:11:29 |
huggingface/transformers | 2507169bf658e39e6ffe89a04b32e3729b218b73 | 41e0c921cbb2b2c9f82dd998d7b02bf680d037dd | Fix `qwen3` tests (#38862)
* fix
* update
* update
* update
* update
* update
* update
* format
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/qwen3/test_modeling_qwen3.py",
"patch": "@@ -13,7 +13,6 @@\n # limitations under the License.\n \"\"\"Testing suite for the PyTorch Qwen3 model.\"\"\"\n \n-import gc\n import unittest\n \n import pytest\n@@ -23,7 +22,7 @@\n from transformers.generation.configuration_utils import Gene... | 2025-06-17T13:21:36 |
rust-lang/rust | 544c8ce535c834d726b5dd252046aa5eeb1bf5ec | e1f1878da550408e800742217881730c2b06d1ec | Fix settimes for vxworks | [
{
"path": "library/std/src/sys/fs/unix.rs",
"patch": "@@ -1498,11 +1498,10 @@ impl File {\n None => Ok(libc::timespec { tv_sec: 0, tv_nsec: libc::UTIME_OMIT as _ }),\n };\n cfg_if::cfg_if! {\n- if #[cfg(any(target_os = \"redox\", target_os = \"espidf\", target_os = \"h... | 2025-05-14T08:22:23 |
vercel/next.js | c45481beb1d8c3bc0e1882ee153ef22004ba60c1 | 8ad018fb35a916066037269199c1cc795cf65258 | build: remove warning when building with a middleware present (#45518)
fixes the feedback in https://github.com/vercel/next.js/discussions/41745#discussioncomment-4842682
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributi... | [
{
"path": "packages/next/src/export/index.ts",
"patch": "@@ -512,38 +512,40 @@ export default async function exportApp(\n }\n let hasMiddleware = false\n \n- try {\n- const middlewareManifest = require(join(\n- distDir,\n- SERVER_DIRECTORY,\n- MIDDLEWARE_MANIFEST\n- ... | 2023-02-02T14:22:49 |
nodejs/node | ea15d848e5adbd65ef6bc08859fa41e2b91b77cf | 3d62d38ba4b107583adfb225063e0a945a48228d | test: fixing assertion value order
PR-URL: https://github.com/nodejs/node/pull/23574
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-net-stream.js",
"patch": "@@ -69,5 +69,5 @@ const server = net.createServer(function(socket) {\n });\n \n process.on('exit', function() {\n- assert.strictEqual(server.connections, 0);\n+ assert.strictEqual(0, server.connections);\n });",
"additions": 1,
"deletions": 1... | 2018-10-12T18:13:38 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.