<commit_before>.banner-search.banner
  .container
    %h1.label-heading
      %small.pre-heading Find data and code you can use
      Search over #{pluralize(floor_to_hundreds(Scraper.count), "scraper")}
    = render partial: "search_form"

.container
  .row
    .col-md-6
      %h2 Recent New Users
      %p
        = link_to users_path do
          See more of the #{pluralize(User.count, "user")}&hellip;
      %ul.list-unstyled
        - User.all.order(created_at: :desc).limit(10).each do |user|
          %li
            = owner_image(user, 20)
            = link_to user.nickname, user
            - if user.name
              &mdash;
              = user.name
      %h2 Organizations with Scrapers
      %ul.list-unstyled
        - Organization.all_with_scrapers.each do |org|
          %li
            = owner_image(org, 20)
            = link_to org.nickname, org<commit_msg>Show a button to add a scraper, if a user has none<commit_after>.banner-search.banner
  .container
    %h1.label-heading
      %small.pre-heading Find data and code you can use
      Search over #{pluralize(floor_to_hundreds(Scraper.count), "scraper")}
    = render partial: "search_form"

- if current_user.scrapers.empty?
  .banner
    .container
      %h2 Unlock the data you need
      = link_to "Create your first scraper", new_scraper_path, class: "btn btn-primary btn-lg"

.container
  .row
    .col-md-6
      %h2 Recent New Users
      %p
        = link_to users_path do
          See more of the #{pluralize(User.count, "user")}&hellip;
      %ul.list-unstyled
        - User.all.order(created_at: :desc).limit(10).each do |user|
          %li
            = owner_image(user, 20)
            = link_to user.nickname, user
            - if user.name
              &mdash;
              = user.name
      %h2 Organizations with Scrapers
      %ul.list-unstyled
        - Organization.all_with_scrapers.each do |org|
          %li
            = owner_image(org, 20)
            = link_to org.nickname, org
{'fraction_non_alphanumeric': 0.10315473209814723, 'fraction_numerical': 0.010515773660490736, 'mean_word_length': 1.9732142857142858, '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': '7578503', 'n_tokens_mistral': 670, 'n_tokens_neox': 657, 'n_words': 158}