Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

LangChain 5 min read Research mediumAdept

Evaluating OpenWiki with WikiBench

WikiBench evaluates OpenWiki-generated codebase wikis by having a reader agent answer auto-generated coverage and retrieval questions about a pinned repository. Answers are scored against JSON rubrics of expected facts, with LLM judges checking both presence and grounding in pages read, and the wiki score is the mean across questions. OpenWiki 0.3.0 beat 0.2.5 and bare Deep Agents, mainly on coverage questions thanks to added planning. Across models, DeepSeek Flash matched GLM 5.2 at about one-sixth the cost. Giving the reader both wiki and source produced the best scores at lower cost than source alone, while the wiki alone did much worse, so the wiki works best as an index.

Related posts

  • How to build evidence-grounded agent memory with OpenWiki and Graphs

    LangChain mediumAdept

    A compiled, source-linked wiki (OpenWiki) used as agent memory raised accuracy on cross-document questions from 0.10 to 0.52 versus keyword search alone on a synthetic 111-document insurance corpus scored against a 972-fact ledger, and cut cost per correct answer from about $0.55 to $0.19. Citation consistency stayed low, so the team added a lightweight evidence graph that materializes wiki citations and document references as typed edges (cites, supersedes, refers_to) between paragraphs, claims and pages, navigated by locate and expand tools. The graph built in under a second with no model calls and, over the wiki alone, improved accuracy 27%, doubled citation consistency, cut median latency 40% and cost per correct answer 58%. For simple single-passage lookups, search alone was equally accurate and faster, so compiled memory pays off only with repeated cross-source reasoning.

  • CWE-bench v2: More coverage, quality, and transparency

    Hugging Face mediumAdept

    CWE-bench v2 releases a public set of 100 agentic security tasks covering 91 CWEs, where an agent must find and fix a vulnerability in a real open-source repository without breaking existing functionality, scored by deterministic programmatic verifiers that reject memorized upstream patches. Of 11 models, Gemini 4 Argon leads at 67.8% pass@1 and 81.0% pass@4, narrowly ahead of Claude Opus 5.5, while DeepSeek V4.1 Flash reaches 57.0% at $0.04 per rollout on the cost Pareto frontier. 95 tasks are solved by at least one model, but the leader still fails 19% on every attempt. Tasks are packaged as Dockerized Harbor environments runnable directly from the Hugging Face Hub and usable as RL rewards for training defensive agents.

  • Why coding agents fail in large codebases (and what to do about it)

    Sourcegraph mediumAdept

    Across 1,281 scored agent runs on 40+ large open-source repos (CodeScaleBench), coding agents fail in five repeatable ways: getting lost in exploration, picking the wrong file or symbol, partial completion, tool thrashing, and context overflow. Indexed code search with keyword, semantic and find-references tools helps most in the 400K–2M LOC range (+0.259 reward delta) but slightly hurts below 400K LOC (−0.080). In one refactoring task it cut tool calls from 96 to 5. Augmented agents were 30% cheaper and 38% faster on average, which supports the claim that these are context-infrastructure problems rather than model-capability problems. The recommended fixes are structural navigation, hybrid retrieval for coverage, and task-aware context management.

  • Is it agentic enough? Benchmarking open models on your own tooling

    Hugging Face mediumAdept

    A benchmarking harness measures not just whether a coding agent solves a task with a library, but how much work it took: turns, tokens, time, errors, and behavior "markers" such as whether it used a CLI or the pipeline API. Using transformers as the case study, open models driven by the pi coding agent run across models × revisions × tasks × three tiers (bare install, cloned source, packaged Skill), with each run on Hugging Face Jobs. Adding a CLI and Skill cut time for large models like Kimi-K2.6, GLM-5.1 and MiniMax-M2.7. In the clone tier it raised median input tokens from about 4k to 6.4k, because agents read the new CLI code. Small models such as Qwen3-4B sometimes did worse, since they lean on memorized API patterns, so library changes aimed at agents should be measured against the models expected to use them.

  • How to evaluate Sourcegraph on your own codebase

    Sourcegraph mediumAdept

    In a 288-task evaluation of the Sourcegraph MCP server, structured code retrieval raised file-level F1 from 0.091 to 0.240 and recall from 0.120 to 0.272, yet aggregate task completion was effectively unchanged. Cost moved with how hard the work was to localize: 15–51% savings when the baseline agent searched broadly, about $0.15 more when it found the code in seven searches or fewer. Observed search burden in baseline traces, not codebase size, predicted benefit (r = -0.57 across 113 paired tasks). The post gives nine controls for a fair evaluation: pin revisions for parity, strip tasks that name the answer's location, hold the agent constant, run at least three repeats, segment by localization difficulty, and audit actual tool calls. It closes with a CodeProbe workflow for running the comparison on your own repositories.

The quest for software engineering knowledge.

Look:
Layout: