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. 😑

  • @dirthawker0
    link
    English
    22 days ago

    Can you get around it by renaming fields? Sox or jander? Ethan?

    • @[email protected]
      link
      fedilink
      English
      212 days ago

      Why would anyone rename a perfectly valid variable name to some garbage term just to please our Microsoft Newspeak overlords? That would make the code less readable and more error prone. Also everything with human data has a field for sex or gender somewhere, driver’s licenses, medical applications, biological studies and all kinds of other forms use those terms.

      But nobody really needs to use copilot to code, so maybe just get rid of it or use an alternative.

      • @dirthawker0
        link
        English
        42 days ago

        There’s 2 ways to go on it. Either not track the data, which is what they want you to do, and protest until they let you use the proper field names, or say fuck their rules, track the data anyway, and you can produce the reports you want. And you can still protest, and when you get the field names back it’s just a replace all tablename.gender with tablename.jander. Different strokes different folks