<commit_before>
.minical
  .minical-wrapper
    - @single_events_by_day.each do |day, events|
      .minical-day
        .minical-day-header
          %strong= I18n.localize(day, format: "%a")
          = I18n.localize(day, format: "%b %d")
        .minical-day-body
          - events.each_with_index do |event, index|
            - category_color = event.category.color
            - if index % 3 == 0
              .minical-cell.first-cell{ 'style' => "background-color: #{category_color}" }
            - else
              .minical-cell{ 'style' => "background-color: #{category_color}" }
<commit_msg>Prettyfi condition in view<commit_after>
.minical
  .minical-wrapper
    - @single_events_by_day.each do |day, events|
      .minical-day
        .minical-day-header
          %strong= I18n.localize(day, format: "%a")
          = I18n.localize(day, format: "%b %d")
        .minical-day-body
          - events.each_with_index do |event, index|
            - category_color = event.category.color
            .minical-cell{ 'class' => ("first-cell" if index % 3 == 0), 'style' => "background-color: #{category_color}" }

{'fraction_non_alphanumeric': 0.1447602131438721, 'fraction_numerical': 0.010657193605683837, 'mean_word_length': 2.1657303370786516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2642274', 'n_tokens_mistral': 376, 'n_tokens_neox': 366, 'n_words': 74}