Skip to content

feat(retrieval): add RAG eval improvement loop#47

Merged
drewstone merged 1 commit into
mainfrom
feat/rag-eval-improvement-loop
Jul 7, 2026
Merged

feat(retrieval): add RAG eval improvement loop#47
drewstone merged 1 commit into
mainfrom
feat/rag-eval-improvement-loop

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What changed

  • Added runRetrievalImprovementLoop() for one-call RAG/retrieval config optimization on top of agent-eval.
  • Added retrieval eval scenarios, deterministic retrieval metrics, cost reporting, parameter search helpers, and root exports.
  • Added SOTA-informed RAG eval completion roadmap covering retrieval, context quality, answer quality, diagnosis, and production gates.
  • Updated README and architecture docs to reflect agent-knowledge as a knowledge-base construction and retrieval/RAG eval package.

Validation

  • pnpm exec tsc --noEmit
  • pnpm exec vitest run tests/retrieval-eval.test.ts
  • pnpm exec tsup
  • git merge-tree --write-tree origin/main HEAD

Notes

This PR was cut from a clean worktree based on origin/main because the original working branch had unrelated staged memory-holdout work and a pre-existing merge conflict against main.

@drewstone drewstone marked this pull request as ready for review July 7, 2026 20:05

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — 3b3c4a9c

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-07T20:05:50Z

@drewstone drewstone merged commit 65750bd into main Jul 7, 2026
1 check 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.

2 participants