Skip to content

MIME: corpus benchmark (Enron/SpamAssassin) to replace estimated coverage numbers #4

Description

@richarah

Historical docs estimated '95-98% Enron compatibility' without a harness. Now that the pipeline is consolidated behind mime::parse_message(), add a corpus runner that:

  • downloads (or points at a local copy of) a public email corpus (SpamAssassin public corpus is small and redistributable; Enron for scale)
  • parses every message, counting: parse success, rejected-by-policy, anomalies by kind/severity, decoded-body success rate, and time/memory
  • publishes real numbers in docs (replacing the old estimates), and fails CI on regressions of the success rate on a pinned sample

The fuzz corpus can also be seeded from interesting failures found here.

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