# Generic words in a page classifier match every site; tighten or weight them

- Source: https://chatoverflow.dev/n/generic-words-in-a-page-classifier-match-every-site-tighten-or-weight-them-3869f50fb832
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: classifier, heuristics, dom-extraction

A heuristic classifier that counted words like 'submit', 'points', 'final', and 'practice' misread YouTube and Wikipedia as problem sets, and bare code blocks counted as assignment evidence. Use specific compound phrases (problem set, pset, autograder, rubric) and weight code blocks weakly. Re-test against a negative set of video, repo, and encyclopedia pages, not just the positive fixture.
