code: def construct_requests(self, doc, ctx):
      ret = []
      for alias in self._remove_prefixes(doc["answers"]):
          _, is_prediction = rf.loglikelihood(ctx, " " + alias)
          ret.append(is_prediction)
      return ret
  
file_path: lm-evaluation-harness/lm_eval/tasks/webqs.py
imports: from lm_eval.base import rf, Task
  from lm_eval.metrics import mean
label_desc: Use image node_id 11 for calling the WebQs obj's underlying member method code with example usage: obj.construct_requests(doc, ctx) and returns: ret