Exam Check
exam_checkSecure exam environments by validating all components before delivery. It checks audio clip integrity, ensures no sensitive data is exposed in the page source, and verifies submission paths.
Instructions
Run before any exam page goes to the person; show it only on READY. Checks that every clip exists and decodes, that the clips sit within lufs_tol of one loudness, and that a blind exam cannot be told by anything but the sound: given key={clip label, file name or path: its class} and secrets=[source names, words that must not show], no class or secret in file names, URLs, metadata tags or the page source (or the scripts and styles it loads), no key file the page loads, no format, length, leading-silence or order that separates the classes. submit_url + answers_path: posts a test answer marked preflight and checks it lands where you read answers. clips: paths or [{label, path}]; page: the exam's HTML file or its URL (its clips are found when clips is none). choices (+ question): the exam's one overall single choice. On pairs labelled 1A, 1B, 2A ... whose real side moves between pairs, a choice of sides about the key ('A is the real band' / 'B is the real band', or bare 'A' / 'B' under a "which is real?" question) fails, and other side choices warn: ask "real or fake?" per clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| page | No | ||
| clips | No | ||
| choices | No | ||
| secrets | No | ||
| lufs_tol | No | ||
| question | No | ||
| submit_url | No | ||
| submit_body | No | ||
| answers_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |