MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / _finding

Function _finding

tests/nodes/test_report.py:37–51  ·  view source on GitHub ↗
(
    rule_id: str,
    severity: str = "LOW",
    message: str = "test",
    confidence: float = 1.0,
    file: str = "SKILL.md",
)

Source from the content-addressed store, hash-verified

35
36
37def _finding(
38 rule_id: str,
39 severity: str = "LOW",
40 message: str = "test",
41 confidence: float = 1.0,
42 file: str = "SKILL.md",
43) -> Finding:
44 return Finding(
45 rule_id=rule_id,
46 message=message,
47 severity=severity,
48 confidence=confidence,
49 file=file,
50 start_line=1,
51 )
52
53
54# --- Risk score computation tests ---

Calls 1

FindingClass · 0.90

Tested by

no test coverage detected