> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the Demo Studio acceptance report

> What the Demo Studio acceptance gate checks across 56 criteria and five test suites, how to read the verdict, and the fix for each common failure.

Every Demo Studio version is checked against 56 acceptance criteria and five test suites before delivery. The verdict is **ACCEPTED** when no criterion and no test fails. Warnings are reported but don't block delivery.

`export` runs the gate automatically. To re-check a version, run `/demo-check`, which explains the report in plain language and offers to fix failures as the next version.

## Criteria

| Area | What's checked |
| - | - |
| Format | Resolution, frame rate, codecs, faststart, equal video and audio lengths, length vs. target |
| Sound | Loudness, true peak, voice above the music, audio sync, picture sync |
| Narration | Sentences unaltered, cuts inside pauses, words at their planned times, same voice across files |
| Captions | Words match the recording, SRT matches the burned-in captions, line and character limits, reading speed, duration, no overlaps |
| Coverage | Every spoken moment is said, captioned and highlighted on its word; shown moments stay on screen long enough |
| Layout | Key UI clear of captions and headlines and never clipped (checked every 0.25 s), text size, UI at native size, contrast |
| Picture | Black and frozen frames |
| Music | Seamless joins, ends on the track's hit or fades cleanly |
| Licence | Voice and music allow the intended use |
| Brand | Colours from tokens only, logo and exact end line, logo is the client's file |
| Honesty | UI only from captures, time compression disclosed, generated UI labelled, no render errors |

## Test suites

The tests prove the checks themselves work.

| Suite | What it covers |
| - | - |
| Units | Maths and rules |
| Golden | Plan, mix and frames rebuild identically |
| Faults | 16 planted faults must be caught |
| Revision | A caption edit or a music-level change affects nothing else |
| Connectors | Skipped unless a voice service is connected |

## Fixing failures

After a fix, Claude re-runs `compile`, `render` and `export`, at most twice on its own. If the version still isn't accepted, it's delivered marked "not accepted" with the reasons. A FAIL is never hidden.

| Failure | Fix |
| - | - |
| Key UI under the caption | Raise the plane, reduce its scale, or start the highlight after the caption |
| Headline covers UI | Move the plane down or shorten the headline |
| Clipped | Reduce the sideways offset or scale for that scene |
| Highlighted UI below native size | Increase that scene's camera scale by 5 to 10 % or reduce its rotation |
| Highlight late or early | Start the highlight on its word, or the nearest beat within −0.3/+0.5 s |
| Item not spoken | Add a sentence, or mark the item as shown if you agree |
| Caption too fast or too long | Add time or shorten the display form |
| Words don't match | Fix the text to the recorded words, then re-run `voice` and `plan` |
| Music join | Choose another track or length |
| Voice not consistent | Regenerate the odd clip with the same voice and settings |
| Licence | Paid-plan or own voice, or mark the video internal; music from the library |
| Contrast warning (accent on light) | Fine for large text; for small text use ink or a darker accent (about 5:1) |

Thresholds live in `engine/acceptance/acceptance.yaml`. A project can override them, but Claude tells you if it relaxes one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.