IANAL, and I'm no fan of copilot, but I wonder if this kind of clause (your #3) is going to fly: you're preemptively prohibiting certain kinds of reading of the code (when code is read by the ML model in training). But is that something a license can actually do?
The legal footing that copyright gives you, on which licensing rests, certainly empowers you to limit things about how others may redistribute your work (and things derived from it), but does it empower you to limit how others may read your work? As a ridiculous example, I don't think it would be enforceable to have a license say "this code can't be used by left-handed people", since that's not what copyright is about, right?
Licenses get to set terms of redistribution. But training of the ML model -- the thing described by your #3 -- is not redistribution (imho). So maybe it's as unenforceable as saying left-handed people can't read your code.
The redistribution happens later, either when copilot blurps out some of your code, or when the copilot user then distributes something using that code (I'm curious which). At that point, whether some use of your code is infringing your license doesn't depend on the path the code took, does it? (in which case #3 is moot)
Okay; thanks for clarifying. I actually hadn't noticed that use of "use" in the BSD license before. I think I need an IP lawyer explain what that "use" means.
The legal footing that copyright gives you, on which licensing rests, certainly empowers you to limit things about how others may redistribute your work (and things derived from it), but does it empower you to limit how others may read your work? As a ridiculous example, I don't think it would be enforceable to have a license say "this code can't be used by left-handed people", since that's not what copyright is about, right?