sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: TreeSliver & TreeView alternate focus traversal options
Labels: c: new feature,framework,f: scrolling,P3,team-framework,triaged-framework,p: two_dimensional_scrollables

Follow up to https://github.com/flutter/flutter/pull/147171 and https://github.com/flutter/packages/pull/6592

These PRs originally contained a tree traversal order concept for those that wanted to realize breadth first traversal order (visiting all nodes at a given depth before moving on to the next depth), in addition to the default (which is depth first).

At the time we landed those PRs, we did not know of anyone that wanted this feature, so we removed it for the time being until we could gather more information about the need and use cases of this feature.
Repository: flutter
Issue: TreeSliver & TreeView support for lazy tree nodes
Labels: c: new feature,f: scrolling,P3,team-framework,triaged-framework,p: two_dimensional_scrollables

From https://github.com/flutter/packages/pull/6592#discussion_r1591570256

Follow up to https://github.com/flutter/flutter/pull/147171 and https://github.com/flutter/packages/pull/6592

In the 1D and 2D tree PRs, the entire tree is expected to be provided by the user. Some folks may like to provide nodes lazily, just like the trees allow users to provide widgets for the trees lazily.

This issue is tracking that additional feature request.
Repository: TypeScript
Issue: duplicate comments on decorated fields
Labels: Bug,Help Wanted

### 🔎 Search Terms

typescript duplicate comments

### 🕗 Version & Regression Information


- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______


### ⏯ Playground Link

https://www.typescriptlang.org/play/?target=9&ts=5.5.0-beta#code/MYGwhgzhAEDKAWYBOBTAJgQQAoEloG8BfAKGJQA8AHAeyQBdpRIZZgUA7FaCujtFxKky4CxAJAB6AFRTx0KdAAClJNUop6ATwIAjatRAow7QtADuKHQHMQ0ALRypE8Yr0Gj7DHTpIAljoBXXnNLG2gAXmgAMzAQCBRiaGhpWTF5JRU1DTptfDdDY1Mo-XtHZzFXfQLPbz9A4OLqCOjY+OISIA

### 💻 Code

```ts
class SharedAPI {}

export class Scene extends SharedAPI {
	/**
	 * @property {boolean} webgl -
	 */
	@booleanAttribute webgl = false
  /**
	 * @property {boolean} foo -
	 */
	@booleanAttribute foo = false
}

```


### 🙁 Actual behavior

duplicate comments for the `foo` property appear in output

### 🙂 Expected behavior

No duplicate comments



### Additional information about the issue

The output shows this:

```js
        constructor() {
            super(...arguments);
            /**
             * @property {boolean} webgl -
             */
            this.webgl = __runInitializers(this, _webgl_initializers, false
            /**
               * @property {boolean} foo -
               */
            );
            /**
               * @property {boolean} foo -
               */
            this.foo = (__runInitializers(this, _webgl_extraInitializers), __runInitializers(this, _foo_initializers, false));
            __runInitializers(this, _foo_extraInitializers);
        }
```

There's an extra `@property {boolean} foo -` comment in the output.

Similar issue:

- https://github.com/microsoft/TypeScript/issues/45696
Repository: pytorch
Issue: [dynamo] Fix test_trace_functional_tensor_with_error in dynamo test_repros.py
Labels: triaged,oncall: pt2,module: dynamo

As title. True fix for https://github.com/pytorch/pytorch/issues/125568.

cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng
Repository: ollama
Issue: Add support for third-party hosted APIs
Labels: feature request,api

We've been coding against the Ollama API internally and eventually it hit me .. Ollama should be able to support third-party API providers, making it a de-facto gateway to LLMs.

For example, it would easily blur the lines between an OpenAI's assistant / user and a Gemini model / user conversation; it could transparently speak Cohere Command R+ completion-like while eloquently talking to Claude, too.

Might sound utterly off-topic, but think about it.

I implemented a hard-coded model into Ollama for local use so I can use unsupported, hosted LLMs in Cody for coding, and I feel like this could very well be a Modelfile-level thing with providers happily providing integrations, putting even more spotlight on Ollama while forcing LLM providers to be less fuzzy about their API integrations, given that the Modelfile spec is rigid enough.
Repository: flutter
Issue: Tests should be run in a directory with a space in it
Labels: team-infra,P3,triaged-infra

### Infrastructure Environment

All of them, but especially Luci.

### What is happening?

We don't currently run the tests in a directory that has a space in it. That means we are not going to catch a regression when we break the handling of paths somewhere.

Once this is fixed we can fix https://github.com/flutter/flutter/issues/87285 to re-enable the relevant test.
Repository: PowerToys
Issue: Full DWM Customization, or limited features
Labels: Needs-Triage

### Description of the new feature / enhancement

You all are heading in the right direction with being able to disable rounded corners through Fancy Zones, so I'll do you one better: being able to disable them at all times, and one even better: being able to fully customize the windows ala Linux. There are already programs which do this, but I'm sure the people want something supported by Microsoft. In reality, this is a plea to Microsoft, but knowing it would never get to them, PowerToys is really the next best thing.

### Scenario when this would be used?

When WOULDN'T it be used? People having total customization for their windows would give Microsoft a leg up over Linux, because that's what people truly want with their operating systems. And as a result, this freedom would allow for maximum workflow!!!!! And this may be getting off-topic, but the layout/UI for a lot of programs in Windows 11 like the File Explorer are a little bloated, I would like to be able to switch back to the old File Explorer, something you were once able to do through the registry. For me, especially, that would massively improve workflow. But seeing as that would be less possible, just being able to edit the borders would help tremendously. It could be integrated within Fancy Zones or its own tab.

### Supporting information

Just the existence of r/unixporn, Classic Shell, the myriad of programs which allow you to disable borders, which, having that option within Windows would benefit a lot of gamers who want borderless windowed mode to play games.

