Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ParzivalHack/PySpector
/ fires
Function
fires
tests/unit/test_a_sink_rules.py:31–31 ·
view source on GitHub ↗
(code, rule_id)
Source
from the content-addressed store, hash-verified
29
30
31
def
fires(code, rule_id):
return
[f
for
f in run(code)
if
f[
"rule_id"
] == rule_id]
32
def
not_fires(code, rule_id):
return
not fires(code, rule_id)
33
34
Callers
1
not_fires
Function · 0.70
Calls
1
run
Function · 0.70
Tested by
no test coverage detected