Subcommands
jev-curate exposes one primary subcommand:
jev-curate --help or jev-curate filter --help to print options, and jev-curate --version to print the installed version.
Flags
Output artifacts
Everyjev-curate filter run writes five artifacts to --out (default ./curated/):
audit.jsonl schema
Each line in audit.jsonl is a JSON object with:
row_id: SHA-256 hex digest of the raw input row.row_number: 1-based output sequence number.decision:"keep","reject", or"error".rejection_reasons: Array of strings explaining rejections or row-level errors (empty when kept).scores: Map ofScorequestion name to numeric score.nouls: Map ofNoulquestion name to[0.0, 1.0]probability.choices: Map ofChoicequestion name to selected option label.probabilities: Map ofChoicequestion name to per-option probability distributions (when returned by Jev).input_tokens: Input tokens billed for the row (0on host pre-filter drops or--dry-run).output_tokens: Output tokens reported for the row (0on host pre-filter drops or--dry-run).truncated: Boolean indicating whether the row text was truncated at the32k-charceiling.model: Effective Jev model identifier used for the run.
Rate limits and input ceiling
- Rate limit: The built-in rate limiter defaults to
20 req/secwith automatic429backoff (TypeSafe’s org quota default is80 req/secand100,000 tok/sec). Change the request rate with--rpsand add a token rate cap with--tps. - Input ceiling: Text payloads are subject to a
32k-charceiling per row.
Exit codes
Troubleshooting
TYPESAFE_API_KEY not set: ExportTYPESAFE_API_KEYbefore running, or pass--dry-runfor host-only filtering.--format parquet is only supported for .parquet inputs: Convert JSONL input to Parquet first, or omit--format parquetto writeclean.jsonl.--stdout is only supported with --format jsonl: Remove--format parquetwhen piping clean rows to stdout.- Interrupted runs: Re-run the exact command with
--resumeto continue without truncating existingclean,rejected, anderrorsfiles.