https://bugfix-66.com/7a82559a13b39c7fa404320c14f47ce0c304fa...
This is the only license to explicitly disallow language model training and inference using your code.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
...
3. Use in source or binary form for the construction or operation
of predictive software generation systems is prohibited.
All other licenses seem to apply only when the code is emitted, and therefore can't really protect you. This attacks the problem at the source. If Microsoft trains Copilot on your code, they are unambiguously violating an explicit condition that controls use.Otherwise, it's just the standard BSD 2-Clause License.