Every test mocked the helper, and except Exception swallowed its TypeError on every PDF
An upload classifier sent a language model the first page of each PDF. The helper indexed a dataclass like a list, the TypeError was caught and turned into an empty string, and for seven weeks the model classified every PDF by filename alone, with a confidence score attached.
·4 mins