Risk-informed training