diff --git a/src/agentlab/experiments/study.py b/src/agentlab/experiments/study.py index 195aea09..74c2b49b 100644 --- a/src/agentlab/experiments/study.py +++ b/src/agentlab/experiments/study.py @@ -157,6 +157,12 @@ def get_results(self, suffix="", also_save=True): return result_df, summary_df, error_report + def shuffle_exps(self): + """Shuffle the experiments in the study.""" + import random + + random.shuffle(self.exp_args_list) + @dataclass class Study(AbstractStudy):