Skip to content

## Test coverage audit + expansion: figio package (via projio MCP wrappers) Aud

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

Audit test coverage for figio functionality exposed through src/projio/mcp/figio.py.

Step 1: Audit

Map MCP wrapper functions: figio_figure_list, figio_inspect, figio_build, figio_validate, figio_edit_spec, figio_query_output. Check if figio has its own test suite in packages/figio/tests/.

Step 2: Create task notes

For each gap, create a worklog issue note.

Step 3: Schedule

Use schedule_queue with batch_mode=True.

Important

  • figio is declarative YAML → rendering. Test spec parsing and validation without actual SVG/PDF generation
  • FigureSpec model validation is the highest-value test target
  • Test the edit_spec function for safe YAML modification

Batch Result

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