Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

patchwright/aibug-gate

Repository files navigation

aibug-gate (archived — folded into wildlint)

This repository is archived. Its rules now live in wildlint.

aibug-gate and wildlint converged on the same provenance-pinned rule corpus — real upstream bugs distilled into reusable lint rules, each citing its fix. Two overlapping precision linters from one publisher contradict the selectivity the corpus is built on, so they are consolidated into wildlint, the PyPI-published, cross-language flagship (pip install wildlint).

Rule migration status

Already in wildlint (the overlap that prompted the fold):

  • AB001 (replace-as-strip → removeprefix/removesuffix) → wildlint WL001
  • AB003 (deep negative index → IndexError) → wildlint WL003
  • AB004 (dead argparse dest) → wildlint WL004

Pending careful migration into wildlint (tracked in wildlint issues — these are precision-sensitive checkers, so they migrate one at a time with false-positive behaviour preserved, not rushed):

  • AB002 str.split(' ') vs str.split()
  • AB005 not A and B or C precedence
  • AB006 radix/length derived from the original param after an override guard
  • AB007 / AB008 humanizer carry-guard / magnitude-binning boundary

The corpus (dataset.jsonl) and checkers here remain fully readable. For ongoing use, switch to wildlint. This is the same consolidation pattern as replace-prefix-lint → wildlint (WL001).

About

Pre-commit + GitHub Action quality gate. Every lint rule is provenance-pinned to a real bug an AI code generator shipped, with the upstream fix linked.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages