class_docstr: Run queries to generate statistics on alerts.
docstr: Returns a list of rules that are ineligible for promotion
docstr_tok: ["Returns","a","list","of","rules","that","are","ineligible","for","promotion"]
code: def _rules_failing_promotion(self):
      """Returns a list of rules that are ineligible for promotion"""
      return [
          rule
          for rule, stat in self._staging_stats.items()
          if stat.alert_count != 0
      ]
  
file_path: streamalert/streamalert/rule_promotion/promoter.py
imports: from datetime import datetime
  from streamalert.rule_promotion.publisher import StatsPublisher
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared.utils import get_database_name
  from streamalert.shared.athena import AthenaClient
  from streamalert.shared.config import load_config
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule_table import RuleTable
label_desc: Use image node_id 7 for calling the RulePromoter obj's underlying member method code with example usage: obj._rules_failing_promotion() and returns: unknown