improved commit-based code change probability calculation