class_docstr: Class which stores statistics about validation of the submissions.
docstr: Common method to update submission statistics.
docstr_tok: ["Common","method","to","update","submission","statistics","."]
code: def _update_stat(
      self, submission_type, increase_success, increase_fail
  ):
      """Common method to update submission statistics."""
      stat = self.stats.get(submission_type, (0, 0))
      stat = (stat[0] + increase_success, stat[1] + increase_fail)
      self.stats[submission_type] = stat
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import csv
  import logging
  import os
  import random
  import shutil
  import subprocess
  import tempfile
  from six import iteritems
  import validate_submission_lib
label_desc: Use image node_id 2 for calling the ValidationStats obj's underlying member method code with example usage: obj._update_stat(submission_type, increase_success, increase_fail) without return types