StatifierBlocks.Predicates.TruthTable.Cell (StatifierBlocks v0.16.0)

Copy Markdown View Source

One row/column intersection: the raw evaluation outcome, whether the column was selected? under first-match-wins, the row's declared expected answer (if any), and the derived status. See StatifierBlocks.Predicates.TruthTable's moduledoc for what each status value means.

Summary

Types

status()

@type status() :: :match | :mismatch | :unchecked | :error | :undecidable

t()

@type t() :: %StatifierBlocks.Predicates.TruthTable.Cell{
  column_key: String.t(),
  expected: boolean() | nil,
  outcome:
    {:ok, boolean()} | {:error, StatifierBlocks.Predicates.reason()} | nil,
  selected?: boolean() | :undecidable,
  status: status()
}