Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copilot Chats incorrectly labels C# code as JavaScript #159

Closed
codename-irvin opened this issue Apr 12, 2024 · 3 comments
Closed

Copilot Chats incorrectly labels C# code as JavaScript #159

codename-irvin opened this issue Apr 12, 2024 · 3 comments

Comments

@codename-irvin
Copy link

Software

Desktop Application

Operating System

macOS

Your Pieces OS Version

8.1.0

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

Desktop application version is 2.11.0

Observed behavior: In the image below, you can see that ChatGPT was asked to generate C# code, which it did. However, Pieces incorrectly labels the code snippet as JavaScript.

Expected behavior: The snippet of code should correctly be labeled as C#.

I was able to reproduce the same issue on the Windows desktop app as well. Same versions.

Screenshot 2024-04-12 at 10 05 44 AM
@mack-at-pieces
Copy link
Collaborator

Hi @codename-irvin - Thanks for sharing here. Do you mind sharing the prompt you used and the LLM runtime you were using so that I can try and reproduce this? Thanks!

@codename-irvin
Copy link
Author

@mack-at-pieces the prompt that I used was "Iterate over a list in C#". I just tested with GPT 3.5, GPT 4, PaLM 2, and Gemini. Interestingly, I was able to reproduce for all but Gemini. With Gemini, it correctly labeled the snippet as C#. The others all labeled the snippet as JavaScript.

@jimbobbennett
Copy link

Cannot reproduce with Pieces 3.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants