code: def attack_accuracy_perc(self):
      accuracy_under_attack = (
          (self.failed_attacks) * 100.0 / (self.total_attacks)
      )
      accuracy_under_attack = round(accuracy_under_attack, 2)
      return accuracy_under_attack
  
file_path: TextAttack/textattack/metrics/attack_metrics/attack_success_rate.py
imports: from textattack.attack_results import FailedAttackResult, SkippedAttackResult
  from textattack.metrics import Metric
label_desc: Use image node_id 4 for calling the AttackSuccessRate obj's underlying member method code with example usage: obj.attack_accuracy_perc() and returns: accuracy_under_attack