MCPcopy
hub / github.com/msoedov/agentic_security / mock_refusal_heuristic

Function mock_refusal_heuristic

tests/unit/probe_actor/test_fuzzer.py:199–200  ·  view source on GitHub ↗
(response_json)

Source from the content-addressed store, hash-verified

197
198
199def mock_refusal_heuristic(response_json):
200 return response_json.get("is_refusal", False)
201
202
203class TestProcessPrompt(unittest.IsolatedAsyncioTestCase):

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected