Cite.Finding (Cite v0.1.0)

Copy Markdown View Source

A judged finding: its concern and category, the verdict, the raw answers to its checks and descriptors, the passages it cites, and those its confirm dropped. Every passage it gathered is in one list or the other.

checks holds only the checks that were asked. Answers are the model's maps, with string keys as they came off the wire. Read it, don't build it.

Summary

Types

t()

@type t() :: %Cite.Finding{
  category: atom(),
  checks: %{required(atom()) => map()},
  concern: atom(),
  descriptors: %{required(atom()) => map()},
  dropped: [Cite.Citation.t()],
  evidence: [Cite.Citation.t()],
  verdict: :holds | :review | :fails
}