# `Cite.Screen`
[🔗](https://github.com/mdepolli/cite/blob/v0.2.0/lib/cite/screen.ex#L1)

Round 1, minus the client call: every detect asked of every passage, a
window of passages per request, and the replies folded into scores. Pure.
Internal.

# `outcome`

```elixir
@type outcome() :: {[Cite.Passage.t()], {:ok, map()} | {:error, term()}}
```

# `screen`

```elixir
@type screen() :: %{required(String.t()) =&gt; %{required(atom()) =&gt; number()}}
```

# `request`

```elixir
@spec request([Cite.Passage.t()], Cite.Policy.Terms.t(), String.t(), [
  atom() | String.t()
]) :: map()
```

One request: the window under the source's `as`, with the meta keys
`show` names, and every detect in `terms` asked of every passage in it,
keyed `"<passage id>:<detect>"`.

# `resolve`

```elixir
@spec resolve(Cite.Run.t(), [outcome()]) :: Cite.Run.t()
```

Folds judged windows into the run. It sets `screen`, the scores per
passage and detect, adds one `Cite.Error` per failed window, and adds each
reply's usage and model to the run's. A failed window leaves its passages
without a row.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
