Copilot purposely stops working on code that contains hardcoded banned words from Github, such as gender or sex. And if you prefix transactional data as trans_ Copilot will refuse to help you. 😑

  • chaosCruiser@futurology.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    Really? Maybe my variable names and column headers were sufficiently obscure and technical that I didn’t run into these issues about a month ago. Didn’t have any problems like that when analyzing census data in R and made Copilot generate most of the code.

    Is this one of those US exclusive things?

    I definitely did refer to various categories such as transgender or homosexual in the code, and copilot was ok with all of them. Or maybe that’s the code I finally ended up with after modifying it. I should run some more tests to see if it really is allergic to queer code.

    • wsheldon@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      Specifically, it will not write the word “Gender” where it will write “HomePhone”.

      Maybe there’s some setting that’s causing us to get different results?

      Edit: saw your note about U.S. exclusive and that could definitely be it.