Repository navigation
Add a Foundry IQ evidence gate with Microsoft-Decision-1 - #120
Open
Farzad Sunavala (farzad528) wants to merge 3 commits into
Open
Farzad Sunavala (farzad528) wants to merge 3 commits into
Farzad Sunavala (farzad528) wants to merge 3 commits into
Conversation
Adds the foundry-iq-decision-1-gate recipe: a sufficiency gate on Foundry IQ retrieval using Microsoft-Decision-1, with per-risk-tier thresholds tuned by replaying captured traces, a retrieval-effort cascade, and an agent function tool. Includes a synthetic corpus, labeled questions, live-captured traces and the decision-models tag. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add reproducible Atlas setup, frozen-evidence comparisons, evaluation provenance, and focused regression checks. Preserve observed failures and publication prerequisites; omit the obsolete architecture asset. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Resolve the registry append conflict without dropping the upstream Content Understanding recipe or the Decision-1 recipe. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
🔍 PreviewBuild and checks passed, but a live preview wasn't auto-deployed because Farzad Sunavala (@farzad528) isn't a member of |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add Don't answer yet: an evidence gate with Foundry IQ, a runnable tutorial that separates evidence retrieval, sufficiency assessment, and application-owned answer policy.
Foundry IQ retrieves Microsoft Learn documentation and three indexed sample files about Atlas, a fictional IT-ticket portal. Microsoft-Decision-1 returns a typed sufficiency score; application code either generates a cited answer or preserves the unanswered question and evidence for review.
The recipe includes a frozen-evidence gated/ungated comparison, real saved outputs, an optional bounded retrieval retry, reproducible setup helpers, and 34 regression tests. Historical Relay evaluation is an explicitly separate companion, not evidence for Atlas accuracy. Hamel Husain's decision-model evaluation article is credited for evaluation guidance, without transferring its benchmark results to this workload.
Related issue: none.
Scope and provenance
mainand resolve the registry append conflict by retaining both recipes.Validation
python -m unittest discover -s notebooks\data\foundry-iq-decision-1-gate -p test_gate.pymain.python .agents\skills\cookbook-review\scripts\recipe-health-check.py notebooks\foundry-iq-decision-1-gate.ipynb --repo-root .python .agents\skills\cookbook-review\scripts\recipe-health-check.py notebooks\foundry-iq-decision-1-evaluation.ipynb --repo-root .scripts:npx tsx validate-registry.tsacu-dynamic-hitlremains unchanged.site:npm run buildmainand restoring its dependencies; includesastro checkwith 0 errors, 0 warnings, and 12 hints, plus static build and Pagefind.git diff --check origin/main...HEADThe recorded live recipe execution completed on 2026-10-24. Its code, helper, team-data, and ledger provenance matches the submitted recipe. PR preparation did not repeat paid live model calls or provision Azure resources. The four-answer claim ledger is an authoring-assistant check, not independent human approval.
Review focus
Independent
cookbook-reviewagent: 89/100 — Publish after fixes. It found no confirmed critical implementation blocker and considered the complete package suitable for a normal ready-for-review PR, not approval to merge or publish.Merge/publication holds
The gate measures evidence sufficiency, not generated-answer faithfulness. The 0.95 operating cutoff is not an accuracy guarantee. Please review those boundaries and the disclosed possible false negative. Advisory improvements are a shorter opening and lighter optional reading; no broader classifier or benchmark is proposed.
Checklist
Notebook contributions
Skip if this PR only touches site code.
notebooks/directoryregistry.yamlwith all required fields (slug,path,title,authors)authors.yaml(with at leastnameandtitle)tags.yamlcd scripts && npx tsx validate-registry.tsnotebooks/media/<slug>/with descriptive alt textnotebooks/data/<slug>/when applicableSite changes
Skip if this PR only adds a notebook.
cd site && npm run buildcd site && npx astro check