I asked ChatGPT for some code + 2nd option and queried the SantaCoder Dataset Search tool to find license attribution. Since it looks at what is in The Stack, it is a nice way to check whether code generation is using permissive code.