Skip to content

Commit

Permalink
make format and add micro_experiment flag in test_data
Browse files Browse the repository at this point in the history
  • Loading branch information
jiradeto committed Nov 24, 2023
1 parent cd3aecd commit 051cf85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions experiment/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def _start_trial(trial: TrialProxy, experiment_config: dict, cpuset=None):
_initialize_logs(experiment_config['experiment'])
logger.info('Start trial %d.', trial.id)
started = create_trial_instance(trial.fuzzer, trial.benchmark, trial.id,
experiment_config, trial.preemptible,
experiment_config, trial.preemptible,
cpuset, trial.trial_group_num)
if started:
trial.time_started = datetime_now()
Expand Down Expand Up @@ -791,11 +791,11 @@ def render_startup_script_template( # pylint: disable=too-many-arguments
def create_trial_instance( # pylint: disable=too-many-arguments
fuzzer: str,
benchmark: str,
trial_id: int,
trial_id: int,
experiment_config: dict,
preemptible: bool,
cpuset=None,
trial_group_num: int=0) -> bool:
trial_group_num: int = 0) -> bool:
"""Create or start a trial instance for a specific
trial_id,fuzzer,benchmark."""
instance_name = experiment_utils.get_trial_instance_name(
Expand Down
1 change: 1 addition & 0 deletions experiment/test_data/experiment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ measurers_cpus: null
runner_num_cpu_cores: 1
runner_machine_type: 'n1-standard-1'
private: false
micro_experiment: false

0 comments on commit 051cf85

Please sign in to comment.