I have no idea the current status but five years ago I knew an acquaintance who was building this: https://sourcecred.io which I think is pretty close to what you're talking about.
By the way, is SourceCred still active? It looks like the Twitter and GitHub repos have been quiet for a while. Is your acquaintance still working on it?