sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [XPU] quantile related tests failed with Assertion failed: helper.isSupportedLayout() && "Unexpected srcLayout in ReduceOpConversion"
Labels: triaged,module: xpu

### 🐛 Describe the bug

When running the UT on Windows/Linux:

```Python
pytest -k test_comprehensive_nanquantile_xpu_float32  -v  test_torchinductor_opinfo.py 
pytest -k test_comprehensive_quantile_xpu_float32  -v  test_torchinductor_opinfo.py 
```

The test failed with the following:

```Python
Assertion failed: helper.isSupportedLayout() && "Unexpected srcLayout in ReduceOpConversion"
```

### Versions

PyTorch: d0f5df83a50d9bb630764c92ac63fcb2640b1f94
Triton (for intel xpu): c23ff25775780cc4bb1ca530fd3ae33b0cf3b56e
Platform: Ubuntu 24.10 / Windows 11

cc @gujinghui @EikanWang @fengyuan14 @guangyey
Repository: node
Issue: call exe by node reutrn 3221225477
Labels: windows

### Version

18.20.1

### Platform

```text
a c++ program can run corrcetly by cmd.But when we call this in node spawn with code 3221225477.run program by node child_process.spwan corrcetly,but it broked return 3221225477.

I used windebug to display access violation. Is there any difference between using node to pull up the memory allocation and using cmd to pull it up? Aren't they both independent memory spaces? Why can cmd execute it?
```

### Subsystem

win10

### What steps will reproduce the bug?

const { spawn } = require('child_process');

const cppProcess = spawn('./myProgram.exe');

cppProcess.stdout.on('data', (data) => {
console.log(stdout: ${data});
});

cppProcess.stderr.on('data', (data) => {
console.error(stderr: ${data});
});

cppProcess.on('close', (code) => {
if (code !== 0) {
console.error(C++ 程序发生错误，退出码 ${code});
} else {
console.log('C++ 程序正常退出');
}
});

cppProcess.on('error', (err) => {
console.error(启动 C++ 程序时出错: ${err.message});
});

### How often does it reproduce? Is there a required condition?

must,but differentcomputer return different condition,it may run correctly

### What is the expected behavior? Why is that the expected behavior?

run correctly like cmd way

### What do you see instead?

