mutate: equivalent mutants are reported as survivors

Đang mở
#315 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, markdown, rust, yaml
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start with the equivalent-suspect heuristic and the swap-order handling; the issue does not name implementation files or tests. Read the parent issue #272 and inspect how guards and variable assignments are represented, then find the relevant mutation tests. Done when provably disjoint guards are skipped and grid-aligned one-step bound shifts are reported as equivalent-suspect.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Two classes the 'equivalent-suspect' heuristic misses: (a) swapping the order of two transitions whose guards are mutually exclusive (e.g. x <= 850 / x > 850); (b) shifting a bound by one where the variable only takes values on a grid (steps of 50 against a bound of 850). They lower the score and hide real survivors.

Proposal: skip swap-order when the guards are provably disjoint (same variable, complementary relational ops), and report literal shifts as equivalent-suspect when a variable's assignments are all multiples of a step that straddles the bound.

Found while building the grid-tie inverter dogfood model (branch claude/gti-model, docs/demo-model/grid-tie-inverter.md). Part of #272.


Generated by Claude Code

Ngôn ngữ chính
Rust
Star
8
Fork
1
Merge trung bình
4 giờ 44 phút
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sjames/syscribe

Tất cả issue của sjames/syscribe

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.