# Design This file fixes the parts that are easy to get wrong. The language and tools are up to you, as long as the numbers here hold. ## Evening set Channels 1–6, times and fixture file paths in `sets/evening.json`. Offsets are computed from the injected clock minus the programme start, and must match the file to 0.2 s. ## Screenshot tolerance 8 levels, 98% of pixels (video frames may use a 12-level, 96% tolerance if the decoder is not bit-exact, as noted in the fixture). ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `title` | Set title | Evening programmes | Shown on the guide. | | `clock` | Fixture time | 2026-01-15T20:15:00 | The injected now, local to the fixture schedule. | | `guide` | Show a programme guide | on | A list of channels and times. | | `chrome` | Show TV chrome | on | A bezel and a channel number. | | `set` | Channel set | evening | A shipped schedule plus local fixture videos. No live video host. | ## Acceptance at the defaults The numbers, names and fixture paths already in this file are the authority. Where a later table or a shipped fixture file disagrees with prose, the table or the fixture wins. | Fixture | Role | | --- | --- | | `fixtures/evening-2026-01-15-20-15.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `sets/evening.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `spekkr.inputs.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | Golden frames are compared at 1400 by 1000 CSS pixels unless a requirement names another size. Tolerance, unless a tighter figure is given above: 8 levels, 98% of pixels, with motion, cursors and clocks frozen as this file says. A build's goldens are of that build; they do not have to match a shipped reference preview pixel-for-pixel if the tool or the type is different, but they do have to match this file's layout, counts and copy. ## Screenshots These pictures are headless-Chrome captures of the working reference in `reference/preview.html`, at the default inputs. They are not drawings of a product that has not been built. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel. | File | What it shows | | --- | --- | | `shots/evening.png` | Channel 4 at 20:15 on 15 January 2026, The Harbour Hour. | ## How to verify 1. Run the checks at the default inputs, without a network. 2. Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file. 3. Repeat once at the person's inputs when they differ from the defaults. 4. Channel schedules and flipping are tested with fixture video files and an injected clock. A fetch hook fails if a live video host is contacted. A golden TV-frame screenshot is checked. The product does not use a commercial video site's name in its id.