<commit_before><script id="topic_item" type="text/html">
  <article>
    <p class="unread">
      <mark>{{#member}}<a {{#unread}}class="new"{{/unread}} href="{{path}}/page/{{page}}#{{hash}}">{{unread}}</a>{{/member}}</mark>
    </p>
    <header>
      <h3><a href="{{path}}">{{title}}</a></h3>
      <h4>by {{last_user}} le {{posted_at}}</h4>
    </header>
    <hr />
</script>

<script id="topic_new" type="text/html">
  <h2>New topic</h2>
  <form accept-charset="UTF-8" action="/topics" method="post">
  <input name="utf8" type="hidden" value="&#x2713;" />
  <fieldset>
    <p>
      <label class="string required" for="topic_title"><abbr title="required">*</abbr> Title</label>
      <input class="string required" id="topic_title" name="topic[title]" required="required" size="50" type="text" />
    </p>
    <label class="text required" for="topic_posts_attributes_0_body"><abbr title="required">*</abbr> Body</label>
    <textarea class="text required" cols="40" id="topic_posts_0_body" name="topic[posts][0][body]" required="required" rows="20"></textarea></div>
  </fieldset>
  <input name="commit" type="submit" value="Submit" />
  </form>
</script>

<script id="topic_edit" type="text/html">
  <h2>{{title}}</h2>
  <form accept-charset="UTF-8" action="{{path}}" method="post">
    <input name="_method" type="hidden" value="put">
    <input name="utf8" type="hidden" value="&#x2713;" />
    <fieldset>
      <p>
        <label class="string required" for="topic_title"><abbr title="required">*</abbr> Title</label>
        <input class="string required" value="{{title}}" id="topic_title" name="topic[title]" required="required" size="50" type="text" />
      </p>
      <input name="topic[members_list]" id="members_list" value="{{members_list}}" />
    </fieldset>
    <input name="commit" type="submit" value="Submit" />
  </form>
</script>

<script id="topic" type="text/html">
  <ul class='topic-info'></ul>
  <hr />
  <nav class="pagination"></nav>
  <section id="posts"></section>
  <nav class="pagination"></nav>
  <section id="new_post"></section>
</script>

<script id="topic_info" type="text/html">
  {{#is_creator}}
  <li class="edit"><a href="{{path}}/edit">Edit</a></li>
  {{/is_creator}}
  <li class='posts'>{{member_posts_count}}/ {{posts_count}}</li>
  <li class='members'>{{members_size}}</li>
</script>

<script id="topics" type="text/html">
  <nav class="pagination"></nav>
  <section class="topics"></section>
  <nav class="pagination"></nav>
</script>

<script id="post_new" type="text/html">
  <form accept-charset="UTF-8" action="{{path}}/posts" method="post">
    <input name="utf8" type="hidden" value="✓">
    <label for="post_body">Comment</label>
    <textarea cols="40" id="post_body" name="post[body]" rows="20"></textarea>
    <input class="right" name="commit" type="submit" value="Save">
    <ul class="left help">
      <li><a href="/smilies">Smilies</a></li>
      <li> - </li>
      <li><a href="{{path}}/posts/textile">Markup</a></li>
  </ul>
    <hr />
  </form>
</script>

<script id="textile" type="text/html">
  <h2>Markup</h2>
  <ul>
    <li>*bold text*</li>
    <li>_italic text_</li>
    <li>*_bold italic text_*</li>
    <li>-strikethrough text-</li>
    <li>*-bold strikethrough text-*</li>
    <li>*_-bold italic strikethrough text-_*</li>
    <li>+underlined text+</li>
    <li>*+bold underlined text+*</li>
    <li>_+italic underlined text+_</li>
    <li>*_+bold italic underlined text+_*</li>
    <li>*_-+bold italic strikethrough underlined text+-_*</li>
    <li>* bulleted list</li>
    <li>* bulleted list</li>
    <li>** 2-level</li>
    <li>"Link to Wikipedia":http://www.wikipedia.org</li>
    <li>!http://commons.wikimedia.org/wiki/Special:Filepath/Wikipedia-logo-en.png!</li>
    <li>Brand ^TM^</li>
  </ul>
</script>

<script id="post_edit" type="text/html">
  <form accept-charset="UTF-8" action="{{path}}" method="post">
    <input name="utf8" type="hidden" value="✓">
    <input name="_method" type="hidden" value="put">
    <label for="post_body">Comment</label>
    <textarea cols="40" id="post_body" name="post[body]" rows="20">{{raw}}</textarea>
    <p>
    <input name="commit" type="submit" value="save">
    </p>
  </form>
  <a href="/smilies">Smilies</a>
</script>

<script id="smiley_item" type="text/html">
  <img width="{{width}}px" height="{{height}}px" src="{{path}}?{{ts}}" alt=":{{code}}:" title=":{{code}}:" />
</script>

<script id="smiley_new" type="text/html">
  <h2>New smiley</h2>
  <form accept-charset="UTF-8" action="/smilies" enctype="multipart/form-data" method="post">
    <fieldset>
      <dl class="errors"></dl>
      <input name="utf8" type="hidden" value="✓">
      <input name="authenticity_token" type="hidden" value="{{token}}">
      <label for="smiley[code]">code</label>
      <input id="smiley_code" name="smiley[code]" size="30" type="text">
      <label for="smiley_image">Image</label>
      <input id="smiley_image" name="smiley[image]" type="file">
      <input name="commit" type="submit" value="save">
      <meter max="100" value="0" id="status"></meter>
    </fieldset>
  </form>
</script>

<script type="text/html" id="post">
  <article class='post' id="p{{pid}}">
    <h4>
      <a href="/users/{{creator_s}}"><img = src="/uploads/avatars/{{creator_s}}.png" /></a>
      <br />
      <a class="user" href="/users/{{creator_s}}">{{creator_n}}</a>
    </h4>
    {{#current}}
    <a class="edit" href="{{path}}/edit">Edit</a>
    {{#published}}
    <form accept-charset="UTF-8" action="{{path}}" class="simple_form post" method="post">
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="delete">
      <input id="delete_submit" name="commit" type="submit" value="Delete" />
    </form>
    {{/published}}
    {{#deleted}}
    <form accept-charset="UTF-8" action="{{path}}/publish" class="simple_form post" method="post">
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="put">
      <input id="publish_submit" name="commit" type="submit" value="Publish" />
    </form>
    {{/deleted}}
    {{/current}}
    <time>
      {{created_at}}
    </time>
    <div class='bubble'>
      {{{content}}}
    </div>
    <hr />
</script>

<script type="text/html" id="user">
  <p>Messages : {{ posts_count }}</p>
  <p><a href="{{path}}"><img = src="{{avatar_path}}" /></a></p>
</script>

<script type="text/html" id="user_edit">
  <h2>Account</h2>
  <form accept-charset="UTF-8" action="{{path}}" enctype="multipart/form-data" id="user-edit" method="post">
    <fieldset>
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="put">
      <input name="authenticity_token" type="hidden" value="{{token}}"><commit_msg>show user name on user info page<commit_after><script id="topic_item" type="text/html">
  <article>
    <p class="unread">
      <mark>{{#member}}<a {{#unread}}class="new"{{/unread}} href="{{path}}/page/{{page}}#{{hash}}">{{unread}}</a>{{/member}}</mark>
    </p>
    <header>
      <h3><a href="{{path}}">{{title}}</a></h3>
      <h4>by {{last_user}} le {{posted_at}}</h4>
    </header>
    <hr />
</script>

<script id="topic_new" type="text/html">
  <h2>New topic</h2>
  <form accept-charset="UTF-8" action="/topics" method="post">
  <input name="utf8" type="hidden" value="&#x2713;" />
  <fieldset>
    <p>
      <label class="string required" for="topic_title"><abbr title="required">*</abbr> Title</label>
      <input class="string required" id="topic_title" name="topic[title]" required="required" size="50" type="text" />
    </p>
    <label class="text required" for="topic_posts_attributes_0_body"><abbr title="required">*</abbr> Body</label>
    <textarea class="text required" cols="40" id="topic_posts_0_body" name="topic[posts][0][body]" required="required" rows="20"></textarea></div>
  </fieldset>
  <input name="commit" type="submit" value="Submit" />
  </form>
</script>

<script id="topic_edit" type="text/html">
  <h2>{{title}}</h2>
  <form accept-charset="UTF-8" action="{{path}}" method="post">
    <input name="_method" type="hidden" value="put">
    <input name="utf8" type="hidden" value="&#x2713;" />
    <fieldset>
      <p>
        <label class="string required" for="topic_title"><abbr title="required">*</abbr> Title</label>
        <input class="string required" value="{{title}}" id="topic_title" name="topic[title]" required="required" size="50" type="text" />
      </p>
      <input name="topic[members_list]" id="members_list" value="{{members_list}}" />
    </fieldset>
    <input name="commit" type="submit" value="Submit" />
  </form>
</script>

<script id="topic" type="text/html">
  <ul class='topic-info'></ul>
  <hr />
  <nav class="pagination"></nav>
  <section id="posts"></section>
  <nav class="pagination"></nav>
  <section id="new_post"></section>
</script>

<script id="topic_info" type="text/html">
  {{#is_creator}}
  <li class="edit"><a href="{{path}}/edit">Edit</a></li>
  {{/is_creator}}
  <li class='posts'>{{member_posts_count}}/ {{posts_count}}</li>
  <li class='members'>{{members_size}}</li>
</script>

<script id="topics" type="text/html">
  <nav class="pagination"></nav>
  <section class="topics"></section>
  <nav class="pagination"></nav>
</script>

<script id="post_new" type="text/html">
  <form accept-charset="UTF-8" action="{{path}}/posts" method="post">
    <input name="utf8" type="hidden" value="✓">
    <label for="post_body">Comment</label>
    <textarea cols="40" id="post_body" name="post[body]" rows="20"></textarea>
    <input class="right" name="commit" type="submit" value="Save">
    <ul class="left help">
      <li><a href="/smilies">Smilies</a></li>
      <li> - </li>
      <li><a href="{{path}}/posts/textile">Markup</a></li>
  </ul>
    <hr />
  </form>
</script>

<script id="textile" type="text/html">
  <h2>Markup</h2>
  <ul>
    <li>*bold text*</li>
    <li>_italic text_</li>
    <li>*_bold italic text_*</li>
    <li>-strikethrough text-</li>
    <li>*-bold strikethrough text-*</li>
    <li>*_-bold italic strikethrough text-_*</li>
    <li>+underlined text+</li>
    <li>*+bold underlined text+*</li>
    <li>_+italic underlined text+_</li>
    <li>*_+bold italic underlined text+_*</li>
    <li>*_-+bold italic strikethrough underlined text+-_*</li>
    <li>* bulleted list</li>
    <li>* bulleted list</li>
    <li>** 2-level</li>
    <li>"Link to Wikipedia":http://www.wikipedia.org</li>
    <li>!http://commons.wikimedia.org/wiki/Special:Filepath/Wikipedia-logo-en.png!</li>
    <li>Brand ^TM^</li>
  </ul>
</script>

<script id="post_edit" type="text/html">
  <form accept-charset="UTF-8" action="{{path}}" method="post">
    <input name="utf8" type="hidden" value="✓">
    <input name="_method" type="hidden" value="put">
    <label for="post_body">Comment</label>
    <textarea cols="40" id="post_body" name="post[body]" rows="20">{{raw}}</textarea>
    <p>
    <input name="commit" type="submit" value="save">
    </p>
  </form>
  <a href="/smilies">Smilies</a>
</script>

<script id="smiley_item" type="text/html">
  <img width="{{width}}px" height="{{height}}px" src="{{path}}?{{ts}}" alt=":{{code}}:" title=":{{code}}:" />
</script>

<script id="smiley_new" type="text/html">
  <h2>New smiley</h2>
  <form accept-charset="UTF-8" action="/smilies" enctype="multipart/form-data" method="post">
    <fieldset>
      <dl class="errors"></dl>
      <input name="utf8" type="hidden" value="✓">
      <input name="authenticity_token" type="hidden" value="{{token}}">
      <label for="smiley[code]">code</label>
      <input id="smiley_code" name="smiley[code]" size="30" type="text">
      <label for="smiley_image">Image</label>
      <input id="smiley_image" name="smiley[image]" type="file">
      <input name="commit" type="submit" value="save">
      <meter max="100" value="0" id="status"></meter>
    </fieldset>
  </form>
</script>

<script type="text/html" id="post">
  <article class='post' id="p{{pid}}">
    <h4>
      <a href="/users/{{creator_s}}"><img = src="/uploads/avatars/{{creator_s}}.png" /></a>
      <br />
      <a class="user" href="/users/{{creator_s}}">{{creator_n}}</a>
    </h4>
    {{#current}}
    <a class="edit" href="{{path}}/edit">Edit</a>
    {{#published}}
    <form accept-charset="UTF-8" action="{{path}}" class="simple_form post" method="post">
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="delete">
      <input id="delete_submit" name="commit" type="submit" value="Delete" />
    </form>
    {{/published}}
    {{#deleted}}
    <form accept-charset="UTF-8" action="{{path}}/publish" class="simple_form post" method="post">
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="put">
      <input id="publish_submit" name="commit" type="submit" value="Publish" />
    </form>
    {{/deleted}}
    {{/current}}
    <time>
      {{created_at}}
    </time>
    <div class='bubble'>
      {{{content}}}
    </div>
    <hr />
</script>

<script type="text/html" id="user">
  <h2>{{nickname}}</h4>
  <p>Messages : {{ posts_count }}</p>
  <p><a href="{{path}}"><img = src="{{avatar_path}}" /></a></p>
</script>

<script type="text/html" id="user_edit">
  <h2>Account</h2>
  <form accept-charset="UTF-8" action="{{path}}" enctype="multipart/form-data" id="user-edit" method="post">
    <fieldset>
      <input name="utf8" type="hidden" value="✓">
      <input name="_method" type="hidden" value="put">
      <input name="authenticity_token" type="hidden" value="{{token}}">
{'fraction_non_alphanumeric': 0.24253813840371435, 'fraction_numerical': 0.0098754513965657, 'mean_word_length': 4.438877755511022, 'pattern_counts': {'":': 6, '<': 483, '<?xml version=': 0, '>': 483, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3210292', 'n_tokens_mistral': 5008, 'n_tokens_neox': 4863, 'n_words': 886}