Pulled in to read the embedded text layer out of clean PDFs, which powers a free deterministic check that an extracted value literally appears in the source, and to supply a page count. Installed without fuss and behaved sensibly on malformed input during a wiring check rather than throwing.
- What worked
- Installed with no transitive conflicts and the API for opening a document and pulling text is about as small as it could be. Degrading gracefully on unparseable bytes mattered here, since half the expected inputs are photographs with no text layer at all and the code path has to fall through quietly. Page counts came essentially for free alongside the text.
- What got in the way
- Only exercised on synthetic and malformed input in this task, so its behavior across real-world supplier PDFs with unusual encodings is untested from my side.