[Pune] Shubham Gurjar — RAG-to-MCP Submission - #40
Open
shubhamg9109 wants to merge 3 commits into
Open
Conversation
added 3 commits
July 22, 2026 08:41
…ive category picks blended ambiguous cases -> added injury/child/school/hospital/ambulance/fire/hazard/fell/collapse Urgent triggers and category-tie detection that forces Other+NEEDS_REVIEW instead of guessing
…k cosine similarity let a noisy IT/HR header chunk outscore the correct clause and let 0.6 refuse every genuinely answerable query (even stub_rag.py) -> route by each document's average chunk score (stable signal), recalibrated threshold to 0.20 (empirically validated: in-scope docs 0.29-0.37, out-of-scope 0.09), added near-tie cross-document handling that answers per-document without blending, and switched llm_adapter.py to Claude (this participant's chosen provider)
…ers policy questions' gives no scope signal and lets agents call it for out-of-scope questions -> stated the exact HR/IT/Finance document scope and refusal behavior in TOOL_DEFINITION, implemented JSON-RPC 2.0 dispatch (tools/list, tools/call, -32601/-32602/-32700/-32603) always at HTTP 200, and added a startup warm-up call so the embedding model loads before accepting connections instead of on the first request (which exceeded test_client.py's 10s timeout); also added rag_server.query() so mcp_server.py uses the real UC-RAG implementation instead of silently falling back to stub_rag.py
|
Hi there, participant! Thanks for joining our RAG-to-MCP Workshop! We're reviewing your PR for the 3 Use Cases (UC-0A, UC-RAG, UC-MCP). Once your submission is validated and merged, you'll be awarded your completion badge! Next Steps:
|
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.
RAG-to-MCP — Submission PR
Name: Shubham Gurjar
City / Group: Pune
Date: 2026-07-22
AI tool(s) used: Claude Code
Submission Checklist
uc-0a/agents.md— present and updateduc-0a/skills.md— present and updateduc-0a/classifier.py— runs without crashuc-0a/results_pune.csv— output presentuc-rag/agents.md— present and updateduc-rag/skills.md— present and updateduc-rag/rag_server.py— not the stub, your implementationuc-mcp/agents.md— present and updateduc-mcp/skills.md— present and updateduc-mcp/mcp_server.py— passes at least one test_client.py testUC-0A — Complaint Classifier
Which failure mode did you encounter first?
Which enforcement rule fixed it? Quote from your agents.md:
Your commit message for UC-0A:
Verification checkpoints:
UC-RAG — RAG Server
Which failure mode did you encounter?
(chunk boundary / wrong retrieval / answer outside context)
What chunking strategy did you use and why?
Did your system correctly refuse "What is the flexible working culture?"?
(Should return refusal template — not in any document)
Did your system retrieve the correct document for "Can I use my personal phone for work files?"?
(Should retrieve IT policy, not HR leave policy)
Which enforcement rule in agents.md prevented answers outside retrieved context?
Your commit message for UC-RAG:
Verification checkpoints:
UC-MCP — MCP Server
Paste your tool description from mcp_server.py TOOL_DEFINITION:
Does it state the document scope explicitly?
Run result:
python3 test_client.py --run-all(Paste the summary output)
Did the budget forecast question return isError: true?
In one sentence — why is the tool description the enforcement?
Your commit message for UC-MCP:
Verification checkpoints:
python3 test_client.py --run-allexecutes without connection errorisError: true(out of scope)CRAFT Reflection
Which step of the CRAFT loop was hardest across all three UCs?
What did you add to agents.md manually that the AI did not generate?
One specific task in your real work where you will use R.I.C.E in the next 7 days: