LEARN. PRACTICE. EXPLAIN.
Learning paths & interview practiceP
← Build a tenant-safe MCP tool server & eval runner
BUILD → VERIFY → EXPLAIN · STEP 6 OF 6

Run golden eval gates and explain trade-offs

Measure accuracy, citation grounding, refusals, and schema validity per dimension.

UNDERSTAND

Bring these concepts with you

BUILD

Your implementation

  1. Implement evaluateGoldenDataset(dataset, runCandidate, gates).
  2. Track accuracyRate, schemaValidityRate, refusalRate on unanswerable items, groundingRate, and avgTokens separately.
  3. Run node checks.mjs ./starter.mjs 6 and rehearse explaining how you prevent silent eval regressions.
export function evaluateGoldenDataset(dataset, runCandidate, gates = {}) {
  // Evaluate accuracy, grounding, refusal, and schema validity against release gates.
}
Need a hint?
  • A high accuracy score on normal queries must not pass the release gate if unanswerable refusalRate fails.
  • Report exact failing case IDs so prompt authors know what regressed.

Saved on this device · 0 / 6000 · Do not include passwords or private data.

VERIFY

Acceptance checks

From the folder containing your downloaded files, run:

node checks.mjs ./starter.mjs 6

This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.

Record your attempt to enable the checklist and reference comparison.

Compare with the reference

Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.

After attempting every step, compare against the complete runnable app.

Save reference.mjs beside checks.mjs and run node checks.mjs ./reference.mjs 6.

Attempt every step to unlock the complete reference downloads.

EXPLAIN

Your interviewer asks

How do you convince a customer to wait for an evaluation suite before deploying a two-day AI prototype to 5,000 users?

Say your answer aloud, then record the trade-offs and evidence in your notes above.

LOCAL VOICE REHEARSAL

Rehearse your step walkthrough aloud

Target pacing: 02:00 · Stays in this browser only; never uploaded.

00:00/ 02:00
AlifBay Prep