<commit_before>.candidate-card
  .image
    = image_tag candidacy.person.image.small
  p.name
    strong
      = link_to candidacy.person.name, candidacy.person.friendly_path, class: 'candidate'
  - if candidacy.is_incumbent
    p.incumbent incumbent
  - else
    p.incumbent &nbsp;
  p.election-website
    - if candidacy.person.website?
      = link_to 'Election Website', candidacy.person.website
    - else
      | Election Website
  p.icons
    - [:email, :facebook, :youtube, :twitter].each do |social_site|
      - if candidacy.person[social_site].present? && social_site == :email
        = link_to image_tag("icons/#{social_site}_active.jpg"), 'mailto:' + candidacy.person[social_site]
      - elsif candidacy.person[social_site].present?
        = link_to image_tag("icons/#{social_site}_active.jpg"), candidacy.person[social_site]
      - else
        = image_tag("icons/#{social_site}_inactive.jpg")
    - if candidacy.questionnaire.present?
      = link_to image_tag("icons/questionnaire_active.jpg"), candidacy.person.friendly_path
    - else
      = image_tag("icons/questionnaire_inactive.jpg")
  p.news News: #{ link_to pluralize(candidacy.person.approved_news_articles.count, 'Related Article'), candidacy.person.friendly_path }
  - if candidacy.person.phone_number?
    p.phone Phone: #{ link_to candidacy.person.phone_number, 'tel:' + candidacy.person.phone_number }
  - if candidacy.questionnaire.present?
    p.questionnaire
      span Questionnaire:
      | #{link_to "Read #{candidacy.person.first_name}'s Answers", candidacy.person.friendly_path}<commit_msg>Added a space which was missing in the candidate cards.<commit_after>.candidate-card
  .image
    = image_tag candidacy.person.image.small
  p.name
    strong
      = link_to candidacy.person.name, candidacy.person.friendly_path, class: 'candidate'
  - if candidacy.is_incumbent
    p.incumbent incumbent
  - else
    p.incumbent &nbsp;
  p.election-website
    - if candidacy.person.website?
      = link_to 'Election Website', candidacy.person.website
    - else
      | Election Website
  p.icons
    - [:email, :facebook, :youtube, :twitter].each do |social_site|
      - if candidacy.person[social_site].present? && social_site == :email
        = link_to image_tag("icons/#{social_site}_active.jpg"), 'mailto:' + candidacy.person[social_site]
      - elsif candidacy.person[social_site].present?
        = link_to image_tag("icons/#{social_site}_active.jpg"), candidacy.person[social_site]
      - else
        = image_tag("icons/#{social_site}_inactive.jpg")
    - if candidacy.questionnaire.present?
      = link_to image_tag("icons/questionnaire_active.jpg"), candidacy.person.friendly_path
    - else
      = image_tag("icons/questionnaire_inactive.jpg")
  p.news News: #{ link_to pluralize(candidacy.person.approved_news_articles.count, 'Related Article'), candidacy.person.friendly_path }
  - if candidacy.person.phone_number?
    p.phone Phone: #{ link_to candidacy.person.phone_number, 'tel:' + candidacy.person.phone_number }
  - if candidacy.questionnaire.present?
    p.questionnaire
      span Questionnaire: 
      | #{link_to "Read #{candidacy.person.first_name}'s Answers", candidacy.person.friendly_path}
{'fraction_non_alphanumeric': 0.1205983172327828, 'fraction_numerical': 0.0, 'mean_word_length': 3.7626112759643915, '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': '6601955', 'n_tokens_mistral': 1037, 'n_tokens_neox': 1006, 'n_words': 172}