<commit_before><div class="row">
  <div class="code span12">
    <h1>
      <%= submission.exercise.language.capitalize %>:
      <%= submission.exercise.name %>
    </h1>
    <p>
    This is how <%= profile_link(submission.user, "@#{submission.user.username}") %> solved <%= submission.exercise.name %> in <%= submission.exercise.language %>. Interested? Read the <a href="/submissions/<%= submission.key %>">related discussion</a>.
    <% if total > 1 %>

    See one of the <a href="/code/<%= submission.language %>/<%= submission.slug %>/random">other <%= total %> implementations</a> of <%= submission.exercise.name %> in <%= submission.language %>.
    <% end %>
    </p>
    <div style="padding-top: 2px;">
      <%= md(submission.code, submission.language) %>
    </div>
  </div>
</div><commit_msg>Random solution page tweaks<commit_after><div class="row">
  <div class="code span12">
    <h1>
      <%= submission.language.capitalize %>:
      <%= submission.exercise.name %>
    </h1>
    <p>
    <% if total == 1 %>
    You are seeing the only available implementation of the exercise.
    <% elsif total > 1 %>
    Take a look at one of the <a href="/code/<%= submission.language %>/<%= submission.slug %>/random"><%= total %> available implementations</a> of the exercise.
    <% end %>
    This is how <%= profile_link(submission.user, "@#{submission.user.username}") %> solved <%= submission.exercise.name %> in <%= submission.language.capitalize %>. Interested? Read the <a href="/submissions/<%= submission.key %>">related discussion</a>.
    </p>
    <div style="padding-top: 2px;">
      <%= md(submission.code, submission.language) %>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19571683521713265, 'fraction_numerical': 0.007733491969066032, 'mean_word_length': 3.4497354497354498, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 60, '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': '7460762', 'n_tokens_mistral': 579, 'n_tokens_neox': 507, 'n_words': 128}