bless their heart (Local Comment-Folding Browser Extension)
Role: Solo, end-to-end: spec, extension, local scoring server integration, labeling and evaluation tooling, docs.
Tech Stack: TypeScript (Manifest V3, esbuild, Vitest, Playwright), Python 3.13 (uv, pytest), PyTorch and ONNX Runtime Web, the third-party Kev typed-decision models (Apache-2.0)
Repository: Private. Demo available on request
Overview
Reddit threads about anything made with AI fill up with two kinds of comment that add nothing: “this is slop” and “obviously ChatGPT.” I wanted them folded away without losing the people who actually argue a point. So this extension collapses contempt-without-content and bare AI-authorship accusations to a single line, and leaves real criticism of AI visible, including angry criticism. Nothing is deleted. Every fold has a “show” link and a “wrongly blessed” link that records a correction.
It is also a learning project: take a small classifier from labels to fine-tune to quantized browser model, and measure what each step costs.
Status, read on 2026-11-22. All of the work is on an unmerged branch, build/unattended-foundation (364 commits, 2026-10-10 to 2026-10-13, read at commit d568fb7). The default branch holds a single planning commit. What exists is a prototype that installs and scores live comments through a model server on my own machine. Its classification quality is not validated: there is no trained model of my own yet, no gold-labeled evaluation, and in live use it never hid a comment. The project has been idle since 2026-10-13.
How It Decides
Each comment gets three yes/no questions: is it contempt toward AI or its users, is it an accusation that something is AI-made, and does it make a specific claim someone could answer on the merits. The rule is:
hide = (p_contempt >= t_c or p_accusation >= t_a) and p_argument < t_arg
The third question is the safety valve. Hiding a valid critique is the harm I care most about, so a comment with an argument in it stays visible however rude it is. Pro-AI versus anti-AI is not the axis; effort is. The popup offers three strictness settings (polite, neighborly, church lady) instead of raw thresholds.
What Is Built on the Branch
- Extension shell. A content script with adapters for both reddit layouts, a word-list gate so only plausibly relevant comments reach a model, a viewport-first queue, and a hide stub. Gate-passing comments blur while waiting and un-blur after 2,000 ms if no score arrives, so a slow or missing backend fails open.
- Local backend. Scoring goes to a server on localhost running a stock Kev model on my GPU. WebGPU and WASM are detected, but the trained browser models they would run do not exist yet. With no backend configured, the extension leaves every comment visible.
- Popup and review page. Counts for comments found, gate matches, scored, kept visible, failed, plus the active model and last latency.
- Data and labeling tooling. A sampling frame of 32,024 rows with 10,584 stock-model scores (closed 2026-10-12), and a fixed-seed draw of 500 development, 800 holdout and 400 gate-audit items. A 200-vote labeling pilot stood at 48 votes in the last status entry. Reddit text is never committed; the repo holds IDs, labels and hashes.
- Negative-findings log. Numbered entries up to NF-038, each with its evidence file, kept even after the fix.
Measured So Far
Everything here is from hand-written test cases or my own browsing, not from a labeled evaluation set.
- Question wording (2026-10-13, Kev-9B, authored cases). A reworded question set hid 7 of 9 intended targets, against 3 of 9 for the previous wording, with 0 false hides among 15 keep-visible controls. The day before, the earlier wording hid 2 of 7 targets and 0 of 11 controls. The report file labels these “authored engineering expectations, never gold.”
- Live pages (2026-10-13). On one thread the popup showed 276 comments found, 129 passing the gate, 129 scored, 0 hidden. A later page: 196 found, 75 scored, 0 hidden. The connection works; useful filtering is unproven.
- Speed. With the 9B model, scoring one comment at a time took 250 to 400 ms by my own reading of the popup (not a measured distribution), which I rejected as too slow to use. Batching requests that share a prefix was 1.71x faster on short inputs and 1.28x on long ones, over two repetitions.
- A bug found live. My first real page had 291 old-layout comments and the extension extracted none, because it chose the adapter from the hostname. It now detects the layout from the page on each scan, with a regression test.
Testing
Counted by grep on the branch at d568fb7 on 2026-11-22, not by a run: 1,829 def test_ functions in Python and 276 it(/test( call sites in TypeScript (line-start matches, .each forms included), 18 of them Playwright browser tests. A CI workflow runs lint, both suites, a data-policy check, both builds and the browser tests on Linux and Windows.
Limits
- No fine-tuned model, no browser-side model, no calibrated thresholds.
- No gold labels and no human audit yet, so there is no accuracy, precision or recall number to give.
- The holdout set is drawn and locked but has not been used.
- Chromium only, loaded unpacked. Not published to any store.
Tech Stack
- Extension: TypeScript, Manifest V3 with an offscreen document hosting the scoring engine, esbuild
- Models: Stock Kev-9B and Kev-0.8B (third-party, on Qwen3.5 bases) served locally;
@huggingface/transformersand ONNX Runtime Web for the planned browser path - Python: 3.13 with uv, pytest
- Testing: Vitest, Playwright against saved page fixtures, pytest
- CI: GitHub Actions on Ubuntu and Windows