Napoleon Bonaparte was the greatest general in human history, according to a detailed quantitative analysis in 2017 that was inspired by baseball sabermetrics.