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

Reinforcing gender pay gap #2868

Open
fraguada opened this issue Nov 26, 2024 · 4 comments
Open

Reinforcing gender pay gap #2868

fraguada opened this issue Nov 26, 2024 · 4 comments
Assignees

Comments

@fraguada
Copy link

fraguada commented Nov 26, 2024

Type: Bug

I was trying out something I saw online, where if you try to write a function to calculate the salary of a woman co-pilot suggests a function which returns a smaller salary value than the input variable. For example:

function calculateFemaleSalary(salary) {
  return salary * 0.77;
}

I saw this here: https://x.com/s3nhs3nh/status/1861126547907739821

I know it is a simple example, but it would be good to not reinforce these things. Similar suggestions appear for calculatePOCSalary, calculateLgbtSalary, and when I asked it for calculateMaleSalary, the multiplier was 1.25.

Extension version: 0.22.4
VS Code version: Code 1.95.1 (Universal) (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M1 Max (10 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 22, 23, 22
Memory (System) 64.00GB (0.67GB free)
Process Argv --crash-reporter-id d82c947f-9481-41cd-8dc2-230d90c1df89
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31134641
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Nov 26, 2024
@trebacz626
Copy link

Image
There is more.

@Archis03007
Copy link

I think they silently fixed the issue. now it is giving
return salary * 1.5;

@max-wahler
Copy link

Nope:
Image

@MesonProgrammer
Copy link

I get this completion:
Image

And I also get this completion:
Image

@mjbvz mjbvz assigned digitarald and unassigned hediet Dec 21, 2024
@vs-code-engineering vs-code-engineering bot removed the triage-needed Issues needing to be assigned to the prospective feature owner label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants