<commit_before>- cache ['v5', run] do
  %li.list-group-item{ class: run.finished_successfully? ? 'alert-success' : 'alert-danger' }
    - if run.auto?
      Auto
    - else
      Manually
    ran
    - if run.git_revision
      revision
      = link_to run.git_revision[0..7], run.git_revision_github_url
    and
    - if run.finished_successfully?
      completed successfully
    - else
      failed
    #{timeago_tag(run.finished_at, force: true)}.

    .pull-right.hidden-xs
      %div
        run time
        = format('%.1f s', run.wall_time)
      %div
    %div= database_changes_in_words(run)
    %div
      - if run.connection_logs.size > 0
        = pluralize(run.connection_logs.size, 'page')
        scraped<commit_msg>Make the time of a run more human if longer than a minute<commit_after>- cache ['v6', run] do
  %li.list-group-item{ class: run.finished_successfully? ? 'alert-success' : 'alert-danger' }
    - if run.auto?
      Auto
    - else
      Manually
    ran
    - if run.git_revision
      revision
      = link_to run.git_revision[0..7], run.git_revision_github_url
    and
    - if run.finished_successfully?
      completed successfully
    - else
      failed
    #{timeago_tag(run.finished_at, force: true)}.

    .pull-right.hidden-xs
      %div
        run time
        - if run.wall_time < 60
          = format('%.f s', run.wall_time)
        - else
          = distance_of_time_in_words(run.wall_time)
      %div
    %div= database_changes_in_words(run)
    %div
      - if run.connection_logs.size > 0
        = pluralize(run.connection_logs.size, 'page')
        scraped
{'fraction_non_alphanumeric': 0.11076540136901059, 'fraction_numerical': 0.006845052893590542, 'mean_word_length': 2.177865612648221, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '501444', 'n_tokens_mistral': 548, 'n_tokens_neox': 543, 'n_words': 114}