piguard-eval

command
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

piguard-eval is an offline evaluation harness for the piguard heuristics detector.

Reads a manifest JSONL (one EmailRecord per line) from --manifest or stdin, screens each .eml with the built-in HeuristicsDetector, and writes one prediction JSON line per message to stdout.

Usage:

piguard-eval --base-dir /path/to/e2a-paper --manifest dataset/prompt-injection/manifest.jsonl
cat combined.jsonl | piguard-eval --base-dir /path/to/e2a-paper

Jump to

Keyboard shortcuts

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