code: def _strict_acc(scores: List[float]) -> float:
      """Return 1.0 if all tests passed; otherwise return 0.0."""
      return 1.0 if sum(scores) == len(scores) else 0.0
  
imports: import threading
  import multiprocessing
  from typing import List, Union, Sequence, cast
  from helm.common.hierarchical_logger import hlog
  from helm.common.request import RequestResult
  from helm.benchmark.adaptation.scenario_state import ScenarioState
  from helm.benchmark.adaptation.request_state import RequestState
  from helm.benchmark.adaptation.adapter_spec import AdapterSpec
  from helm.benchmark.scenarios.code_scenario import CodeReference
  from .None import code_metrics_helper
  from .metric import Metric, MetricResult
  from .metric_service import MetricService
  from .metric_name import MetricName
  from .statistic import Stat
label_desc: Use image node_id 3 for calling a global function with example usage: _strict_acc(scores) and returns: unknown