<commit_before>- if @user == current_user
  %h1 Scrapers watched by you
- else
  %h1 Scrapers watched by #{@user.nickname}

%p
  For scrapers in this list that are set to run automatically, if any error then
  - if @user == current_user
    you
  - else
    = @user.nickname
  will receive an email alert at most once per day.
  This makes it very easy to fix any problems quickly.

- unless @user.scrapers_watched.empty?
  %h2 Individual scrapers
  .list-group
    - @user.scrapers_watched.each do |scraper|
      .row
        .col-md-11= render scraper
        .col-md-1
          - if @user == current_user
            = render partial: "scrapers/watch_button", locals: {scraper: scraper}

- @user.users_watched.each do |user|
  .row
    .col-md-11
      %h2= link_to user.nickname, user
    .col-md-1
      - if @user == current_user
        .button_title_adjust= render partial: "owners/watch_button", locals: {owner: user}
  .row
    .col-md-11
      .list-group= render user.scrapers

- @user.organizations_watched.each do |organization|
  .row
    .col-md-11
      %h2= link_to organization.nickname, organization
    .col-md-1
      - if @user == current_user
        .button_title_adjust= render partial: "owners/watch_button", locals: {owner: organization}
  .row
    .col-md-11
      .list-group= render organization.scrapers

<commit_msg>If a user/org has no scrapers say that<commit_after>- if @user == current_user
  %h1 Scrapers watched by you
- else
  %h1 Scrapers watched by #{@user.nickname}

%p
  For scrapers in this list that are set to run automatically, if any error then
  - if @user == current_user
    you
  - else
    = @user.nickname
  will receive an email alert at most once per day.
  This makes it very easy to fix any problems quickly.

- unless @user.scrapers_watched.empty?
  %h2 Individual scrapers
  .list-group
    - @user.scrapers_watched.each do |scraper|
      .row
        .col-md-11= render scraper
        .col-md-1
          - if @user == current_user
            = render partial: "scrapers/watch_button", locals: {scraper: scraper}

- @user.users_watched.each do |user|
  .row
    .col-md-11
      %h2= link_to user.nickname, user
    .col-md-1
      - if @user == current_user
        .button_title_adjust= render partial: "owners/watch_button", locals: {owner: user}
  .row
    .col-md-11
      - if user.scrapers.empty?
        %p Has no scrapers
      - else
        .list-group= render user.scrapers

- @user.organizations_watched.each do |organization|
  .row
    .col-md-11
      %h2= link_to organization.nickname, organization
    .col-md-1
      - if @user == current_user
        .button_title_adjust= render partial: "owners/watch_button", locals: {owner: organization}
  .row
    .col-md-11
      - if organization.scrapers.empty?
        %p Has no scrapers
      - else
        .list-group= render organization.scrapers


{'fraction_non_alphanumeric': 0.10371141172389872, 'fraction_numerical': 0.012486992715920915, 'mean_word_length': 2.46218487394958, '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': '4208652', 'n_tokens_mistral': 985, 'n_tokens_neox': 969, 'n_words': 281}