Hacker News new | ask | show | jobs
by thomzane 1791 days ago
I am excited to see where these questions lead.
1 comments

Something like this?

  [GitHub Copilot License Config Menu]
  Show suggestions with the following tags:
  - [ ] GPLv3
  - [x] GPLv2
  - [ ] AGPL
  - [x] CC-BY-SA
  - [x] Apache License
  - [x] MIT License
  - [ ] No License Attribution
Would that require generating 2^n models or can models be combined?
I would think that to combine the models, the software would need some internal method to differentiate between the licenses used by the various code sources it's pulling it's suggestion "ideas" from, and the compatibility between the licenses of those sources and your own choice of licensing for the project you're creating.
Other picklists might be handy too, especially something that would narrow to higher quality sources.

And they need a report button with a picklist of reasons.

eg, cleanliness described by different linters/static-analysis tools? Can we actually make better code suggestions by choosing examples which are known to have less super-obvious flaws?
Linters would be nice, though the bar is pretty low. A lot of the examples won't even compile :)
Those licenses require attributions. You can't just say "Copyright (c) all the projects indexed in Copilot".
I would imagine saying "Copyright (c) appropriate rights holders on planet Earth" wouldn't satisfy most license attribution claims if they were ever tested in court.
There's certain information I cannot share, but you can see the general idea of what I'm throwing out here