Automattic / Automattic/harper

Needs to flag and fix "few amount" and "a few amount"

Open
#3,809 0 comments 0 reactions 0 assignees View on GitHub
enhancement harper-core linting
Dominant language
Rust
Stars
15.6k
Forks
646
Avg merge
1d 12h
Merged PRs (30d)
106

Description

I would assume this one is only made by nonnative speakers and could most often be fixed by changing to "small amount", but let's see real-world examples from GitHub:

- A very few amount of IOS rpush notifications (using apnsp8) are stuck in busy mode on sidekiq.
- Last LP in each pool may lose a few amount of reserve.
- Last LP holder in each pool may have to leave a few amount of reserve in this market.
- ... but after this there are only a few amount of mentions of getters and ...
- I guess it just don't work with this few amount of data.
- so only a few amount are loaded, or have some sort of option to force loade all the smali classes ...
- note: There are few amount of membership and aggregate functions and I think most desirable pull requests would be about them.
- Very often, I have Entity with few amount of columns and I want just upsert .
- Sometimes you may encounter data loading errors due to NaN annotations in a few amount of scenes.
- For the first time today, this happend a few amount of times (5 times to be exact, can be seen from the console)
- If I try to execute more than a certain amount of INSERT (around ~100), then only a few amount of those INSERT are executed (around ~40)
- Thus for problems where we have few amount of data for a certain class, the models will tend to give good results
- do you think that is the normal cases in the camvid dataset since it has a few amount of training data?
- A compressed trie tree uses very few amount of nodes which gives a huge memory advantage especially for long strings with long common prefixes.
- Experiencing this issue with very few amount of bars
- This may improve performance of applications that establish connections to only a few amount of data.
- Suitable for a few amount of pages that don't need the lightbox effect.
- ... and only be allowed to make some few amount of silent web push when the user ...Read more
- ... with a goal to have the tiny filesize, take few amount of RAM, and start very ...
- Donate few amount of money
- Currently, both GPT-3 and Jurassic give only a few amount of free usage.
- The main advantage of viewflow is the ability to create custom nodes and forms fields with few amount of code.
- I don't need to categorize such a few amount of note files.
- The kernel can only return few amount of types, the length of returned array cannot be more than 3.
- This is a really important snarl that has caused me no few amount of bugs, ...
- Observe that truncation in the branch button cuts off the branch name after a relatively few amount of characters.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by locating the grammar rules and tests for quantity expressions, then use the supplied GitHub examples to determine the matching cases. Done means the checker flags the targeted “few amount” forms and provides an appropriate correction without breaking valid usage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.