vladiulianbogdan/CGT_Project

Create the other risk functions and adjust the function call inside the simulation so it is applicable for all

Closed this issue · 1 comments

I think if the risk can happen only in round 1, we should still go to the function and check if it is a loss. But if the round is different than 1 then just return false.

I think we have to pass the type of risk and the current rount. Something like:

def riskFunction(selection, collectivePot, currentRound, roundType):
    if (roundType == "FirstRound" && currrentRound != 1):
        return False
    if (roundType == "LastRound" && currentRouund != LastRound): 
        return False

Originally posted by @vladiulianbogdan in #1