set_seed should only be used in the main() function for each clm command, before doing anything else. Individual functions should not be using set_seed (otherwise they end up dictating behavior of everything else that comes after them).
Once set_seed is removed from all these functions, the test cases should start using local_seed with the same seeds as what they're currently passing to these functions. This will produce the same output.
set_seed
should only be used in themain()
function for eachclm
command, before doing anything else. Individual functions should not be usingset_seed
(otherwise they end up dictating behavior of everything else that comes after them).Once
set_seed
is removed from all these functions, the test cases should start usinglocal_seed
with the same seeds as what they're currently passing to these functions. This will produce the same output.