return 3221225477,
mov qword ptr [rdi],rdx ds:00000000`00000000=?????????????????

### Additional information

_No response_
Repository: kubernetes
Issue: Pod GC should sort by finish Timestamp
Labels: kind/feature,needs-sig,needs-triage

### What would you like to be added?

In Controller Manager, terminated pods gc should sort by it's finish time, other than it's creation time.

### Why is this needed?

When terminated pods reach gc's threshold (`--terminated-pod-gc-threshold` in Controller Manager, default 12500), Controller Manager will trigger pod gc, delete terminated pods util the pods count below threshold.
But when KCM start deletion, pod sort by creation time, which means pods that created firts will delete first. In some case, like in cluster there are both AI training job and spark job,  spark job running and finish very quick, but some AI pods will running for a long time. 
If cluster's total terminated reach gc threshold,  just when long run pods running successfully, it may be gc immediately, because of it's creation time is longest, other workflow controller could not processed it in time.
Repository: flutter
Issue: Firebase Flutter tutorial missing statement "import" statement instruction
Labels: team-codelabs,p: firebase,P2,triaged-codelabs

[This page ](https://firebase.google.com/codelabs/firebase-get-to-know-flutter#8) in the Firebase Flutter Tutorial is missing instruction to include statement "import 'yes_no_selection.dart';"  in file lib/home_page.dart.
Repository: flutter
Issue: [Impeller] re-enable runtime mipmap generation on Adreno GPU.
Labels: P3,e: impeller,team-engine,triaged-engine

Based on a large number of issue reports and my own testing, generating mipmaps on Adreno GPU can occassionally corrupt the image - though this depends on the exact dimensions and number of mips. This can happen on 6XX, 7XX, and 8XX series.

* https://github.com/flutter/flutter/issues/160441
* https://github.com/flutter/flutter/issues/159876
* https://github.com/flutter/flutter/issues/160587

The strategy we use is _essentially_ the same as https://docs.vulkan.org/samples/latest/samples/api/texture_mipmap_generation/README.html (and even then, I replaced our code with a copy paste of that one and still reproduced the same problems). I am also fairly certain that it is not a synchronization problem, as I've tested with "everything" barrier between blits and can still reproduce the problems.

My current best guess is a bug in the driver. We have a few options to work around it

1. Generate mips on the CPU. This will be slow, and additionally require readback in places that we previously didnt need it. Last choice.
2. Test and determine if there are magic numbers that work consistently. Surely the driver can't be _that_ broken right? Maybe with a square power of two texture we can guarantee no corruption. Then we could blit regions onto a correctly sized texture.
3. Use a render pass chain to do the downsizing. Less bad than 1.
4. Use a compute pass to do the downsizing. If this is how well blit passes work on adreno I don't even want to touch compute lmao.

I'm going to try a bit of 2. and then probably do 3. But not until higher priority issues are solved.

Potentially related issues:
  * https://issuetracker.unity3d.com/issues/vulkan-qualcomm-855-mipmaps-of-the-render-texture-are-wrote-to-incorrect-areas-of-a-texture
  * https://issuetracker.unity3d.com/issues/vulkan-adreno-630-gpu-renders-black-artifacts-on-the-terrain-when-draw-instanced-is-enabled
Repository: PowerToys
Issue: Add a shortcut for taskbar show/hide settings
Labels: Needs-Triage

### Description of the new feature / enhancement

There's a setting in windows Settings > Personalization > Taskbar that says "Automatically hide the taskbar in desktop mode". Natively, there's no shortcut assigned to it, and there isn't a way to manually assign one. It'd be great to have it on a shortcut, so that the user can turn the setting on/off on command, without having to go to the settings menu every time.

### Scenario when this would be used?

I personally like having as much screen real estate as possible, but sometimes, I do need the taskbar to not be on auto hide.

### Supporting information

_No response_
Repository: go
Issue: cmd/compile/internal/arm64: unrecognized failures
Labels: help wanted,OS-NetBSD,NeedsInvestigation,compiler/runtime

```
#!watchflakes
default <- pkg == "cmd/compile/internal/arm64" && test == ""
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8726379937861302561)):

    FAIL	cmd/compile/internal/arm64 [build failed]


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: neovim
Issue: `:lua>` command to dump Lua values to a buffer
Labels: enhancement,lua

### Problem

When writing or configuring plugins, it's often useful to see the output of functions or variables in a buffer where you can navigate with `/` and `%` and other vim motions. Since lua is the core config language of neovim, this would be a great built-in feature.

You can achieve something like this with `:new | put =luaeval('vim.inspect(value_to_inspect)')` but it's awkward, not a proper scratch buffer, and it doesn't autocomplete (since the target lua command is inside a string).

Proposed solution: Similar to `:lua=` to print a lua expression, add `:lua>` to dump an expression into a scratch buffer.


Essentially, bind it to this function:
```lua
-- Dump a lua value to a buffer for inspection.
function View(v)
    -- Use a unique filename to avoid opening an existing buffer.
    vim.cmd.vnew("lua output ".. os.time())
    vim.bo.buftype = "nofile"
    vim.bo.bufhidden = "delete"
    vim.bo.swapfile = false
    vim.cmd.setfiletype("lua")

    local start_line = 0
    local bufnr = vim.fn.bufnr()
    for i=1,select('#', ...) do
        local val = select(i, ...)
        local lines = vim.split(vim.inspect(val), "\n")
        if i == 1 then
            lines[1] = "output = ".. lines[1]  -- make buffer closer to valid lua
        else
            lines[1] = ", ".. lines[1]
        end
        vim.api.nvim_buf_set_lines(bufnr, start_line, -1, false, lines)
        start_line = -1
    end 
end
```

I picked `>` to be like redirecting it to a buffer. I'm not sure if there's another symbol that's both easy to implement in the parser and has an association with buffers. Maybe `lua^` or `lua!` could work too.

### Expected behavior

With this command, if you want to inspect the active lsp config, you can dump it into a buffer to examine:
```vim
:lua> vim.lsp.get_active_clients()
```

Or even browse the entire vim api:
```vim
:lua> vim
```

Both of these commands would create a new scratch buffer (that's destroyed on close and with no backing file) and populate it with the pretty-printed output of those lua values. Another complete example using multiple values:

```vim
:lua> vim.cmd, vim.bo
```

Splits to create a scratch buffer with this content:
```lua
output = {
  autocmd = <function 1>,
  file = <function 2>,
  new = <function 3>,
  setfiletype = <function 4>,
  vnew = <function 5>,
  <metatable> = {
    __call = <function 6>,
    __index = <function 7>
  }
}
, {
  <metatable> = {
    __index = <function 1>,
    __newindex = <function 2>
  }
}
```
Repository: vscode
Issue: View/Editor actions padding inconsistent
Labels: bug,ux,papercut :drop_of_blood:

Related to https://github.com/microsoft/vscode/issues/236223

The change in https://github.com/microsoft/vscode/commit/276e24792198ecb7e83533d575568b66da722064 reduced `padding` of actions in toolbars to `2px`. But the change does not seem to impact the editor part, resulting in different paddings for components that originally were designed to be the same:

`2px` padding in views:
![Image](https://github.com/user-attachments/assets/517d35be-4801-476e-98e7-7931d5796ff0)

`3px` padding in editors:
![Image](https://github.com/user-attachments/assets/ae610ec6-01a4-454e-82ef-d760f677947a)
Repository: ant-design
Issue: RangePicker 在容器右侧时，弹出层的箭头位置不正确
Labels: unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/fan-wei-xuan-ze-qi-antd-5-23-0-forked-4rscry)

### Steps to reproduce

打开选择器，查看箭头

### What is expected?

箭头指向输入框的位置

### What is actually happening?

位置不正确

| Environment | Info |
| --- | --- |
| antd | 5.23.0 |
| React | latest |
| System | mac |
| Browser | chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: langchain
Issue: DOC: Missing Information About the model Field in HuggingFaceEndpoint
Labels: 🤖:docs

### URL

https://python.langchain.com/api_reference/huggingface/llms/langchain_huggingface.llms.huggingface_endpoint.HuggingFaceEndpoint.html#langchain_huggingface.llms.huggingface_endpoint.HuggingFaceEndpoint.model

### Checklist

- [X] I added a very descriptive title to this issue.
- [x] I included a link to the documentation page I am referring to (if applicable).

### Issue with current documentation:

In the `langchain_huggingface` package, the `HuggingFaceEndpoint` class has a required field named model, which is used to specify the model name, such as `microsoft/Phi-3-mini-4k-instruct`. However, the corresponding documentation does not include any details about this property.
![image](https://github.com/user-attachments/assets/d9a0c213-d384-49f5-87e0-077981c03468)
![image](https://github.com/user-attachments/assets/24561d67-2ae1-4bce-aa4b-260d04dc832a)


This omission creates confusion, particularly because the `repo_id` field also accepts repository ID strings (e.g., `microsoft/Phi-3-mini-4k-instruct`). The key differences between these fields are as follows:

- The `model` field is required.
- The `repo_id` field is marked as optional.
- The `endpoint_url` field requires the model's URL. (Not a part of current issue)

The lack of clear documentation for the model field, combined with its similarity to repo_id, makes it difficult for developers to understand which field to use.

### Idea or request for content:

Writing the differences between the field `repo_id` and `model`, and describing the purposes of each property.
Repository: deno
Issue: Proposal: deno-lint-ignore-line to ignore the linter warning for the same line
Labels: suggestion,lint

# Reason

Adding a new `// deno-lint-ignore` comment line before an offending line of code, is useful to draw attention. But when the ignore issue is minor, ideally attention should not be drawn, by simply adding the comment after the statement, without creating a new line for it.

## Before

```ts
import {
  getFirestore,
  // deno-lint-ignore no-unused-vars -- Firestore is used as a return type but https://github.com/denoland/deno/issues/27583#issue-2774370928
  Firestore,
} from 'firebase-admin/firestore';
```

## After

```ts
import { getFirestore, Firestore } from 'firebase-admin/firestore';  // deno-lint-ignore-line no-unused-vars -- Firestore is used as a return type but https://github.com/denoland/deno/issues/27583#issue-2774370928
```

# Prior art

[ESLint offers](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) `// eslint-disable-line` in addition to `// eslint-disable-next-line`.
Repository: pytorch
Issue: torch.compile post_accumulate_grad_hook ordering is wrong for tiebreakers
Labels: triaged,oncall: pt2,module: aotdispatch,module: pt2-dispatcher

### 🐛 Describe the bug

```python
import torch
import torch.nn as nn
import functools

model = nn.Sequential(
    nn.Linear(10, 10, bias=False),  # i=0
    nn.Linear(10, 10, bias=False),  # i=1
    nn.Linear(10, 10, bias=False),  # i=2
)

hook_ordering = []

def hook(param, i):
    global hook_ordering
    hook_ordering.append(i)

for i, param in enumerate(model.parameters()):
    param.register_post_accumulate_grad_hook(functools.partial(hook, i=i))

x = torch.randn(10, 10)
out = model(x)
out.sum().backward()
print(f"eager hook ordering: {hook_ordering}")
# eager hook ordering: [2, 1, 0]

model.zero_grad()
hook_ordering = []

out = torch.compile(model, backend="eager")(x)
out.sum().backward()
print(f"compiled backend=eager hook ordering: {hook_ordering}")
# compiled backend=eager hook ordering: [2, 1, 0]

model.zero_grad()
hook_ordering = []

out = torch.compile(model, backend="aot_eager")(x)
out.sum().backward()
print(f"compiled backend=aot_eager hook ordering: {hook_ordering}")
# compiled backend=aot_eager hook ordering: [0, 1, 2]
```

We found this while working on Functional Autograd + Compiled Autograd. This is a consequence of implementing CompiledFunction as an autograd.Function. `CompiledFunction.backward` gradient return order must match the input order to `CompiledFunction.forward` i.e. [0, 1, 2]. 

While autograd does schedule AccumulateGrad nodes (and their post hook) ASAP, it can't peek into the autograd node, so there is a tiebreaker scenario when the autograd node returns multiple grads. The current autograd engine implementation just follows the output order.

One possible solution is to have the partitioner tell the autograd engine the desired ordering of outputs.

### Versions

main

cc @chauhang @penguinwu @zou3519 @bdhirsh @yf225
Repository: flutter
Issue: CupertinoButton is missing minWidth and minHeight.
Labels: framework,waiting for PR to land (fixed),f: cupertino,c: proposal,P2,team-design,triaged-design

### Use case

Most of the time, our buttons may need to be rectangular rather than perfectly square. Currently, CupertinoButton only has a minSize property. For users, it is unclear whether this refers to width or height. Moreover, it is impossible to set a minimum size with unequal width and height. The only option is to adjust the size of its child to achieve the desired dimensions.


Specifically:
https://github.com/flutter/flutter/blob/b5df29072de2778dc843a3a8ad3ffa8b2bdc885c/packages/flutter/lib/src/cupertino/button.dart#L418-L428

I think this place should use minWidth and minHeight.



### Proposal

Add minWidth and minHeight to replace minSize.
Repository: PowerToys
Issue: Open an app with active focus
Labels: Needs-Triage

### Description of the new feature / enhancement

I would really appreciate the possibility to  have `Active Focus`  in visibility other than `Normal` and `Hidden` in **Keyboard Manager > Remap a shortcut**.

### Scenario when this would be used?

You can create a shortcut like opening a terminal app (like Linux) on top of all other apps. 

### Supporting information

_No response_
Repository: flutter
Issue: iOS BackdropFilter Performance Issues with Impeller Engine
Labels: waiting for customer response,in triage

### Steps to reproduce

When using BackdropFilter with ImageFilter.blur in my iOS app with Impeller enabled, I noticed significant performance issues and lag, especially with multiple blur effects. However, when I disabled Impeller in Info.plist, the performance dramatically improved and matched Android's performance.

1. Create a Flutter app using BackdropFilter with ImageFilter.blur
2. Test on iOS device with Impeller enabled (default)
3. Notice lag and performance issues
4. Disable Impeller by adding FLTEnableImpeller: false in Info.plist
5. Test again and notice significantly improved performance


Device Information:
- iOS Version: 15.8.3
- Device Model: IPhone 7 Plus
- Flutter Version: Channel stable, 3.24.5

Expected Behavior:
BackdropFilter should perform smoothly with Impeller enabled, similar to performance when Impeller is disabled.

Additional Notes:
- Performance issues are more noticeable when multiple BackdropFilters are used
- Same code works perfectly on Android devices
- Disabling Impeller resolves the performance issues completely

Would it be possible to optimize the BackdropFilter implementation for Impeller on iOS?

### Code sample

<details open><summary>Code sample</summary>

BackdropFilter(
  filter: ImageFilter.blur(sigmaX: 5, sigmaY: 5),
  child: Container(
    decoration: BoxDecoration(
      gradient: LinearGradient(
        colors: [
          Colors.white.withOpacity(0.2),
          Colors.white.withOpacity(0.1),
        ],
      ),
    ),
  ),
)
</details>


### Performance profiling on master channel

- [x] The issue still persists on the master channel

### Timeline Traces

<details open><summary>Timeline Traces JSON</summary>

```json
[Paste the Timeline Traces here]
```

</details>


### Video demonstration

<details open>
<summary>Video demonstration</summary>

[Upload media here]

</details>


### What target platforms are you seeing this bug on?

iOS

### OS/Browser name and version | Device information

 macOS 15.1.1 24B91 darwin-arm64
Device: IPhone 7 Plus

### Does the problem occur on emulator/simulator as well as on physical devices?

Unknown

### Is the problem only reproducible with Impeller?

N/A

### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-arm64, locale tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.96.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
</details>
Repository: deno
Issue: Long running tasks in parallel 
Labels: bug,task runner

The ability to run tasks in all workspace projects recursively is very useful, specifically for build tasks, but it would be nice to be able to run long running tasks recursively in parallel similar to how [Turborepo](https://turbo.build/repo/docs) works.
Repository: rust
Issue: improve spans for `CallArgument` constraints
Labels: C-enhancement,A-diagnostics,A-borrow-checker,T-compiler,D-imprecise-spans

that's a quirk of `CallArgument` constraints. they get their span from the `Location` of the call terminator; since they don't store the span of the particular argument, it gets lost in diagnostics. that said, it does look like we have the spans of each argument in `TypeChecker::check_call_inputs`, so they could store that.

_Originally posted by @dianne in https://github.com/rust-lang/rust/pull/133858#discussion_r1906130482_
Repository: fastapi
Issue: Duplicated OperationID when adding route with multiple methods
Labels: question,question-migrate

### Discussed in https://github.com/fastapi/fastapi/discussions/8449

<div type='discussions-op-text'>

<sup>Originally posted by **bruchar1** March 30, 2022</sup>
### First Check

- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the FastAPI documentation, with the integrated search.
- [X] I already searched in Google "How to X in FastAPI" and didn't find any information.
- [X] I already read and followed all the tutorial in the docs and didn't find an answer.
- [X] I already checked if it is not related to FastAPI but to [Pydantic](https://github.com/samuelcolvin/pydantic).
- [X] I already checked if it is not related to FastAPI but to [Swagger UI](https://github.com/swagger-api/swagger-ui).
- [X] I already checked if it is not related to FastAPI but to [ReDoc](https://github.com/Redocly/redoc).

### Commit to Help

- [X] I commit to help with one of those options 👆

### Example Code

```python
router.add_api_route(
    "/clear",
    clear,
    methods=["POST", "DELETE"]
)
```


### Description

Seems to be caused by #4650.

The new `generate_unique_id()` function uses `list(route.methods)[0].lower()` as suffix for the `operation_id`. Therefore, in my example, both post and delete endpoints get `_post` suffix for operation_id, causing it to no longer be unique.

It then issues a "UserWarning: Duplicate Operation ID"

### Operating System

Windows

### Operating System Details

_No response_

### FastAPI Version

0.75.0

### Python Version

3.10.2

### Additional Context

_No response_</div>
Repository: flutter
Issue: Linux_pixel_7pro integration_ui_keyboard_resize is 2.17% flaky
Labels: P0,c: flake,team-tool

<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Linux_pixel_7pro integration_ui_keyboard_resize"
}
-->

The post-submit test builder `Linux_pixel_7pro integration_ui_keyboard_resize` had a flaky ratio 2.17% for the past (up to) 100 commits, which is above our 2.00% threshold.

One recent flaky example for a same commit: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro%20integration_ui_keyboard_resize/4489
Commit: https://github.com/flutter/flutter/commit/62c6859e593ba7c7b075ee850c3690eb44401afa

Flaky builds:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro%20integration_ui_keyboard_resize/4489
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro%20integration_ui_keyboard_resize/4470

Recent test runs:
https://flutter-dashboard.appspot.com/#/build?taskFilter=Linux_pixel_7pro%20integration_ui_keyboard_resize

Please follow https://github.com/flutter/flutter/blob/master/docs/infra/Reducing-Test-Flakiness.md#fixing-flaky-tests to fix the flakiness and enable the test back after validating the fix (internal dashboard to validate: go/flutter_test_flakiness).