class_docstr: Individual fairness perturbation for gender terms and pronouns.
class_docstr_tok: ["Individual","fairness","perturbation","for","gender","terms","and","pronouns","."]
docstr: Return a perturbation description for this class.
docstr_tok: ["Return","a","perturbation","description","for","this","class","."]
code: def description(self) -> PerturbationDescription:
      """Return a perturbation description for this class."""
      return GenderPerturbation.Description(
          name=self.name,
          mode=self.mode,
          fairness=True,
          prob=self.prob,
          source_class=self.source_class,
          target_class=self.target_class,
          bidirectional=self.bidirectional,
      )
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/augmentations/gender_perturbation.py
imports: from dataclasses import dataclass
  import json
  from random import Random
  import re
  from typing import Dict, List, Optional, Tuple
  from helm.common.general import match_case
  from .perturbation_description import PerturbationDescription
  from .perturbation import Perturbation
label_desc: Use image node_id 2 for calling the GenderPerturbation obj's underlying member method code with example usage: obj.description() and returns: GenderPerturbation