Evaluate source routing for live knowledge search
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with the live search code in server/knowledge/app/live_search.py, especially lines 75-126, to see how sources are ordered and how the shared deadline and hit caps are applied. The cross-source reporting fixture from #1185 is the test bed, and #1189 and #1181 cover the MCP sources and audience scope it depends on. Done means a comparison report of routed versus explicit search across every permitted source, covering latency, call counts and required-citation coverage, with a clear adopt-or-reject decision.
索引モデルが issue の本文から書いたものです。
説明
Component
Knowledge (documents)
Use case
A reporting question can require a metric definition from one source and a rule about when to use it from another. Live document search has a shared deadline and caps on sources and hits. An early source can spend the budget while a relevant result for one part of the question can leave the other part unsupported.
Describe the solution you'd like
Evaluate query-aware source ordering for live document search after #1189. Reuse the cross-source reporting fixture from #1185.
- Authorize sources before ranking them. Keep the request within the scope set for its audience. Use available source or document metadata within its existing access and retention rules.
- Honor explicit source selections for comparisons and audits. Report when selected sources were skipped, unavailable or cut off by the budget, with source details only where the caller may see them.
- Test a query that needs two sources where the first source returns a strong match. Check whether the remaining budget can retrieve the other required evidence. Include cases with unavailable routing metadata and with sources outside the audience scope.
- Include a large permitted source with many plausible distractors and a small permitted source with the authoritative passage. Check whether either source is favored by its document count and which required passages reach the result.
- Compare routed search against an explicit search of every permitted source in the fixture. Report routing overhead, remote search, read and revalidation call counts, p95 latency and the share of questions for which retrieval returns every required citation. Show single-source and multi-source results. Adopt routing only if it reduces cost or latency while preserving required evidence.
Describe alternatives you've considered
Explicit source selection covers tasks whose inputs are known. Searching every permitted fixture source gives the evaluation a baseline. Widening only after zero hits leaves the case where a strong hit supports one part of a question.
Where the need comes from
An AI tool suggested this feature
Additional context
Follow-up to the knowledge-factory roadmap in #1232. Related work covers audience scope in #1181 and live MCP sources in #1189. Production latency and answer completeness still need measurement. Live search implementation
- 主要言語
- Python
- スター
- 263
- フォーク
- 47
- 平均マージ
- 14時間 21分
- マージ済み PR(30日)
- 873
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ClickHouse/loom のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/loom#2014 ·
メンテナーはふだん 1 日以内に返信
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help text対応中かも @VanshajPoonia が今日担当しました。 オープンbug good first issue help wanted up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/loom#1988 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A compiler-tier checkout fetch from a shallow mirror never records its head対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
ClickHouse/loom#2016 ·
メンテナーはふだん 1 日以内に返信
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limit対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
ClickHouse/loom#2012 ·
メンテナーはふだん 1 日以内に返信
-
loom participant retire cannot retire an orphaned participant after container replacement or host reboot対応中かも @l0K1ngg が今日担当しました。 オープンbug help wanted up-for-grabs
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ClickHouse/loom#2007 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
ClickHouse/loom の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TigreGotico/orthography2ipa#2950 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Unstructured-IO/unstructured#4876 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openfoodfacts/openfoodfacts-python#579 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
fairagro/m4.2_sql_to_arc#388 ·
メンテナーはふだん 1 日以内に返信