Automattic / Automattic/harper
False positive: your before a predicate adjective
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 106
Description
This essentially seems to be the opposite problem as #2536
**What got flagged?**
> You can use your dedicated route class.
**Why is this incorrect?**
In this case, the adjective "dedicated" is associated with the noun "route" rather than "your". I am not describing the reader as dedicated (in fact, the student whose work I am marking has done quite poorly). Rather, I am describing their `Route` class as dedicated, in the sense that it is designed to serve the purpose that their `List` is currently serving.
**Example of correct usage:**
See example.
Contributor guide
Research direction
Start by comparing this report with issue #2536 and reproducing the warning on “You can use your dedicated route class.” Trace the rule responsible for treating “your” before a predicate adjective as an error, then verify that this sentence is accepted without removing valid detections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100