1- # antislop
1+ # AntiSlop
22
33[ ![ CI] ( https://github.com/skew202/antislop/actions/workflows/ci.yml/badge.svg )] ( https://github.com/skew202/antislop/actions/workflows/ci.yml )
44[ ![ Crates.io] ( https://img.shields.io/crates/v/antislop.svg )] ( https://crates.io/crates/antislop )
88
99** A blazing-fast, multi-language linter for detecting AI-generated code slop.**
1010
11- Antislop helps you maintain code quality by identifying lazily generated code, deferrals, hedging, and placeholders often left behind by AI coding assistants.
11+ AntiSlop helps you maintain code quality by identifying lazily generated code, deferrals, hedging, and placeholders often left behind by AI coding assistants.
1212
1313## What is Slop?
1414
15- AI models often produce code that works but is littered with signs of hesitation or incompleteness. Antislop detects:
15+ AI models often produce code that works but is littered with signs of hesitation or incompleteness. AntiSlop detects:
1616
1717- ** Placeholders** : ` TODO ` , ` FIXME ` , ` HACK ` , ` XXX ` comments
1818- ** Deferrals** : "for now", "temporary fix", "quick implementation"
@@ -22,7 +22,7 @@ AI models often produce code that works but is littered with signs of hesitation
2222
2323## Philosophy
2424
25- Antislop is built on ** First Principles** :
25+ AntiSlop is built on ** First Principles** :
26261 . ** Code is Liability** : Every line of code is a future maintenance cost.
27272 . ** Intent != Implementation** : Comments like ` TODO ` or ` for now ` signal a gap between what was intended and what was built.
28283 . ** Speed is a Feature** : Verification must be instant to be useful.
@@ -32,13 +32,13 @@ We believe that AI generated code should be treated with **Zero Trust**. Verify
3232### Pattern Hygiene (MECE)
3333
3434We follow a ** Mutually Exclusive, Collectively Exhaustive** strategy with standard linters like MegaLinter.
35- * ** Antislop ** : Detects AI shortcuts (stubs, hallucinated API usage, hedging).
35+ * ** AntiSlop ** : Detects AI shortcuts (stubs, hallucinated API usage, hedging).
3636* ** Standard Linters** : Detect syntax errors, style issues, and bugs.
37- * ** Rule** : If ` eslint ` or ` clippy ` catches it by default, Antislop will ** not** cover it (unless explicitly whitelisted).
37+ * ** Rule** : If ` eslint ` or ` clippy ` catches it by default, AntiSlop will ** not** cover it (unless explicitly whitelisted).
3838
3939## Comparison
4040
41- | Feature | Antislop | Standard Linters (ESLint/Clippy) | AI Refactors |
41+ | Feature | AntiSlop | Standard Linters (ESLint/Clippy) | AI Refactors |
4242| :--------| :---------| :---------------------------------| :-------------|
4343| ** Focus** | ** Intent & Completeness** | Syntax & Best Practices | Improvements |
4444| ** Speed** | ** Milliseconds** | Seconds/Minutes | Slow |
@@ -58,7 +58,7 @@ def calculate_user_metrics(user_id: str) -> dict:
5858 return {" score" : 42 , " level" : " gold" } # Placeholder values
5959```
6060
61- ** Antislop catches what linters miss:**
61+ ** AntiSlop catches what linters miss:**
6262
6363```
6464$ antislop --profile antislop-standard api/
@@ -105,11 +105,11 @@ api/metrics.py 5:47: HIGH [stub]
105105⚠⚠⚠ High slop detected - AI shortcuts found!
106106```
107107
108- ** Zero false positives. Maximum signal.** Antislop finds the intent gaps that syntax checkers can't see.
108+ ** Zero false positives. Maximum signal.** AntiSlop finds the intent gaps that syntax checkers can't see.
109109
110110## Performance
111111
112- Antislop uses tree-sitter AST parsing for accurate detection. Regex-only mode is ~ 10x faster.
112+ AntiSlop uses tree-sitter AST parsing for accurate detection. Regex-only mode is ~ 10x faster.
113113
114114| Language | Mode | Time | Throughput |
115115| :---------| :-----| :-----| :-----------|
@@ -175,7 +175,7 @@ antislop --hygiene-survey
175175
176176### Profiles
177177
178- Antislop follows a ** Zero False Positive** philosophy for its default core.
178+ AntiSlop follows a ** Zero False Positive** philosophy for its default core.
179179
180180- ** Core** (Default): Critical stubs & placeholders only. Zero false positives.
181181- ** trict** (` --profile antislop-strict ` ): Maximum coverage. Detects all forms of slop.
@@ -203,15 +203,15 @@ jobs:
203203 runs-on : ubuntu-latest
204204 steps :
205205 - uses : actions/checkout@v4
206- - name : Install Antislop
206+ - name : Install AntiSlop
207207 run : curl -sSf https://raw.githubusercontent.com/skew202/antislop/main/install.sh | sh
208208 - name : Run Scan
209209 run : antislop --profile antislop-standard .
210210` ` `
211211
212212## Installation Options
213213
214- Antislop is modular. You can optimize for binary size by choosing specific languages:
214+ AntiSlop is modular. You can optimize for binary size by choosing specific languages:
215215
216216` ` ` bash
217217# Default (Standard Languages)
0 commit comments