Run a Study
Ask for a study when you need an answer you can act on. One run is one sample, so an assistant with the skill answers from replications, with a confidence interval, and compares designs with the same seeds.
Ask
What the Assistant Does
The skill gives the assistant these steps:
- Set a seed, so the study can be repeated.
- Set a warm-up when the model needs time to reach its usual state.
- Run replications. Each has its own seed, spawned from the study's seed.
- Report each mean with its 95% confidence interval.
- To compare designs, write an experiment file and run
desflow experiment. It runs every design with the same seeds, compares them seed by seed, and writesreport.md.
For the drafted shop, the experiment runs one and two packers for an hour, 20 times each:
run_experiment runs the same study in Python, as Comparing Designs shows.
run_experiment runs the same study in Python, as Comparing Designs shows.
The Comparisons table of report.md gives each difference, two packers minus one, seed by seed:
A second packer cuts the mean wait by 2.25 ± 0.18 seconds, from 2.38 to 0.14. The packers' utilisation halves, from 75% to 38%. The interval of the difference does not hold 0, so the cut is not chance.
Check the Reply
Check that the answer is an interval, not one number, and that both designs ran with the same seeds. Read the report's Missing Inputs section: it names each input whose source the experiment does not state. Trusting Results explains how many replications and how long a warm-up a study needs, and Experiments lists every file the experiment writes.
Full Files
Full files
Comparing Designs has a study in Python with run_experiment.
Comparing Designs has a study in Python with run_experiment.