[TechM] Ravi Devulapalli — Vibe Coding Submission#10
[TechM] Ravi Devulapalli — Vibe Coding Submission#10RaviDevulapalli wants to merge 25 commits intonasscomAI:mainfrom
Conversation
… description column
…rict severity keyword detection
… single-sentence reason citing keywords
…eyword matches → simplified to single-category classification
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…tion rules and error handling
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…ion behavior and constraints
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
… role-intent-context-enforcement format
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…t rules and failure prevention
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…undaries → added RICE-compliant agents.md with strict grounding, citation, and refusal constraints
…chunking failure modes → defined chunk_documents and retrieve_and_answer with thresholding, metadata, and error handling
…across chunks → implemented sentence-aware chunking with max 400 token limit
… chunks to fall below threshold → introduced 1/(1+dist) similarity scoring and adjusted threshold to 0.4 based on observed embedding distribution
…t sections → implemented strict sentence-level extraction limited to retrieved context only
…cuments → enforced single highest-scoring document selection per query
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…eep implementation scoped to RAG
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…defined single-section enforcement, no blending, and exact refusal template in agents.md
…ambiguous → defined retrieve_documents and answer_question with strict single-section and refusal rules
…nted initial retrieval and scoring-based answer system
…eading to wrong answers → added threshold-based filtering to improve retrieval precision
… responses for weak matches → enforced strict refusal when answer not fully grounded in one section
… matching failed to resolve intent → replaced with deterministic intent-to-section mapping ensuring strict single-section grounding
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…valid queries and answered out-of-scope queries → fixed retrieval path, lowered threshold, added relevance check, and enforced strict MCP tool behavior
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
…missing urgency enforcement caused inconsistent classification → switched to description field, added severity keywords, enforced reason generation, and simplified ambiguity handling
… similarity scoring, and lack of enforcement caused missed context and cross-document blending → implemented sentence-aware chunking, normalized similarity scoring with threshold tuning, enforced single-document retrieval, added strict sentence-level extraction, and defined RICE-compliant agent and skill constraints
… retrieval and missing constraints caused incorrect section selection and blended answers → replaced with deterministic intent-to-section mapping, enforced strict single-section grounding, added refusal for incomplete matches, and defined agent and skill contracts
|
👋 Hi there, participant! Thanks for joining our Vibe Coding Session! We're reviewing your PR for the 4 User Cases. Once your submission is validated and merged, you'll be awarded your completion badge! 🏆 Next Steps:
|
UC-0A — Complaint Classifier
Approach
Implemented a rule-based classifier using strict category mapping and severity keyword detection. Ensured exact category enforcement and consistent priority assignment.
Fixes Applied
Output Validation
Enforcement
Notes
Focused on preventing taxonomy drift by enforcing exact category values, ensuring severity keywords always trigger Urgent priority, and minimizing false ambiguity by restricting NEEDS_REVIEW to genuine multi-category cases.
UC-RAG — RAG Server
Approach
Implemented a retrieval-augmented generation (RAG) pipeline using sentence-transformers and ChromaDB. Ensured strict grounding so answers are generated only from retrieved chunks.
Fixes Applied
Output Validation
Enforcement
Notes
UC-X — Ask My Documents
Approach
Implemented a deterministic, policy-grounded question answering system over three fixed documents. Replaced scoring-based retrieval with intent-to-section mapping to ensure strict single-section grounding and eliminate ambiguity in retrieval.
Fixes Applied
Output Validation
Enforcement
Notes
UC-MCP — Expose RAG as MCP Tool
Approach
Implemented a plain HTTP MCP server using JSON-RPC 2.0 to expose the RAG system as a callable tool. Ensured strict tool scoping through description and input schema so that agents invoke the tool only for CMC HR, IT, and Finance policy queries.
Fixes Applied
Output Validation
Enforcement
Notes