I think it is interesting idea. However, I think you need a better system than just the number of commits, or lines of code committed. I don't these are very accurate measurements for the degree which someone contributed to the project. You need a more sophisticated system to determine that.