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
Reject a relevant citation that omits an exception, a contradicted claim and an unsupported business-completion claim.
Knowledge content check2026-10-11 · Check the source of the original question2026-10-11
It is recommended to understand first:
Context and generation budgets →Tool contracts: from a valid request to an authorized business effect →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 · Provenance and support answer different questions
Preparatory concepts:Authorized applicable source metadata, Claim conditions and material exceptions, Partial-answer and action acceptance contracts
The actual applicable evidence must support each material claim; provenance cannot substitute for missing conditions or business outcome evidence.
A source link establishes neither all conditions nor a business effect. Answer supported subclaims and keep material gaps explicit. Select the figure to open it at full size.
The same cited base can support window_days=30 yet fail to support opened-battery eligibility. Support depends on the claim and its conditions, not a document-level relevant/not-relevant label. A business-completion claim needs a receipt, a different type of source entirely.
Partial answers preserve useful established facts while showing gaps. Their acceptance contract must also protect any downstream action that depends on the gap. The narrow experiment makes this distinction executable and states its prose limits.
Attach tenant, group, version and valid interval to base and exception clauses.
Filter applicable authorized IDs before rank fusion.
Fuse two authored rank lists; retain stage IDs.
Expand authorized same-version clauses and preserve the complete bundle or abstain.
Check context membership and bounded claim conditions; arbitrary prose remains not_scored.
This deep-dive uses authored rankings. The linked existing RAG pipeline retains its separately recorded real local embedding provenance.
A citation ID establishes provenance only if it was authorized and actually assembled. Support also needs applicable source content and the claim's conditions. Answer supported subclaims with explicit gaps; abstain from decisions dependent on missing, stale or conflicting material. Evaluate coverage and false support separately rather than maximizing answer rate.
In the authored v2 corpus, the base supports a 30-day general window. The battery exception says an opened battery cannot be returned unless defective. For opened=True, defective=False and age20, eligible=True is contradicted even if it cites both actual context IDs.
The lab verifies typed eligible and window_days claims only. A stale, foreign or invented citation ID fails citation_not_in_context. A missing exception fails missing_required_evidence. Full context with the wrong value fails claim_contradicted. refund_already_sent fails unsupported_claim_field because policy text cannot prove a business effect.
If a third claim lacks evidence, answer the supported two with an explicit gap when that is useful. If the missing claim controls a payment or irreversible decision, withhold that action and request authoritative evidence. Similarity and model self-confidence do not fill the gap.
Conflicting authorized sources require effective-time/version/authority precedence or an unresolved-conflict response. Keep the answerable and unanswerable slices, supported partial claims, unsupported acceptance and over-abstention separate. A system that refuses everything can lower unsupported-answer count without being useful. These local fixtures test rule coverage, not arbitrary prose entailment or model abstention calibration.
Python 3.9+, standard library. Extract /lab/deep-dive/agent-core-deep-dive-v1.zip and run this snippet beside rag_evidence_deep_dive.py; /lab/deep-dive/rag_evidence_deep_dive.py is also available. Authored fixtures only; not a live model or external service.
from rag_evidence_deep_dive import assemble,candidate,verify_claims
t=assemble()
assert verify_claims(candidate(),t)['accepted']
assert verify_claims(candidate(True),t)['reason']=='claim_contradicted'
unsupported={'claims':[{'field':'refund_already_sent','value':True,'citations':['returns-v2-base']}]}
print(verify_claims(unsupported,t)['reason'])
expected output
unsupported_claim_fieldContinue 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 1The document is highly similar to the question. What is still missing?
Changes from retrieval similarity to answerability.
Applicability, authorization and claim-level conditions. A similar base clause can omit a material exception or belong to another version/tenant. Inspect the actual assembled spans and required facts before accepting the answer.
Follow this answer further
Level 2Two of three claims are supported. Must the whole response be refused?
Changes all-or-nothing support into partial support.
Not necessarily. State the two supported claims with their basis and mark the third unknown. Whether an action can proceed depends on whether that missing fact is material to its acceptance. Report partial support explicitly, not a fluent combined paragraph that hides uncertainty.
Follow this answer further
Level 3The missing claim is whether a payment is revocable. Can common-sense inference authorize the send?
Makes the unsupported subclaim control an irreversible external action.
No. Reversibility changes action risk and recovery. Obtain an authoritative service/policy fact or require an appropriately reviewed decision; withhold a send whose required acceptance fact is missing. A plausible guess is not provider capability evidence.
Level 1Two authorized official policies conflict. Does the highest-ranked one win?
Adds conflicting support despite valid citations.
Use explicit authority/version/effective-time precedence and retain the conflicting spans. If the material conflict remains unresolved, disclose it and abstain from the dependent conclusion. Rank estimates relevance, not which institution or policy controls.
Level 1Unsupported-answer rate falls while refusals rise. How do you detect concealed regression?
Changes the acceptance threshold and usefulness simultaneously.
Keep answerable/unanswerable labels fixed and report answerable coverage, over-abstention, unsupported acceptance and partial-support correctness separately. Compare paired task slices under the same permission/version context. A lower error count from answering fewer easy cases is not sufficient improvement.
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 answer may include common knowledge but its refund decision must follow the tenant policy.
Extended question:How should sources and uncertainty be presented?
Separate the policy-supported decision from supplementary explanation and mark the provenance/boundary of each. General knowledge cannot override tenant exceptions or prove provider state. The action gate uses authoritative policy and receipts, even if open-world text is useful.
The principles that remain unchanged:Material action claims require the appropriate authoritative evidence.
Changing conditions:The current policy changes but an old cached response still has working citation URLs.
Extended question:Can citation availability preserve the old answer?
No for a current-policy query. Revalidate version/effective time and invalidate the affected cached verdict. A historical answer may remain valid with its as-of basis; a live decision needs currently applicable support. A reachable URL alone is not freshness.
The principles that remain unchanged:Support is tied to applicability and the query's time, not URL reachability.
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
Run the RAG module. Test eligible=True with both IDs, eligible=False with both IDs, a stale citation and refund_already_sent. Design one useful partial answer with a material action gap.