## 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
Related Notes¶
- issue-arash-20260412-013511-941571.md — Sister issue: same test coverage audit+expansion pattern for pipeio package
- issue-arash-20260412-013432-321867.md — Sister issue: test coverage for mcp/pipeio wrappers — same MCP wrapper testing concern
- issue-arash-20260411-173902-670919.md — Cross-project biblio sharing directly relates to biblio package functionality being tested
- issue-arash-20260410-015122-436271.md — biblio_extract YAML parsing bug — directly affects biblio package under audit
- issue-arash-20260410-034308-266853.md — _work_to_minimal() in openalex_resolve is part of biblio package internals covered by this audit
Batch Result¶
- status: done
- batch queue_id:
f935e979b30d - session:
c618c2d5-782b-483b-948e-bdf70925267d - batch duration: 962.1s