![rjt5ycviws981](https://github.com/microsoft/PowerToys/assets/169855788/e9ed609b-66cf-4753-ad8b-a47bf6e5caba)
### Imagine being able to make Windows 11 look like this! O_O
Repository: godot
Issue: godot focus is not working correctly
Labels: discussion,topic:input,topic:gui

### Tested versions

v4.2.2.stable.mono.official [15073afe3]

### System information

Kubuntu 22.04 

### Issue description

The default control focus functionality does not follow the vbox, hbox layout which all layout controls can be derived.
Instead it just searches for the next control on the y and x axis rather then the next in the hierarchical scene layout.



### Steps to reproduce

- Download project
- Run the control scene
- select a empty slot
- navigate up, down, left, and right
- see that it does not find the correct child but instead just searches for whatever is closest on the container's axis

### Minimal reproduction project (MRP)

[Focus Bug.zip](https://github.com/godotengine/godot/files/15314974/Focus.Bug.zip)
Repository: pytorch
Issue: Move loop ordering after fusion
Labels: triaged,oncall: pt2,module: inductor

### 🚀 The feature, motivation and pitch

Here is some brief context:
Right now inductor decides loop ordering before fusion. That can lose some fusion opportunities. E.g. if node1 and node2 pick incompatible loop orders before fusion, we can not fuse them. But if we delay the final decision of loop orders and manage to pick consistent loop orders for node1 and node2, we would be able to fuse them.

I create this issue since I've seen people showing interests about inductor supporting loop ordering after fusion previously. I'm wondering if people can provide examples that they found loop ordering after fusion will be helpful. That can help me more effectively develop this feature.

Right now I have some manually constructed examples. But would be nice to develop based on real use cases.

WIP PR: https://github.com/pytorch/pytorch/pull/126254 .

cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @Chillee @lezcano @jansel 




cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
Repository: next.js
Issue: Edge Runtime and AWS SDK credentials
Labels: bug,Middleware,Runtime

### Link to the code that reproduces this issue

https://github.com/r007/next-aws-sdk-middleware-issue

### To Reproduce

For example, if I want to get a variable from AWS Systems Manager Parameter Store, I can use this code:

```typescript
import {NextResponse} from 'next/server'
import {SSMClient, GetParameterCommand} from '@aws-sdk/client-ssm'

export async function middleware() {
  const ssm = new SSMClient({region: 'us-east-1'})
  const command = new GetParameterCommand({Name: 'put-some-variable-here'})
  const response = await ssm.send(command)
  console.log(response)

  return NextResponse.next()
}

export const config = {
  matcher: ['/:path*']
}
```

It'll throw a `Credential is missing` error, because the edge runtime can't get AWS credentials from local file.

### Current vs. Expected behavior

Hi guys,

I want to use AWS SDK API in my next.js middleware to get parameters. The reason for this is that Edge@Lambda doesn't support environment variables, so I have to use **AWS Parameter Store** instead.

Next.js Edge runtime doesn't work with AWS SDK at all. Simply because it uses node.js API behind the scene to get credentials (access key + secret access key). It reads a local file with credentials, but since the Edge runtime can't read anything, it fails to get access key + secret key needed to make an API call.

Any suggestions? Possible solutions?

Best regards,
Sergey

### Provide environment information

```bash
Node.js v20.12.2

Operating System:
  Platform: linux
  Arch: x64
  Version: #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022
  Available memory (MB): 7911
  Available CPU cores: 8
Binaries:
  Node: 20.12.2
  npm: 10.7.0
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: N/A
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware, Runtime

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

I'm trying to implement authentication with AWS Cognito inside the middleware + token renewal.
Repository: godot
Issue: For scripts, Godot treats paths as case-insensitive in attach script window, but case-sensitive when running the project.
Labels: discussion,topic:editor,needs testing

### Tested versions

- Only tested in v4.2.2.stable.official [15073afe3]

### System information

Windows 11 - v4.2.2.stable.official [15073afe3]

### Issue description

Godot (maybe when running on Windows only) does not use case-sensitive folder names. It will recognize “Scripts” and “scripts” as the same folder, at least when attaching a script.

My issue is that when attaching the scripts to the scene, I used the the lowercase ‘s’ instead of the uppercase ‘S’. This worked OK for some time, but when reopening my project, it stopped working with the error  *Parse Error: Class "" hides a global script class.* . Godot seems to be case-sensitive when defining classes because it it finds the scripts in the “Scripts” folder and the “scripts”, which are the same script. It seems to store two references to the same file.

To workaround, I had to update the script location. I detached the script from the affected scenes and reattached it making sure to select the file from the file browser instead of typing it in.

**Expected:**
Godot consistently recognizes the file paths as case-insensitive or case-sensitive (e.g. attach popup is case-sensitive or the script loader(?) is case-insensitive).

### Steps to reproduce

. Create new project
. Create new folder for scripts ("Scripts")
. Create new scene
. Attach new scripts in popup using the path "<project path>/scripts" **(note use lowercase 's')**
. Assign a class name to the script and save
. Open the created script from the FileSystem area.
. Should see two script windows: one for scripts/... and one for Scripts/...
. May see popup indicating that one file is out of date. hit reload.
. See *Parse Error: Class "" hides a global script class.* 

### Minimal reproduction project (MRP)

[MRP-script-file-causes-parse-error.zip](https://github.com/godotengine/godot/files/15315557/MRP-script-file-causes-parse-error.zip)
Repository: deno
Issue: internet/test-dns-any.js is flaky
Labels: flaky

```
Node.js compatibility ...
  Node.js compatibility "internet/test-dns-any.js" ...
------- output -------
"internet/test-dns-any.js" failed:

error: Uncaught (in promise) AssertionError: Missing record type, found TXT,SOA,A,NAPTR
    at new AssertionError (ext:deno_node/assertion_error.ts:536:11)
    at toNode (node:assert:71:15)
    at Function.assert [as ok] (node:assert:98:3)
    at validateResult (file:///Users/runner/work/deno/deno/tests/node_compat/test/internet/test-dns-any.js:130:12)
    at QueryReqWrap.<anonymous> (file:///Users/runner/work/deno/deno/tests/node_compat/test/internet/test-dns-any.js:142:7)
    at QueryReqWrap.<anonymous> (file:///Users/runner/work/deno/deno/tests/node_compat/test/common/index.js:212:17)
    at QueryReqWrap.callback (file:///Users/runner/work/deno/deno/tests/node_compat/test/common/index.js:289:15)
    at QueryReqWrap.onresolve [as oncomplete] (node:dns:311:8)
    at ext:deno_node/internal_binding/cares_wrap.ts:355:11
    at eventLoopTick (ext:core/01_core.js:168:7)


You can repeat only this test with the command:

  ./target/debug/deno test -A tests/node_compat/test.ts -- internet/test-dns-any.js

----- output end -----
```

https://github.com/denoland/deno/actions/runs/9088774158/job/24978887844
Repository: transformers
Issue: Integrate IndicTrans2 models and tokenizer into HF Transformers
Labels: New model

### Model description

[IndicTrans2 ](https://openreview.net/forum?id=vfT4YuzAYA)is a multilingual transformer model developed by AI4Bharat, and is available in 3 flavors: `indic-en`, `en-indic` and `indic-indic`. Each flavor has 2 versions, a large 1B model, and a distilled 200M model. The architecture is a standard transformer, very similar to NLLB and M2M models. However, the major difference is the vocabularies of the encoder and decoder and not shared, as they require different languages.

Unlike, NLLB and M2M models, IndicTrans2 required specific preprocessing for the inputs. Hence a [custom processor class has been developed](https://github.com/VarunGumma/IndicTransTokenizer), and is required for training/inference. More examples can be found in the aforementioned repository.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

Authors: @AI4Bharat @jaygala24 @PranjalChitale @oneraghavan @VarunGumma @sumanthd17 @prajdabre @anoopkunchukuttan

Official GitHub Repository: [AI4Bharat/IndicTrans2](https://github.com/ai4bharat/IndicTrans2)

The HF compatible models and tokenizer are available here as of now:
- [indictrans2-en-indic-1B](https://huggingface.co/ai4bharat/indictrans2-en-indic-1B)
- [indictrans2-en-indic-dist-200M](https://huggingface.co/ai4bharat/indictrans2-en-indic-dist-200M)
- [indictrans2-indic-en-dist-200M](https://huggingface.co/ai4bharat/indictrans2-indic-en-dist-200M)
- [indictrans2-indic-en-1B](https://huggingface.co/ai4bharat/indictrans2-indic-en-1B)
- [indictrans2-indic-indic-1B](https://huggingface.co/ai4bharat/indictrans2-indic-indic-1B)
- [indictrans2-indic-indic-dist-320M](https://huggingface.co/ai4bharat/indictrans2-indic-indic-dist-320M)
Repository: ui
Issue: [bug]: Multiple RadioGroup with overlapping Item values will conflict
Labels: bug

### Describe the bug

Multiple RadioGroup will conflict (when having overlapping value for RadioGroupItem)


- group A
  - a
  - b
  - c

- group B
  - a
  - b
  - c

selecting from group A will effect group B, vice versa.

### Affected component/components

RadioGroup

### How to reproduce

Components without any state, create components like below.

- group A
  - a
  - b
  - c

- group B
  - a
  - b
  - c

### Codesandbox/StackBlitz link

https://forms.grida.co/playground/Q0Y

https://github.com/shadcn-ui/ui/assets/16307013/2cc482b3-ac9c-4e23-b1a7-27cac5448055


### Logs

_No response_

### System Info

```bash
-
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: deno
Issue: error: File name too long (os error 63)
Labels: bug,cli

Version: Deno 1.43.3
OS: Mac OS


###  Reproduce
a.js
```js
export * from "./b.js";
export const deps = 4;

```

b.js
```js
import { deps } from ".//a.js";
console.log(deps);
```
Run: `deno run b.js`

### Its output
```
error: File name too long (os error 63)
    at file:///Users/asnow/deno//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////b.js:1:22
```
### Expect
Imported ".//a.js" in b.js.  This is an unexpected writing for me, and I am not sure if it complies with the standard, but I can print the results in NdoeJs. And an error was printed in Deno
Repository: transformers
Issue: torchrun breaks with load_model_at_end and with metric_for_best_model=eval_f1 on question_answering example
Labels: trainer

### System Info

- `transformers` version: 4.41.0.dev0
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.31
- Python version: 3.10.14
- Huggingface_hub version: 0.23.0
- Safetensors version: 0.4.3
- Accelerate version: 0.29.3
- Accelerate config:    not found
- PyTorch version (GPU?): 2.1.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: tried using ddp, but the setting is single system, multi-gpu

### Who can help?

@muellerzr @pacman100 @ArthurZucker @younesbelkada 

### Information

- [X] The official example scripts
- [X] My own modified scripts

### Tasks

- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

1. I clone the main branch of transformers and` pip install -e .` in the cloned `transformers` folder.
2. I then run `torchrun --nproc_per_node 2 run_qa.py   --model_name_or_path google-bert/bert-
base-uncased   --dataset_name squad   --do_train   --do_eval   --per_device_train_batch_size 12   --learning_rate 3e-5   --num_train_epochs 2   --max_seq_length 384   --doc_stride 128   --output_dir /tmp/debug_squad --max_steps 20 --eval_steps 2 --save_steps 2 --save_total_limit 2 --load_best_model_at_end True --metric_for_best_model eval_f1 --max_eval_samples 20 --eval_strategy steps --save_strategy steps 2>&1 | tee scratch.log`
3. The code errors out with KeyError: eval_f1. 
4. I believe this happens because the compute_metrics function computes the eval_f1 metric on one process but the trainer `_save_checkpoint()` method checks for the metric on all processes and therefore, some other process beats process 0 so it doesn't find the key leading to this error. (https://github.com/huggingface/transformers/blob/1360801a69c0b169e3efdbb0cd05d9a0e72bfb70/src/transformers/trainer.py#L2820)


### Expected behavior

Ideally, the code should seamlessly run using torchrun.  There should be no key error. The trainer should be able to handle single process eval_f1 along with multi-process metric computation done in other workloads such as summarization.