<commit_before>.panel#summary
  .caption #{t :opportunity_summary}
  %li
    %dt= @opportunity.stage ? t(@opportunity.stage) : t(:other)
    %tt #{t :stage}:
  %li
    %dt= @opportunity.closes_on ? l(@opportunity.closes_on, :format => :mmdd) : t(:n_a)
    %tt #{t :close_date}:
  - if @opportunity.closes_on && @opportunity.stage !~ /lost|won/
    %li
      - days_left = @opportunity.closes_on - Date.today
      - if days_left >= 0
        %dt= days_left
        %tt #{t :days_left}:
      - else
        %dt.warn= t('pluralize.day', :count => (days_left * -1))
        %tt #{t :days_late}:<commit_msg>Fixed issue with 'days_left' formatting. Use integer instead of rational.<commit_after>.panel#summary
  .caption #{t :opportunity_summary}
  %li
    %dt= @opportunity.stage ? t(@opportunity.stage) : t(:other)
    %tt #{t :stage}:
  %li
    %dt= @opportunity.closes_on ? l(@opportunity.closes_on, :format => :mmdd) : t(:n_a)
    %tt #{t :close_date}:
  - if @opportunity.closes_on && @opportunity.stage !~ /lost|won/
    %li
      - days_left = (@opportunity.closes_on - Date.today).to_i
      - if days_left >= 0
        %dt= days_left
        %tt #{t :days_left}:
      - else
        %dt.warn= t('pluralize.day', :count => (days_left * -1))
        %tt #{t :days_late}:
{'fraction_non_alphanumeric': 0.17490196078431372, 'fraction_numerical': 0.003137254901960784, 'mean_word_length': 2.8318318318318316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1683251', 'n_tokens_mistral': 500, 'n_tokens_neox': 476, 'n_words': 102}