Add a `must_not_state` case and an unavailable outcome to regression suites
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- ai-infra-agents
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 221
- Forks
- 35
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textPossibly taken @VanshajPoonia claimed this today. Openbug good first issue help wanted up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/loom#1988 · 1 comment ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day