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 | c7e6f9a4857f9dcdf35237e4515890437713a01b | e95441bdb586a7c3c9b4f61a41e99178c1becf54 | Fix an infinite loop bug in recursive search of relative imports (#40326)
Fix bug in recursive search of relative imports | [
{
"path": "src/transformers/dynamic_module_utils.py",
"patch": "@@ -130,11 +130,10 @@ def get_relative_import_files(module_file: Union[str, os.PathLike]) -> list[str]\n new_imports.extend(get_relative_imports(f))\n \n module_path = Path(module_file).parent\n- new_import_files = [s... | 2025-08-21T11:39:43 |
vercel/next.js | e601a3b53292278e1b7d1ef1f692ed340ef8be10 | 990f62acde44e5955fb00f354cb437a9b5f2231b | Support manifest.json static and dynamic route (#47240)
* Add `manifest.webmanifest` and `manifest.(j|t)xs?` support for
manifest.json route
* Add `Manifest` type for it for autocomplete purpose.
Remove the exports for `SitemapFile` and `RobotsFile` globally, will
discuss how to re-export them with better naming... | [
{
"path": "packages/next/src/build/webpack/loaders/metadata/discover.ts",
"patch": "@@ -31,13 +31,13 @@ export const STATIC_METADATA_IMAGES = {\n filename: 'twitter-image',\n extensions: ['jpg', 'jpeg', 'png', 'gif'],\n },\n-}\n+} as const\n \n // Produce all compositions with filename (icon, appl... | 2023-03-17T19:11:34 |
electron/electron | 00e5290dc8417424c15344fbce96eb71382179f9 | 627fe75a6aa210b97169df2b47e23e2fbcf23cdd | win: Update libchromium to fix .pdb missing errors | [
{
"path": "script/lib/config.py",
"patch": "@@ -8,7 +8,7 @@\n \n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'http://github-janky-artifacts.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = 'e667b7cc5a04bc8e64960d47079d99446a263e85'\n+LIBCHROMIUMCONTENT_COMMIT = 'e738bafd9... | 2015-08-21T06:21:27 |
nodejs/node | c69ea3b1d5e258cd8234b9d5f771e132f0c4a23c | 56e7a7cbfea275eafdf7b60fe9af077dcb2dc28b | doc: fix, unify, formalize, and amplify vm.md
`vm` module API heavily reuses common code, but the doc seems
to be a bit out of date: some options are listed in wrong places,
some options and history entries are missed.
Also some fragments need to be formalized and unified.
PR-URL: https://github.com/nodejs/node/pull... | [
{
"path": "doc/api/v8.md",
"patch": "@@ -414,7 +414,7 @@ A subclass of [`Deserializer`][] corresponding to the format written by\n [`serializer.releaseBuffer()`]: #v8_serializer_releasebuffer\n [`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer\n [`serializer.writeRawByt... | 2019-01-09T19:49:28 |
huggingface/transformers | e95441bdb586a7c3c9b4f61a41e99178c1becf54 | 5c88d8fbccd9e61fce8cdde32878539e60b15f1c | add type hints (#40319)
* add basic type hints to import module
* run make fixup
* remove optional
* fixes
---------
Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> | [
{
"path": "src/transformers/utils/import_utils.py",
"patch": "@@ -31,7 +31,7 @@\n from functools import lru_cache\n from itertools import chain\n from types import ModuleType\n-from typing import Any, Optional, Union\n+from typing import Any, Callable, Optional, Union\n \n from packaging import version\n \n... | 2025-08-21T11:19:59 |
golang/go | b9e1e1ba3d44069ce0b0564abab1b130ed120539 | d480b5c790196c615213f2308d6b7b975eb99ff9 | cmd/cgo: use "!compiler_bootstrap" tag instead of "go1.18"
The illumos builder is using a Go 1.18 prerelease toolchain for
bootstrapping, which doesn't have ast.IndexListExpr. But we can
instead check for the "compiler_bootstrap" build tag that's already
used for distinguishing binaries built for toolchain1.
Fixes #4... | [
{
"path": "src/cmd/cgo/ast_go1.go",
"patch": "@@ -2,8 +2,8 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build !go1.18\n-// +build !go1.18\n+//go:build compiler_bootstrap\n+// +build compiler_bootstrap\n \n package main\n ",
"add... | 2021-10-08T18:23:38 |
electron/electron | 627fe75a6aa210b97169df2b47e23e2fbcf23cdd | bc5ebb99117891ba0becfa382fdc13a141e03c5b | Update brightray to fix building on Linux | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit cb8f80f473a54fe1de72d478fd7809cf0c01fdb2\n+Subproject commit b69b097f0e2ecafa3e293100101de2807426212c",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2015-08-21T08:14:47 |
huggingface/transformers | 5c88d8fbccd9e61fce8cdde32878539e60b15f1c | c031f6f99427ebeacaea33d5842fb623845ef766 | Fix: Only call Trainer.align_special_tokens if model has "config" attribute (#40322)
* Only call Trainer.align_special_tokens if model has "config" attribute
* Add efficient test for training a model without model.config
* Reformat | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2237,7 +2237,9 @@ def train(\n self.is_in_train = True\n \n # If the model uses a tokenizer, it may have a new tokens for fine-tuning purposes.\n- if isinstance(self.processing_class, (PreTrainedTokenizerBase, ProcessorMixin)):\n+... | 2025-08-21T11:06:42 |
vercel/next.js | 9dbd8d77416e099039081bbed0338c45d6a4eb2d | 539cca853af13229b540872ef219aea4cf51b149 | feat(standalone): allow configuring KEEP_ALIVE_TIMEOUT via env var (#46052)
Resolves #39689, partially resolves #28642 (see notes below)
Inspired by #44627
In #28642 it was also asked to expose `server.headersTimeout`, but it is
probably not needed for most use cases and not implemented even in `next
start`. It ... | [
{
"path": "packages/next/src/build/utils.ts",
"patch": "@@ -1935,7 +1935,15 @@ const server = http.createServer(async (req, res) => {\n })\n const currentPort = parseInt(process.env.PORT, 10) || 3000\n const hostname = process.env.HOSTNAME || 'localhost'\n+const keepAliveTimeout = parseInt(process.env.KEEP_... | 2023-03-17T18:22:43 |
nodejs/node | 56e7a7cbfea275eafdf7b60fe9af077dcb2dc28b | c380ea1319d9a389da1cab92977d69a9d2fe2e33 | doc: fix the path to postMessage()
PR-URL: https://github.com/nodejs/node/pull/25332
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/worker_threads.md",
"patch": "@@ -354,8 +354,8 @@ added: v10.5.0\n * `value` {any} The transmitted value\n \n The `'message'` event is emitted when the worker thread has invoked\n-[`require('worker_threads').postMessage()`][]. See the [`port.on('message')`][]\n-event for more details.\n+[... | 2019-01-03T22:58:37 |
electron/electron | c4d192b9a4f43da0cafd3c5bedff68adcfce5a76 | 8a92ef34a72003d0e24fb5664d9ab49ced3ea833 | linux: Fix building | [
{
"path": "brightray/browser/browser_client.cc",
"patch": "@@ -10,11 +10,8 @@\n #include \"browser/media/media_capture_devices_dispatcher.h\"\n #include \"browser/platform_notification_service_impl.h\"\n \n-#include \"base/base_paths.h\"\n #include \"base/path_service.h\"\n-#include \"content/public/common/... | 2015-08-21T08:14:19 |
golang/go | d480b5c790196c615213f2308d6b7b975eb99ff9 | 16a3cefc93d9b896b2053320e387d0e449904aba | cmd/link: put gcprog symbols along with gcbits
A stack object record may refer to the object's type's GC mask or
GC program (for very large types). For the latter, currently the GC
program symbol is named "type..gcprog.XXX" which is then laid out
along with type symbols at link time. When relro is used, the type
symbo... | [
{
"path": "src/cmd/link/internal/ld/symtab.go",
"patch": "@@ -539,7 +539,8 @@ func (ctxt *Link) symtab(pcln *pclntab) []sym.SymKind {\n \t\t\tldr.SetAttrNotInSymbolTable(s, true)\n \t\t\tldr.SetCarrierSym(s, symgostring)\n \n-\t\tcase strings.HasPrefix(name, \"runtime.gcbits.\"):\n+\t\tcase strings.HasPrefi... | 2021-10-08T17:10:08 |
rust-lang/rust | fca28ab5132810b21182176ac02bdd292b77a368 | ce0c17a6e70f26a9133b24d0ea570e4af0178715 | * Add test case for `cfg(false)` on module level
* Fix typo
* Remove usage of `!has` | [
{
"path": "tests/rustdoc/cfg-bool.rs",
"patch": "@@ -3,11 +3,15 @@\n \n // regression test for https://github.com/rust-lang/rust/issues/138112\n \n-//@ has 'foo/fn.foo.html' '//div[@class=\"stab portability\"]' 'Available nowhere'\n+//@ has 'foo/index.html'\n+//@ has - '//*[@class=\"stab portability\"]/@tit... | 2025-05-30T13:34:04 |
huggingface/transformers | 7b060e5eb7ba7d6dea147c7eb927add9221213ee | 6ad7f2946130ef0cf0c046862d043bb03c8f9ff2 | Add missing arguments to class constructors (#40068)
* Add missing arguments
Signed-off-by: cyy <cyyever@outlook.com>
* Fix typos
Signed-off-by: cyy <cyyever@outlook.com>
* More fixes
Signed-off-by: cyy <cyyever@outlook.com>
---------
Signed-off-by: cyy <cyyever@outlook.com> | [
{
"path": "src/transformers/models/aria/modular_aria.py",
"patch": "@@ -1091,7 +1091,7 @@ class AriaSharedExpertsMLP(LlamaMLP):\n \"\"\"\n \n def __init__(self, config: AriaTextConfig):\n- super().__init__(self)\n+ super().__init__(config)\n self.intermediate_size = config.inte... | 2025-08-21T10:22:38 |
vercel/next.js | 539cca853af13229b540872ef219aea4cf51b149 | 8b44085b703e973487c843d93bc1662aaecd7912 | fix: typo in message for experimental.runtime (#47248)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Cont... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -688,7 +688,7 @@ export default async function getBaseWebpackConfig(\n if (isClient) {\n if (isEdgeRuntime(config.experimental.runtime)) {\n Log.warn(\n- 'You ase using `experimental.runtime` which was removed. Check http... | 2023-03-17T18:07:10 |
nodejs/node | c380ea1319d9a389da1cab92977d69a9d2fe2e33 | 1415d579a9dcebf669c12a1398bfb35fa0190047 | doc: update `os.networkInterfaces()` example
The os.networkInterfaces() example was outdated
as the IPv6 interfaces did not include the scopeid property,
now they do.
PR-URL: https://github.com/nodejs/node/pull/25417
Fixes: https://github.com/nodejs/node/issues/25408
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.... | [
{
"path": "doc/api/os.md",
"patch": "@@ -286,6 +286,7 @@ The properties available on the assigned network address object include:\n netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',\n family: 'IPv6',\n mac: '00:00:00:00:00:00',\n+ scopeid: 0,\n internal: true,\n cidr: ':... | 2019-01-09T16:28:42 |
golang/go | 16a3cefc93d9b896b2053320e387d0e449904aba | d7ba1d276be37989cfbcf3dc17a17e2ee9c5382d | runtime: fix uint64->float32 conversion for softfloat
The fix for #48807 in CL 354429 forgot that we also need to fix
the softfloat implementation.
Update #48807
Change-Id: I596fb4e14e78145d1ad43c130b2cc5122b73655c
Reviewed-on: https://go-review.googlesource.com/c/go/+/354613
Trust: Keith Randall <khr@golang.org>
Ru... | [
{
"path": "src/cmd/compile/internal/test/ssa_test.go",
"patch": "@@ -162,7 +162,7 @@ func TestCode(t *testing.T) {\n \t}\n \n \tflags := []string{\"\"}\n-\tif runtime.GOARCH == \"arm\" || runtime.GOARCH == \"mips\" || runtime.GOARCH == \"mips64\" {\n+\tif runtime.GOARCH == \"arm\" || runtime.GOARCH == \"mip... | 2021-10-07T20:29:09 |
huggingface/transformers | 6ad7f2946130ef0cf0c046862d043bb03c8f9ff2 | adf84aec214afc27fa676343e5d2da4f3d0c7ed2 | Fix deprecation warning version (#40343)
fix | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1409,7 +1409,7 @@ def is_compileable(self) -> bool:\n class OffloadedCache(DynamicCache):\n def __init__(self) -> None:\n logger.warning_once(\n- \"`OffloadedCache` is deprecated and will be removed in version v4.60 \"\n+ ... | 2025-08-21T10:18:23 |
vercel/next.js | 8b44085b703e973487c843d93bc1662aaecd7912 | 51b1fe3d2fbcf4a3cbaec1e684ec3ae257df363c | Fix CSS not being bundled in app dir (#45787)
Currently all import CSS resources, including CSS modules, are imported lazily. This means that they can't be chunked as by definition of "lazy" they can be loaded separately.
This PR changes it to always use "eager" so if they're in the same entry, these CSS resources ca... | [
{
"path": "packages/next/src/build/webpack/loaders/next-flight-client-entry-loader.ts",
"patch": "@@ -22,12 +22,11 @@ export default async function transformSource(this: any): Promise<string> {\n \n const requests = modules as string[]\n const code = requests\n- // Filter out css files on the server\... | 2023-03-17T17:38:19 |
nodejs/node | 906db44ccd316be7ebb643c1e1ae2d666c7aa85f | fbab26f5ae481001c67d9ff4da77155cb67fd6ec | test,worker: refactor test-worker-cleanup-handles
* alphabetize require() statements for built-in modules by module name
* remove unused function argument `code` in callback
* replace common.expectsError() with assert.throws()
* remove unneeded line-wrap
PR-URL: https://github.com/nodejs/node/pull/25401
Reviewed-By: ... | [
{
"path": "test/parallel/test-worker-cleanup-handles.js",
"patch": "@@ -1,9 +1,10 @@\n 'use strict';\n const common = require('../common');\n+\n const assert = require('assert');\n-const { Worker, isMainThread, parentPort } = require('worker_threads');\n-const { Server } = require('net');\n const fs = requi... | 2019-01-08T22:42:26 |
golang/go | 0d838ea5a2b69255d0a486dd9df27d14ad680aba | 99c1b249b1ffe3b36c5c95572f4497be86b5d727 | cmd/compile: allow delaying of transformCompLit, new transformAddr
For this unusual case, where a constraint specifies exactly one type, we
can have a COMPLIT expression with a type that is/has typeparams.
Therefore, we add code to delay transformCompLit for generic functions.
We also need to break out transformAddr ... | [
{
"path": "src/cmd/compile/internal/noder/expr.go",
"patch": "@@ -154,7 +154,11 @@ func (g *irgen) expr0(typ types2.Type, expr syntax.Expr) ir.Node {\n \n \tcase *syntax.Operation:\n \t\tif expr.Y == nil {\n-\t\t\treturn Unary(pos, g.typ(typ), g.op(expr.Op, unOps[:]), g.expr(expr.X))\n+\t\t\tn := Unary(pos,... | 2021-09-22T17:05:33 |
electron/electron | 351dc4ed6b2946594b98d5435c253089a81bfe4a | 172cc22d90a9f14694496bfc842370e9914dc9bb | Translate more files, fix outdated remote.md section
Translate content-tracing(50%), remote docs.
Fix `Remote buffer` section as outdated. | [
{
"path": "docs/api/content-tracing-ko.md",
"patch": "@@ -86,29 +86,26 @@ Child 프로세스는 일반적으로 추적 데이터와 희귀한 플러시 \n * `traceOptions` String\n * `callback` Function\n \n-Start monitoring on all processes.\n+모든 프로세스에서 모니터링을 시작합니다.\n \n-Monitoring begins immediately locally, and asynchronously on child processes as... | 2015-08-21T02:33:02 |
huggingface/transformers | adf84aec214afc27fa676343e5d2da4f3d0c7ed2 | 1e2e28f3c804db6c697ebcb37dc48093bd7d7190 | Add DeepseekV3ForSequenceClassification for Deepseek V3 models (#40200)
* Add Sequence Classification Support for Deepseek v3 model DeepseekV3ForSequenceClassification
* After run make fixup | [
{
"path": "docs/source/en/model_doc/deepseek_v3.md",
"patch": "@@ -183,3 +183,8 @@ error, it means NCCL was probably not loaded.\n \n [[autodoc]] DeepseekV3ForCausalLM\n - forward\n+\n+## DeepseekV3ForSequenceClassification\n+\n+[[autodoc]] DeepseekV3ForSequenceClassification\n+ - forward",
"addi... | 2025-08-21T10:01:33 |
vercel/next.js | bf843a89b6d1b7447f004b652df62c085c0227fa | a1bad75bbafefc52bfa4e606e373f92526ac9e80 | emit a package.json in evaluate too (vercel/turbo#4241)
### Description
emit a package.json to .next for evaluate pool
fixes WEB-729 | [
{
"path": "crates/turbopack-node/src/evaluate.rs",
"patch": "@@ -28,7 +28,7 @@ use turbopack_ecmascript::{\n use crate::{\n bootstrap::NodeJsBootstrapAsset,\n embed_js::embed_file_path,\n- emit,\n+ emit, emit_package_json,\n pool::{NodeJsPool, NodeJsPoolVc},\n EvalJavaScriptIncomingMes... | 2023-03-17T14:40:22 |
nodejs/node | fbab26f5ae481001c67d9ff4da77155cb67fd6ec | 7710235ec35586c15f83e826926ea8bfe2a35a22 | test: fix module loading error for AIX 7.1
AIX 7.1 appears to return a different error message compared to AIX 6.1.
PR-URL: https://github.com/nodejs/node/pull/25418
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Re... | [
{
"path": "test/parallel/test-module-loading-error.js",
"patch": "@@ -30,7 +30,8 @@ const errorMessagesByPlatform = {\n sunos: ['unknown file type', 'not an ELF file'],\n darwin: ['file too short'],\n aix: ['Cannot load module',\n- 'Cannot run a file that does not have a valid format.']\n+ ... | 2019-01-09T17:00:06 |
golang/go | 114aa699324a92ba8162138a11707684af7b8993 | 7d26add6d525f8160a1775f0ed86229dd7cdfef2 | [dev.boringcrypto] misc/boring: fix Docker Hub references
Missed some references and it worked because I had old Docker images on
my local daemon.
Change-Id: Ia863bd10c44caf85905a721efce5b8926faf776e
Reviewed-on: https://go-review.googlesource.com/c/go/+/354789
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: H... | [
{
"path": "misc/boring/README.md",
"patch": "@@ -24,8 +24,8 @@ at `gs://go-boringcrypto/`, making it available for download at\n The script records each published release in the `RELEASES` file in this directory.\n \n The `build.docker` script, which must be run after `build.release`, prepares a Docker imag... | 2021-10-08T15:30:33 |
electron/electron | e628c7b37d2231ca0641201502ba5c7875a8d9fe | 8cc602ff946682f11e34dd2820e5c9bbe55a5be6 | Fix for issue 1968: use uv_backend_timeout to determine timeout to match other platforms | [
{
"path": "atom/common/node_bindings_win.cc",
"patch": "@@ -22,37 +22,26 @@ NodeBindingsWin::~NodeBindingsWin() {\n }\n \n void NodeBindingsWin::PollEvents() {\n- // Unlike Unix, in which we can just rely on one backend fd to determine\n- // whether we should iterate libuv loop, on Window, IOCP is just on... | 2015-08-21T01:59:58 |
huggingface/transformers | 022af24fccd5426a06de9b9f6c79aeffec6f7cdd | c99ed492c761c66e7218ced0fdbb80ca87de1404 | Fix qwen-omni processor text only mode (#40336)
* Fix qwen-omni processor text only mode
* remove try except
---------
Co-authored-by: yuekaiz <yuekaiz@mgmt1-login.cm.cluster> | [
{
"path": "src/transformers/models/qwen2_5_omni/processing_qwen2_5_omni.py",
"patch": "@@ -195,16 +195,17 @@ def __call__(\n if not isinstance(text, list):\n text = [text]\n \n- text = self.replace_multimodal_special_tokens(\n- text,\n- audio_lengths,\n- ... | 2025-08-21T09:57:32 |
vercel/next.js | 51b1fe3d2fbcf4a3cbaec1e684ec3ae257df363c | 694e7f9e802c0087acc5a8ae8fa5a4561d280b39 | Emit late streaming meta tags (#47207)
Currently if `notFound()` or `redirect()` is called when the shell was already sent out, we can no longer change the status code and head tags. In that case we inject these specific meta tags into the HTML stream so specific agents can read them.
fix NEXT-220 ([link](https://lin... | [
{
"path": "packages/next/src/server/app-render/index.tsx",
"patch": "@@ -1737,7 +1737,35 @@ export async function renderToHTMLOrFlight(\n )\n \n let polyfillsFlushed = false\n- const getServerInsertedHTML = (): Promise<string> => {\n+ let flushedErrorMetaTagsUntilIndex = 0\n+ ... | 2023-03-17T14:37:00 |
nodejs/node | 7237eaa3353aacf284289c8b59b0a5e0fa5744bb | eb664c3b6df2ec618fa1c9339dbd418e858bfcfa | url: return backslashes from fileURLToPath on win
PR-URL: https://github.com/nodejs/node/pull/25349
Fixes: https://github.com/nodejs/node/issues/25265
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: J... | [
{
"path": "lib/internal/url.js",
"patch": "@@ -1275,6 +1275,8 @@ function urlToOptions(url) {\n return options;\n }\n \n+const forwardSlashRegEx = /\\//g;\n+\n function getPathFromURLWin32(url) {\n var hostname = url.hostname;\n var pathname = url.pathname;\n@@ -1289,6 +1291,7 @@ function getPathFromU... | 2018-12-29T20:57:39 |
golang/go | 5b9206f64ef4d8ea3201627cf9ba5c2b86e65022 | e74db46519a7cbed16a7f14932da2ef93d647ece | time: allow minimum int64 in ParseDuration
ParseDuration should handle minimum int64 (-1<<63) nanosecond
since type Duration is alias of int64
name old time/op new time/op delta
ParseDuration 91.4ns ± 0% 86.4ns ± 1% -5.49% (p=0.000 n=9+8)
Fixes: #48629
Change-Id: I81b7035b25cefb4c1e5b7801c20f2d335e29... | [
{
"path": "src/time/format.go",
"patch": "@@ -1402,10 +1402,7 @@ func parseSignedOffset(value string) int {\n \tif err != nil || value[1:] == rem {\n \t\treturn 0\n \t}\n-\tif sign == '-' {\n-\t\tx = -x\n-\t}\n-\tif x < -23 || 23 < x {\n+\tif x > 23 {\n \t\treturn 0\n \t}\n \treturn len(value) - len(rem)\n@... | 2021-09-26T06:56:55 |
huggingface/transformers | c2e3cc24e09a3113e650d381c9913a3ccfa23fa3 | 242bb2cafccec9f90479f5f688bca9d240b1031f | Fix chunked attention mask with left-padding (#40324)
* add fix
* add test
* raise proper warning for older versions
* fix
* fix and add 2nd test
* fix for flex and torch 2.5 | [
{
"path": "src/transformers/masking_utils.py",
"patch": "@@ -20,7 +20,7 @@\n \n from .cache_utils import Cache\n from .configuration_utils import PretrainedConfig\n-from .utils import is_torch_xpu_available\n+from .utils import is_torch_xpu_available, logging\n from .utils.generic import GeneralInterface\n ... | 2025-08-21T08:52:49 |
rust-lang/rust | e323eae5590588d75445e2a53104b654a2dca124 | 23f79c10eb76b2e8922fd7a279ec1483a7e2843c | Add a quickfix for accessing a private field of a struct | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/infer.rs",
"patch": "@@ -35,7 +35,8 @@ use chalk_ir::{\n use either::Either;\n use hir_def::{\n AdtId, AssocItemId, ConstId, DefWithBodyId, FieldId, FunctionId, GenericDefId, GenericParamId,\n- ImplId, ItemContainerId, Lookup, TraitId, TupleFieldId... | 2025-05-26T19:23:29 |
vercel/next.js | d760c00961664a7c96db0a73b83e540d274a4cdd | e49bfeaf4750d02e1fe35c531e92b10ffe30fd4a | print reason for compilation (#47190)
### What?
add reason of compilation to the `updated in` message.

### Why?
the general update in message is confusing and didn't show what is
happening.
... | [
{
"path": "packages/next-swc/crates/next-dev/src/lib.rs",
"patch": "@@ -14,6 +14,7 @@ use std::{\n sync::Arc,\n time::{Duration, Instant},\n };\n+use turbo_tasks::UpdateInfo;\n \n use anyhow::{Context, Result};\n use devserver_options::DevServerOptions;\n@@ -239,7 +240,7 @@ impl NextDevServerBuilder... | 2023-03-17T12:22:25 |
nodejs/node | eb664c3b6df2ec618fa1c9339dbd418e858bfcfa | f9b129ec6ba49cb3c6bfc135e470ec1008aade0f | src: clean up `node::Init()` wrt embedder scenarios
This makes the STL variant of `node::Init()` a bit more
suitable for inclusion in a proper embedder API, as errors
or other output are reported to the caller rather than
directly being printed, and the process is not exited
directly either.
PR-URL: https://github.co... | [
{
"path": "src/node.cc",
"patch": "@@ -1147,42 +1147,23 @@ inline void PlatformInit() {\n #endif // _WIN32\n }\n \n-void ProcessArgv(std::vector<std::string>* args,\n- std::vector<std::string>* exec_args,\n- bool is_env) {\n+int ProcessGlobalArgs(std::vector<std::string>* ar... | 2019-01-06T21:55:09 |
golang/go | e74db46519a7cbed16a7f14932da2ef93d647ece | 8c4ea3140e7c79d828fe7683a3dfe3474a9938fb | go/types: use an identifier map rather than isubst for recv type params
Receiver type parameters are the only type expressions allowed to be
blank. Previously this was handled by substitution of synthetic
non-blank names in the receiver type expression, but that introduced
problems related to AST mangling: the scope h... | [
{
"path": "src/go/types/check.go",
"patch": "@@ -106,6 +106,7 @@ type Checker struct {\n \tfiles []*ast.File // package files\n \timports []*PkgName // list of imported packages\n \tdotImportMap map[dotImportKey]*PkgName // maps dot-imported objects to the package th... | 2021-10-07T23:12:16 |
huggingface/transformers | 242bb2cafccec9f90479f5f688bca9d240b1031f | 1054494dd625566dcfd2881334ebda26b022e406 | One cache class to rule them all (#40276)
* remove all classes
* fix generate
* start replacing everywhere
* finish removing everywhere
* typo
* typo
* fix
* typo
* remove num_layers=1
* CI
* fix all docstrings
* review
* style | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -248,17 +248,16 @@ class StaticLayer(CacheLayerMixin):\n \"\"\"\n A static cache layer that stores the key and value states as static tensors of shape `[batch_size, num_heads, max_cache_len), head_dim]`.\n It lazily allocates its full bac... | 2025-08-20T17:36:11 |
nodejs/node | f9b129ec6ba49cb3c6bfc135e470ec1008aade0f | 9abb646732e921062c4e0ac3b28093def073847c | build: add check for empty openssl-fips flag
Currently, when specifying the --openssl-fips flag without any path
, or an empty path, does not generate an error. If a path is specified
then the following error is generated:
ERROR: FIPS is not supported in this version of Node.js
This commit adds a check so that the e... | [
{
"path": "configure.py",
"patch": "@@ -1235,7 +1235,7 @@ def without_ssl_error(option):\n if options.openssl_no_asm and options.shared_openssl:\n error('--openssl-no-asm is incompatible with --shared-openssl')\n \n- if options.openssl_fips:\n+ if options.openssl_fips or options.openssl_fips == '':\... | 2019-01-08T12:50:45 |
vercel/next.js | 875ddea183469dc49ab47197cede0a4b2aab9ce4 | 6a603464e4feedf9d4f5828a9365b8030d055eab | next-swc: Switch to testing::fixture (#47183)
The old `test_generator::test_resources` could only find resources relative to the project root, and not relative to the test file. Because of the new nextpack directory structure, this causes all kinds of headaches between running in nextpack and running in turbo (`next.j... | [
{
"path": "packages/next-swc/.cargo/config.toml",
"patch": "@@ -1,6 +1,5 @@\n [env]\n CARGO_WORKSPACE_DIR = { value = \"\", relative = true }\n-PNPM_WORKSPACE_DIR = { value = \"../../\", relative = true }\n \n [build]\n \n@@ -30,5 +29,5 @@ rustflags = [\n \"--cfg\",\n \"tokio_unstable\",\n \"-Csymbol-... | 2023-03-17T06:18:25 |
huggingface/transformers | 139cd91713ae858d0f9905ca88e9807870880765 | 5d906740d2109f04be34f90ce3cff05ef412c7c1 | Fix: Apply `get_placeholder_mask` in Ovis2 (#40280)
* Refactor special image mask
* Refactor get_placeholder_mask method
* Revert "Refactor special image mask"
This reverts commit 9eb1828ae930329656d6f323a510c5e6033e1f85.
* Fix
* Revert "Refactor get_placeholder_mask method"
This reverts commit 07aad6484bb08d635... | [
{
"path": "src/transformers/models/ovis2/modeling_ovis2.py",
"patch": "@@ -32,7 +32,7 @@\n from ...modeling_layers import GradientCheckpointingLayer\n from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPast\n from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel\n-from ...u... | 2025-08-20T15:12:10 |
golang/go | 8c4ea3140e7c79d828fe7683a3dfe3474a9938fb | 78d749fbe978bf6eac9c5e11aa4641dc126c9128 | image/png: fix interlaced palette out-of-bounds
PNG images can be paletted, where each pixel value (a uint8) indexes a
slice of colors. In terms of wire format, the PLTE chunk explicitly
contains the palette length. However, in practice, some arguably
malformed images contain pixel values greater than or equal to the
... | [
{
"path": "src/image/png/reader.go",
"patch": "@@ -821,9 +821,17 @@ func (d *decoder) mergePassInto(dst image.Image, src image.Image, pass int) {\n \t\tdstPix, stride, rect = target.Pix, target.Stride, target.Rect\n \t\tbytesPerPixel = 8\n \tcase *image.Paletted:\n-\t\tsrcPix = src.(*image.Paletted).Pix\n+\... | 2021-10-07T23:33:47 |
electron/electron | f386342a7caca3cda3f7065f18fc6930897e1ec1 | 2bc087b5d5db7708e14f494c9a1629fab67f0247 | Fix memory leak and confirming to style guide
Fixed according to @hokein 's suggestions. | [
{
"path": "atom/common/api/atom_api_native_image.cc",
"patch": "@@ -11,6 +11,7 @@\n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n #include \"atom/common/native_mate_converters/gfx_converter.h\"\n #include \"atom/common/native_mate_converters/gurl_converter.h\"\n+#include \"atom/com... | 2015-08-20T16:26:20 |
huggingface/transformers | 5d906740d2109f04be34f90ce3cff05ef412c7c1 | 4977ec2ae81d868fcd96ad4c7b1bffdc8c57f52c | Update CI with nightly torch workflow file (#40306)
* fix nightly ci
* Apply suggestions from code review
Co-authored-by: ivarflakstad <69173633+ivarflakstad@users.noreply.github.com>
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: ivarflakstad <69173633+ivarflakstad@users.nore... | [
{
"path": ".github/workflows/check_failed_tests.yml",
"patch": "@@ -21,6 +21,9 @@ on:\n report_repo_id:\n required: true\n type: string\n+ commit_sha:\n+ required: false\n+ type: string\n \n \n env:\n@@ -87,7 +90,7 @@ jobs:\n - name: Update clone\n work... | 2025-08-20T14:59:00 |
vercel/next.js | a1bad75bbafefc52bfa4e606e373f92526ac9e80 | 5f36893ba1f67b9a3970e9648ff17cf7f02594ea | fix incorrect refactoring and add comments (vercel/turbo#4236)
### Description
Previous PR introduced a bug, which caused the update to be incorrectly
taken:
https://github.com/vercel/turbo/pull/4208/files#diff-a50d2da0351cec2aa42fefbb4374be064cc62bcf56c0d56f3b7edf96a92bac33L585-L588 | [
{
"path": "crates/turbo-tasks/src/manager.rs",
"patch": "@@ -605,12 +605,17 @@ impl<B: Backend + 'static> TurboTasks<B> {\n )\n }\n \n+ /// Returns [UpdateInfo] with all updates aggregated over a given duration\n+ /// (`aggregation`). Will wait until an update happens.\n pub async fn g... | 2023-03-17T05:01:09 |
nodejs/node | 9abb646732e921062c4e0ac3b28093def073847c | a55cddd8ceea49d8fdff91b23e2bb00ef363ccc3 | test: move require('https') to after crypto check
Currently, test-https-client-override-global-agent.js fails with the
following error when configured --without-ssl:
Error [ERR_NO_CRYPTO]:
Node.js is not compiled with OpenSSL crypto support
at Object.assertCrypto (internal/util.js:101:11)
...
at Object.<anonymo... | [
{
"path": "test/parallel/test-https-client-override-global-agent.js",
"patch": "@@ -1,12 +1,11 @@\n 'use strict';\n const common = require('../common');\n+if (!common.hasCrypto)\n+ common.skip('missing crypto');\n const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const h... | 2019-01-08T06:39:56 |
golang/go | 78d749fbe978bf6eac9c5e11aa4641dc126c9128 | 5780be401fbf1c4766f45301e727fde4a89ac2cc | go/types: partial revert of incorrect unification "fix"
This is a port of CL 354690 from types2 to go/types.
Change-Id: I50e7297a67e37d261335260e285b9cb1c0d2a62d
Reviewed-on: https://go-review.googlesource.com/c/go/+/354691
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-... | [
{
"path": "src/go/types/testdata/fixedbugs/issue48619.go2",
"patch": "@@ -2,21 +2,23 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+// This issue has been re-opened.\n+\n package p\n \n func f[P any](a, _ P) {\n-\tvar x int\n-\tf(a, x /* E... | 2021-10-08T00:02:53 |
electron/electron | 172cc22d90a9f14694496bfc842370e9914dc9bb | 40c7e6e1797d972218320cc4d2d16e65da522400 | Fix some typos, update as upstream | [
{
"path": "docs/api/remote-ko.md",
"patch": "@@ -19,7 +19,7 @@ var win = new BrowserWindow({ width: 800, height: 600 });\n win.loadUrl('https://github.com');\n ```\n \n-Note: for the reverse (access renderer process from main process), you can use [webContents.executeJavascript](https://github.com/atom/elec... | 2015-08-19T22:50:07 |
huggingface/transformers | 4977ec2ae81d868fcd96ad4c7b1bffdc8c57f52c | 3b7230124bc16e4048bcf5e2fda26c50bde8d9e9 | [`GPT OSS`] Refactor the tests as it was not properly checking the outputs (#40288)
* it was long due!
* use the official kernel
* more permissive
* update the kernel as well
* mmm should it be this?
* up pu
* fixup
* Update test_modeling_gpt_oss.py
* style
* start with 20b | [
{
"path": "tests/fixtures/gpt_oss/integration_tests.json",
"patch": "@@ -1,346 +1,122 @@\n-[\n- {\n- \"quantized\": true,\n- \"model\": \"120b\",\n- \"kernels\": false,\n- \"attn_impl\": \"ft-hf-o-c/vllm-flash-attn3\",\n- \"mode\": \"eval\",\n- \"outputs\": [\n- \".....Roses are red,... | 2025-08-20T14:47:41 |
nodejs/node | b2f74f73f3087f6c55cfab3b25282f890ffa3e14 | 0a11f1b6a6c5f0676086ad2ed54486f79d311c90 | test: fix test-net-connect-econnrefused
test/pummel/test-net-connect-econnrefused.js was failing because
`console.log()` resulted in an extra handle being returned by
`process._getActiveHandles()`. Remove the unnecessary `console.log()`.
PR-URL: https://github.com/nodejs/node/pull/25389
Reviewed-By: Beth Griggs <Beth... | [
{
"path": "test/pummel/test-net-connect-econnrefused.js",
"patch": "@@ -34,8 +34,6 @@ let reqs = 0;\n pummel();\n \n function pummel() {\n- console.log('Round', rounds, '/', ROUNDS);\n-\n let pending;\n for (pending = 0; pending < ATTEMPTS_PER_ROUND; pending++) {\n net.createConnection(common.PORT)... | 2019-01-08T07:30:59 |
golang/go | 5780be401fbf1c4766f45301e727fde4a89ac2cc | 7cef83162bbe0008f3e158297b94a7dead64a9b1 | cmd/compile/internal/types2: partial revert of incorrect unification "fix"
The "fix" (CL 352832) for #48619 was incorrect and broke
the unification algorithm in some cases (e.g., #48695).
This CL reverts the changes made by CL 352832 to unify.go,
and comments out code in corresponding tests.
As a result, #48695 will... | [
{
"path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue48619.go2",
"patch": "@@ -2,21 +2,23 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+// This issue has been re-opened.\n+\n package p\n \n func f[P any](a, _ P) {\n-\tvar x ... | 2021-10-07T22:53:32 |
huggingface/transformers | c50f140be277642b2c1777455e71c633c253bfae | a97213d131d3f116888bab6e92685b471617c919 | Add back `_tp_plan` attribute (#39944)
* Update modeling_utils.py
* make sure we update with the module's plan
* use public api
* oups
* update
* fix failing test
* Update src/transformers/integrations/tensor_parallel.py
* Update src/transformers/integrations/tensor_parallel.py
* fix
* make the API more frien... | [
{
"path": "conftest.py",
"patch": "@@ -23,7 +23,12 @@\n import _pytest\n import pytest\n \n-from transformers.testing_utils import HfDoctestModule, HfDocTestParser, is_torch_available, patch_torch_compile_force_graph\n+from transformers.testing_utils import (\n+ HfDoctestModule,\n+ HfDocTestParser,\n+... | 2025-08-20T13:29:55 |
nodejs/node | 0a11f1b6a6c5f0676086ad2ed54486f79d311c90 | ccf37b3a8418e1b086e41dc891ad3575705d76ef | test: remove test/pummel/test-http-client-reconnect-bug.js
test-http-client-reconnect-bug depends on `http.createClient()` which
was removed in Node.js 7.0.0. The test was added way back in commit
30b0522157069360615402651d6b98c9397dfc19 for a bug fixed in Node.js
0.1.27 in early 2010. We've apparently been fine with ... | [
{
"path": "test/pummel/test-http-client-reconnect-bug.js",
"patch": "@@ -1,48 +0,0 @@\n-// Copyright Joyent, Inc. and other Node contributors.\n-//\n-// Permission is hereby granted, free of charge, to any person obtaining a\n-// copy of this software and associated documentation files (the\n-// \"Software\... | 2019-01-08T06:24:22 |
golang/go | b69f823ece741f21d06591657f4e0a5b17d492e3 | 6b4cf2be9385ea25fed011f7c862d9e023b71df6 | testing: with -benchtime=1x, run the benchmark loop exactly once
Like with -benchtime=1ns, if we find that the "discovery" round (run1)
has already crossed the -benchtime threshold, we skip running more
iterations.
Fixes #32051
Change-Id: I76aaef2ba521ba8ad6bbde2b14977e191aada5e4
Reviewed-on: https://go-review.googl... | [
{
"path": "src/cmd/go/testdata/script/test_benchmark_1x.txt",
"patch": "@@ -0,0 +1,37 @@\n+# Test that -benchtime 1x only runs a total of 1 loop iteration.\n+# See golang.org/issue/32051.\n+\n+go test -run ^$ -bench . -benchtime 1x\n+\n+-- go.mod --\n+module bench\n+\n+go 1.16\n+-- x_test.go --\n+package be... | 2021-06-25T20:40:30 |
electron/electron | 4e6dc49646c18cabc7c4d9dadac06578234891ca | 69e1e3c0bdf0dbadd65b3ae048a5c9a38d8aef91 | :memo: Fix a typing error: printBackgrounds => printBackground | [
{
"path": "docs/api/browser-window-ko.md",
"patch": "@@ -992,7 +992,7 @@ Prints windows' web page as PDF with Chromium's preview printing custom\n settings.\n \n By default, an empty `options` will be regarded as\n-`{marginsType:0, printBackgrounds:false, printSelectionOnly:false,\n+`{marginsType:0, printBa... | 2015-08-19T01:44:33 |
huggingface/transformers | a97213d131d3f116888bab6e92685b471617c919 | ca543f822f73ebc69b00835c74ae927d9730b6f5 | Qwen2.5-Omni test fixes (#40307)
Updated expectations, and mp tests | [
{
"path": "tests/models/qwen2_5_omni/test_modeling_qwen2_5_omni.py",
"patch": "@@ -260,6 +260,7 @@ class Qwen2_5OmniThinkerForConditionalGenerationModelTest(ModelTesterMixin, Gene\n test_pruning = False\n test_head_masking = False\n _is_composite = True\n+ model_split_percents = [0.5, 0.9]\n ... | 2025-08-20T12:48:30 |
nodejs/node | ccf37b3a8418e1b086e41dc891ad3575705d76ef | 29d3d1ea135c5d5692c3fcd9fb9091efa1db5760 | doc: fix deprecations metadata
Refs: https://github.com/nodejs/node/pull/25377
PR-URL: https://github.com/nodejs/node/pull/25434
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -570,7 +570,7 @@ The `sys` module is deprecated. Please use the [`util`][] module instead.\n <!-- YAML\n changes:\n - version: REPLACEME\n- pr-url: https://github.com/nodejs/node/pull/xxxxx\n+ pr-url: https://github.com/nodejs/node/pull/25377\n d... | 2019-01-10T17:51:08 |
vercel/next.js | 6a603464e4feedf9d4f5828a9365b8030d055eab | 922b5de06f82f9327f05e8a78c9be96431a4fce9 | Fix deploy example (#47228)
x-ref:
https://github.com/vercel/next.js/actions/runs/4443450845/jobs/7800761746 | [
{
"path": "scripts/deploy-examples.sh",
"patch": "@@ -8,13 +8,9 @@ if [ \"$DEPLOY_ENVIRONMENT\" = \"production\" ]; then\n fi\n \n for CWD in $CHANGED_EXAMPLES ; do\n- if [[ $CWD = examples* ]]; then\n- HYPHENS=$(echo \"$CWD\" | tr '/' '-')\n- PROJECT=\"nextjs-$HYPHENS\"\n- echo \"Deploying direct... | 2023-03-17T03:02:28 |
golang/go | ef2ebbebf976fba17bb97ed285e9c3d10b192d74 | 0f52292e72ebbb79b2d41c8dca8e23ef9597e17d | internal/fuzz: log that minimization is occurring
Previously, when fuzzing for a period of time, the
command line output would look something like this:
fuzz: minimizing 34995-byte crash input...
fuzz: elapsed: 3s, execs: 13821 (4604/sec), new interesting: 0 (total: 1)
fuzz: elapsed: 6s, execs: 13821 (2303/s... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_minimize.txt",
"patch": "@@ -74,6 +74,12 @@ stdout FAIL\n # Test that re-running the unminimized value causes a crash.\n ! go test -run=FuzzMinimizerRecoverable minimizer_test.go\n \n+! go test -fuzz=FuzzMinimizerTooSlow -run=FuzzMinimizerTooSlow -fuzzminimize... | 2021-10-06T18:13:23 |
rust-lang/rust | ddcc1afd4de546ec4c6b2cc7d3027c6a37f23caf | 23f79c10eb76b2e8922fd7a279ec1483a7e2843c | fix: Cycle handlers for `HirDatabase::infer, const_param_ty_with_diagnostics | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/db.rs",
"patch": "@@ -31,6 +31,7 @@ use crate::{\n #[query_group::query_group]\n pub trait HirDatabase: DefDatabase + std::fmt::Debug {\n #[salsa::invoke(crate::infer::infer_query)]\n+ #[salsa::cycle(cycle_result = crate::infer::infer_cycle_result)... | 2025-05-30T14:53:30 |
electron/electron | 69e1e3c0bdf0dbadd65b3ae048a5c9a38d8aef91 | 763dcc545dc7b0d3abeda94fcb1a51be3f82e475 | Fix a typing error in option checking: printBackgrounds => printBackground | [
{
"path": "atom/browser/api/lib/web-contents.coffee",
"patch": "@@ -97,7 +97,7 @@ wrapWebContents = (webContents) ->\n printingSetting.marginsType = options.marginsType\n if options.printSelectionOnly\n printingSetting.shouldPrintSelectionOnly = options.printSelectionOnly\n- if options.pr... | 2015-08-18T01:28:02 |
huggingface/transformers | ca543f822f73ebc69b00835c74ae927d9730b6f5 | 959239debc3ab7d35e95e8d99123468b7b08cdc0 | Add support for Florence-2 (#38188)
* init
* add modular
* fixup
* update configuration
* add processing file
* update auto files
* update
* update modular
* green setup_and_quality ci
* it works
* fix some tests
* commit florence2
* update test
* make test cases done - 16 left
* style
* fix few test ca... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -1005,6 +1005,8 @@\n title: Evolla\n - local: model_doc/flava\n title: FLAVA\n+ - local: model_doc/florence2\n+ title: Florence2\n - local: model_doc/gemma3\n title: Gemma3\n - local: model_doc/gemma3... | 2025-08-20T12:28:06 |
golang/go | 4ab3c1065eb38b90247f7ad46160fc5bb07ca2ed | 7286502b0d225b995d391c72efbaa7690ad023a9 | cmd/go/internal/web: improve IP check testing on ipv6 env
The existing implementation lacks consideration of running test on a
machine which has ipv6 address but no ipv4 address. Use net.IP.IsLoopback
and net.IP.IsUnspecified instead of hardcoded addresses.
Fixes: #48575
This PR will be imported into Gerrit with the... | [
{
"path": "src/cmd/go/internal/web/http.go",
"patch": "@@ -17,6 +17,7 @@ import (\n \t\"errors\"\n \t\"fmt\"\n \t\"mime\"\n+\t\"net\"\n \t\"net/http\"\n \turlpkg \"net/url\"\n \t\"os\"\n@@ -84,8 +85,15 @@ func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {\n \tif url.Host == \"localhost.lo... | 2021-10-07T17:24:47 |
vercel/next.js | 922b5de06f82f9327f05e8a78c9be96431a4fce9 | 8dabe4fc9621bc7993cb5ed36c4b7d7389bee57e | Support passing both closure arguments and parameters (#47212)
When calling the server (via `callServer`), we concat all closure values
(`$$bound`) and arguments of the function call into one array on the
client. Hence on the server, we will have to compile the function
differently to support that.
With this cha... | [
{
"path": "packages/next-swc/crates/core/src/server_actions.rs",
"patch": "@@ -147,6 +147,7 @@ impl<C: Comments> ServerActions<C> {\n Vec::new(),\n self.file_name.to_string(),\n export_name.to_string(),\n+ false,\n );\n \n ... | 2023-03-17T02:11:13 |
huggingface/transformers | 7d2aa5d6e6ba60ed692c844054e3771b85e8e22c | 3128db69274913ecaced722c17da2eeec4405f2b | :rotating_light: [`Flash Attention`] Fix sliding window size (#40163)
* swa fix
* add comment, make fix symmetrical
* modify fa inference test to force swa correctness check
* fixup comment | [
{
"path": "src/transformers/modeling_flash_attention_utils.py",
"patch": "@@ -532,7 +532,12 @@ def _process_flash_attention_kwargs(\n flash_kwargs[\"dropout_p\"] = dropout\n \n if supports_mapping[\"window_size\"] and sliding_window is not None and key_length > sliding_window:\n- flash_kw... | 2025-08-20T12:23:14 |
vercel/next.js | c7534092c7676b8de89e20ec23cfc7b4ba00f3c0 | 45fe26f596d2e102c68f3180c488cde18824f691 | Fix failing CI checks (#47223)
x-ref:
https://github.com/vercel/next.js/actions/runs/4441543036/jobs/7796929887
x-ref:
https://github.com/vercel/next.js/actions/runs/4441543036/jobs/7796930146 | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -955,7 +955,7 @@ jobs:\n deployExamples:\n name: Deploy examples\n runs-on: ubuntu-latest\n- needs: [publishRelease]\n+ needs: [build]\n steps:\n - uses: actions/checkout@v3\n with:",
"additions": 1,
... | 2023-03-17T01:59:52 |
golang/go | 7286502b0d225b995d391c72efbaa7690ad023a9 | 77f2750f4398990eed972186706f160631d7dae4 | test/fixedbugs: fix issue48784.go to pass with -G=0
This test is currently failing in the longtest builders.
I do not know how or why the builders are adding the -G=0 parameter.
Updates #48784
Change-Id: I62248d3fbc47567a8c73b4868a2d4aeb0bc47bc3
Reviewed-on: https://go-review.googlesource.com/c/go/+/354631
Trust: B... | [
{
"path": "test/fixedbugs/issue48784.go",
"patch": "@@ -15,9 +15,9 @@ var t T\n var a [1]int\n \n var (\n-\t_ = s == nil // ERROR \"invalid operation:.*mismatched types string and untyped nil\"\n-\t_ = b == nil // ERROR \"invalid operation:.*mismatched types bool and untyped nil\"\n-\t_ = i == nil // ERROR ... | 2021-10-07T18:23:54 |
huggingface/transformers | 3128db69274913ecaced722c17da2eeec4405f2b | ca0aaa8c740c5ebe7eddf366a979f21384afdc6b | chore: fix typo in `find_executable_batch_size` to match new 0.9 ratio (#40206) | [
{
"path": "src/transformers/trainer_utils.py",
"patch": "@@ -797,7 +797,7 @@ def find_executable_batch_size(\n \"\"\"\n Args:\n A basic decorator that will try to execute `function`. If it fails from exceptions related to out-of-memory or\n- CUDNN, the batch size is cut in half and passed to ... | 2025-08-20T12:18:06 |
electron/electron | 7842a90c5ed299fc13ea2b68d5bf8bd0198fa704 | 7c62cfba33a465eb999c9e3abc0820a4c9c26f28 | Fix absolute url to github | [
{
"path": "docs/api/remote.md",
"patch": "@@ -20,7 +20,8 @@ var win = new BrowserWindow({ width: 800, height: 600 });\n win.loadUrl('https://github.com');\n ```\n \n-Note: for the reverse (access renderer process from main process), you can use [webContents.executeJavascript](https://github.com/atom/electro... | 2015-08-17T13:03:04 |
nodejs/node | 8906e5209bb477c815534dbc965739f648d7ec11 | 2d2f82c4139f43dc3a657903aa23a641779d6ed0 | test: pull enconding WPT test fixtures
PR-URL: https://github.com/nodejs/node/pull/25321
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/fixtures/wpt/README.md",
"patch": "@@ -10,10 +10,11 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run.\n \n Last update:\n \n-- resources: https://github.com/web-platform-tests/wpt/tree/679a364421/resources\n-- interfaces: https://github.com/web-platform-tests... | 2018-12-04T10:34:59 |
vercel/next.js | 45fe26f596d2e102c68f3180c488cde18824f691 | bfed3985b10f978caf1a9ec8ffd101d85f0a5833 | Fix missing option in `createFromFetch` (#47216)
This PR makes sure that `callServer` is specified in all Flight response creation calls. Added a test to cover HMR.
https://vercel.slack.com/archives/C03KAR5DCKC/p1678997184339409 | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/app/hydrate.tsx",
"patch": "@@ -4,6 +4,7 @@ import type { ReactElement } from \"react\";\n // @ts-expect-error\n import { version } from \"next/package.json\";\n import { createFromReadableStream } from \"next/dist/compiled/react-server-dom-webpack/... | 2023-03-17T00:46:21 |
golang/go | 77f2750f4398990eed972186706f160631d7dae4 | 2043b3b47b3ca76d8ce44f05a77e48d2291b6fc6 | misc/wasm, cmd/link: do not let command line args overwrite global data
On Wasm, wasm_exec.js puts command line arguments at the beginning
of the linear memory (following the "zero page"). Currently there
is no limit for this, and a very long command line can overwrite
the program's data section. Prevent this by limit... | [
{
"path": "misc/wasm/wasm_exec.js",
"patch": "@@ -568,6 +568,13 @@\n \t\t\t\toffset += 8;\n \t\t\t});\n \n+\t\t\t// The linker guarantees global data starts from at least wasmMinDataAddr.\n+\t\t\t// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.\n+\t\t\tconst wasmMinDataAddr = 4096 + 4096;\... | 2021-09-02T20:51:59 |
huggingface/transformers | ca0aaa8c740c5ebe7eddf366a979f21384afdc6b | a01f38b36483b1aa45fe7ac8e7686ad191c90e99 | [`fix`] Pass adamw optimizer parameters to StableAdamW (#40184)
* fix: pass adamw optimizer parameters to StableAdamW
* add test for stable_adamw initialization with trainer arguments
* address copilot suggestion
* fix: update weight_decay handling in stable_adamw kwargs
---------
Co-authored-by: Marc Sun <571965... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -1819,6 +1819,7 @@ def optimizer_hook(param):\n if kahan_sum is not None:\n kahan_sum = bool(kahan_sum)\n \n+ adam_kwargs[\"weight_decay\"] = args.weight_decay\n stable_adamw_kwargs = {\n ... | 2025-08-20T11:52:23 |
rust-lang/rust | aff21f659f5abeba49b05368affd8c829807b1f1 | d655ff0806623fb00ca518eae88655ccbfda76df | compiler-builtins: Eliminate symlinks
compiler-builtins has a symlink to the `libm` source directory so the
two crates can share files but still act as two separate crates. This
causes problems with some sysroot-related tooling, however, since
directory symlinks seem to not be supported.
The reason this was a symlink... | [
{
"path": "library/compiler-builtins/compiler-builtins/LICENSE.txt",
"patch": "@@ -1 +0,0 @@\n-../LICENSE.txt\n\\ No newline at end of file",
"additions": 0,
"deletions": 1,
"language": "Plain Text"
},
{
"path": "library/compiler-builtins/compiler-builtins/src/math/libm_math",
"patch... | 2025-05-20T13:31:31 |
nodejs/node | 2d2f82c4139f43dc3a657903aa23a641779d6ed0 | 842a35fbac5c29e8bb095fe3716375232ee0d0ce | doc: make sure that calls to .read() are looped
The 'readable' event assumes that calls to readable.read() happens
within that event handler until readable.read() returns null.
Fixes: https://github.com/nodejs/node/issues/20503
PR-URL: https://github.com/nodejs/node/pull/25375
Reviewed-By: Anna Henningsen <anna@addal... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -641,15 +641,16 @@ then copying out the relevant bits.\n const store = [];\n \n socket.on('readable', () => {\n- const data = socket.read();\n+ let data;\n+ while (null !== (data = readable.read())) {\n+ // Allocate for retained data\n+ const sb = Buffer.... | 2019-01-07T14:37:34 |
vercel/next.js | bfed3985b10f978caf1a9ec8ffd101d85f0a5833 | 4e96e044d25b03cde527b3fc933629ac65ff990b | fix: show error for api route handler with `output: export` (#47219)
In the case when the user configured `output: export` and used an API Route Handler that cannot be converted to static, Next.js must throw an error.
fix NEXT-823 ([link](https://linear.app/vercel/issue/NEXT-823)) | [
{
"path": "packages/next/src/build/entries.ts",
"patch": "@@ -181,6 +181,7 @@ export function getEdgeServerEntry(opts: {\n absolutePagePath: opts.absolutePagePath,\n page: opts.page,\n appDirLoader: Buffer.from(opts.appDirLoader || '').toString('base64'),\n+ nextConfigOutput: opts.con... | 2023-03-16T22:38:00 |
huggingface/transformers | a01f38b36483b1aa45fe7ac8e7686ad191c90e99 | a5f0b505a03e9252395c2634cd3603deadd397b8 | Fix GOT-OCR2 and Cohere2Vision image processor patches caculation (#40312)
fix got-ocr patches caculation
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> | [
{
"path": "src/transformers/models/cohere2_vision/image_processing_cohere2_vision_fast.py",
"patch": "@@ -301,7 +301,8 @@ def get_number_of_image_patches(self, height: int, width: int, images_kwargs=Non\n num_columns, num_rows = get_optimal_tiled_canvas(\n (height, width), (patch... | 2025-08-20T11:13:58 |
golang/go | 2043b3b47b3ca76d8ce44f05a77e48d2291b6fc6 | 4607ebc7d897c36687ae4ede3cfd4939c6dd0a54 | cmd/compile,runtime: implement uint64->float32 correctly on 32-bit archs
The old way of implementing it, float32(float64(x)), involves 2 roundings
which can cause accuracy errors in some strange cases. Implement a runtime
version of [u]int64tofloat32 which only does one rounding.
Fixes #48807
Change-Id: Ie580be480be... | [
{
"path": "src/cmd/compile/internal/typecheck/builtin.go",
"patch": "@@ -176,30 +176,32 @@ var runtimeDecls = [...]struct {\n \t{\"float64touint64\", funcTag, 130},\n \t{\"float64touint32\", funcTag, 131},\n \t{\"int64tofloat64\", funcTag, 132},\n-\t{\"uint64tofloat64\", funcTag, 133},\n-\t{\"uint32tofloat6... | 2021-10-06T21:53:32 |
electron/electron | acffc713e09559955d9f9f33d1d7e3bfde3d64fc | 1a5269e51b45545ff2148f8a10a3da63540ca485 | Fix formatting of print and printToPDF methods | [
{
"path": "docs/api/web-view-tag.md",
"patch": "@@ -315,11 +315,11 @@ Executes editing command `replace` in page.\n \n Executes editing command `replaceMisspelling` in page.\n \n-### `<webview>.print([options])`\n+### `<webview>`.print([options])\n \n Prints webview's web page. Same with `webContents.print(... | 2015-08-17T08:52:10 |
nodejs/node | 82f03f89b4ceda21e4e1e758c28ef3283ff2d5f0 | e18b46196565b87ac87ed5931c8dc1670cb23cc4 | test: fix test/pummel/test-fs-watch-non-recursive.js
test-fs-watch-non-recursive was loading the `common/tmpdir` module as if
it were a built-in and was failing because of it. Fix the path. The test
now works.
PR-URL: https://github.com/nodejs/node/pull/25386
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: ... | [
{
"path": "test/pummel/test-fs-watch-non-recursive.js",
"patch": "@@ -24,7 +24,7 @@ const common = require('../common');\n const path = require('path');\n const fs = require('fs');\n \n-const tmpdir = require('tmpdir');\n+const tmpdir = require('../common/tmpdir');\n \n const testDir = tmpdir.path;\n const ... | 2019-01-08T05:52:24 |
huggingface/transformers | d0f1a6ec3692160302a21613d8b7599aabf49f17 | da9452a592ac1e284d61bdbc86ad13d304586f93 | Clean up X-Codec. (#40271)
* Clean up xcodec addition.
* Clean up config.
* Switch to fixtures test.
* Small stuff. | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -693,8 +693,6 @@\n title: UL2\n - local: model_doc/umt5\n title: UMT5\n- - local: model_doc/xcodec\n- title: X-CODEC\n - local: model_doc/xmod\n title: X-MOD\n - local: model_doc/xglm\n@@ -945,6 +943,... | 2025-08-20T10:16:28 |
vercel/next.js | cc0da4bd29a8d573664ba916659098de02311eb2 | dbdf47cf617b8d7213ffe1ff28318ea8eb88c623 | Opt-in to dynamic rendering when reading searchParams (#46205)
Ensures that using `searchParams` opts into dynamic rendering.
Fixes #43077
fix NEXT-601 ([link](https://linear.app/vercel/issue/NEXT-601))
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as sm... | [
{
"path": "packages/next/src/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -423,6 +423,10 @@ const nextAppLoader: AppLoader = async function nextAppLoader() {\n \n export { requestAsyncStorage } from 'next/dist/client/components/request-async-storage'\n \n+ export { staticGenerationBailout ... | 2023-03-16T20:46:35 |
rust-lang/rust | 57786431746f495f4205e26ee1badd142a380fff | ba7cdb681468ef7617bfa5a2bde7e3fb3d79a2be | libm-test: Fix unintentional skips in `binop_common`
`binop_common` emits a `SKIP` that is intended to apply only to
`copysign`, but is instead applying to all binary operators. Correct the
general case but leave the currently-failing `maximum_num` tests as a
FIXME, to be resolved separately in [1].
Also simplify ski... | [
{
"path": "library/compiler-builtins/libm-test/src/generate/edge_cases.rs",
"patch": "@@ -51,6 +51,7 @@ where\n \n // Check some special values that aren't included in the above ranges\n values.push(Op::FTy::NAN);\n+ values.push(Op::FTy::NEG_NAN);\n values.extend(Op::FTy::consts().iter());\n ... | 2025-06-02T20:20:23 |
golang/go | be571a36c7aa7198aef4712f8c6cde633e2f380b | ebeab63d9515b539ae627f10cfc1766eecd243aa | cmd/compile: fix the index variable is shadowed in dictPass
The CL 349613 causes this problem.
In fact, we want to use the outer i to find m.List[i],
but the newly created index variable i in the nearest
for range shadow the outer i.
Fixes #48838.
Change-Id: I10f0bd985340f9443eefaadda6fc56e4e7e9a10c
Reviewed-on: htt... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1298,9 +1298,9 @@ func (g *irgen) dictPass(info *instInfo) {\n \t\t\t\t\t\t\t// Type switch from nonempty interface. We need a *runtime.itab\n \t\t\t\t\t\t\t// for the dynamic type.\n \t\t\t\t\t\t\tix := -1\n-\t\t\t\t\t\t\tfor i, ic := ran... | 2021-10-07T12:14:22 |
nodejs/node | e18b46196565b87ac87ed5931c8dc1670cb23cc4 | a53518d027c7ab72e66100fa32a1d5a9898ca6d0 | test: fix test/pummel/test-fs-watch-file.js
test-fs-watch-file.js fails for two reasons. First, there are cases
where it is checking the error message for an error whose message has
changed since the test was written. Change these instances to check for
an error code instead.
Second, there is an instance where it tri... | [
{
"path": "test/pummel/test-fs-watch-file.js",
"patch": "@@ -60,12 +60,8 @@ process.on('exit', function() {\n fs.writeFileSync(filepathOne, 'hello');\n \n assert.throws(\n- function() {\n- fs.watchFile(filepathOne);\n- },\n- function(e) {\n- return e.message === '\"watchFile()\" requires a listener... | 2019-01-08T04:39:57 |
huggingface/transformers | a4e1fee44dc849f2d5ea698c5e730a86c058ba6b | 126bc03b4eb7710acf4e4efdc1601ddfbd479181 | [`FA`] Fix dtype in varlen with position ids (#40295)
fix | [
{
"path": "src/transformers/modeling_flash_attention_utils.py",
"patch": "@@ -336,9 +336,8 @@ def prepare_fa_kwargs_from_position_ids(position_ids, is_packed_sequence: bool =\n # If the lengths are not equal, most probably we are in decoding stage with cache\n # In that case the position ids will no... | 2025-08-20T09:15:55 |
rust-lang/rust | ba7cdb681468ef7617bfa5a2bde7e3fb3d79a2be | e83ca863412a950f19fbc4e8fc632f19107dd0a2 | ci: Refactor benchmark regression checks
iai-callgrind now correctly exits with error if regressions were found
[1], so we no longer need to check for regressions manually. Remove this
check and instead exit based on the exit status of the benchmark run.
[1] https://github.com/iai-callgrind/iai-callgrind/issues/337 | [
{
"path": "library/compiler-builtins/ci/bench-icount.sh",
"patch": "@@ -46,17 +46,18 @@ function run_icount_benchmarks() {\n shift\n done\n \n- # Run iai-callgrind benchmarks\n- cargo bench \"${cargo_args[@]}\" -- \"${iai_args[@]}\"\n+ # Run iai-callgrind benchmarks. Do this in a subshe... | 2025-06-01T19:52:57 |
vercel/next.js | dbdf47cf617b8d7213ffe1ff28318ea8eb88c623 | 723626cf481ae1fc9491db3e1bc1f8d121bb7576 | fix build issue and future incompatibility (#47176)
It was complaining about having 2 versions of sentry for some reason | [
{
"path": "packages/next-swc/Cargo.lock",
"patch": "@@ -93,15 +93,6 @@ version = \"0.7.2\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6\"\n \n-[[package]]\n-name = \"ascii-canvas\"\n-version = \"3.0.0\"\n... | 2023-03-16T19:29:24 |
golang/go | ebeab63d9515b539ae627f10cfc1766eecd243aa | 375a1fba0eb733676698ac3a9fdd12e6a8dd6602 | go/types: better error message for invalid untyped nil conversion
This is port of CL 354049 for types2 to go/type.
The change is identical, but for some tweaks to the error message/position
in tests, since when go/types reports the exact operation "cannot convert"
instead of the general "invalid operation" like types... | [
{
"path": "src/go/types/errorcodes.go",
"patch": "@@ -875,7 +875,7 @@ const (\n \t// context in which it is used.\n \t//\n \t// Example:\n-\t// var _ = 1 + nil\n+\t// var _ = 1 + new(int)\n \t_InvalidUntypedConversion\n \n \t// _BadOffsetofSyntax occurs when unsafe.Offsetof is called with an argument",
... | 2021-10-05T16:53:07 |
huggingface/transformers | 126bc03b4eb7710acf4e4efdc1601ddfbd479181 | 1d4609173780c973c2f52ee21249856724277922 | Allow to be able to run `torch.compile` tests with `fullgraph=True` (#40164)
* fix
* address comment
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "conftest.py",
"patch": "@@ -23,7 +23,7 @@\n import _pytest\n import pytest\n \n-from transformers.testing_utils import HfDoctestModule, HfDocTestParser, is_torch_available\n+from transformers.testing_utils import HfDoctestModule, HfDocTestParser, is_torch_available, patch_torch_compile_force_grap... | 2025-08-20T08:42:33 |
rust-lang/rust | 7a9e01ad92d725f0cadf8c5c1405464270a36448 | 77174a3f435fe3e86eab9f3604c7e845dffbc359 | Fix incorrect intrinsic name in WASM | [
{
"path": "library/stdarch/crates/core_arch/src/wasm32/simd128.rs",
"patch": "@@ -110,9 +110,9 @@ unsafe extern \"unadjusted\" {\n #[link_name = \"llvm.wasm.avgr.unsigned.v8i16\"]\n fn llvm_avgr_u_i16x8(a: simd::i16x8, b: simd::i16x8) -> simd::i16x8;\n \n- #[link_name = \"llvm.wasm.extadd.pairwis... | 2025-06-02T17:48:03 |
electron/electron | 6f25996fa1e4fd8b6db9eb995bb9ebf6d76dd8af | 1a5269e51b45545ff2148f8a10a3da63540ca485 | Fixed typo | [
{
"path": "atom/browser/lib/init.coffee",
"patch": "@@ -38,7 +38,7 @@ process.on 'uncaughtException', (error) ->\n # Show error in GUI.\n stack = error.stack ? \"#{error.name}: #{error.message}\"\n message = \"Uncaught Exception:\\n#{stack}\"\n- require('dialog').showErrorBox 'A JavaScript error occu... | 2015-08-16T20:20:09 |
nodejs/node | a53518d027c7ab72e66100fa32a1d5a9898ca6d0 | 8c0290e0543af85ac82c243987d5996c00a16cc6 | test: set umask for tests
https://github.com/nodejs/node/pull/25213 proposes setting umask in the
Python test runner to avoid spurious test failures when running from a
shell with a restrictive umask. This is a good idea, but will only fix
the issue for tests run with the Python runner. Set it in
`common/index.js` as ... | [
{
"path": "test/common/index.js",
"patch": "@@ -34,6 +34,14 @@ const {\n hasIntl\n } = process.binding('config');\n \n+// Some tests assume a umask of 0o022 so set that up front. Tests that need a\n+// different umask will set it themselves.\n+//\n+// process.umask() is not available in workers so we need... | 2018-12-26T14:14:54 |
vercel/next.js | 723626cf481ae1fc9491db3e1bc1f8d121bb7576 | 1255e199654b96c06b3cae4c09d54ca19d19bd89 | Handle defaultLocale on client router filter (#47180)
x-ref: [slack
thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1678838567947919)
Follow-up to https://github.com/vercel/next.js/pull/46317. The issue is
that, if:
- `experimental.clientRouterFilter` is enabled
- `i18n` is enabled with `defaultLocale`... | [
{
"path": "packages/next/src/shared/lib/router/router.ts",
"patch": "@@ -1096,7 +1096,9 @@ export default class Router implements BaseRouter {\n // a hard navigation\n if (matchesBflStatic || matchesBflDynamic) {\n handleHardNavigation({\n- url: addBasePa... | 2023-03-16T18:58:02 |
golang/go | 375a1fba0eb733676698ac3a9fdd12e6a8dd6602 | ecb2f231fa41b581319505139f8d5ac779763bee | cmd/compile: better error message for invalid untyped nil conversion
In case of an invalid untyped nil conversion, the compiler's original
type checker leaves it to the caller to report a suitable error message.
But types2 does not, it always reports the invalid conversion.
CL 328053 made types2 report a better error... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -996,6 +996,12 @@ func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op\n \t\tif isString(x.typ) != isString(y.typ) {\n \t\t\treturn false\n \t\t}\n+\t\tif x.isNil() && !hasNil(y.typ) {\n+\t\t\treturn false\n+\t\t}\... | 2021-10-05T15:59:49 |
electron/electron | a88f951b2f86aee7c6a47ca1977cc93aaf229f6e | 467ba6b7a9f91eac4008fb468ae8479d8f022397 | Always set headers for response
When intercepting HTTP protocols Chromium will assume there is always headers
set, so we have to provide headers for all the responses to avoid the
crash. | [
{
"path": "atom/browser/net/js_asker.h",
"patch": "@@ -11,6 +11,7 @@\n #include \"base/values.h\"\n #include \"content/public/browser/browser_thread.h\"\n #include \"net/base/net_errors.h\"\n+#include \"net/http/http_response_headers.h\"\n #include \"net/url_request/url_request_context_getter.h\"\n #include... | 2015-08-13T14:26:27 |
rust-lang/rust | 77174a3f435fe3e86eab9f3604c7e845dffbc359 | 068cc378a6ba1633ae497dcaeee290799107f176 | Fix incorrect intrinsic name in X86 | [
{
"path": "library/stdarch/crates/core_arch/src/x86/avx512dq.rs",
"patch": "@@ -7071,18 +7071,18 @@ unsafe extern \"C\" {\n #[link_name = \"llvm.x86.avx512.sitofp.round.v8f32.v8i64\"]\n fn vcvtqq2ps_512(a: i64x8, rounding: i32) -> f32x8;\n \n- #[link_name = \"llvm.x86.avx512.uitofp.round.v2f64.v2... | 2025-06-02T17:16:20 |
nodejs/node | 8c0290e0543af85ac82c243987d5996c00a16cc6 | dfaa61fa18b5008912583ee8e00ebbd4f96debf6 | test: fix failing assertion
One test did not cause an assertion. By changing the test to use
`assert.throws()` all tests have to throw, otherwise the test will
fail.
PR-URL: https://github.com/nodejs/node/pull/25250
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-assert.js",
"patch": "@@ -257,16 +257,14 @@ const circular = { y: 1 };\n circular.x = circular;\n \n function testAssertionMessage(actual, expected, msg) {\n- try {\n- assert.strictEqual(actual, '');\n- } catch (e) {\n- assert.strictEqual(\n- e.message,\n- msg... | 2018-12-28T17:08:03 |
huggingface/transformers | 1d4609173780c973c2f52ee21249856724277922 | 0f9c9088d0260565cd89af2925836ea2f8bfe5f3 | Add MetaCLIP 2 (#39826)
* First draft
* Make fixup
* Use eos_token_id
* Improve tests
* Update clip
* Make fixup
* Fix processor tests
* Add conversion script
* Update docs
* Update tokenization_auto
* Make fixup
* Use check_model_inputs
* Rename to lowercase
* Undo CLIP changes
* Address comment
* Conv... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -1065,6 +1065,8 @@\n title: LXMERT\n - local: model_doc/matcha\n title: MatCha\n+ - local: model_doc/metaclip_2\n+ title: MetaCLIP 2\n - local: model_doc/mgp-str\n title: MGP-STR\n - local: model_doc/... | 2025-08-20T07:25:43 |
vercel/next.js | 5f36893ba1f67b9a3970e9648ff17cf7f02594ea | 824c97458c753504e1d08233aa9379bd5834f0eb | fix test paths on windows (vercel/turbo#4228)
### Description
windows has `\\?\` magic | [
{
"path": "crates/turbopack-tests/tests/snapshot.rs",
"patch": "@@ -90,6 +90,7 @@ fn default_entry() -> String {\n \n #[testing::fixture(\"tests/snapshot/*/*/\")]\n fn test(resource: PathBuf) {\n+ let resource = canonicalize(resource).unwrap();\n // Separating this into a different function fixes my ... | 2023-03-16T17:29:32 |
golang/go | 6f74ed06c5b0e1d69fb70e89f31f002f18554c79 | 39bbf08e7139d0e041b0633945a42d0621d2897e | go/types: implement copy for generic argument types
This is a port of CL 354432 from types2 to go/types
with minor adjustments:
- an error message has a different position
- the constraint literals are wrapped in interfaces
because the interface-free notation has not been
ported yet
Change-Id: I167094b57b39027566... | [
{
"path": "src/go/types/builtins.go",
"patch": "@@ -341,15 +341,13 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\treturn\n \t\t}\n \t\tvar src Type\n-\t\tswitch t := under(y.typ).(type) {\n+\t\tswitch t := optype(y.typ).(type) {\n \t\tcase *Basic:\n \t\t\tif isSt... | 2021-10-07T02:38:15 |
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.