use gain in log-lhood as reward.
add git commit hash to log.