Generate a full-mathml-coverage test file with LaTeX math input and reference MathML output.
Contents from this Wikipage could be used: https://www.mediawiki.org/wiki/Extension:Math/CoverageTest
Tentative steps:
- use local MaRDI-Portal instance, with MathSearch extension installed (make sure it has correct settings for Mathoid / LaTeXML before next steps)
- add the full-coverage wikipage (might need some refactoring)
- extract the LaTeX to MathML from DB or write an exporter function to a JSON file which can be read by a test
- write the Testfile (probably for this one a dedicated test-file makes the most sense)
Info from dialogue:
(for example, use this reference for full-coverage, question: How to generate the 'production' reference MathML here? Answer: With production I mean the MathML currently generated. This can be received from restbase or mathoid, or extracted from the HTML-page you linked above. I think Math Coverage tests should be updated a bit, if this is a one-time effort. Better it would be to use a script (which might already exist in the MathSearch extension to generate reference MathML programmatically.)
The test dataset should be designed in a way that 100% test coverage is obtained without adding unnecessary many tests.