Repository navigation
Re-collect every faculty member's publications in scheduled refreshes - #7
Merged
Merged
Conversation
…reshes Weekly and odd-month refreshes queried publication sources only for faculty whose publication inputs changed, so new papers by everyone else never arrived. Scheduled runs now target every faculty member with collection enabled. Source errors stay fatal for changed faculty; for the rest an error keeps their previous works and fails the run only above 10% (an outage). A local full pull took 12 minutes for 508 faculty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
The weekly (roster) and odd-month (profile) refreshes only re-queried publications for faculty whose publication inputs (ORCID, PubMed/arXiv query, collect flag) changed. Everyone else's new papers never arrived — e.g. PMID 42853165 (Sideris with Nelson, Zickmund, Stehlik, Hanff) was missing although all four faculty queries return it.
What
doim-refresh --roster-only/--all-profilesnow target every faculty member with publication collection enabled. Targeted--faculty-idsruns are unchanged.MAX_UNCHANGED_ATTENTION_SHARE), i.e. a source outage.Cost
Local full pull on 2026-10-21: 12 min for 508 faculty, 7,288 → 7,347 works (59 new, including PMID 42853165), 1 faculty source errored. The job timeout is 45 min.
Test plan
uv run --locked pytest(247 passed),ruff checkIndependent of #6; whichever merges second needs no conflict resolution beyond
docs/doim-migration-plan.md.🤖 Generated with Claude Code