LangChain’s WikiBench Finds Codebase Wikis Improve Agent Answers
Brief
LangChain introduced WikiBench to measure whether generated codebase wikis help agents answer repository questions.
What the benchmark found
- A reader agent using both a wiki and source code achieved the highest mean score, at lower cost than using source code alone.
- The wiki alone performed much worse, indicating that it worked best as a guide to the source rather than a replacement for it.
How it evaluates wikis
- WikiBench generates coverage and retrieval questions about a repository at a pinned commit, then scores answers against fact-based rubrics using LLM judges.
- LangChain uses the benchmark to compare OpenWiki harnesses and models and guide development.
Generated by AI from the original article. Check the source for full details.