AppWorld file_system bill aggregation: include PDF bills too
When summing bills over a date range, every in-scope period must be accounted for regardless of file format.
Rules
- List all files in the directory and map each one to its billing period before summing.
- A
.pdfbill is a real bill, not a duplicate of.txtbills. Do not skip it just becausefile_system.show_filereturns binary content or a placeholder. - If a required period appears only as a PDF, extract its amount with an appropriate PDF reader/parser before finalizing; do not silently omit that period.
- Sum only after every period in the requested range is covered.
Verification
Before answering, confirm each period in the requested range has a corresponding amount, including PDF-only periods. If any period is missing or represented only by a skipped PDF, extract that PDF amount and recompute the total.