Exam Picture Round
exam_picture_roundBuild a picture-based listening exam that stacks real and rendered views, lets users flip, answer, and mark differences, then serves it and scores responses.
Instructions
The eye exam page for the person (ledger:M165 step 2, vox's word-picture round): one sound per card, the real picture and ours of the same window stacked so one shows at a time (F flips, Shift peeks, B blinks: the eye reads a difference as movement), M / S / 0 answers about the picture showing, and comments pinned at a time and frequency (a click, or a dragged box). The key is served only after they answer. items: [{word, real: path, other: path, window: [t0, t1] s, other_window (default the same), words: [[t0, t1, text]] in the real file, other_label: what ours is, said after the answer, version, ask: this card's own question, shown above its pictures}]. One card shows at a time, with Back and Next; on a phone a finger on a picture scrolls until Mark is on, and each mark has a Remove button; real-first and real-second are balanced and seeded. labels: the page's words {real, ours, play} (default "This one is the real one", "This one is ours", "Play the real sound"). out: the round's folder; its parent is what the page server serves. host=True starts it on 127.0.0.1:port unless it runs, and registers the round with it, so one server serves rounds from every song; a name another song's round holds gets the song's name in front, and the reply gives the URL and phone link to use. If the round can't be served it says why instead of giving a link. Read the answers with exam_picture_score(out). Reach for it whenever the person should see a difference and mark it ("show me the difference", my voice against the render, two takes side by side, where does it go wrong): a static spectrogram PNG they can look at but not mark is the wrong answer to that (Nate, 10-12).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | ||
| f_hi | No | ||
| f_lo | No | ||
| host | No | ||
| port | No | ||
| seed | No | ||
| intro | No | ||
| items | Yes | ||
| title | Yes | ||
| labels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |