class_docstr: An testcase widget.
class_docstr_tok: ["An","testcase","widget","."]
code: def compute_stats_result(self, candidate_testcases):
      nfailed = len(
          [e for e in candidate_testcases if e["succeed"] == 0]
      )
      self.stats = {
          "npassed": len(candidate_testcases) - nfailed,
          "nfailed": nfailed,
          "nfiltered": 0,
      }
  
file_path: checklist/checklist/viewer/test_summarizer.py
imports: import ipywidgets
  from traitlets import Unicode, List, Dict
  import os
  import typing
  from spacy.lang.en import English
  from copy import deepcopy
label_desc: Use image node_id 7 for calling the TestSummarizer obj's underlying member method code with example usage: obj.compute_stats_result(candidate_testcases) without return types