Runs the arms of an experiment. The loop above it is deterministic given these outcomes.
The capsule captured inside the arm's container, probes included; null if it cannot.
Builds what arm needs under the directory dir; a problem text, or null when ready.
Runs trial index (from 0) of arm.