Bootstrap step

A bootstrap step imports either a set of experiments from another study or the whole study. The purpose of the step is to bootstrap a new study with experiments alredy calculated by another study, without the need to run them again. In fact, when a bootstrap step imports an experiment from another study, the step copies not only the experiment but also its trials and the system metrics generated during its former execution.

The bootstrap step has the following structure:

FieldTypeValue restrictionsIs requiredDefault valueDescription

type

string

bootstrap

yes

The type of the step, in this case, bootstrap

name

string

yes

The name of the step

runOnFailure

boolean

true false

no

false

The execution policy of the step:

  • false prevents the step from running in case the previous step failed

  • true allows the step to run even if the previous step failed

from

array of objects

Each object should have the structure described below

yes

The experiments to import in the current study

In case this is not set, this step imports every experiment of a study

where the from field should have the following structure:

study: "study_bootstrap_1"
experiments: [1,2,3]

with:

  • study contains the name or ID of the study from which to import experiments

  • experiments contains the numbers of the experiments from which to import

Examples

The following is an example of a bootstrap step that imports four experiments from two studies:

name: "my_bootstrap"  # name of the step
type: "bootstrap"     # type of the step (bootstrap)
from:
  - study: "study_bootstap_1"  # name or ID of the study from which to import
    experiments: [1, 2, 4]     # the numbers of the experiments to import
  - study: "study_bootstrap_2"
    experiments: [1]

You can also import all the experiments of a study by omitting the experiments field:

name: "my_bootstrap"   # name of the step
type: "bootstrap"      # type of the step (bootstrap)
from:
  - study: "study_bootstrap_1" # name or ID of the study from which to import

Last updated