<commit_before><%= raw t('admin_mailer.new_trends.new_trending_tags.title') %>

<% @tags.each do |tag| %>
- #<%= tag.name %>
  <%= raw t('admin.trends.tags.usage_comparison', today: tag.history.get(Time.now.utc).accounts, yesterday: tag.history.get(Time.now.utc - 1.day).accounts) %> • <%= t('admin.trends.tags.current_score', score: Trends.tags.score(tag.id).round(2)) %>
<% end %>

<% if @lowest_trending_tag %>
<%= raw t('admin_mailer.new_trends.new_trending_tags.requirements', lowest_tag_name: @lowest_trending_tag.name, lowest_tag_score: Trends.tags.score(@lowest_trending_tag.id).round(2), rank: Trends.tags.options[:review_threshold]) %>
<% else %>
<%= raw t('admin_mailer.new_trends.new_trending_tags.no_approved_tags') %>
<% end %>

<%= raw t('application_mailer.view')%> <%= admin_trends_tags_url(pending_review: '1') %><commit_msg>Fix incorrect link in "new trending tags" email (#18156)<commit_after><%= raw t('admin_mailer.new_trends.new_trending_tags.title') %>

<% @tags.each do |tag| %>
- #<%= tag.name %>
  <%= raw t('admin.trends.tags.usage_comparison', today: tag.history.get(Time.now.utc).accounts, yesterday: tag.history.get(Time.now.utc - 1.day).accounts) %> • <%= t('admin.trends.tags.current_score', score: Trends.tags.score(tag.id).round(2)) %>
<% end %>

<% if @lowest_trending_tag %>
<%= raw t('admin_mailer.new_trends.new_trending_tags.requirements', lowest_tag_name: @lowest_trending_tag.name, lowest_tag_score: Trends.tags.score(@lowest_trending_tag.id).round(2), rank: Trends.tags.options[:review_threshold]) %>
<% else %>
<%= raw t('admin_mailer.new_trends.new_trending_tags.no_approved_tags') %>
<% end %>

<%= raw t('application_mailer.view')%> <%= admin_trends_tags_url(status: 'pending_review') %>
{'fraction_non_alphanumeric': 0.1978085351787774, 'fraction_numerical': 0.006920415224913495, 'mean_word_length': 6.643171806167401, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6534621', 'n_tokens_mistral': 744, 'n_tokens_neox': 661, 'n_words': 82}