Skip to content

docvet: suppress the heuristic scan's false positives - #70

Open
inth3shadows wants to merge 1 commit into
mainfrom
docvet-suppressions
Open

docvet: suppress the heuristic scan's false positives#70
inth3shadows wants to merge 1 commit into
mainfrom
docvet-suppressions

Conversation

@inth3shadows

Copy link
Copy Markdown
Owner

testgraph reads other repositories, so its docs are full of filenames and symbols belonging to the repos under analysis rather than to this tree. All 38 candidates docvet --triage reported are false positives, checked by hand:

  • package.json, route.ts, page.tsx, urls.py, schemas.py, available-locales.ts and friends — files in target repos, named as examples. testgraph is a Python tool and never claimed to have them.
  • path:NN entries — line references. testgraph/record.py, testgraph/hook.py and tests/test_propose.py are all tracked; the :NN just isn't part of the name.
  • codegraph_impact is a CodeGraph MCP tool, imp.localName an ESTree/Babel AST property, clean_db a fixture in a target repo's conftest.py.
  • /verify is a gate, /autorun a slash-command, /path/to/repo a shell placeholder — none is an HTTP route.

Suppression, not anchoring. An anchor is a verified token -> path claim and the only docvet tier allowed to block a push; none of these qualifies.

docvet --triage now reports 0 candidates, 0 broken anchors. No code changes.

testgraph reads OTHER repositories, so its docs are full of filenames and
symbols belonging to the repos under analysis rather than to this tree. All 38
candidates `docvet --triage` reported are false positives, checked by hand:

- package.json, route.ts, page.tsx, urls.py, schemas.py, available-locales.ts
  and friends are files in target repos, named as examples. testgraph is a
  Python tool and never claimed to have them.
- path:NN entries are line references; testgraph/record.py, testgraph/hook.py
  and tests/test_propose.py are all tracked, the ":NN" just isn't part of the
  name.
- codegraph_impact is a CodeGraph MCP tool; imp.localName is an ESTree/Babel
  AST property; clean_db is a fixture in a target repo's conftest.
- /verify is a gate, /autorun a slash-command, /path/to/repo a shell
  placeholder -- none is an HTTP route.

testgraph now reports 0 candidates and 0 broken anchors.
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