draft of time between commits analysis function