class_docstr: Runs MMLU eval multiple times with different sandbagging targets. args and
  kwargs pass initialization vars to the MMLU class
class_docstr_tok: ["Runs","MMLU","eval","multiple","times","with","different","sandbagging","targets",".","args","and","kwargs","pass","initialization","vars","to","the","MMLU","class"]
docstr: "wrap" eval_sample() func from MMLU eval in custom code
docstr_tok: ["``","wrap","''","eval_sample","(",")","func","from","MMLU","eval","in","custom","code"]
code: def eval_sample(
      self, solver: Solver, sample: Dict[str, Any], rng: random.Random
  ):
      """
      "wrap" eval_sample() func from MMLU eval in custom code
      """
      extra_logging = {}
      if self.use_difficulty:
          extra_logging["difficulty"] = sample["difficulty"]
  
      self.mmlu_eval_sample(solver, sample, rng, extra_logging)
  
file_path: evals/evals/elsuite/sandbagging/sandbagging_eval.py
imports: import random
  from typing import Any, Dict, Sequence
  import evals.metrics
  from evals.api import DummyCompletionFn
  from evals.elsuite.sandbagging.mmlu_eval import MMLU
  from evals.elsuite.sandbagging.utils import compute_sandbagging_score, get_difficulty, get_violation_events
  from evals.eval import SolverEval
  from evals.solvers.solver import Solver
label_desc: Use image node_id 2 for calling the Sandbagging obj's underlying member method code with example usage: obj.eval_sample(solver, sample, rng) without return types