shipwithjev

Catalog / Tools & apps

0309GitHub

slop-grader

Rule-based text grader that uses Jev scores and line-by-line flags to audit documents against custom rulesets and guide an AI agent to auto-fix violations.

lukstei/slop-graderREADME ↗
# slop-grader



[](https://www.npmjs.com/package/@lukstei/slop-grader)
[](https://www.npmjs.com/package/@lukstei/slop-grader)
[](https://www.npmjs.com/package/@lukstei/slop-grader)
[](https://opensource.org/licenses/MIT)

Rule-based slop grader for text files, powered by [Jev](https://typesafe.ai).
Runs every rule against every line in parallel. No skimming, no missed lines.

- [How it works](#how-it-works)
- [Features](#features)
- [FAQ](#faq)
- [Quick Start](#quick-start)
- [Rulesets](#rulesets)
- [CLI Reference](#cli-reference)
- [Output Formats](#output-formats)
- [Development](#development)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [Roadmap](#roadmap)

## How it works

`slop-grader` runs as a two-step loop: grade text with the CLI, then paste the output to your AI agent to plan the improvements.

### 1. Grade the document

Run `slop-grader` on a document like [`examples/slop.md`](examples/slop.md):

```sh
npx @lukstei/slop-grader@latest -r no-ai-slop examples/slop.md
```

<img src="assets/terminal.png" alt="Terminal output" width="550" />

### 2. Fix with an AI agent

Pass the output to your AI agent:

- The agent distinguishes real violations from false positives and generates concrete replacements ([Example with Gemini 3.8 Flash](examples/plan.md)):
  > **Line 1 — `banned_word`**
  > - **Original:** `# 🚀 The Ultimate Paradigm Shift in Modern Data Architecture`
  > - **Fix:** `# Modern Data Architecture`
  > - **Reason:** Removes the banned phrase "paradigm shift" and decorative emoji.
  >
  > **Line 7 — `binary_contrast` + `faux_insight` + `colon_reveal`**
  > - **Original:** `What most people get wrong about databases is simple: it's not about speed, it's about trust.`
  > - **Fix:** `Database design balances speed and trust.`
  > - **Reason:

Also filed under Tools & apps

  1. 0616

    Jevstiller: distill Jev calls into a local model

    A self-hosted proxy that trains a local model on Jev's answers. It served 72% of Banking77 locally at 15 ms, with a 2% audit and a bound on disagreement.

    tomerglick57 · Tools & apps · 15 ms local

  2. 0611

    Scruple: code checks for what linters miss

    Semantic-aware linting with System One models: rules you can state in a sentence, checked against your code by Jev.

    @nalexpeae · Tools & apps

  3. 0606

    Algolia-style Postgres search with a Jev reranker

    Typo tolerance, typeahead, barcodes and facet counts in plain Postgres SQL, plus an optional Jev step that asks one question per top-10 result.

    @alex_forman1 · Tools & apps

  4. 0604

    Virtual Closet: outfits from closet videos

    built a virtual closet & outfit generator from raw closet videos. classification + semantic search thanks to jev 🥰. clueless closet dreams finally coming to life

    @maitreemervana · Tools & apps