Automattic / Automattic/harper

Memory size abbreviations are flagged to expand to eg. "gigabyte" but sometimes should be "gigabyte of"

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

Description

**Describe the bug**

Image

> At least 1GB free space

In contexts like this one, "1 gigabyte free space" doesn't seem right, unlike the version with "GB". It should be "1 gigabyte of free space".

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the grammar warning with the example “At least 1GB free space” and inspect the rule that expands memory-size abbreviations. Confirm the corrected wording is accepted in this context while other abbreviation expansions remain unchanged, then add or update a regression test for the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.