scholarr/app/services/ingestion
Justin Visser 2a6e573a52 refactor: extract helpers from long functions in ingestion core
- Extract _load_unenriched_publications, _enrich_batch, _flush_and_sweep_duplicates from enrich_pending_publications
- Extract _sanitize_titles shared helper for title cleaning
- Extract _run_iteration_and_complete and _inline_enrich_and_finalize from run_for_user
- Extract _run_first_pass and _run_depth_pass from run_scholar_iteration
- Extract _finalize_successful_queue_job and _finalize_failed_queue_job from _finalize_queue_job_after_run

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 16:18:21 +01:00
..
__init__.py ci: add CodeQL security scanning and Dependabot 2026-02-27 00:05:17 +01:00
application.py refactor: extract helpers from long functions in ingestion core 2026-02-27 16:18:21 +01:00
constants.py Initial release prep 2026-02-27 10:46:05 +01:00
enrichment.py refactor: extract helpers from long functions in ingestion core 2026-02-27 16:18:21 +01:00
fingerprints.py Initial release prep 2026-02-27 10:46:05 +01:00
page_fetch.py refactor: extract pagination engine and publication upsert from ingestion service 2026-02-27 13:47:23 +01:00
pagination.py refactor: extract pagination engine and publication upsert from ingestion service 2026-02-27 13:47:23 +01:00
publication_upsert.py refactor: extract pagination engine and publication upsert from ingestion service 2026-02-27 13:47:23 +01:00
queue.py ci: add CodeQL security scanning and Dependabot 2026-02-27 00:05:17 +01:00
queue_runner.py refactor: extract helpers from long functions in ingestion core 2026-02-27 16:18:21 +01:00
run_completion.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
safety.py ci: add CodeQL security scanning and Dependabot 2026-02-27 00:05:17 +01:00
scheduler.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
scholar_processing.py refactor: extract helpers from long functions in ingestion core 2026-02-27 16:18:21 +01:00
types.py Initial release prep 2026-02-27 10:46:05 +01:00