commit calculator source