Links from valid needs and test cases to invalid needs are not blocked
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/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
- documentation, testing
Hướng nghiên cứu
Start with check_valid_only_links_to_valid in score_metamodel/checks/graph_checks.py and the testcase definition in metamodel.yaml; trace how needs and verification links are represented. Review the existing graph check tests before deciding how valid targets and safety relevance should be handled. Done means invalid targets from valid needs and test cases are reported at the agreed severity; inline :need: references need a process decision.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Observation
The published reference integration documentation shows component requirement
comp_req__kvs__snapshot_max_num with :status: invalid, while it is still referenced
by valid needs and by a test case:
Pinned persistency commit 961c0a0 (score/kvs/docs/requirements/index.rst):
- 4 valid
comp_req(snapshot_create_api,snapshot_restore_api,snapshot_remove_api,
snapshot_slot_free_api) reference it via:need:`comp_req__kvs__snapshot_max_num`. score/kvs/tests/test_cases/tests/test_cit_snapshots.pydeclares
partially_verifies=["comp_req__kvs__snapshot_max_num"].
The documentation build passed and the change was merged. (Persistency main has since been
fixed, see #383 / #443 in eclipse-score/persistency.)
Analysis (docs-as-code 8.6.0)
check_valid_only_links_to_valid(score_metamodel/checks/graph_checks.py) logs with
is_new_check=True, so a valid need linking to an invalid need is only an info and never
fails the build.testcaseneeds have nostatusoption (metamodel.yaml). The check only iterates needs
with statusvalid/valid_inspected, sopartially_verifies/fully_verifiesfrom test
cases to invalid requirements are never checked at all.- Inline
:need:references are not part ofneed._linksand are not checked. This is
acceptable from a process point of view, but worth stating explicitly.
Process context
tool_req__docs_common_attr_status_invalid: "Findings on a valid need that links to an
invalid need shall still be reported."gd_req__arch_linkage_safety_trace,gd_req__saf_linkage_status_checkand
gd_req__sec_linkage_status_checkrequire that only valid elements are linked.- For safety evidence (ISO 26262, verification of safety requirements) a test verifying an
invalid requirement is a traceability gap.
Proposal
- Promote
check_valid_only_links_to_validfrom info to warning (at least for safety
relevant needs,safety != QM), so that-Wbuilds fail. - Include
testcaseneeds in the check: anyfully_verifies/partially_verifiestarget
must have statusvalidorvalid_inspected. - Decide (process) whether
:need:inline references to invalid needs shall be reported.
Prepared with AI support (Claude Code), reviewed by Volker Häussler.
- Ngôn ngữ chính
- Python
- Star
- 11
- Fork
- 39
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 46
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 eclipse-score/docs-as-code
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
eclipse-score/docs-as-code#1031 ·
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
eclipse-score/docs-as-code#1029 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
intentionally-limited
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
eclipse-score/docs-as-code#1019 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Graph-check unit tests fail under direct pytest because logger fixtures assume Bazel runfilesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
eclipse-score/docs-as-code#999 ·
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 74/100
eclipse-score/docs-as-code#920 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-score/docs-as-code
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Project-N-E-K-O/N.E.K.O#3670 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
jejjohnson/xtremax#123 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
microsoft/agent-framework#10218 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fidelity
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày