Skip to content

feat: guess who developer-persona quiz with LLM follow-up#6001

Open
davidercruz wants to merge 2 commits intomainfrom
eng-1389-llm-quiz
Open

feat: guess who developer-persona quiz with LLM follow-up#6001
davidercruz wants to merge 2 commits intomainfrom
eng-1389-llm-quiz

Conversation

@davidercruz
Copy link
Copy Markdown
Contributor

@davidercruz davidercruz commented May 6, 2026

Changes

A new /guess-who page that walks the user through 5 fixed multiple-choice questions about their domain, stack, experience, and AI relationship, then hands the conversation off to an LLM follow-up phase. Each turn calls the new guessWhoQuizStep GraphQL mutation, which proxies to bragi (GuessWhoQuiz pipeline) and either returns one more clarifying question or finalises a persona; on finalisation, daily-api also calls recswipe.extractTags on the persona description so the response includes { name, description, tags }. The frontend wires this via a useGuessWhoQuiz TanStack mutation hook plus LlmPhase (loading/question/result/error states), LlmQuestionCard, and a PersonaResult reveal with tag chips.

Events

Did you introduce any new tracking events?

Type event_name value
New start guess who quiz origin: "guess who quiz"
New answer guess who question target_id: <questionId>, origin: "guess who quiz", extra: { optionId }
New answer guess who llm question origin: "guess who quiz", extra: { answer }
New complete guess who quiz extra: { persona, tagCount }

ENG-1389

Preview domain

https://eng-1389-llm-quiz.preview.app.daily.dev

AmarTrebinjac and others added 2 commits May 6, 2026 16:18
After the 5 fixed Q&A pairs, hand the conversation off to a new
guessWhoQuizStep GraphQL mutation that proxies to bragi for either
another clarifying question or a final persona (with tags extracted
via recswipe). Adds useGuessWhoQuiz mutation hook, LlmPhase
orchestrator with loading/question/result/error states, LlmQuestionCard,
and PersonaResult. Wires four new analytics events
(StartGuessWhoQuiz, AnswerGuessWhoQuestion, AnswerGuessWhoLlmQuestion,
CompleteGuessWhoQuiz) under a new Origin.GuessWhoQuiz. Replaces the
placeholder result screen.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 6, 2026 5:30pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 6, 2026 5:30pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants