Commit 9c58fdb
feat(persona-quiz): depth-4 sub-personas for data + infra (48 personas)
Deepen the data and infra domains with a 4th branching level so the later
answers actually steer the result: each of their 8 leaves now forks into 2
finer sub-personas (e.g. ML Research vs ML Training, Vector Search vs RAG
Pipeline, Offensive vs Defensive AppSec), taking the quiz to 48 personas and
~11-question paths there (product/specialty stay at depth-3 / 8 questions).
The split content (colour + branch + terminal questions and persona copy) is
authored offline and baked into generatePersonaQuiz.mjs via DATA_SPLITS /
INFRA_SPLITS; the validation gate still enforces vocabulary, reachability,
>=4 branch points, and no duplicate prompts. The progress bar now uses the
real per-path depth so shorter domains still fill it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5e08b00 commit 9c58fdb
5 files changed
Lines changed: 3120 additions & 707 deletions
File tree
- packages
- webapp/components/persona-quiz
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
121 | 147 | | |
122 | 148 | | |
123 | 149 | | |
| |||
397 | 423 | | |
398 | 424 | | |
399 | 425 | | |
400 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
401 | 429 | | |
402 | 430 | | |
403 | 431 | | |
| |||
0 commit comments