Expand description
Adaptive exploration scenario functions.
These scenarios exercise the adaptive code path (dispatch_split ->
adaptive_split_on_discovery) with coverage-yield-driven batching
and 3-level energy budgets.
Each scenario provides a minimal xorshift64 RNG via thread-local storage,
wired into moonpool-explorer through set_rng_hooks. Since scenarios use
fork(), each must run in its own process (nextest default).
Enums§
- Adaptive
Test Error - Errors from adaptive exploration test scenarios.
Constants§
- CALL_
COUNT - Number of RNG calls since last reseed.
- RNG_
STATE - Current xorshift64 RNG state.
Functions§
- count
- Return the current RNG call count.
- next_
random - Advance the xorshift64 RNG and return the next value.
- random_
below - Return a random integer in
0..divisor. - reseed
- Reseed the xorshift64 RNG and reset the call counter.
- run_
adaptive_ dungeon_ floors - Progressive multi-floor exploration.
- run_
adaptive_ energy_ budget - Verify that the 3-level energy budget (global, per-mark, realloc pool) constrains adaptive forking. Uses low energy values to ensure bounds.
- run_
adaptive_ maze_ cascade - Cascading probability gates with dependent locks.