forked from 0xWheatyz/SPARC
Bug: analyze_single_patent assumes PDF already exists locally -- integrate download step or document prerequisite #282
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
analyze_single_patent constructs the path patents/{patent_id}.pdf and reads from disk, but does not download the PDF first. If the file is not already present the method silently fails or raises an unhandled FileNotFoundError, leaving users with no clear error message.
Acceptance Criteria
References
Roadmap: P2 Backend -- analyze_single_patent assumes local file path.