Repository navigation
feat: --corpus serves the Synthetic Email Corpus - #106
Merged
Merged
Conversation
imapkit --corpus downloads the Synthetic Email Corpus release pinned in this version (v1.0.2) once into the cache directory and serves its 11,637 messages. The download resumes after an interruption and is checked against its SHA-256 digest; the messages are read from the archive without extracting it. --corpus=<version> and --corpus=latest choose other releases. Mailboxes come from the manifest: personal, business and transactional mail in INBOX, then Lists, Newsletters, Alerts, Invitations, Bounces, and Junk (\Junk with SPECIAL-USE) for every message that came from a spam folder. Threads stay in the mailbox of their first message, UIDs follow the corpus ids and do not change with a filter, and the internal date is the Date header in its own zone. --corpus-filter loads only the messages that match key:value terms, --corpus-mutations adds the broken variants as Broken, and imapkit corpus pull|list|find|clean manage the cache and show the mailbox and UID of the messages with a feature. imapkit/lib/corpus exports loadCorpus() for tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
imapkit --corpus[=version]downloads the Synthetic Email Corpus once into the OS cache directory (resumable, SHA-256 checked, pinned to v1.0.2 by default,lateston request) and serves its 11,637 messages, read straight from the archive.--corpus-filterand--corpus-mutations,imapkit corpus pull|list|find|clean,imapkit/lib/corpus(loadCorpus()), new docs page "Synthetic Email Corpus".🤖 Generated with Claude Code