> Or they could integrate a way to find the produced output back in the corpus if it's sufficiently close and provide a reference/attribution. Basically whatever tool a copyright lawyer would use to track down original work.
That assumes that the licenses of your code and the original code are compatible which often isn't the case.