texmath-0.13.3.4 test failure on nightly snapshot

Đang mở
#8,165 2 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/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ệ
haskell
Lĩnh vực
testing

Hướng nghiên cứu

Start by rerunning the 063_demorgans_law test with -p '/063_demorgans_law/' and comparing its expected output in test/writer/starmath/063_demorgans_law.test with the actual output. Trace the change in generated braces to the relevant texmath code or dependency behavior, then update the test expectation or fix the cause as appropriate. Done when the test passes and the expected output reflects the intended StarMath rendering.

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

Mô tả

       Test suite failure for package texmath-0.13.3.4                                                                                                                                        
           test-texmath:  exited with: ExitFailure 1                                           
       Full log available at /home/curators/work/unpack-dir/.stack-work/logs/texmath-0.13.3.4-test.log                                                                                        
                                                                                                                                                                                              
                                                                                               
           Tests
             ...
                 063_demorgans_law:                                                 FAIL (0.05s)                                                                                              
                   Test output was different from 'test/writer/starmath/063_demorgans_law.test'. Output of ["diff","-u","test/writer/starmath/063_demorgans_law.test","/tmp/063_demorgans_law30-3009.actual"]:  
                   --- test/writer/starmath/063_demorgans_law.test      2026-11-10 07:28:16.585866755 +0000                                                                                   
                   +++ /tmp/063_demorgans_law30-3009.actual     2026-11-11 01:03:16.958859787 +0000                                                                                           
                   @@ -2,4 +2,4 @@                                                             
                    \neg(p\wedge q)\iff(\neg p)\vee(\neg q)                                   
                      \overline{\bigcup_{i=1}^{n} A_{i}}=\bigcap_{i=1}^{n} \overline{A_{i}}   
                    >>> starmath                                                               
                   -neg (p and q) dlrarrow (neg p) or (neg q) overline {{oper ∪ from i = 1 to n A_i}} = oper ∩ from i = 1 to n overline {A_i}                                                 
                   +neg (p and q) dlrarrow (neg p) or (neg q) overline {oper ∪ from i = 1 to n A_i} = oper ∩ from i = 1 to n overline {A_i}                                                   
                                                                                               
                   Use -p '/063_demorgans_law/' to rerun this test only. 

It seems the diff is missing { and }:

 >>> starmath                                                               
-neg (p and q) dlrarrow (neg p) or (neg q) overline {{oper ∪ from i = 1 to n A_i}} = oper ∩ from i = 1 to n overline {A_i}                                                 
+neg (p and q) dlrarrow (neg p) or (neg q) overline {oper ∪ from i = 1 to n A_i} = oper ∩ from i = 1 to n overline {A_i} 

I'll mark tests as expected failures for now. CC @jgm

Ngôn ngữ chính
Dockerfile
Star
550
Fork
831
Merge trung bình
18 giờ 10 phút
Pull request đã merge (30 ngày)
13

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 commercialhaskell/stackage

Tất cả issue của commercialhaskell/stackage

Issue tương tự

Thêm issue về Testing & QA

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.