Add a `must_not_state` case and an unavailable outcome to regression suites
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Read #1177 and the procedure revision gate in server/memory/app/procedure_evolve.py first; the issue does not name the regression suite runner or its files. Trace how cases are evaluated and how candidate comparisons record unavailable checks, then add the proposed case and outcome behavior with the listed acceptance fixture. Done when all three fixture outcomes hold and unavailable evidence keeps the candidate unpublished.
索引モデルが issue の本文から書いたものです。
説明
Company
ClickHouse
Component
Knowledge (documents)
Use case
In #1177 a suite "records representative questions or tasks, expected behavior and cases where the agent should decline to answer", and results "include per-case failures and unavailable checks."
Two points are left open there:
- A correction withdraws or replaces a definition. An expected-answer case passes when the answer states the new meaning, also when it states the old one beside it. A decline case checks that the agent refuses, not that an old claim is gone.
- The runner cannot execute a case, for example because a source is down. #1177 already reports unavailable checks and leaves a candidate unpublished on missing evidence. It does not say how such a case counts when a reviewer compares the candidate with the published revision: counted as failed, an outage reads as a regression of the candidate.
Describe the solution you'd like
One case kind and one outcome rule. This is a proposal; nothing is implemented or measured.
must_not_statecase. For a withdrawn or replaced definition, the case passes only when the answer does not state the withdrawn meaning. It sits beside the decline cases.unavailableoutcome. A case the runner could not execute gets the per-case outcomeunavailable. It satisfies no requirement, and it is not a failure and not a regression in the comparison with the published revision. The candidate stays unpublished for missing evidence, as #1177 requires.
What Loom has that this builds on: the procedure revision gate in server/memory/app/procedure_evolve.py returns undecided when its ledger is unavailable: no evidence, no verdict. The same rule applies to a case that could not run.
Acceptance fixture, added to #1177's candidate that fixes one case and breaks another:
- A candidate that still states the withdrawn definition fails its
must_not_statecase. - A suite with one unavailable case leaves the candidate unpublished, reports no failure and lists no regression for that case.
- The same suite run again with the case available passes, and publication then waits only for the required reviewer.
Evidence still needed before rollout: none measured. The rubric that decides "states the withdrawn meaning" belongs to the external runner and needs its own calibration there, including an answer that names the old meaning as withdrawn.
Describe alternatives you've considered
- Use a decline case. It checks refusal, and the agent should still answer with the current definition.
- Use only an expected-answer case for the new definition. It passes when the answer states both meanings.
- Count an unavailable case as failed. A runner outage then blocks the candidate with a failure it did not cause, and the per-case history shows a regression that never happened.
Where the need comes from
An AI tool suggested this feature
Additional context
Found by source review; no suite was run.
Related: Proposed as part of #1177. Roadmap: #1232.
- 主要言語
- 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 日以内に返信