{"version":"0.1","vocabulary":[{"term":"Target","meaning":"The thing being designed: a screen, flow, component set, or brand system."},{"term":"Genome","meaning":"The design system encoded as data: tokens, component recipes, composition rules."},{"term":"Gene","meaning":"One mutable parameter in the genome, with a bounded range."},{"term":"Variant","meaning":"One rendered candidate produced from a genome."},{"term":"Generation","meaning":"One batch of variants produced in a single round."},{"term":"Assay","meaning":"The full measurement pass over a generation using the fitness functions."},{"term":"Gate","meaning":"A hard pass/fail check. A variant failing any gate scores zero."},{"term":"Hit","meaning":"A variant that passes all gates and beats the baseline composite score by the hit threshold (default 10%)."},{"term":"Hit rate","meaning":"Hits divided by variants assayed."},{"term":"Baseline","meaning":"The existing design, or the best human-made option, scored with the same functions."},{"term":"Run record","meaning":"The reproducible log of one assay run."}],"stages":[{"id":"stage-0","name":"Target profile","outputs":["target.json"]},{"id":"stage-1","name":"Genome","outputs":["genome.json","schema/genome.schema.json"]},{"id":"stage-2","name":"Variation","outputs":["gen-{n}/variants/*.json"]},{"id":"stage-3","name":"Render","outputs":["gen-{n}/renders/{id}/"]},{"id":"stage-4","name":"Assay","outputs":["gen-{n}/scores.jsonl"]},{"id":"stage-5","name":"Selection","outputs":[]},{"id":"stage-6","name":"Human review","outputs":["review.jsonl"]},{"id":"stage-7","name":"Field assay","outputs":["field.json"]},{"id":"stage-8","name":"Report","outputs":[]}],"fitnessFunctions":[{"id":"G-A11Y","type":"gate","method":"Automated accessibility. Zero critical or serious violations. axe-core","defaultWeight":null},{"id":"G-CONTRAST","type":"gate","method":"Text and UI contrast. WCAG 2.2 AA: 4.5:1 body text, 3:1 large text and UI components. axe-core plus computed styles","defaultWeight":null},{"id":"G-OVERFLOW","type":"gate","method":"Horizontal overflow. No horizontal scroll at 320 px width. Playwright: scrollWidth <= clientWidth","defaultWeight":null},{"id":"G-RENDER","type":"gate","method":"Render health. No console errors, no failed requests. Playwright","defaultWeight":null},{"id":"G-LOCK","type":"gate","method":"Locked genes untouched. Locked values identical to genome. Diff against genome.json","defaultWeight":null},{"id":"M-TOKEN","type":"measured","method":"Token fidelity. Share of computed color, spacing, radius and font values that map to a genome token. Ratio, 0 to 1","defaultWeight":1},{"id":"M-RHYTHM","type":"measured","method":"Spacing rhythm. Share of vertical gaps on the spacing scale; variance of section spacing. 1 minus normalized deviation","defaultWeight":0.75},{"id":"M-TYPE","type":"measured","method":"Typographic health. Body size at least 16 px, line length 45 to 75 characters, line height 1.4 to 1.7 for body. Share of text blocks in range","defaultWeight":0.75},{"id":"M-TARGET","type":"measured","method":"Touch targets. Interactive elements at least 44 by 44 px at 320 and 768 px. Share passing","defaultWeight":0.5},{"id":"M-PERF","type":"measured","method":"Performance. Lighthouse performance, LCP, CLS, JS weight. Weighted, normalized against budget","defaultWeight":1},{"id":"M-RESP","type":"measured","method":"Responsive stability. Layout keeps reading order and hierarchy across 4 widths. Structural diff score","defaultWeight":1},{"id":"M-DIVERSITY","type":"measured","method":"Novelty vs parents. Perceptual distance from parents and siblings. Used for selection bonus, not composite","defaultWeight":null},{"id":"J-HIERARCHY","type":"judged","method":"Is it obvious what to look at first, second and third?","defaultWeight":1.5},{"id":"J-CLARITY","type":"judged","method":"Can a first-time visitor say what this is and what to do within 5 seconds?","defaultWeight":1.5},{"id":"J-BRAND","type":"judged","method":"Does it read as this brand and no other?","defaultWeight":1},{"id":"J-CRAFT","type":"judged","method":"Alignment, optical balance, detail. Would a senior designer ship it?","defaultWeight":1},{"id":"F-CONVERT","type":"field","method":"Primary conversion rate vs baseline","defaultWeight":null},{"id":"F-TASK","type":"field","method":"Task success rate in moderated or unmoderated tests","defaultWeight":null},{"id":"F-TIME","type":"field","method":"Time on task","defaultWeight":null}],"license":"https://creativecommons.org/licenses/by/4.0/"}