Skip to content

For max_workers and batch_size we didn't verify the size validation when retrieved from IdmConfigParser #2638

@ZDu-IDM

Description

@ZDu-IDM

Note: double check if we did the size validation for the following parameters:

Defined in comps_platform:

num_retries: int = field(default=0, metadata=dict(help="How retries if the simulation fails",
                                                  validate=partial(validate_range, min=0, max=10)))
num_cores: int = field(default=1, metadata=dict(help="How many cores per simulation",
                                                validate=partial(validate_range, min=1, max=32)))
max_workers: int = field(default=16, metadata=dict(help="How many processes to spawn locally",
                                                   validate=partial(validate_range, min=1, max=32)))
batch_size: int = field(default=10, metadata=dict(help="How many simulations per batch",
                                                  validate=partial(validate_range, min=1, max=100)))
min_time_between_commissions: int = field(default=15, metadata=dict(
    help="How many seconds between commission calls on an experiment",
    validate=partial(validate_range, min=10, max=300)))****

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions