Skip to content

Add an offline evaluation for Ask AI source selection - #64

Merged
harshitethic merged 3 commits into
mainfrom
feat/retrieval-eval
Nov 5, 2026
Merged

harshitethic merged 3 commits into
mainfrom
feat/retrieval-eval

Conversation

@harshitethic

Copy link
Copy Markdown
Owner

Adds a reproducible top-file evaluation against the existing fictional catalog for #63. Each case checks an expected path and a specific source excerpt, or expects the retriever to abstain. JSON output and the optional --check exit code support automated comparisons.

Baseline on main is 4/6. The two misses are visible on purpose: a definition request selected its importer, and an absent symbol returned unrelated code. The evaluator runs without Ollama, network access or a persistent repository import. The evaluation guide includes shell and PowerShell instructions.

@harshitethic
harshitethic merged commit 9f21f94 into main Nov 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant