Stav dette: Adaptation in stochastic environments