• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jdkato / prose / 30404977531
45%
master: 93%

Build:
Build:
LAST BUILD BRANCH: v3
DEFAULT BRANCH: master
Ran 28 Jul 2026 10:33PM UTC
Jobs 1
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2026 10:33PM UTC coverage: 42.116% (+0.09%) from 42.028%
30404977531

push

github

jdkato
fix: don't emit whitespace-only tokens

Tokenize advances past a single trailing space, so a run of two or more
left a blank span behind and emitted it as a token. "The  dog  runs."
produced a " " token between the words, which the tagger then labelled
NNP.

That breaks any consumer reasoning about token adjacency: Vale's
`sequence` check stopped matching across double spaces entirely, because
the blank token sat between the tokens the rule expected to be
neighbours.

prose v2 filtered these in addToken; the v3 rewrite dropped the check.
Restored in split, with a regression test covering runs of spaces, tabs,
newlines and mixed whitespace.

The existing fuzz target did not catch this: it verifies the offset
invariant, and a blank token satisfies it perfectly.

Signed-off-by: Joseph Kato <joseph@jdkato.io>

9 of 0 new or added lines in 0 files covered. (NaN%)

2 existing lines in 1 file now uncovered.

836 of 1985 relevant lines covered (42.12%)

1776.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
91.18
0.2% tokenize/tokenize.go
Jobs
ID Job ID Ran Files Coverage
1 30404977531.1 28 Jul 2026 10:33PM UTC 30
42.12
GitHub Action Run
Source Files on build 30404977531
  • Tree
  • List 30
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 03e811bd on github
  • Prev Build on v3 (#30402975772)
  • Next Build on v3 (#30413093434)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc