Live data from Hacker News

Part of my code makes Copilot crash

github.com

151–160 of 411 posts

Re: Part of my code makes Copilot crash

#151
post #122

So I've just tested it, and I can confirm, yes, copilot refuses to give suggestions related to gender. Now I know a lot of people are calling this absurd, but looking more closely, there are two PR nightmare scenarios. 1. Copilot makes a suggestion that implies gender is binary, a certain community explodes with anger and an entire news hype cycle starts about how Microsoft is enforcing views on gender with code. 2.…

its only a PR nightmare because its a closed service and not an open tool

Re: Part of my code makes Copilot crash

#152
post #135

Earlier quoted context omitted.

You would think they would just avoid adjusting this, right?

If they don't "adjust" this, each user gets a random-ish result from all the code out there-- depending on mostly-unrelated context, it suggests a lot of genders or just 2. In turn, you can guarantee both groups of people end up upset.

What’s there to be upset by? Both groups know the other exists, and both groups know that the other group has written code that copilot trained on.

Re: Part of my code makes Copilot crash

#153
post #81

Besides the absurdity of the code crashing because of the word "gender". My problem and curiosity with all of this is... "What was going on in the head of the person writing the parser?" I mean, were they thinking that if someone is writing code, let's say, for a gender dropdown and it was only ["male", "female"], it would try to suggest to us to add 26 more genders instead (and worse, suggest a list of genders to ad…

Regardless of what Copilot suggested for "gender", it would've offended someone , and I think that's what Microsoft wants to avoid. Not even woke so much as it is trying to avoid potential controversies.

It could just not suggest anything, but continue to suggest as usual for other parts of the file. I think that would offend the least number of people.

The issue isn't that it isn't producing a suggestion, but that it stops producing a suggestion altogether for the rest of the file.

I don't use copilot anymore because it just results in poor quality code and additional cognitive overhead (because you need to read and discard the shitty suggestions) as you type. It both slows you down and exhausts you. So you can really think of this as a feature. You'll write much better code as soon as copilot shuts down. It should do this more often.

Re: Part of my code makes Copilot crash

#154
post #142

Earlier quoted context omitted.

There’s a zealous push by a small but extremely vocal fringe to impose their very particular worldview onto emerging AI/ML models like this. They refer to it as “eliminating bias”, but it’s really just an attempt to mold these new technologies into conformance with one very specific set of ideological commitments. Proponents view it as some kind of obvious universal good, and are confused when anyone else is appalled…

> They refer to it as “eliminating bias”, I don't think, e.g. being able to handle black faces correctly is some sort of massive ideological commitment. So let's not pretend that the entire concern of bias in AI is irrelevant, no matter where you stand on gender. > conformance with one very specific set of ideological commitments You know-- let's just talk about basic respect and dignity: if someone strongly wants to…

> I don't think, e.g. being able to handle black faces correctly is some sort of massive ideological commitment.

Why did you suggest THIS as an example of what hes talking about? He doesn't indicate that he disagrees with this case.

Furthermore,that sounds like a problem of having incomplete training data. Regardless, manually tweaking a model points to a failure in the process somewhere.

Re: Part of my code makes Copilot crash

#155
post #122

So I've just tested it, and I can confirm, yes, copilot refuses to give suggestions related to gender. Now I know a lot of people are calling this absurd, but looking more closely, there are two PR nightmare scenarios. 1. Copilot makes a suggestion that implies gender is binary, a certain community explodes with anger and an entire news hype cycle starts about how Microsoft is enforcing views on gender with code. 2.…

Agreed. The answer is approved by Dave Cheney, he works at GitHub, and if you've ever attended one of his talks it's plain to see he's a very scrupulous person. I also don't think this is an example of Microsoft taking a side; rather I read it as them refusing to bat, which seems fine.

What I would've preferred one of these threads to be about is how all of this works. Like, how do they post-hoc filter certain things? Is that the only way to deal with things defined as issues in ML?

Re: Part of my code makes Copilot crash

#156

Someone changed the title from Copilot crash because the word “gender” to Part of my code makes Copilot crash

I changed it because of HN's rule on titles: "Please use the original title, unless it is misleading or linkbait; don't editorialize."

https://news.ycombinator.com/newsguidelines.html

Re: Part of my code makes Copilot crash

#157

So large language model are great on but have undesirable result occasionally. Hand coded scripts are added to remove the undesirable outcomes but still produce other problems - crashed but less often. More and more things are going to be filtered through large language model apps and the possibilities for cascading failures will be even more interesting than what exists presently.

That simply restates what people are taking issue with.

Re: Part of my code makes Copilot crash

#158
post #142

Earlier quoted context omitted.

There’s a zealous push by a small but extremely vocal fringe to impose their very particular worldview onto emerging AI/ML models like this. They refer to it as “eliminating bias”, but it’s really just an attempt to mold these new technologies into conformance with one very specific set of ideological commitments. Proponents view it as some kind of obvious universal good, and are confused when anyone else is appalled…

> They refer to it as “eliminating bias”, I don't think, e.g. being able to handle black faces correctly is some sort of massive ideological commitment. So let's not pretend that the entire concern of bias in AI is irrelevant, no matter where you stand on gender. > conformance with one very specific set of ideological commitments You know-- let's just talk about basic respect and dignity: if someone strongly wants to…

[deleted]

Re: Part of my code makes Copilot crash

#159

I encountered this some time ago because I was working with grammatical gender. Unlike many of these comments, though, I do not take exception to it. Bias in ML is well established, and it's okay if, when we don't have solutions, we just disable it. If your autocomplete was capable of spitting out suggestions that made you feel isolated or kept poking you in the eye about aspects of your identity, you might feel a bi…

No post body was provided.

Re: Part of my code makes Copilot crash

#160
post #122

So I've just tested it, and I can confirm, yes, copilot refuses to give suggestions related to gender. Now I know a lot of people are calling this absurd, but looking more closely, there are two PR nightmare scenarios. 1. Copilot makes a suggestion that implies gender is binary, a certain community explodes with anger and an entire news hype cycle starts about how Microsoft is enforcing views on gender with code. 2.…

Those aren’t the only options. You can just let it suggest what it is going to suggest. Copilot is a product for adults who should be able to comprehend what machine learning is. Anybody who throws a fit about it will only be exposing themselves as a fool.

> Copilot is a product for adults [...]

If you didn't meant "should be" (for which I'm not willing to take any position), no, Copilot is not a product for adults [1] [2].

[1] https://docs.github.com/en/site-policy/github-terms/github-t... "A User must be at least 13 years of age."

[2] https://docs.github.com/en/site-policy/github-terms/github-t...

Post reply on HN