Skip to content

Cleanups - #6

Merged
mohanenm merged 3 commits into
mainfrom
cleanups
Nov 26, 2026
Merged

mohanenm merged 3 commits into
mainfrom
cleanups

Conversation

@mohanenm

Copy link
Copy Markdown
Owner

What this changes

A URL dictated after "at" (for example "find it online at acme dot test slash help") was read as an email address. Emails have no path, so the path stayed visible. The normaliser now checks for "slash" after the domain and builds a URL instead.

Smaller fixes in the same area:

  • Path words spoken with "dash", "hyphen" or "underscore" are joined.
  • A domain name split into two words ("acme health dot org") is joined.
  • Newer endings such as .health and .clinic are accepted, but only after a spoken "dot".
  • A long line in docs/security.md is wrapped.

Results (Tier 0)

Before After
URL recall (tuning-hw, validation, user set) about 80% 100%
Validation PII recall 98.0% 99.3%
Validation PII-clean transcripts 80% 93%
User set PII recall 88.2% 88.9%

Precision is unchanged. Tier 1 reaches 99.8% PII recall on validation. README, site and CHANGELOG carry the new numbers.

I tried stopping "it's at ..." from losing two letters to the placeholder. It cost a real email on the user set, so I reverted it: recall comes first.

Checks

ruff, ruff format, mypy and pytest (616 tests) pass locally. The work was tuned on tuning and tuning-hw only; validation and the user set were used for counts.

"find it online at acme dot test slash help" was read as an email, which
cannot have a path, so the path stayed visible. A domain followed by a path is
now a URL. Also join path words with dash, join a domain name spoken as two
words, and accept newer endings such as .health after a literal "dot".
URL recall on tuning-hw, validation and the user set goes to 100%.
@mohanenm
mohanenm merged commit 357040d into main Nov 26, 2026
12 checks passed
@mohanenm
mohanenm deleted the cleanups branch November 26, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant