Automattic / Automattic/harper
Should flag "double than" and "double as"
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
These constructions are common in Euroenglish. Here's three examples from the same speaker, whose native language I believe to be Dutch:
- But now Iraq has just reopened its pipeline to Turkey, and that will help it divert about 20% of its oil at this very important, roughly **double** the price **as** before.
- Again, because they are currently selling that oil at almost **double** the price **than** they were before the war.
- And again, because the prices are roughly **double than** that they were before the war, it means that they roughly have the same revenue from oil as they had before.
Note that there is a completely different legitimate use of "double as":
- A modern smartphone can **double as** a camera.
Contributor guide
Research direction
No file, test, or entry point is named in the issue. Start by locating the existing grammar-rule tests and implementation for comparative constructions, then verify that the three “double than/as” examples are flagged while the legitimate “double as a camera” use is not.
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
- 50/100