I am trying to use a copy of the decision_root dict, but my function handle_research, after return, changes the values of decision_root.
NOTE: I am not referring to decision_root anywhere in handle_research function.
while((len(decision_root['researches']))>0):
research = decision_root['researches'][0].copy()
decision_root['researches'].pop(0)
research_chance = handle_research(research.copy(), decision_root.copy())