LAB uploads email as email

↗ view on GitHub · Eli Ziff · 2026-07-28 · 3687064e

The arm wrapped .eml as .docx with content unchanged, on the premise that
Beaver had no ingester. It does now, and the wrap is not neutral: wrapping
a quoted-printable message verbatim splits numbers mid-digit, so the
benchmark was scoring every arm against facts the sender never wrote
($85,0 for $85,000). Old runs are not comparable to new ones; correct
inputs are worth more than that comparability.

UPLOADABLE is now derived from ALLOWED_DOCUMENT_TYPES minus images rather
than hand-mirrored - the stale copy is precisely how .eml stayed wrapped
after Beaver learned to read it.

Also proves the whole path end to end: an .eml created in the library
reads back through extractLocalDocument with "$85,000" intact and its
Subject header present, not just parsed correctly in isolation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018bhP89cYSdEEjHNPnxacns
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents b4ecb73f
Stats 2 files changed , +67 , -6
Part of Evaluation harness: Beaver-CAN and LegalBench-RAG adapters

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-3687064e.md from inside the repo you want the change in.

⬇ Download capture-commit-3687064e.md