catprobe

command
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command catprobe measures Gmail's categories for the categories spike (docs/plans/0008-m5-mail-app-parity.md, Phase 7). Over a read-only session it asks Gmail which of an account's stored messages each category holds (X-GM-RAW on All Mail), times those searches over the sync window and over the newest mail only, and looks for categories among X-GM-LABELS; then it compares a classifier of stored headers (classify.go) with Gmail's answer. A non-Gmail account gets the classifier's counts only.

It reads a snapshot of maild's database, removed when it ends, and prints counts and timings, never a message's subject or address.

go run ./tools/catprobe -account 4

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL