Skip to content

## Test coverage audit + expansion: biblio package (via projio MCP wrappers) Au

Test coverage audit + expansion: biblio package (via projio MCP wrappers)

Audit test coverage for biblio functionality exposed through src/projio/mcp/biblio.py and the biblio package at packages/biblio/ (if present as subdataset).

Step 1: Audit

Check if biblio has its own test suite in packages/biblio/tests/. Map the MCP wrapper functions in src/projio/mcp/biblio.py — these are the agent-facing surface. Key functions: biblio_ingest, biblio_merge, biblio_compile, biblio_library_set, biblio_library_quality, biblio_pdf_fetch, biblio_grobid, biblio_docling, biblio_graph_expand, biblio_enrich.

Step 2: Create task notes

For each coverage gap, create a worklog issue note describing what to test and how.

Step 3: Schedule

Use schedule_queue with batch_mode=True to schedule the created tasks.

Important

  • biblio has external dependencies (OpenAlex, CrossRef, Grobid) — tests should mock HTTP calls
  • Focus on the merge/compile pipeline (srcbib → merged.bib → compiled.bib) which is pure file I/O
  • Test the MCP wrappers in projio for error handling and unavailable fallback

Batch Result

  • status: done
  • batch queue_id: f935e979b30d
  • session: c618c2d5-782b-483b-948e-bdf70925267d
  • batch duration: 962.1s