Automattic / Automattic/harper
False positive: "how" wrongly flagged to require following "to"
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
> since this is how fully-connected neural networks are modeled.
**Why is this incorrect?**
This sentence is about "how x works". I'm not sure what the heuristic might be doing... Just checking for a following adverb in the expectation that the word after that would be a verb in the infinitive perhaps?
Contributor guide
Research direction
Start by reproducing the quoted sentence in Harper and identify the heuristic that flags “how” as requiring “to”; the issue does not name a file or test. Done means this sentence is no longer flagged while the intended “how … to” detection continues to work, with a regression test for the reported wording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100