Automattic / Automattic/harper

It would be a great help to have a Harper corpus tool for Harper devs to help research new linting rules

Open
#3,841 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

This is even more important than it already was due to the rise of AI-generated rules, which are still terrible at including real-world examples rather than contrived examples made on assumptions that are too short-sighted to avoid false positives.

(Humans also do this, but humans that become Harper contributors can learn how to overcome this. So far AIs can't.)

An ideal tool would use existing corpora and XML/database dumps, feeds, and APIs of coding and tech-related sites.

I believe Stack Overflow still publishes database dumps, or at least that older ones are still available.
Neither Slashdot nor Hacker News publish dumps but that do seem to have real-time feeds. For GitHub we might be able to leverage their search API.

Such a tool would probably not belong in the Harper repo, but as one or more separate projects. But ideally may be installed on a server that authorized Harper devs/contributors would be able to access for reasons of storage space, API limits, etc.

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or entry points are identified; start by scoping the proposed separate project and reviewing the available Stack Overflow dumps, Slashdot and Hacker News feeds, and GitHub search API. Done means an authorized Harper contributor can use a maintained corpus tool containing relevant real-world coding and technology examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.