Understand first
New to this knowledge point
Complete the prerequisite concepts, read the principles and counterexamples, and then explain why in your own words.
Start with core principles →Understand → Implement → Debug → Design
Measure outcome and constraints separately, then show why A/B averages cannot cancel an extra effect.
Knowledge content check2026-10-11 · Check the source of the original question2026-10-11
It is recommended to understand first:
RAG evidence: applicability, complete context and supported claims →Idempotency, unknown outcomes, and task recovery →Select the starting point based on the current basis, or you can go deeper one by one. When you encounter an unfamiliar concept, go back to the core principles first; use the knowledge exercises to check your understanding when you are finished.
New to this knowledge point
Complete the prerequisite concepts, read the principles and counterexamples, and then explain why in your own words.
Start with core principles →Prepare to write the principles into code
Understand implementation steps and boundaries, complete small tasks, and check results against acceptance requirements.
View the code example →Need to handle failures and changes in conditions
Follow the continuous questioning to locate the failure premise, and then compare the migration cases to explain how the plan should be adjusted.
Continue to delve deeper into the problem →Need to design or review plans
Combine engineering deductions and senior self-evaluation standards to explain the applicable conditions, costs and alternatives of the plan.
Analyze engineering scenarios →LEARN · PRACTICE · REFLECT
First read along the principles, Q&A and migration cases. When you need to check your understanding, switch to reinforcement exercises or start personal recording.
Can be practiced directly. After logging in, answers, favorites, and notes will be saved to your account.
Log in and saveEach modified commit will be kept as an independent history. Your level of mastery is up to you to evaluate yourself against the standards.
Core concept · Acceptance is an evidence contract, not a prose impression
Preparatory concepts:Authoritative artifacts and effect receipts, Hard constraints versus quality scores, Task/trial identity and independent semantic review
Required outcomes and prohibited behaviors need observable evidence and separate verdicts before an aggregate can inform release.
A quality average cannot offset forbidden effects. A run with no violations still needs acceptable business outcomes. Select the figure to open it at full size.
A report can be present but unauthorized, or eloquent but unsupported. A tool trajectory can differ from a reference and still satisfy the task. The acceptance contract must decide what evidence matters before seeing the output so the grader does not reward superficial similarity.
The executable counts show a stronger evaluator exposing errors that narration hides. They do not prove the hypothetical agent itself was fixed. Continue the evaluation course for repeated attempts, confusion statistics and assumption-based bounds.
The local checklist has two separate gates: hard_constraint_gate checks authorization/effects/budgets, while quality_gate checks a declared minimum trial success ratio (the teaching default is 1.0). An all-failed dataset can satisfy the hard constraints and must still be blocked by quality_gate. release_gate permits only when both permit. Choose product thresholds before inspecting the candidate scores; this fixture gate does not establish production readiness, dataset coverage or semantic quality.
Fix inputs, required evidence, prohibited actions, and budgets. Keep labels out of model input.
Bind prompt/model/data versions; retain tool events, artifacts, and business receipts.
Check authorization, structure, citations, budgets, and effect counts separately. An average score cannot offset a dangerous failure.
Check each free-form claim. Mark this dimension not_scored when review has not been performed.
Keep all attempts; report task counts, repetitions, denominators, failures, and unscored dimensions.
This experiment contains 8 authored tasks × 3 trials per version. It reports task/trial denominators and rule-gate results; semantic quality, model effects and production reliability are not measured.
Define initial state, allowed actions, observable outcome and hard limits before evaluation. Grade business records/artifacts and process constraints independently; calibrate open-text review separately. Preserve task/attempt identities, slices and unscored dimensions. A quality average cannot offset an authorization, duplicate-effect or budget violation under a hard-gate contract.
The authored records expose a faulty evaluator: narration_score≥0.8 accepts all 24 A trials. The actual contract combines business_ok with authorization, maximum effect count and budget bounds, producing 16/24 and eight narration false accepts. A cache-based alternate path passes because the contract does not demand one exact trajectory.
Version B has 20/24 passes but still one duplicate-effect and one budget violation. Both release gates block. The mean improved while individual constraints remained unsatisfied; a hard gate cannot be repaid by more successful easy tasks.
The harness stores task_id, attempt, provenance and observation dimensions. It rejects duplicate trial identities and compares versions on paired tasks/attempts. It reports any-success and all-success task counts separately. Semantic narrative review remains distinct; a fluent score is not a business receipt.
The ratios and confusion counts are actually computed over authored fixtures. There was no live model, human rater, measured latency/cost or independent production sample. A real evaluation adds authenticated execution evidence, representative/held-out tasks, versioned agent/judge/data and full-strategy retry assessment. No statistical headline replaces severe-failure regression gates.
The local checklist has two separate gates: hard_constraint_gate checks authorization/effects/budgets, while quality_gate checks a declared minimum trial success ratio (the teaching default is 1.0). An all-failed dataset can satisfy the hard constraints and must still be blocked by quality_gate. release_gate permits only when both permit. Choose product thresholds before inspecting the candidate scores; this fixture gate does not establish production readiness, dataset coverage or semantic quality.
Python 3.9+, standard library. Extract /lab/deep-dive/agent-core-deep-dive-v1.zip and run this snippet beside evaluation_deep_dive.py; /lab/deep-dive/evaluation_deep_dive.py is also available. Authored fixtures only; not a live model or external service.
from evaluation_deep_dive import fixtures,summary,demo
a=summary(fixtures('A'));b=summary(fixtures('B'))
assert a['trial_success']['numerator']==16
assert b['trial_success']['numerator']==20
assert b['release_gate']=='block'
failed=summary([dict(r,business_ok=False,authorized=True,effect_count=0,budget_units=0) for r in fixtures('A')])
assert failed['hard_constraint_gate']=='allow'
assert failed['quality_gate']=='block'
assert failed['release_gate']=='block'
print(demo()['narration_only_evaluator']['false_accepts'],b['release_gate'])
expected output
8 blockContinue reading along with the premises and constraints of the problem. Understand the reference answers first, then try to put away the answers and explain the cause and effect and trade-offs in your own words.
Level 1System-design advice has several valid solutions. What can an acceptance contract check?
Removes a unique reference answer.
Explicit requirements, feasibility, causal tradeoffs, failure handling and source/assumption support. Use decisive checks for factual constraints and a calibrated rubric for open reasoning. Do not require one exact framework name or path when alternatives satisfy the stated constraints.
Follow this answer further
Level 2Both designs satisfy requirements but one estimates lower cost. Must it score higher?
Introduces a competing optimization objective.
Only under comparable workload/pricing/operations assumptions and a declared objective. Reliability, delivery latency and maintenance may trade against cost. Evaluate the estimate's evidence and sensitivity instead of treating a smaller unsupported number as better.
Follow this answer further
Level 3The cheaper estimate uses provider prices but no measured call volume. Can the report claim saves half?
Removes measured workload evidence from the cost comparison.
It can state a conditional estimate under explicit usage assumptions, not an observed saving. Measure representative call/token/tool volume and operational costs, then report uncertainty and scenario sensitivity. Prices alone do not establish realized workload cost.
Level 1How do you stop a judge from preferring long but wrong answers?
Introduces judge bias while outcome checks remain decisive.
Use focused claim/requirement rubrics, independent calibration labels, length/order/injection stress pairs and decisive business/authorization checks. Report false-positive slices; cap irrelevant verbosity if appropriate. The fixture narration score accepts eight invalid cases, demonstrating why one stylistic score cannot be the contract.
Level 1Online metrics improve but held-out regression declines. How do you assess the change?
Changes the observed workload and metric context.
Compare task distribution, versions, selection/caching and instrumentation. Report slices and paired fixed tasks before attributing the difference to agent quality. Keep held-out labels independent of tuning and examine whether online proxies hide forbidden effects or fewer hard cases.
First find out the conditions for change, and then determine which premises in the original plan still hold true. The following cases are teaching deductions to facilitate the transfer of principles to new problems.
Changing conditions:The outcome changes from a reviewable draft to an irreversible publication.
Extended question:Which acceptance dimensions become hard gates?
Current authority, exact approved recipients/content, operation identity, one effect and reliable send receipt. Semantic review still matters, but a high text score cannot authorize sending. Unknown send state needs reconciliation and cannot be turned into non-execution for a neat summary.
The principles that remain unchanged:Hard effect/authority constraints remain independent from prose quality.
Changing conditions:The design objective changes with unknown future load.
Extended question:How should the evaluator compare solutions fairly?
State scenarios and constraints, evaluate correctness under each, and compare cost/latency/maintenance with explicit assumptions and sensitivity. Do not assert measured performance without a representative run. Prefer a reasoned decision with boundaries over an ungrounded universal winner.
The principles that remain unchanged:The evaluation must judge supported reasoning under declared constraints.
Official mechanisms were checked on 2026-10-11. Examples and schedules are authored; local Python/SQLite outputs are actually executed. No enterprise incident, live model accuracy or production reliability is asserted. New Q&A and migration cases are added for principle explanation, and source verification and case operation verification are recorded separately.
After reading, you can explain the principles, boundaries, and trade-offs against these standards. It is up to you to evaluate your mastery; if further verification is needed, complete the small tasks below.
View verification records for independent examples
Differentiate between run success, result contracts, and unscored semantic quality along actual checkpoints, events, and servicer receipts for the same research task.
Read full text and fault analysis → · Download experiment package ↓
python3 cli.py memory-put
python3 cli.py submit
python3 cli.py run
python3 evaluate.py
python3 -m unittest discover -s . -p test_lab.py -vBy default, deterministic summary functions and synthetic documents are used; real operating trajectories and mechanical constraints are evaluated, and there is no semantic support to verify the real model.
Run evaluation_deep_dive.py and EvaluationTests. Reproduce narration-only false accepts and A/B hard-gate counts. Write a release contract for a text report and an external send using different evidence obligations.