Skip to content
Back to skills

Adaptive Query Routing Eval

ASecurity

Evaluates retrieval and answer generation methods across structured financial, legal, and medical documents. It probes how well different architectures handle varying query complexities, cross-references, and domain-specific structural requirements. Use when the user wants to benchmark on Controlled Multi-Domain Corpus, FinanceBench, or asks about evaluating this task. Reports Quality.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill adaptive-query-routing-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adaptive Query Routing Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adaptive Query Routing Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-adaptive-query-routing-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-adaptive-query-routing-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: adaptive-query-routing-eval
description: Evaluates retrieval and answer generation methods across structured financial, legal, and medical documents. It probes how well different architectures handle varying query complexities, cross-references, and domain-specific structural requirements. Use when the user wants to benchmark on Controlled Multi-Domain Corpus, FinanceBench, or asks about evaluating this task. Reports Quality.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2604.14222
  bibtex_key: hashmi2026adaptive
  confidence: high
---

# adaptive-query-routing-eval

> Adaptive Query Routing: A Tier-Based Framework for Hybrid Retrieval Across Financial, Legal, and Medical Documents — Hashmi (2026) (arXiv:2604.14222, 2026)

## What this evaluates

Evaluates retrieval and answer generation methods across structured financial, legal, and medical documents. It probes how well different architectures handle varying query complexities, cross-references, and domain-specific structural requirements.

## Datasets

- **Controlled Multi-Domain Corpus** — total 22; splits: test (22)
- **FinanceBench** — total 50; splits: test (50)

## Metrics

- `Quality` **(primary)** — range: [0, 1]
  - LLM-as-Judge evaluation score on a 0-1 scale assessing answer correctness and relevance.
- `Recall` — range: [0, 1]
  - Proportion of relevant document sections correctly retrieved by the system.
- `Precision` — range: [0, 1]
  - Proportion of retrieved sections that are relevant to the query.
- `F1` — range: [0, 1]
  - Harmonic mean of precision and recall.
- `Latency` — range: seconds
  - End-to-end retrieval and generation time measured in seconds.

## Input / output format

**Input**: Natural language queries across financial, legal, and medical domains, categorized into four complexity tiers (simple, multi-section, cross-reference, multi-document synthesis).

**Output**: Retrieved document sections and generated answers.

## Scoring recipe

```python
precision = len(retrieved & relevant) / len(retrieved)
recall = len(retrieved & relevant) / len(relevant)
f1 = 2 * (precision * recall) / (precision + recall)
latency = end_time - start_time
quality = llm_as_judge_score(answer, query, context) # 0-1 scale
```

## Common pitfalls

- Assuming vector similarity reliably captures cross-references; it misses ~8.3% due to low semantic overlap with target sections.
- Treating performance as uniform across domains; Vector RAG leads in financial but lags in legal/medical where structural navigation is key.
- Ignoring latency trade-offs; reasoning-based methods incur ~2x latency for marginal quality gains on simple queries.

## Evidence (verbatim from paper)

> Both Tree Reasoning and Hybrid AHR achieve perfect section recall (1.00), correctly following internal references to appendices, exhibits, and notes. Vector RAG achieves 0.917 recall, missing cross-referenced sections with low semantic similarity to the query.

## Citation

```bibtex
@misc{hashmi2026adaptive,
  title={Adaptive Query Routing: A Tier-Based Framework for Hybrid Retrieval Across Financial, Legal, and Medical Documents},
  author={Hashmi (2026)},
  year={2026},
  note={arXiv:2604.14222}
}
```

- arXiv: 2604.14222

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…