agent0.hyperfuzz.unit_fuzz.helpers.advance_time =============================================== .. py:module:: agent0.hyperfuzz.unit_fuzz.helpers.advance_time .. autoapi-nested-parse:: Helpers for advancing time wrt checkpoint boundaries .. !! processed by numpydoc !! Functions --------- .. autoapisummary:: agent0.hyperfuzz.unit_fuzz.helpers.advance_time.advance_time_before_checkpoint agent0.hyperfuzz.unit_fuzz.helpers.advance_time.advance_time_after_checkpoint Module Contents --------------- .. py:function:: advance_time_before_checkpoint(chain: agent0.core.hyperdrive.interactive.LocalChain, rng: numpy.random.Generator, interactive_hyperdrive: agent0.core.hyperdrive.interactive.LocalHyperdrive) -> None Advance time on the chain a random amount that is less than the next checkpoint time. :param chain: An instantiated LocalChain. :type chain: LocalChain :param rng: The numpy Generator provides access to a wide range of distributions, and stores the random state. :type rng: `Generator `_ :param interactive_hyperdrive: An instantiated InteractiveHyperdrive object. :type interactive_hyperdrive: InteractiveHyperdrive .. !! processed by numpydoc !! .. py:function:: advance_time_after_checkpoint(chain: agent0.core.hyperdrive.interactive.LocalChain, interactive_hyperdrive: agent0.core.hyperdrive.interactive.LocalHyperdrive) -> None Advance time on the chain to the next checkpoint boundary plus some buffer. :param chain: An instantiated LocalChain. :type chain: LocalChain :param interactive_hyperdrive: An instantiated InteractiveHyperdrive object. :type interactive_hyperdrive: InteractiveHyperdrive .. !! processed by numpydoc !!