Closed ddaspit closed 5 months ago
Attention: Patch coverage is 81.81818%
with 6 lines
in your changes are missing coverage. Please review.
Project coverage is 67.27%. Comparing base (
61d792a
) to head (7733533
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ddaspit - added more errors found from the sample project. You may have a specific way you want to fix them.
tests/SIL.Machine.Tests/Corpora/TestData/usfm/Tes/41MATTes.SFM
line 5 at r2 (raw file):
\mt Matthew \ip An introduction to Matthew\fe + \ft This is an endnote.\fe* \p Here is another paragraph.
The current error is: System.InvalidOperationException : An error occurred while parsing the text 'MAT
. Verse: MAT 1:0, offset: 179, error: 'Stack empty.'`. I still think that more context would be helpful - instead of people trying to count 179 tokens past the beginning of the verse (which starts exactly where?).
tests/SIL.Machine.Tests/Corpora/TestData/usfm/Tes/41MATTes.SFM
line 5 at r2 (raw file):
We could do line number and column instead of verse ref and verse offset. It would be a bit more work, since the UsfmTokenizer and UsfmParser aren't tracking line number and column, but it should be doable.
Line number and offset (along with verse ref) would be nice - let's do it.
@ddaspit - Failed GetUsfm_NonVerse_Paragraph [84 ms]
This change is