Per-member execution result.
Summary
Functions
Build an :eliminated member result with reason metadata (used by tournament brackets).
Build a :skipped member result with reason metadata.
Types
@type status() :: :ok | :error | :timeout | :skipped | :invalid_output | :eliminated
@type t() :: %CouncilEx.MemberResult{ attempts: pos_integer(), confidence: float() | nil, duration_ms: non_neg_integer() | nil, error: CouncilEx.Error.t() | nil, member_id: atom(), metadata: map(), response: CouncilEx.Response.t() | nil, status: status() }
Functions
Build an :eliminated member result with reason metadata (used by tournament brackets).
@spec error(atom(), CouncilEx.Error.t(), non_neg_integer(), keyword()) :: t()
@spec ok(atom(), CouncilEx.Response.t(), non_neg_integer(), keyword()) :: t()
Build a :skipped member result with reason metadata.