Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/eslint-plugin / / gradeTool
Function: gradeTool()
ts
function gradeTool(tool, findings): ToolGraderScore;Defined in: src/tool-discovery.ts:505
Stable
Compute the per-tool grader score (0..100). Each axis is gated by the findings produced for that axis. The rubric is calibrated against the fixture catalog (wellDescribedTool -> 82, placeholderDescriptionTool -> 20, examplesPiiTool -> 61).
Parameters
| Parameter | Type |
|---|---|
tool | DiscoveredTool |
findings | readonly LintFinding[] |