Expand description
Turning answers, questions and errors into styled transcript lines.
Constants§
Functions§
- answer_
lines - Render one answer: the number, the distribution it came from, and what it means.
- bar
- A probability meter. Eighteen columns is enough to read a distribution at a glance.
- bold
- color_
for - dim
- error_
lines - Errors are part of the lesson: show the variant, what it means, and what to do.
- plain
- question_
lines - One line per question, the way it will go on the wire.
- styled
- text_of
- JSON strings read better unquoted; everything else stays JSON.