Independent portfolio project
Policy Retrieval Ranking Sandbox
Compare keyword matching and evidence rules when a support search finds several plausible sources.
Policy simulator
Compare proposed sources and see which ranking rule handles outdated, incomplete, and conflicting evidence.
Project brief.
- Problem to solve
- A fictional help center uses an AI draft tool with articles from several markets and different product lines. A leading search result often repeats the customer’s words, even when the article is stale or written for a different product.
- What I’d prioritize
- Give reviewers three ranking rules that show source selection for the same query. Compare keyword match, scope-and-date ranking, and a stricter evidence rule that asks for details or flags contradictory sources.
- How I’d measure success
- Measure correct top source, correct abstention, and wrong-scope answers on the synthetic set. For a larger evaluation, ask reviewers to label relevant sources and missing evidence before seeing any ranking.
- What I’d watch for
- Use only fictional approved documents. Treat unavailable sources as a separate state and keep contradictory governing documents visible for manual review.
Workflow and evaluation.
- Treat applicability as part of relevance
- A strong match needs to fit the product, region, and date in the case. Put those fields near the title in the source card. A reviewer should be able to see which constraint matched and what evidence the ranking rule used to advance a document.
- Keep ambiguous cases in the test set
- Include cases with two apparently applicable sources and cases with no stated region. Track questions and routes to a person separately from incorrect selections. An appropriate clarification can protect users from receiving a confident reply based on a policy that applies elsewhere.
- Preserve examples that explain the next fix
- Save the query, candidate ranking, and expected source or fallback for each case. Check whether failures come from missing document metadata, indexing a superseded version, or interpreting evidence incorrectly. Change one component at a time and rerun the same examples.
