https://github.com/PierreMasselot/RiskExtrapolation/