User repository on GitHub
Text/PDF - File categorization and sorting with Typesafe AI Jev or local calibrated decision model
- Forks
- 0
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.Homepage
Python CLI that sends each document's text extract to a Jev Choice question and files the file into a matching category folder, with a local laya backend available for offline runs.
User repository on GitHub
Text/PDF - File categorization and sorting with Typesafe AI Jev or local calibrated decision model
Repo stats from the GitHub API, cached Oct 2026.Homepage
Classify files with a decision-making AI model and sort them into category folders. watfile sends each document's text (title/abstract-grade extract) to a TypeSafe AI Jev (System One) Choice question, gets back a typed answer with a selected category, per-category probabilities and confidence, then moves the file into the matching folder. A Classifier abstraction keeps the backend pluggable — local MLX (laya) and other backends slot in later.
Quoted from the project's README. Read the full README.
Watch out
Accuracy rests on four arXiv fixture PDFs whose ground truth comes from their arXiv subject tags: 4/4 for Jev and 3/4 for laya. That is four documents, not a benchmark, and tests/fixture is where they live if you want to look. PDFs go through liteparse with only the first two pages parsed and OCR disabled, so scanned or image-only PDFs are skipped, and text inputs are limited to .txt, .md, .markdown, .rst, .log, .csv and .json. Files that cannot be classified are skipped with a warning and name collisions get a _1, _2 suffix, so a run can leave things behind quietly. Placement is gated at a 0.5 confidence floor by default, which means raising it silently skips more files rather than flagging them. Requires Python 3.12 and uv, and the key resolves from TYPESAFE_API_KEY, then .env in the current directory, then ~/.config/watfile/config.toml. Copy reviewed against the repository README on 2026-10-04, not from running it.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.