sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: DISABLED test_inplace_custom_op (__main__.InplacingTests)
Labels: triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor

Platforms: linux, rocm

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inplace_custom_op&suite=InplacingTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/29761170872).

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_inplace_custom_op`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.



<details><summary>Sample error message</summary>

```
Traceback (most recent call last):
  File "inductor/test_perf.py", line 985, in test_inplace_custom_op
    self.assertExpectedInline(count_numel(f, x, out), """21""")
  File "/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/testing/_internal/common_utils.py", line 2925, in assertExpectedInline
    return super().assertExpectedInline(actual if isinstance(actual, str) else str(actual), expect, skip + 1)
  File "/opt/conda/envs/py_3.8/lib/python3.8/site-packages/expecttest/__init__.py", line 351, in assertExpectedInline
    assert_expected_inline(
  File "/opt/conda/envs/py_3.8/lib/python3.8/site-packages/expecttest/__init__.py", line 316, in assert_expected_inline
    assert_eq(expect, actual, msg=help_text)
  File "/opt/conda/envs/py_3.8/lib/python3.8/site-packages/expecttest/__init__.py", line 388, in assertMultiLineEqualMaybeCppStack
    self.assertMultiLineEqual(expect, actual, *args, **kwargs)
  File "/opt/conda/envs/py_3.8/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/opt/conda/envs/py_3.8/lib/python3.8/unittest/case.py", line 753, in fail
    raise self.failureException(msg)
AssertionError: '21' != '0'
- 21
+ 0
 : To accept the new output, re-run test with envvar EXPECTTEST_ACCEPT=1 (we recommend staging/committing your changes before doing this)

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ROCM=1 python test/inductor/test_perf.py InplacingTests.test_inplace_custom_op

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
```

</details>


Test file path: `inductor/test_perf.py`

cc @clee2000 @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
Repository: vscode
Issue: Do not disable `local/code-import-patterns` ESLint rule
Labels: important,debt

There should exist no reason to disable the `local/code-import-patterns`. You either need to move things into the right layer or update the configuration of the rule


- [x] src/vs/base/parts/request/test/browser/request.test.ts @chrmarti  
  6,1: // eslint-disable-next-line local/code-import-patterns
  8,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/editor/standalone/browser/standaloneTreeSitterService.ts @alexr00
  6,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts @Tyriar
  13,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.ts  @Tyriar
  10,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/capabilities/bufferMarkCapability.ts  @Tyriar
  10,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts  @Tyriar
  17,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.ts  @Tyriar
  10,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/platform/terminal/common/xterm/shellIntegrationAddon.ts  @Tyriar
  15,1: // eslint-disable-next-line local/code-import-patterns
  20,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.ts @alexr00 
  35,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.ts  @Tyriar
  19,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.ts @Tyriar
  17,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts @Tyriar
  59,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/terminalContribExports.ts @Tyriar
  8,1: // eslint-disable-next-line local/code-import-patterns
  10,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/terminalInstance.ts @Tyriar
  95,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts @Tyriar
  46,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFixAddon.ts @Tyriar
  7,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/contrib/themes/test/node/colorRegistry.releaseTest.ts @aeschli
  16,1: // eslint-disable-next-line local/code-import-patterns

- [x] src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.ts @alexr00
  6,1: // eslint-disable-next-line local/code-import-patterns
Repository: vscode
Issue: Allow chat anchors to point to symbols
Labels: feature-request,api-proposal,chat

For chat anchors, it would be nice to render anchors to symbols in a distinct way and provide special UX for them 

My proposal is to extend `ChatResponseAnchorPart` to also allow the `value` to be a `SymbolInformation`:

```ts
export class ChatResponseAnchorPart {
	/**
	 * The target of this anchor.
	 *
	 * If this is a {@linkcode Uri} or {@linkcode Location}, this is rendered as a normal link.
	 *
	 * If this is a {@linkcode SymbolInformation}, this is rendered as a symbol link.
	 */
	value: Uri | Location | SymbolInformation;

	/**
	 * An optional title that is rendered with value.
	 */
	title?: string;

	/**
	 * Create a new ChatResponseAnchorPart.
	 * @param value The target of this anchor.
	 * @param title An optional title that is rendered with value.
	 */
	constructor(value: Uri | Location | SymbolInformation, title?: string);
}
```

I selected `SymbolInformation` as this type clearly identifies that we are pointing to a symbol and not just a location in a file. It also includes some useful metadata for rendering, such as the `kind`.

Note that this proposal is intentionally simple. I'm trying to avoid the whole nest of complexities we'll get into if we shift the burden of resolving symbol locations onto VS Code (i.e. starting with a `uri` and `symbolName` and having VS Code figure out the kind and location of the symbol)

I'll be proposing a way to handle that in a follow up API proposal
Repository: PowerToys
Issue: Mouse smoothing
Labels: Needs-Triage

### Description of the new feature / enhancement

Smooth the mouse input using a low pass frequency filter to allow accurate positioning for people with wobbly fingers (like me).

### Scenario when this would be used?

I use a mouse with a ball on top, that I control with my thumb. As a power user, I like to do very accurate pointing (like when drawing). With age, my thumb became wobbly. I'm pretty sure I am not alone.

### Supporting information

Note that the feature where the speed of the mouse influences the multiplication factor of the mouse movement (allowing to flick quickly over bigger distances) should still work, otherwise noone is going to be using it, without understanding why.
Some experimenting may be needed to get the parameters right.
Repository: rust
Issue: `expect` on struct does not cover the derives
Labels: A-lints,T-compiler,C-bug,F-lint_reasons

Minimal reproducer:

```rust
#[expect(clippy::derived_hash_with_manual_eq)]
#[derive(Hash)]
pub struct Thing;

impl PartialEq<Thing> for Thing {
    fn eq(&self, _other: &Thing) -> bool {
        true
    }
}
```

I ran `cargo clippy`, and I expected the `expect` to suppress the `clippy::derived_hash_with_manual_eq` lint. Instead, I got the following:

```
error: you are deriving `Hash` but have implemented `PartialEq` explicitly
 --> src/lib.rs:2:10
  |
2 | #[derive(Hash)]
  |          ^^^^
  |
note: `PartialEq` implemented here
 --> src/lib.rs:5:1
  |
5 | impl PartialEq<Thing> for Thing {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derived_hash_with_manual_eq
  = note: `#[deny(clippy::derived_hash_with_manual_eq)]` on by default
  = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: this lint expectation is unfulfilled
 --> src/lib.rs:1:10
  |
1 | #[expect(clippy::derived_hash_with_manual_eq)]
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unfulfilled_lint_expectations)]` on by default
```

I haven't found any way to apply the `expect` to the derive except by putting it on the containing module.

**Note, however, that replacing the `expect` with an `allow` *does* successfully suppress the warning.** This seems particularly surprising, and violates the expectation that replacing an `allow` with an `expect` should *always* work.

### Meta
`rustc --version --verbose`:
```
rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: x86_64-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7
```
Repository: go
Issue: cmd/compile: .closureptr elided in optimized binaries
Labels: NeedsInvestigation,compiler/runtime

```
$ go version
go version go1.23.0 linux/amd64
```

(also reproduces on tip)

Given this [sample program using range-over-func](https://go.dev/play/p/OSXhY_iOlE8) the DIE emitted for `main.PrintAllElements[go.shape.string]-range1` **when optimizations are enabled** is:

```
 <1><216c>: Abbrev Number: 3 (DW_TAG_subprogram)
    <216d>   DW_AT_name        : main.PrintAllElements[go.shape.string]-range1
    <219b>   DW_AT_low_pc      : 0x48f520
    <21a3>   DW_AT_high_pc     : 0x48f605
    <21ab>   DW_AT_frame_base  : 1 byte block: 9c       (DW_OP_call_frame_cfa)
    <21ad>   DW_AT_decl_file   : 0x2
    <21b1>   DW_AT_decl_line   : 47
    <21b2>   DW_AT_external    : 1
 <2><21b3>: Abbrev Number: 31 (DW_TAG_typedef)
    <21b4>   DW_AT_name        : .param3
    <21bc>   DW_AT_type        : <0x27e86>
    <21c0>   Unknown AT value: 2906: 3
 <2><21c1>: Abbrev Number: 44 (DW_TAG_formal_parameter)
    <21c2>   DW_AT_name        : v
    <21c4>   DW_AT_variable_parameter: 0
    <21c5>   DW_AT_decl_line   : 47
    <21c6>   DW_AT_type        : <0x21b3>
    <21ca>   DW_AT_location    : 0x1799 (location list)
 <2><21ce>: Abbrev Number: 9 (DW_TAG_inlined_subroutine)
    <21cf>   DW_AT_abstract_origin: <0x1e48>
    <21d3>   DW_AT_ranges      : 0x980
    <21d7>   DW_AT_call_file   : 0x2
    <21db>   DW_AT_call_line   : 49
 <3><21dc>: Abbrev Number: 41 (DW_TAG_formal_parameter)
    <21dd>   DW_AT_abstract_origin: <0x1e59>
    <21e1>   DW_AT_location    : 0 byte block:  ()
 <3><21e2>: Abbrev Number: 0
 <2><21e3>: Abbrev Number: 0
```

No entries for `.closureptr` are generated, presumably because all the stores related to `.closureptr` are optimized away.

Originally reported as https://github.com/go-delve/delve/issues/3806 (where it triggers other related delve bugs).

We could also say that with optimized binaries we do not correlate closure bodies with their parent in the debugger, or that we do a best effort thing and occasionally get it wrong (I suspect actually keeping track of .closureptr could have negative performance effects).

cc @dr2chase
Repository: rust
Issue: Build target `arm64ec-pc-windows-msvc` with `-Zbuild-std` got linking error.
Labels: A-linkage,O-windows,T-compiler,requires-nightly,O-AArch64,-Zbuild-std

Build project target `arm64ec-pc-windows-msvc` with `-Zbuild-std` on x86-64 windows host got linking error message like below:

```
lld: error: msvcrt.lib(tlssup.obj): machine type arm64 conflicts with arm64ec␍
```
How to fix it?
Repository: ui
Issue: [feat]: Default selected package registry
Labels: area: request

### Feature description

I think its possible, not a very big improvment on the feature, but woul save quite some time.

Idea: when we click on "copy" button over the command line `npm install next-themes` there is popup to select which package registry to use, all the time.

Possible to this popover move selection before copying, over the "copy" button ?

For example, If I change, click on npm, next times when i will copy from all ui components npm command would be attached and vice verca.

![image](https://github.com/user-attachments/assets/b668981e-d9a1-4d57-bca7-d3f55a6d7a1d)

Like if we take doccumentation from firebase, like alternative:

![image](https://github.com/user-attachments/assets/0812e33b-cba8-4c15-81f2-57e4b11bdbad)



### Affected component/components

Documentation, package registry selection

### Additional Context

Additional details here...

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: godot
Issue: The "Dock Position" window is visible after clicking on it.
Labels: topic:editor

### Tested versions

v3.6.rc1.official [cfc4a0eff]
Works well in v4.4.dev1.official [28a72fa43]

### System information

w10 64

### Issue description

Watch the video.
Once I use the "Dock Position" window by clicking on it, the window does not deactivate and remains visible. An extra empty click is required to make it disappear.

I think the expected behavior is for the window to deactivate once it is clicked on as it is annoying to keep it active after it has fulfilled its function.

v3.6.rc1.official [cfc4a0eff]

https://github.com/user-attachments/assets/70c69ae0-575b-459e-afa6-cf71985dd212


### Steps to reproduce

See the video

### Minimal reproduction project (MRP)

...
Repository: opencv
Issue: Mat contructor with GMat
Labels: feature,category: g-api / gapi

### Describe the feature and motivation

Following PR #25055 why not extend the Mat constructor with GMat for the reverse operation? 

### Additional context

_No response_
Repository: transformers
Issue: Add "EAT: Self-Supervised Pre-Training with Efficient Audio Transformer"
Labels: New model,Feature request

### Model description

The original authors of the model write: 
> EAT is an audio self-supervised learning model with high effectiveness and efficiency during self-supervised pre-training. You can find details in the paper [EAT: Self-Supervised Pre-Training with Efficient Audio Transformer](https://arxiv.org/abs/2401.03497).

A self-supervised learning model can benefit the community greatly, since it requires no labelled data, and can be trained on any dataset. Especially since, the strength of this approach is that it can be applied to variable-length audio. With enough resources (for example, compute, and, data), it could have a similar reach as BERT.  

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

- GitHub Repo: https://github.com/cwx-worst-one/EAT
- Links for model checkpoints:
    - [EAT-base_epoch30](https://drive.google.com/file/d/19hfzLgHCkyqTOYmHt8dqVa9nm-weBq4f/view?usp=sharing) (pre-training)
    - [EAT-base_epoch30](https://drive.google.com/file/d/1aCYiQmoZv_Gh1FxnR-CCWpNAp6DIJzn6/view?usp=sharing) (fine-tuning on AS-2M)
    - [EAT-large_epoch20](https://drive.google.com/file/d/1PEgriRvHsqrtLzlA478VemX7Q0ZGl889/view?usp=sharing) (pre-training)
    - [EAT-large_epoch20](https://drive.google.com/file/d/1b_f_nQAdjM1B6u72OFUtFiUu-4yM2shd/view?usp=sharing) (fine-tuning on AS-2M)
- Paper: https://www.ijcai.org/proceedings/2024/421
Repository: vscode
Issue: Multi Diff Editor: File Tool Bar has no background color
Labels: bug,multi-diff-editor

Compare how it looks in the tab bar vs multi diff editor

<img width="467" alt="image" src="https://github.com/user-attachments/assets/debab87e-22b2-44ea-a6b4-c7f971c58ae4">
Repository: langchain
Issue: UnstructuredPDFLoader: poppler and tesseract not found issue
Labels: 🤖:bug,stale

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

```python 
from langchain_community.document_loaders import UnstructuredPDFLoader
loader = UnstructuredPDFLoader(path_to_pdf)
loader.load()[0].page_content
```

### Error Message and Stack Trace (if applicable)

1. PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?
2. TesseractNotFoundError: tesseract is not installed or it's not in your PATH. See README file for more information.

### Description

I'm trying to use UnstructuredPDFLoader to load pdf but encounter errors as mentioned above. 

### PDFInfoNotInstalledError

1. I have installed poppler and add into PATH.✅
2. when i run ```which pdfinfo``` it returns me the correct path ```/opt/homebrew/Cellar/poppler/24.04.0_1/bin/pdfinfo```✅
3. However, if i run ```poppler --version```, I get ```zsh: command not found: poppler```, and this happends to my other laptops as well❓
4. This problem resolves if I manually change the paramter default value of all ```poppler_path``` from None to the path: ```poppler_path: Union[str, PurePath] = "/opt/homebrew/Cellar/poppler/24.04.0_1/bin/"``` (in ./.venv/lib/python3.11/site-packages/pdf2image/pdf2image.py)
5. But it will give TesseractNotFoundError

### TesseractNotFoundError

1. I have installed tesseract and add into PATH.✅
2. when i run ```which tesseract``` it returns me the correct path ```/opt/homebrew/bin/tesseract```✅
3. when i run ```tesseract --version``` it returns me the correct verssion✅
4. This problem resolves if I manually change variable```tesseract_cmd``` from ```'tesseract``` to the path: ```tesseract_cmd = '/opt/homebrew/Cellar/tesseract/5.4.1/bin/tesseract'``` (in ./.venv/lib/python3.11/site-packages/unstructured_pytesseract/pytesseract.py)


### System Info

Package Information
-------------------
> langchain_core: 0.2.38
> langchain: 0.2.16
> langchain_community: 0.2.16
> langsmith: 0.1.115
> langchain_google_vertexai: 1.0.10
> langchain_text_splitters: 0.2.4
> langgraph: 0.2.18

platform mac

Python 3.11.3
Repository: vscode
Issue: [html] highlighting does not detect end script tag in string literals
Labels: bug,html

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.90.2
- OS Version: macOS 14.5

Steps to Reproduce:

1.  type following txt to vscode
```html
<!DOCTYPE html>
<html>
    <body>
        <script>
            const data = {
                "name": "John",
                "age": 30,
                "description": "He is a st</script><svg onload=alert(1111)>"
            }
        </script>
    </body>
</html>
```
2. find a bug
<img width="589" alt="image" src="https://github.com/user-attachments/assets/71324df9-e2a3-49ac-9072-4b843a11ee49">

in chrome is parsed as

![586145da98cecbbe9a9e734db080c33c](https://github.com/user-attachments/assets/eaedcd4d-fd2c-470c-9425-75087a64d6c9)

script block highlighting is wrong. </script> can cut string while vscode not
Repository: ui
Issue: [feat]: support for rsbuild
Labels: area: request

### Feature description

Right now Shadcn supports frameworks like Next.js, Vite, Astro, etc... However a popular choice these days are [Rsbuild](https://rsbuild.dev/) as it's extremely fast and lean. It would be great if we could directly initialize & install components via init or the CLI in rsbuild.

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: neovim
Issue: window-local 'guifont'
Labels: enhancement,api,ui-extensibility,options

### Problem

I use some UI plugins like [vim-dadbod-ui](https://github.com/kristijanhusak/vim-dadbod-ui), which use multiple splits. 

When sharing my screen, or just in general, I would like to set the font size of some of those splits.
I found https://github.com/neovim/neovim/issues/18285, which suggests using `nvim_ui_try_resize_grid()`, however I cannot find this function in the docs, and it seems to not be available in my neovim (0.10.1).

### Expected behavior

I think it would be good to add a function to the api that allows setting the font size (or increase it) for the current split/buffer/window.
Repository: ollama
Issue: Simplify the input of multi-line text
Labels: feature request

Simplify the input of multi-line text：
Use ctrl + enter keys to wrap the line