Skip to content

Score code rules on labelled human-vs-machine corpora #39

Description

@mgiovani

Why

No stopslop rule has ever been scored against a labelled human-vs-machine corpus. Every threshold is a judgment call. Three public datasets now make precision and false-positive rate measurable, and the formatting-uniformity and prose-residue rules need those numbers before they can leave Tier B.

Datasets

Scope

  • A script under bench/ (reuse the harness from Perf & stability: measure, verify, and land throughput and robustness improvements (tracking) #21 and tests/stress.rs) that downloads one dataset, runs stopslop --format json, and reports per-rule hit rate on human vs machine files, precision, and false-positive rate.
  • Report as a markdown table in the PR; no CI gate, this is a measurement tool.
  • Out of scope: training anything. The datasets are for measuring the deterministic rules, not for building a classifier.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions