GitHub Copilot
@gvwilson tried it with Claude and it at least explained it with a comment..

@JesseSkinner

@gvwilson

The LLM is trying to create a plausible completion in the context of a gendered function, a rather implausible circumstance.

I wonder whether Claude has a lot of positivity bias too in this case leading to "joke"?

I almost feel sorry for it falling down here, as we are setting it up for it a bit.

@faassen agreed, it's the function, suggesting you can calculate a woman's salary from a number, that's implying the rest. What else would it do?

@gvwilson