Esempio n. 1
0
    def create_run_table(self) -> List[Dict]:
        run_table = RunTableModel(factors=[
            FactorModel("mission_task",
                        ['computation', 'video', 'networking']),
            FactorModel("runs_per_variation", range(1, 6))
        ],
                                  data_columns=["avg_cpu", "avg_ram"])

        run_table.create_experiment_run_table()
        return run_table.get_experiment_run_table()
Esempio n. 2
0
 def create_run_table(self) -> List[Dict]:
     """Create and return the run_table here. A run_table is a List (rows) of tuples (columns), 
     representing each run robot-runner must perform"""
     run_table = RunTableModel(factors=[
         FactorModel("logging", ['ON', 'OFF']),
         FactorModel("mission_type", ['computation', 'networking']),
         FactorModel("run_number", range(1, 7))
     ])
     run_table.create_experiment_run_table()
     return run_table.get_experiment_run_table()
Esempio n. 3
0
 def create_run_table(self) -> List[Dict]:
     """Create and return the run_table here. A run_table is a List (rows) of tuples (columns), 
     representing each run robot-runner must perform"""
     run_table = RunTableModel(
         factors = [
             FactorModel("example_factor", ['example_treatment1', 'example_treatment2']),
             FactorModel("nr_of_runs", range(0, 2))
         ],
         data_columns=['test']
     )
     run_table.create_experiment_run_table()
     return run_table.get_experiment_run_table()
 def create_run_table(self) -> List[Dict]:
     """Create and return the run_table here. A run_table is a List (rows) of tuples (columns), 
     representing each run robot-runner must perform"""
     run_table = RunTableModel(
         factors = [
             FactorModel("example_factor", ['example_treatment1', 'example_treatment2'])
         ],
         exclude_variations = [
             {"example_treatment1"},     # all runs having treatment example_treatment1 will be excluded
             {"example_treatment1", "example_treatment2"} # all runs having the combination <treatment1, treatment2> will be excluded
         ] 
     )
     run_table.create_experiment_run_table()
     return run_table.get_experiment_run_table()