texmath-0.13.3.4 test failure on nightly snapshot

オープン
#8,165 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
haskell
領域
testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

       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

主要言語
Dockerfile
スター
550
フォーク
831
平均マージ
18時間 10分
マージ済み PR(30日)
13

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

commercialhaskell/stackage のほかの issue

commercialhaskell/stackage の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。