Automattic / Automattic/harper
False negative: Not flagging "your" when it should be "you're"
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
My brain must be rotting. I wrote "your" in a reply to a user question where it should be "you're" but only noticed the next day. Harper does not catch it:
> Something else? I'm not sure how your using it.
Note that verbs in the `-ing` form are grammatical after both "your" and "you're". After "your" it would be a gerund, so acting as a noun. After "you're" it would be a present participle, so acting as part of the verb phrase together with the "are" that's contracted onto "you". Would need a deeper heuristic.
Contributor guide
Research direction
No source file, test, or entry point is identified in the issue. Begin by reproducing the quoted sentence in Harper and investigate how it distinguishes “your” from “you’re” before the following -ing form; done means catching this example while preserving the grammatical “your” case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100