Reporting: ensure absent scores render as absent (null), never as 0
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #330 của @vibgrate-team — đã đóng, không merge
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Start by running vg scan on an unscanned or incomplete case and checking the current human-readable summary; then inspect the CLI reporting and machine-readable serialization entry points and their existing tests. Add regression coverage for the absent-score path in both the primary summary and one machine-readable format. Done means absent scores display as n/a, serialize as null or are omitted, and genuine zero scores remain zero without changing scoring math.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Product/engineering standards treat absent and zero as different: a missing DriftScore/RiskScore must not display as 0 (which reads as perfect). Adjacent scanners also struggle with sentinel values and counting bugs.
What to do
- Audit CLI human + machine-readable outputs for DriftScore / RiskScore / related metrics when a scan has not produced a score.
- Ensure absent values are
null/ “n/a” / omitted — never0unless the score was actually computed as zero. - Add a regression test for the “unscanned / incomplete” path.
Acceptance
- Absent vs zero distinguished in at least the primary
vg scansummary and one machine-readable format - Regression test covers the absent path
- No change to scoring math beyond presentation/serialization of absence
Mentoring notes
Confirm current behaviour before coding; cite the commands you exercised in the PR.
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 3
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
- 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 vibgrate/cli
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
documentation Entwickler
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
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
Maintainer thường phản hồi trong vòng 1 ngày
-
area:frontend bug ci-test level:low priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
skytuhua-org/Gen-V1#2974 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area: cli area: core priority: P3 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
appandflow/stim#6736 ·
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 76/100
naomiaro/waveform-playlist#973 ·
Maintainer thường phản hồi trong vòng 1 ngày