<commit_before>%tr
  %td
    =link_to job.title, admin_job_path(job.id)
  %td
    = job.company
  %td
    = job.location_or_remote
  %td
    = l(job.created_at, format: :date)
  %td
    - if job.published? && job.expired?
      %span.label.admin.status.expired= t("job.admin.status.expired")
    - else
      %span.label.admin.status{ class: job.status }= t("job.admin.status.#{job.status}")
  %td
    - if job.pending?
      =link_to 'Review', admin_job_path(job.id)<commit_msg>Adds Unpublish link to job row in admin jobs page if job status is published<commit_after>%tr
  %td
    = link_to job.title, admin_job_path(job.id)
  %td
    = job.company
  %td
    = job.location_or_remote
  %td
    = l(job.created_at, format: :date)
  %td
    - if job.published? && job.expired?
      %span.label.admin.status.expired= t('job.admin.status.expired')
    - else
      %span.label.admin.status{ class: job.status }= t("job.admin.status.#{job.status}")
  %td
    - if job.pending?
      = link_to 'Review', admin_job_path(job.id)
    - if job.published?
      = link_to 'Unpublish', admin_job_unpublish_path(job.id)
{'fraction_non_alphanumeric': 0.1496844003606853, 'fraction_numerical': 0.0, 'mean_word_length': 2.9501779359430604, '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': '6594578', 'n_tokens_mistral': 420, 'n_tokens_neox': 424, 'n_words': 78}