Skip to content

Correct the documentation against what the code actually does - #27

Merged
LuShadowX merged 1 commit into
mainfrom
docs-audit
Aug 8, 2026
Merged

Correct the documentation against what the code actually does#27
LuShadowX merged 1 commit into
mainfrom
docs-audit

Conversation

@LuShadowX

Copy link
Copy Markdown
Owner

An audit of every factual claim in the README, CONTRIBUTING, module docstrings and --help, checked against the code and by running each documented command in throwaway repos. Seventeen were wrong.

The one that matters most is a real trap I shipped: the documented pattern --include "mypkg.core.*" matches nothing. Targets are module:Qualname, so the dot never matches mypkg.core:parse, and a user following the README would silently record zero functions. Corrected to mypkg.core*, with a sentence naming the trap.

CONTRIBUTING.md had missed the last day entirely: it claimed 21 tests, five source files, that file writes were invisible, that numpy and datetimes were open questions, 15-20x overhead, and that Windows was unsupported. All now match reality.

The README also promised that skipped callables are named — only the count is printed — and still solicited work on datetime/UUID comparators that #12 settled by rejecting.

Flagged for you rather than guessed at, because nothing in the repo backs them: the header example numbers (505 callables / 18402 inputs / 408 functions, where 18402 contradicts the measured table's 184,592), the measured results table itself, and the ~8x figure. Also noted: _print_report has no pluralisation, so it prints "1 functions" — left alone rather than enshrined in the docs.

CONTRIBUTING still described a Unix-only tool with 21 tests, five modules,
no side-effect capture and 15-20x recording overhead. The README's sample
output predated the record shape that carries argument mutation and file
writes, and both files documented include/exclude patterns in a form that
silently matches nothing when the named target is a module rather than a
package.
@LuShadowX
LuShadowX merged commit 9f39edb into main Aug 8, 2026
10 checks passed
@LuShadowX
LuShadowX deleted the docs-audit branch August 8, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant