On this page
What you'll build and why it impresses
"The model should be helpful and harmless" is not a spec. A behaviour spec says what the model should do, what it must not do, and what it should do when the two conflict — with examples that a researcher, a safety reviewer and an engineer can all evaluate the same way.
This project asks you to write that spec for one feature and turn its hardest cases into an eval suite. The deliverable is a short document plus an eval table with labelled examples, a grading rubric and a launch gate. It is the artifact that separates a model PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation from someone who has only written feature specs.
What it proves: you can define behaviour precisely, anticipate trade-offs, measure them, and make a decision when the model cannot satisfy every goal. That is the core of the model lifecycle.
The brief
Feature. Choose an AI feature with real behavioural tension. Good choices: a refund assistant that must be helpful but not promise money it cannot authorise; a teen-safety chatbot that must answer questions without giving harmful advice; a coding assistant that must complete code without inventing APIs. Avoid a feature with no safety or quality trade-off.
Model context. Assume the feature runs on a model you do not control. You can shape the prompt, retrieval, tools and guardrails, but not the weights. The spec should still work if the model is upgraded.
Audience. The spec is for three readers: the research or platform team that owns the model, the engineering team that builds the feature, and the safety or policy reviewer who signs off. Write for all three.
Constraints. One page of principles, one page of examples, one eval table, one decision memo. No date on the page.
Out of scope. The full product spec, the UI and the go-to-market plan. Stay on model behaviour.
Steps
Define the job and the harm. In two sentences: what the feature is for, and what a bad output would cost the user or the company. Write the harm in concrete terms, not "trust".
List the behaviour contract. Write must, should and must-not statements. Example for a refund assistant:
- Must cite the policy that supports the answer.
- Must not promise a refund above the agent's authority.
- Should offer a human handoff when the policy is ambiguous.
- Should explain the next step even when refusing.
Collect real failure cases. Read 50–100 outputs or support tickets. Group the failures by behaviour, not by model component. This is where the spec gets specific.
Write the example set. For each behaviour, write at least:
- two positive examples (the behaviour done well);
- two negative examples (the behaviour violated);
- two borderline examples where goals conflict, such as helpfulness versus refusing an out-of-policy request.
Borderline examples are the most valuable part. They expose whether the spec is actually decidable.
Turn the examples into an eval table. For each case: input, expected behaviour, acceptable variation, grader (code, judge or human), and severity. Define the pass condition per behaviour. Use the eval plan framework to keep the rows tied to a decision.
Validate the grader. If you use a judge, label a sample yourself, measure true positive and true negative ratesTrue negative rate. Of the answers the expert failed, the share the judge also failed. Low TNR means a lenient judge. Read the full explanation, and review disagreements. A judge that cannot distinguish "helpful refusal" from "unhelpful refusal" will not enforce your spec. See validate an LLM judge.
Write the trade-off memo. Name the conflicts: helpfulness vs safety, brevity vs completeness, refusal vs completion, cost vs quality. Say which way the spec leans and why. State the launch gate: which behaviours must be perfect, which can have a small error rate, and which need human review.
Acceptance criteria
- A one-page behaviour contract with must, should and must-not statements.
- 20+ examples, including at least six borderline cases with a stated resolution.
- An eval table with input, expected behaviour, grader and severity.
- A grading rubric specific enough that two people would usually agree.
- A judge validation note with TPRTrue positive rate. Of the answers the expert passed, the share the judge also passed. Read the full explanation and TNR if a judge is used.
- A trade-off memo that names the conflicts and the chosen direction.
- A launch gate with must-pass behaviours and tolerated error rates.
- A limitations note: no access to the model's training, one feature, small sample.
How to present it
In a model review: open with the conflict, not the feature. "The model can either promise the refund or protect the company; here is how we decide, and here is the eval that enforces it." Then walk the borderline cases.
In a PM interview: use the spec to show how you turn an ambiguous quality goal into a measurable decision. The examples matter more than the prose.
In a portfolio: publish the spec and a short post-mortem of one case the model still gets wrong. The honesty is the differentiator.
What interviewers will probe
- What should the model refuse to do? Give concrete behaviours, not a policy slogan. Explain the user cost of over-refusal too.
- How do you decide a borderline case? Name the principle and the exception. If the spec cannot decide it, say so and escalate.
- How do you measure whether the model follows the spec? An eval table with graders, labels and a validated judge. See write a behaviour spec section.
- What happens when the model is upgraded? Rerun the eval suite, compare flips, and block the upgrade if a must-pass behaviour regresses. See a model update changes behaviour.
- What if safety and product disagree? Escalate with the evidence and the user impact. The spec should say who decides and how.
- What would you cut to ship? Name the must-pass behaviours and the ones that can wait, with the risk stated.
Variations
Easier: one behaviour, 10 examples, no judge. Still write the borderline cases and the gate.
Harder: add a second model and compare behaviour; add a multilingual slice; model a capability regression such as better at coding but refuses more; or write the spec for a model upgrade rather than a new feature.
Team version: one person writes the spec, one builds the eval, one plays the safety reviewer. Present the disagreements as the finding.