Skip to content

v0.1.13 — precision on real code: 21 findings, 3 real

Choose a tag to compare

@sushant-me sushant-me released this 28 Sep 13:36
· 5 commits to master since this release

The tool-reserved-name-shadowing rule read any constant containing "tool" and "name" as a reserved-name set. Run against google/adk-python that produced 21 production findings, 19 of them false positives — every one a DEFAULT_*_TOOL_NAME_PREFIX, FINISH_TASK_TOOL_NAME, _LIST_SKILLS_TOOL_NAME or RESERVED_TOOL_CALL_ERROR_TYPE.

The bar is now the word RESERVED. _RESERVED_TOOL_NAMES = frozenset({...}) is unaffected.

repo before after
google/adk-python 21 3
google/adk-go 2 2
google/adk-java 8 8
openai/openai-agents-python 0 0

Precision on adk-python production code: 0.14 → 1.00, no true positive lost. 133 tests pass; four regression tests carry the real constant names.