<commit_before><% define_content :link do %>
  http://<%= HostUrl.context_host(asset.group.context) %>/<%= asset.group.context.class.to_s.downcase.pluralize %>/<%= asset.group.context_id %>/groups/<%= asset.group.id %>
<% end %>
<% define_content :subject do %>
  New Student Group for <%= asset.group.context.name %>
<% end %>

<%=
    case asset.group.context_type
    when 'Account'
      t :body_account, %{A new student organized group named "%{group_name}" was created for the account %{account}. The first member is %{user}.}, :group_name => asset.group.name, :account => asset.group.context.name, :user => asset.user.name
    else
      t :body_course, %{A new student organized group named "%{group_name}" was created for the course %{course}. The first member is %{user}.}, :group_name => asset.group.name, :course => asset.group.context.name, :user => asset.user.name
    end
%>

A new student organized group named "<%= asset.group.name %>" was created for the <%= asset.group.context.class.to_s.downcase %> <%= asset.group.context.name %>. The first member is <%= asset.user.name %>.<commit_msg>remove duplicate message in student group create dashboard message<commit_after><% define_content :link do %>
  http://<%= HostUrl.context_host(asset.group.context) %>/<%= asset.group.context.class.to_s.downcase.pluralize %>/<%= asset.group.context_id %>/groups/<%= asset.group.id %>
<% end %>
<% define_content :subject do %>
  New Student Group for <%= asset.group.context.name %>
<% end %>

<%=
    case asset.group.context_type
    when 'Account'
      t :body_account, %{A new student organized group named "%{group_name}" was created for the account %{account}. The first member is %{user}.}, :group_name => asset.group.name, :account => asset.group.context.name, :user => asset.user.name
    else
      t :body_course, %{A new student organized group named "%{group_name}" was created for the course %{course}. The first member is %{user}.}, :group_name => asset.group.name, :course => asset.group.context.name, :user => asset.user.name
    end
%>
{'fraction_non_alphanumeric': 0.16682832201745879, 'fraction_numerical': 0.0, 'mean_word_length': 4.2360406091370555, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 39, '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': '5211889', 'n_tokens_mistral': 671, 'n_tokens_neox': 617, 'n_words': 182}