whiskers-judge
The guard's questions and its decision, with nothing that performs a call. Every message, in either
direction, is put to Jev as two typed questions in one request (is it entirely suitable for a
child of the profile's age: a yes-or-no probability; and what is it mainly about: a choice of nine
topics), and decide turns the two answers into a Verdict. A second question set, Rerank,
orders a shortlist of memories against what the child just said.
It is a crate of its own so that two things read the same definition: whiskers-guard (which
re-exports it, and carries the client the tablet uses) and the website, which builds the page that
explains the guard from Topic::ALL, MIN_SUITABLE, the questions as they go on the wire, and the
real decide. The page cannot say something the guard does not do.
| File | What |
|---|---|
src/judge.rs | The topics, the threshold, the two questions, decide. |
src/rank.rs | Rerank: the memory-ordering question. |