Add a rule guard arm to the local extraction comparison
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- ai-infra-agents
Hướng nghiên cứu
Start with the local extraction comparison in #1458 and read server/identity/api/models_namespace_catalog.py to understand the ontology types and relations. Build the acceptance fixture around matched spans, source revisions, and fixture-supplied relation signatures; compare every extractor arm with and without the guard on the same labeled notes. Done means the report lists kept, removed, and skipped candidates per arm, with repeated-run false positives and recall costs measured before any rollout decision.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Company
ClickHouse
Component
Memory and search
Use case
#1458 compares extractors on labeled service ownership and dependency notes and asks to "include missing labels, negated dependencies, ambiguous names and an unavailable local model" and to "report unsupported or skipped extraction so downstream callers can see coverage."
The first runs reported on #1458, one run each and not yet repeated, show a dependency still extracted from a negated note of the form "X no longer depends on Y". Written to the graph, that candidate is an edge that states the opposite of the source. The comparison has no arm that tests whether a cheap check after the extractor removes such candidates, or what recall that check costs.
Describe the solution you'd like
One more arm: a rule guard applied after any extractor. This is a proposal; nothing is implemented or measured.
The guard keeps a candidate relation only when all of these hold:
- Both ends are literal spans of the source text.
- The relation is not under a negation and is not stated as an intent or a plan.
- Its direction matches the subject and object types the experiment declares for that relation.
Negation and intent are read from a fixed list of cue words in the sentence that holds both spans, and the list is published with the fixture. An input the guard cannot judge is reported as skipped, not dropped silently. The guard makes no model call.
What Loom has that this builds on:
- The matched spans and the source revision #1458 already requires on each candidate.
- The ontology registry holds entity types, relation verbs and attributes and no subject or object type per relation (
server/identity/api/models_namespace_catalog.py), so the fixture supplies the type signatures.
Acceptance fixture: each extractor arm runs with and without the guard on the same labeled notes, and the report lists kept, removed and skipped candidates per arm.
Evidence still needed before rollout:
- False positives on negated notes, wrong-direction relations and the recall the guard costs, per arm, over repeated runs.
- The share of inputs the guard reports as skipped.
- No rollout decision without that comparison.
Describe alternatives you've considered
- Tune each extractor's prompt or threshold for negation. The fix is then specific to one extractor and has to be repeated for the next.
- Verify each candidate with a second model. That adds a model call per candidate, which is the compute #1458 tries to reduce.
- Add type signatures to the ontology registry first. That is a larger change, and the experiment can supply them in its fixture.
Where the need comes from
An AI tool suggested this feature
Additional context
Found by source review; no extractor was run.
Related: Proposed as part of #1458. Roadmap: #1232.
- Ngôn ngữ chính
- Python
- Star
- 263
- Fork
- 47
- Merge trung bình
- 14 giờ 21 phút
- Pull request đã merge (30 ngày)
- 873
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ClickHouse/loom
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/loom#2014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textCó thể đã có người làm @VanshajPoonia đã nhận hôm nay. Đang mởbug good first issue help wanted up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/loom#1988 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A compiler-tier checkout fetch from a shallow mirror never records its headCó thể đã có người làm @KaloyanNaumov đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ClickHouse/loom#2016 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitCó thể đã có người làm @KaloyanNaumov đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
ClickHouse/loom#2012 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootCó thể đã có người làm @l0K1ngg đã nhận hôm nay. Đang mởbug help wanted up-for-grabs
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ClickHouse/loom#2007 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ClickHouse/loom
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Unstructured-IO/unstructured#4876 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openfoodfacts/openfoodfacts-python#579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
fairagro/m4.2_sql_to_arc#388 ·
Maintainer thường phản hồi trong vòng 1 ngày