<commit_before>{% load subdomainurls %}
<div class="dweet-create-form-title"><span class="add-icon">+</span>Create new dweet</div>
<div class="dweet submit-box">
  <div
    class=canvas-iframe-container-wrapper
    id="submit-preview">
    <div
      class=canvas-iframe-container
      id="iframe-container-submit">
      <iframe class="dweetiframe" id=preview-iframe src="{% url 'blank_dweet' subdomain='dweet' %}" sandbox="allow-scripts"></iframe>
    </div>
  </div>
  <div class="dweet-actions">
    <a class="show-stats" href="javascript:;" target="_blank">show FPS</a>
    <a class="hide-stats visible" href="javascript:;" target="_blank">hide FPS</a>
  </div>
  <div class="dark-section">
    <code class="function-wrap">function u(t){</code>
    <form action="{% url 'dweet' %}" method="post">
      {% csrf_token %}
      <div class=dweet-code>
        <textarea
          autocorrect="off" autocapitalize="off" spellcheck="false"
          name=code
          class=code-input
          rows=4
          id=editor
          oninput="this.style.height='auto';this.style.height=this.scrollHeight+'px';"
          >c.width=1920; /* clear the canvas */
  for(i=0;i<9;i++)
  x.fillRect(400+i*100+S(t)*300, 400, 50, 200) /* draw 50x200 rects */</textarea>
      </div>
      <code class="function-wrap">} //<div class=character-count>122/140</div>
      </code>
      <div class=dweet-changed>
      {% if request.user.is_authenticated %}
        <input
          class=dweet-button
          type="submit"
          value="Post dweet!" />
      {% else %}
        <br />
        <p>Please <a href="{% url 'auth_login'  %}" >log in</a> (or <a href="{% url 'register'  %}" >register</a>) to post a dweet (copy-paste the code somewhere safe to save it meanwhile) </p>
      {% endif %}
    </form>
    </div>
  </div>
  <br />
  <code class=submit-help>
    u(t) is called 60 times per second.
    t: Elapsed time in seconds.
    S: Shorthand for Math.sin.
    C: Shorthand for Math.cos.
    T: Shorthand for Math.tan.
    R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5)
    c: A 1920x1080 canvas.
    x: A 2D context for that canvas.
  </code>
</div><commit_msg>Fix wrong closing tag order<commit_after>{% load subdomainurls %}
<div class="dweet-create-form-title"><span class="add-icon">+</span>Create new dweet</div>
<div class="dweet submit-box">
  <div
    class=canvas-iframe-container-wrapper
    id="submit-preview">
    <div
      class=canvas-iframe-container
      id="iframe-container-submit">
      <iframe class="dweetiframe" id=preview-iframe src="{% url 'blank_dweet' subdomain='dweet' %}" sandbox="allow-scripts"></iframe>
    </div>
  </div>
  <div class="dweet-actions">
    <a class="show-stats" href="javascript:;" target="_blank">show FPS</a>
    <a class="hide-stats visible" href="javascript:;" target="_blank">hide FPS</a>
  </div>
  <div class="dark-section">
    <code class="function-wrap">function u(t){</code>
    <form action="{% url 'dweet' %}" method="post">
      {% csrf_token %}
      <div class=dweet-code>
        <textarea
          autocorrect="off" autocapitalize="off" spellcheck="false"
          name=code
          class=code-input
          rows=4
          id=editor
          oninput="this.style.height='auto';this.style.height=this.scrollHeight+'px';"
          >c.width=1920; /* clear the canvas */
  for(i=0;i<9;i++)
  x.fillRect(400+i*100+S(t)*300, 400, 50, 200) /* draw 50x200 rects */</textarea>
      </div>
      <code class="function-wrap">} //<div class=character-count>122/140</div>
      </code>
      <div class=dweet-changed>
      {% if request.user.is_authenticated %}
        <input
          class=dweet-button
          type="submit"
          value="Post dweet!" />
      {% else %}
        <br />
        <p>Please <a href="{% url 'auth_login'  %}" >log in</a> (or <a href="{% url 'register'  %}" >register</a>) to post a dweet (copy-paste the code somewhere safe to save it meanwhile) </p>
      {% endif %}
    </div>
    </form>
  </div>
  <br />
  <code class=submit-help>
    u(t) is called 60 times per second.
    t: Elapsed time in seconds.
    S: Shorthand for Math.sin.
    C: Shorthand for Math.cos.
    T: Shorthand for Math.tan.
    R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5)
    c: A 1920x1080 canvas.
    x: A 2D context for that canvas.
  </code>
</div>
{'fraction_non_alphanumeric': 0.17326057298772168, 'fraction_numerical': 0.02592087312414734, 'mean_word_length': 2.8152645273200347, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 93, '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': '125705', 'n_tokens_mistral': 1628, 'n_tokens_neox': 1487, 'n_words': 353}