<commit_before>module Minesweeper
  module Console
    module PrettyPrinter
      module Theme
        class DefaultTheme
          def initialize(a_colorizer)
            @colorizer = a_colorizer
          end

          def colorize_header(a_string)
            @colorizer.wrap(a_string).white
          end

          def colorize_separator(a_string)
            a_string
          end

          def colorize_mine_quantity(a_string)
            @colorizer.wrap(a_string).red
          end

          def colorize_cell_status(a_string)<commit_msg>Changes the default theme to display a space instead of the mine quantity when it is zero.<commit_after>module Minesweeper
  module Console
    module PrettyPrinter
      module Theme
        class DefaultTheme
          def initialize(a_colorizer)
            @colorizer = a_colorizer
          end

          def colorize_header(a_string)
            @colorizer.wrap(a_string).white
          end

          def colorize_separator(a_string)
            a_string
          end

          def colorize_mine_quantity(a_string)
            if (a_string == '0')
              ' '
            else
              @colorizer.wrap(a_string).red
            end
          end

          def colorize_cell_status(a_string)
{'fraction_non_alphanumeric': 0.04671417260490895, 'fraction_numerical': 0.000791765637371338, 'mean_word_length': 1.7008547008547008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4668203', 'n_tokens_mistral': 344, 'n_tokens_neox': 330, 'n_words': 78}