Automattic / Automattic/harper

False positive: "A" flagged as wrong article when it's not used as an article

Open
#2,014 0 comments 0 reactions 0 assignees View on GitHub
bug harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

**What got flagged?**

Image

> For example, A and AAAA records can disclose IP addresses associated with a domain,

**Why is this incorrect?**

"A" seems to be some kind of record type. We can tell it's not an article because it comes before "and" rather an the rest of a noun phrase, such as a noun or an adjective.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sentence in Harper and inspect how the grammar checker identifies the standalone "A" as an article. Determine how record types such as "A" and "AAAA" should be distinguished from actual articles, then verify that the example is no longer flagged without regressing genuine article checks.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.