EvaluationEvaluation Methodology
Synthetic Dataset
How to build it (general guidance)
- Start from failure hypotheses. Use the app and guess how it breaks. Those hypotheses become the dimensions.
- Define the dimensions. Each one captures one aspect of the input. For example, for a dataset of recipe requests the dimensions could be: meal type (breakfast, dinner, dessert), diet (vegetarian, vegan, no restriction) and cuisine (Italian, Thai, Mexican).
- Hand-craft about 20 tuples first. A tuple is one value picked for each dimension, for example (dinner, vegetarian, Italian).
- Then scale with two-step LLM generation.
- First generate structured tuples.
- Then, in a separate prompt, turn each tuple into a natural-language query, for example "What is a good vegetarian pizza for dinner?". The separation removes the generic, repetitive output of a single prompt.
How each dataset was made
- Classification (30 messages): written by hand. They did not come from dimensions: each failure mode found in error analysis added a group of cases, such as vague follow-ups or requests to change entries.
- Answer generation (20 inputs): built from five dimensions: intent, specificity, events available, piece ambiguity and history. Most of the 20 tuples test a failure guessed in advance, such as counting pieces or answering when no note has the answer. A few are easy cases. Claude Code turned the tuples into full inputs: question, events and history. No generator code was written.
- Structured questions (16 questions): written by hand, in six kinds, such as counting by stage or looking up a title. Each has a reference database query that gives the right answer.
- Retrieval (50 questions): three steps.
- A script builds the pieces and their events, picking values at random from fixed lists, such as forms, colours and glazes. No LLM is used.
- An LLM writes a note for each event.
- A separate LLM step writes a question for each note. Before each question, the script picks at random a value for specificity, length and phrasing, and the LLM follows them.
- The question's source event is the right answer, so nobody has to label it.
- End to end (10 questions): written by hand, 5 for the database path and 5 for the retrieval path.
Limits
- The hand-written sets are small: 30, 20, 16 and 10 inputs, against the goal of about 100. They are a good start for the evaluation process.
- The small size is due to the budget: every LLM generation step is paid.