Skip to content

file-size rule gamed by many mid-size files; consider a repetition/bytes signal #6

Description

@zmaril

The file-size rule fires at >1500 lines. In the slopbucket corpus the bloated/ directory is 8 files that are each exactly 356 lines / ~29KB of repetitive assignments — they sit just under the line threshold and pass clean.

Evidence (pinned to e6793a3e26c394cb116711196e9335078086fe1b):

Line count is easy to game. Suggested additions: a bytes-per-file threshold, and/or a repetition ratio (fraction of lines matching a repeated structural template) so high-volume boilerplate is caught regardless of line count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions