Calculate a rough semantic similarity score across all your snippets, and pay out a fractional reward to all originating codebases.
I think the bigger problem is that it will almost certainly lead to a proliferation of giant snippet spam repositories.