texmath-0.13.3.4 test failure on nightly snapshot

Open
#8,165 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
haskell
Domain
testing

Research direction

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.

Written by the indexing model from the issue text.

Description

       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

Dominant language
Dockerfile
Stars
550
Forks
831
Avg merge
18h 10m
Merged PRs (30d)
13

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from commercialhaskell/stackage

All issues in commercialhaskell/stackage

Similar issues

More Testing & QA issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.