Lesson deck
Harness engineering: interview drills flashcards
Reviewing needs JavaScript. You can read every card in the list below.
Loading your cards...
Back to the lesson12 cards in this deck
Read all 12 cards as a list
- Front
- Give the 90-second answer shape for any concept.
- Back
- Define it in one sentence, give one concrete example, name one trade-off or cost, and say how you would check it. Rehearse until it fits in about ninety seconds.
- Front
- What are the six harness component families?
- Back
- Instructions, tools, infrastructure, orchestration, enforcement, observability.
- Front
- Why is "done" a hypothesis?
- Back
- The model may be wrong or inventing. The harness checks against tests and state before the run ends.
- Front
- Why a hook rather than a prompt rule?
- Back
- A hook runs in code at a defined point whatever the model decides, so the rule holds. A prompt rule is a suggestion.
- Front
- What is the ratchet, and why can a better model mean fewer rules?
- Back
- Each real failure becomes a permanent check. Components assume model weaknesses, so remove one when its assumption stops holding.
- Front
- n-step success, pass@k, pass^k and cost per resolved task: the formulas?
- Back
- p^n; 1 − (1 − p)^k; p^k; attempt cost divided by success rate. For example 0.99^40 ≈ 0.67, and 0.9^10 ≈ 0.35.
- Front
- How do you compute steps before compaction?
- Back
- (threshold share × (window − output reserve) − fixed prompt) ÷ tokens per step. Capping tool output is the cheapest way to get more steps.
- Front
- What are the eight parts of a harness design answer?
- Back
- Clarify; context; tools and environment; loop and state; enforcement; verification; orchestration; evaluation and operations.
- Front
- What marks a strong design answer?
- Back
- Reproduce first, independent verification, numbers, isolation per task, explicit stop conditions, named failure classes, the improvement loop, and honesty about what stays with people.
- Front
- What do you do when the interviewer changes a constraint?
- Back
- Re-cost the design aloud: cap steps and output, route routine steps to a smaller model, and say what quality risk you accept.
- Front
- Scenario: it edits the tests to pass.
- Back
- The success criteria were writable. Make tests unwritable for the agent, use a hook on protected paths, and grade in CI.
- Front
- Scenario: success is flat and cost is up 40 percent after an upgrade.
- Back
- Old compensations now add steps. Ablate them one at a time on held-out tasks and check that tool shapes still suit the model.