8#include "ravel/shrink.hpp"
9#include "ravel/simulation.hpp"
57RunnerReport run_seeds(
const SimulationSetup& setup,
const RunnerOptions& options = {});
How run_seeds runs.
Definition runner.hpp:14
std::uint64_t max_shrink_attempts
Replay budget for shrinking; see ShrinkOptions::max_attempts.
Definition runner.hpp:30
bool shrink_first_failure
Shrink the lowest failing seed once the sweep is done (see shrink()).
Definition runner.hpp:28
std::uint64_t seed_count
How many seeds to run, starting at first_seed.
Definition runner.hpp:18
SimulationOptions simulation
Applied to every run.
Definition runner.hpp:32
unsigned threads
Worker threads; 0 means one per hardware thread.
Definition runner.hpp:22
bool stop_at_first_failure
Report only the lowest failing seed and skip seeds beyond it.
Definition runner.hpp:25
std::uint64_t first_seed
The first seed to run.
Definition runner.hpp:16
What run_seeds found.
Definition runner.hpp:36
std::vector< Result > failures
In ascending seed order.
Definition runner.hpp:41
std::uint64_t seeds_run
Seeds covered.
Definition runner.hpp:39
bool ok() const noexcept
True if no seed failed.
Definition runner.hpp:48
std::optional< ShrinkResult > shrunk
The lowest failing seed, minimized.
Definition runner.hpp:45
How shrink() searches.
Definition shrink.hpp:31
std::uint64_t max_attempts
Replays allowed while shrinking.
Definition shrink.hpp:34
Options for one run. Every field has a sensible default.
Definition simulation.hpp:36