Insider.Sentinel.Verification.Record (Insider Lab v0.1.0)

Copy Markdown View Source

A canonical derived verdict for bounded failing-before and passing-after evidence.

Summary

Types

t()

@type t() :: %Insider.Sentinel.Verification.Record{
  after_attempts: term(),
  before_records: term(),
  candidate: term(),
  executor_counts: term(),
  id: term(),
  integrity: term(),
  oracle: term(),
  reasons: term(),
  regression: term(),
  schema: term(),
  status: term()
}

Functions

canonical_binary(record)

@spec canonical_binary(term()) ::
  {:ok, binary()} | {:error, Insider.Protocol.Error.t()}

complete_cleanup?(arg1)

@spec complete_cleanup?(term()) :: boolean()

Returns whether cleanup proves release with no resources remaining.

decode(value)

@spec decode(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}

decode_map(wire)

@spec decode_map(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}

new(regression, candidate, oracle, before_records, after_attempts, counts)

to_wire_map(record)

@spec to_wire_map(t()) :: map()

validate(record)

@spec validate(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}