protected function runTrials(Experiment $experiment)
    {
        $executions = [];

        foreach ($experiment->getTrials() as $name => $trial) {
            $executions[$name] = (new Machine(
                $trial->getCallback(),
                $experiment->getParams(),
                true,
                $trial->getContext()
            ))->execute();
        }

        return $executions;
    }