SShortSingh.
Back to feed

Agentic RAG retries with rewritten queries: a cap of 2 searches recovers most misses

0
·2 views

A test of agentic retrieval-augmented generation had an agent grade search results, rewrite failed queries, and retry within a fixed search limit. In a simulation run on 2026-11-15, a single search found the correct page for 20 of 40 questions, while capping the loop at 2 searches raised that to 32 and at 4 searches to 38. Each extra round added roughly 1.2 modeled seconds and a few hundred tokens, and the fourth round recovered nothing. The gains came mainly from questions worded differently from the target page, since keyword search struggles with vocabulary mismatch. The approach echoes related work such as CRAG, Self-RAG, and Anthropic's description of research subagents refining queries.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

New labelled test set exposes gaps in MCP tool poisoning scanners

A researcher has released MCP Tool Poisoning Fixtures, a 23-row Apache-2.0 dataset on Hugging Face for testing scanners that detect malicious instructions in Model Context Protocol tools. Attackers can hide instructions anywhere in a tool's JSON schema, not just the top-level description that scanners often check. Each poisoned field is labelled with its JSONPath, and every poisoned tool has a clean counterpart so that false positives can also be measured. Testing a pattern-based scanner, the author found it flagged 4 of 5 poisoned tools but only 5 of 11 poisoned fields, showing that tool-level detection can mask field-level misses. The set also includes a version-drift case in which a trusted tool becomes hostile in a minor update without any obvious injection keyword.

0
ProgrammingDEV Community ·

GitHub Enterprise Server flaw let admins escape hook sandbox via crafted URL on clustered nodes

A vulnerability tracked as CVE-2026-112740 in GitHub Enterprise Server allowed commands to run outside the pre-receive hook sandbox. Exploitation required a clustered deployment using custom pre-receive hook environments with at least one peer Git server node, and a crafted environment download URL. The commands executed as the host git user on the peer node rather than on the node where the change was made. Affected versions are those before 3.23, with fixes available in 3.22.5, 3.21.10, 3.20.12 and 3.19.16. Administrators are advised to check their patch level, preserve logs, and review site administrator access and peer-node activity.

0
ProgrammingDEV Community ·

Testers lose time hunting for usable UAT test data, and a new Jira tool aims to fix it

Software testers often spend tens of minutes before each sprint hunting for working test accounts, sandbox tokens, or specially prepared orders. Such data typically sits in outdated spreadsheets, chat threads, or people's memory, leading to expired logins, missing environment setup, and misdiagnosed failures. Exposed credentials and unclear ownership add further risk, especially for new team members. The author, a solo developer, built Route Map for Jira to organize test data by application page, track per-environment availability and verification dates, and mask secrets with logged reveals. The tool is free for teams of up to 10 users.

0
ProgrammingDEV Community ·

ADP opens plain-text files in task-specific views, keeping edits written back as text

The open-source Apache-2.0 project ADP, short for A Different Perspective, presents a family of tools that display existing text files in views suited to the user's question. Its developers argue that AI now generates much of the text people must review, and that plain text hides the hierarchies, feedback loops and dependencies found in complex systems. Each tool shows files such as agent instructions, diagrams, mind maps and pipeline configurations as behavior trees, causal loop diagrams, C4 views and similar forms. Any change made in a view is written back line by line to the underlying text, and parts the tool does not understand are preserved unchanged. Some tools are still prototypes, and they run in Visual Studio Code, IntelliJ-based IDEs and a standalone app.