Capture support and replay-exchange construction for committed reality evidence.
Replay exchanges carry the vendored market and currency caches needed by accepted-request reconstruction and focused parser tests.
Summary
Functions
Builds an offline replay exchange with fixture case options merged.
Returns the capture category for a configured target.
Captures and scrubs one configured live response fixture.
Returns every {venue, method} pair supported by the live capture pipeline.
Absolute path to a venue's static currencies cache.
Directory for recorded currencies caches.
Decodes persisted call_opts from a legacy fixture JSON map.
Root directory for committed real error recordings.
Returns the on-disk fixture filename id for a venue.
Absolute path for a legacy recorded response fixture file.
Root directory for legacy recorded response fixtures.
Infers a coarse market-type label from a fixture case (for coverage reporting).
Loads and decodes a static fixture JSON file.
Absolute path to a venue's static markets cache.
Directory for recorded markets caches.
Returns stable oracle identity fields for a configured target.
Returns the environment variables required by one capture target.
Returns corpus paths whose sensitive fields are not masked.
Recursively masks credential and account identity material in a fixture.
Root for vendored market and currency reference caches.
Functions
@spec build_exchange!(String.t(), map(), map()) :: Bourse.Exchange.t()
Builds an offline replay exchange with fixture case options merged.
The market and currency reference caches supply cache-derived fields needed by accepted-request reconstruction and focused parser tests.
Raw replay market cache
:markets is populated with raw reference maps. Bourse.Exchange declares
this replay shape alongside %Bourse.Market{} so callers can distinguish the
two cache representations.
@spec capture_category(String.t(), atom()) :: Bourse.RecordedResponseFixtures.Capture.category() | nil
Returns the capture category for a configured target.
Captures and scrubs one configured live response fixture.
Returns every {venue, method} pair supported by the live capture pipeline.
Absolute path to a venue's static currencies cache.
@spec currencies_root() :: String.t()
Directory for recorded currencies caches.
Decodes persisted call_opts from a legacy fixture JSON map.
@spec error_fixture_root() :: String.t()
Root directory for committed real error recordings.
Returns the on-disk fixture filename id for a venue.
Absolute path for a legacy recorded response fixture file.
@spec fixture_root() :: String.t()
Root directory for legacy recorded response fixtures.
Infers a coarse market-type label from a fixture case (for coverage reporting).
Loads and decodes a static fixture JSON file.
Absolute path to a venue's static markets cache.
@spec markets_root() :: String.t()
Directory for recorded markets caches.
Returns stable oracle identity fields for a configured target.
Returns the environment variables required by one capture target.
Returns corpus paths whose sensitive fields are not masked.
@spec scrub_fixture(term(), Bourse.Credentials.t() | nil) :: term()
Recursively masks credential and account identity material in a fixture.
@spec static_root() :: String.t()
Root for vendored market and currency reference caches.