Workflow: Updating Citation Counts for Papers
To keep the citation counts for papers in the section files up to date, follow these guidelines when using the update_citation_counts.py tool.
- The output count is used for the inline ranked sections in
section/best_practices.md:RAG Research (Ranked by cite count >=100)andAgent Research (Ranked by cite count >=100). - Run
update_citation_counts.pydirectly to fetch the latest Semantic Scholar citation counts for papers already listed in those two sections. Use--dry-runfirst when reviewing a large update. - The script updates citation counts in place when counts changed. It does not add new papers, rebuild section indexes, or update generated pool files.
- After updating, review
section/best_practices.mdto confirm the counts changed correctly and the ranked order is still accurate. If counts change enough to affect ordering, manually reorder the entries.
.venv\Scripts\python.exe code/update_citation_counts.py --dry-run
.venv\Scripts\python.exe code/update_citation_counts.py