<commit_before>- content_for :title, @scraper.full_name
.row
  .col-md-11
    %h1
      = link_to @scraper.owner.to_param, @scraper.owner
      \/
      = link_to @scraper.name, @scraper
  .col-md-1
    - if signed_in?
      .button_title_adjust= render partial: "watch_button", locals: {scraper: @scraper}

- if @scraper.forking?
  %h2 Forking!
  .progress.progress-striped.active
    .progress-bar(style="width: #{@scraper.forking_progress == 0 ? 5 : @scraper.forking_progress}%")
      - if @scraper.forking_message
        = @scraper.forking_message
        &hellip;
  %span.muted
    (Refresh page for the latest)

- else
  %h4
    = @scraper.description
    = render partial: "auto_clock", locals: {scraper: @scraper}
    - if @scraper.queued? || @scraper.running?
      .pulse

  %p= @scraper.readme

  - if @scraper.scraperwiki_url
    %p
      Forked from
      = link_to "ScraperWiki", @scraper.scraperwiki_url, target: "_blank"

  %p
    git clone URL: #{@scraper.git_url_https}
  - if @scraper.github_url
    %p
      %i.icon-github-sign.icon-large
      = link_to @scraper.github_url, target: "_blank" do
        = @scraper.name
      - if @scraper.main_scraper_filename
        (#{link_to @scraper.main_scraper_filename, @scraper.github_url_main_scraper_file, target: "_blank"}) on GitHub

  = render "status"
  .row
    .col-md-9
      - if @scraper.can_write?(current_user)
        %p= button_to "Run it now!", run_scraper_path(@scraper), class: (!@scraper.runnable? ? "btn btn-primary btn-lg disabled" : "btn btn-primary btn-lg"), disabled: !@scraper.runnable?
      = render "statistics"
    .col-md-3
      = render "settings"

  = render "console"
  = render "data"
  = render "history"
  = render "danger"<commit_msg>Moved statistics block to the bottom<commit_after>- content_for :title, @scraper.full_name
.row
  .col-md-11
    %h1
      = link_to @scraper.owner.to_param, @scraper.owner
      \/
      = link_to @scraper.name, @scraper
  .col-md-1
    - if signed_in?
      .button_title_adjust= render partial: "watch_button", locals: {scraper: @scraper}

- if @scraper.forking?
  %h2 Forking!
  .progress.progress-striped.active
    .progress-bar(style="width: #{@scraper.forking_progress == 0 ? 5 : @scraper.forking_progress}%")
      - if @scraper.forking_message
        = @scraper.forking_message
        &hellip;
  %span.muted
    (Refresh page for the latest)

- else
  %h4
    = @scraper.description
    = render partial: "auto_clock", locals: {scraper: @scraper}
    - if @scraper.queued? || @scraper.running?
      .pulse

  %p= @scraper.readme

  - if @scraper.scraperwiki_url
    %p
      Forked from
      = link_to "ScraperWiki", @scraper.scraperwiki_url, target: "_blank"

  %p
    git clone URL: #{@scraper.git_url_https}
  - if @scraper.github_url
    %p
      %i.icon-github-sign.icon-large
      = link_to @scraper.github_url, target: "_blank" do
        = @scraper.name
      - if @scraper.main_scraper_filename
        (#{link_to @scraper.main_scraper_filename, @scraper.github_url_main_scraper_file, target: "_blank"}) on GitHub

  = render "status"
  .row
    .col-md-9
      - if @scraper.can_write?(current_user)
        %p= button_to "Run it now!", run_scraper_path(@scraper), class: (!@scraper.runnable? ? "btn btn-primary btn-lg disabled" : "btn btn-primary btn-lg"), disabled: !@scraper.runnable?
    .col-md-3
      = render "settings"

  = render "console"
  = render "data"
  = render "history"
  = render "statistics"
  = render "danger"
{'fraction_non_alphanumeric': 0.13676680972818311, 'fraction_numerical': 0.005722460658082976, 'mean_word_length': 2.9727272727272727, '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': '1190028', 'n_tokens_mistral': 1395, 'n_tokens_neox': 1352, 'n_words': 260}