guardian-ai icon indicating copy to clipboard operation
guardian-ai copied to clipboard

Add defensive check for missing attack metrics in AttackRunner

Open nishanthp opened this issue 2 months ago • 0 comments

Added a guard in run_attack to handle cases where evaluate_attack returns None or an empty list. This prevents crashes when building the result string and instead returns a NO_METRICS marker.

nishanthp avatar Sep 29 '25 22:09 nishanthp