<commit_before>- unless planting.finished?
  // Finish times
  - if planting.finish_is_predicatable?
    - if planting.super_late?
      %span.badge.badge-super-late= t('.super_late')
      = render 'shared/buttons/finish_planting', planting: planting
    - elsif planting.late?
      %span.badge.badge-late= t('.late_finishing')
    - else
      %span.badge
        = days_from_now_to_finished(planting)
        = t('.days_until_finished')

  // Harvest times
  - unless planting.super_late?
    - if planting.harvest_time?
      %span.badge.badge-harvest= t('.harvesting_now')
    - elsif planting.before_harvest_time?
      %span.badge
        = days_from_now_to_first_harvest(planting)
        = t('.days_until_harvest')<commit_msg>Use new finish button on planting badges<commit_after>- unless planting.finished?
  // Finish times
  - if planting.finish_is_predicatable?
    - if planting.super_late?
      %span.badge.badge-super-late= t('.super_late')
      = planting_finish_button(planting)
    - elsif planting.late?
      %span.badge.badge-late= t('.late_finishing')
    - else
      %span.badge
        = days_from_now_to_finished(planting)
        = t('.days_until_finished')

  // Harvest times
  - unless planting.super_late?
    - if planting.harvest_time?
      %span.badge.badge-harvest= t('.harvesting_now')
    - elsif planting.before_harvest_time?
      %span.badge
        = days_from_now_to_first_harvest(planting)
        = t('.days_until_harvest')
{'fraction_non_alphanumeric': 0.11820652173913043, 'fraction_numerical': 0.0, 'mean_word_length': 2.981081081081081, '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': '4537978', 'n_tokens_mistral': 523, 'n_tokens_neox': 504, 'n_words': 74}