Skip to content

docs_project_scan completeness score ignores inline documentation coverage #95

Description

@wtthornton

Summary

docs_project_scan returns a completeness_score that only counts standard documentation files (README, LICENSE, CHANGELOG, etc.). A project with 100% docstring coverage across all 24 Python modules scores 0% (later 25% after adding a README).

This is misleading — the score implies the project is undocumented when it actually has excellent code documentation.

Suggestion

Consider one of:

  1. Composite score that weights both file-level docs AND inline documentation (docstring coverage)
  2. Rename the field to doc_file_completeness to clarify what it measures
  3. Add a separate field like inline_doc_coverage alongside completeness_score

Context

From docs-mcp project scan on a new project:

  • completeness_score: 0% (later 25%)
  • Actual state: 24/24 Python modules with docstrings, 76/76 public names documented
  • docs_check_completeness separately reported 100% API documentation coverage

The disconnect between these two tools sends a confusing signal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritydocs-mcpDocsMCP packageenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions