Show counterexample values in the final expected refinement
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
- 55/100
Hướng nghiên cứu
Start at the refinement-error diagnostic and trace the final expected predicate used for verification through alias and state expansion and simplification. Add tests covering multiple assignments, repeated variables, aliases, and values that cannot be represented safely. Done means the original refinement and assignments remain, while the final predicate shows substituted values without reducing the informative expression.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A refinement error currently shows the original expected refinement and counterexample assignments separately. Include a readable version of the final expected predicate used for verification, after alias and state expansion and any applicable simplification, with every available counterexample value substituted.
For example:
Original expected: Positive(buffered)
Final expected: buffered > 0
Counterexample: buffered == 0
With witness: 0 > 0 ✗
Substitute using expression variable identities, without hardcoded alias names or text replacement. Keep the informative expression (0 > 0) rather than reducing it to false. Preserve the original expected refinement and assignments; leave values unchanged when they cannot be represented safely. Cover multiple assignments, repeated variables, and aliases in tests.
Related to #295, which covers navigating alias expansion in the diagnostic history.
- Ngôn ngữ chính
- Java
- Star
- 67
- Fork
- 36
- Merge trung bình
- 7 ngày 48 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
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 liquid-java/liquidjava
-
enhancement error messages future ide
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
liquid-java/liquidjava#298 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
liquid-java/liquidjava#297 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
liquid-java/liquidjava#295 ·
-
Add a flag -a to show all verification conditions sent to the smt solverCó thể làm lại được @CatarinaGamboa đã nhận 117 ngày trước và không có pull request nào đang mở. Đang mởenhancement
liquid-java/liquidjava#240 · 1 người được giao ·
-
enhancement ide
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
liquid-java/liquidjava#206 ·
Tất cả issue của liquid-java/liquidjava
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
AloisSeckar/demos-java#380 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openhab/openhab-core#5847 ·
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 88/100
appsmithorg/appsmith#42297 · 1 bình luận ·
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 75/100