Repository navigation
Conversation
Atlanta's recent items have no citation_pdf_url or File(s) link, only a DOI, so every one was dropped. The DOI's landing page links the PDF. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Recent Atlanta Fed publications are missing from the Fed in Print results. Their item pages carry no
citation_pdf_urland noFile(s)link, only a DOI, soresolve_filereturnsNoneand the item is dropped. On 2026-11-17 that was every recent Atlanta item.Change
utils/fedinprint.py: when an item page has no file link,resolve_filefollows the page'scitation_doito its landing page and takes the first PDF linked there, resolved against the page'sog:url. Items that already resolve are unaffected; an item with neither still returnsNone.Cost and scope
resolve_file, and it goes through the same per-URL cache (_safe_resolve).searchstill reads only the result pages.Results against Fed in Print
On 2026-11-18 the eight newest Atlanta items all carried only a DOI (
10.29338/wp2026-14towp2026-19,ph2026-08,ph2026-09). All eight resolved to the paper's PDF onwww.atlantafed.org. Two landing pages also link an online appendix; it comes second, so the first PDF is the paper.Tests
TestFileResolution::test_resolve_doi_only_item_through_its_landing_page. It fails ondevelop.openbb_platform/providers/federal_reserve/tests: 2,402 passed (Python 3.12).🤖 Generated with Claude Code