<commit_before><!DOCTYPE html>

<html lang="en">
{% include 'head.twig' %}
<body>
    <div class="container">
        <div class="header clearfix">

            {% include 'header.twig' %}

            {% if not isBlocked %}
                <ul class="nav nav-pills">
                  <li role="presentation" class="active"><a href="new">New</a></li>
                  <li role="presentation"><a href="active">Active</a></li>
                  <li role="presentation"><a href="revoked">Revoked</a></li>
                  <li role="presentation"><a href="documentation">Documentation</a></li>
                </ul>
            {% endif %}
        </div>

        {% if isBlocked %}

            {% include 'blocked.twig' %}

        {% else %} 
            <h2>New</h2>
            <p>
                Here you can create a new configuration for your VPN client. Enter a name, e.g. <em>Phone</em>, in the box below and click
              <em>Download</em>. See <a href="documentation">documentation</a> for more information. You can also use the <a href="?advanced=1">advanced</a> mode.
            </p>

            <form class="form-horizontal" method="post">
              <div class="form-group">
                <label for="inputName" class="col-sm-1 control-label">Name</label>
                <div class="col-sm-6">
                  <input type="text" name="name" class="form-control" id="inputName" maxlength="32" placeholder="Name" required pattern="[a-zA-Z0-9-_.@]+">
                  <span id="helpBlock" class="help-block">Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>-</code>, <code>_</code>, <code>.</code>, <code>@</code>.</span>
                </div>
              </div>

              {% if advanced %}
              <div class="form-group">
                <div class="col-sm-offset-1 col-sm-6">
                  <div class="checkbox">
                    <label>
                      <input name="option_zip" type="checkbox"> ZIP
                    </label>
                    <span id="helpBlock" class="help-block">Download a ZIP file containing separate certificate and key files.</span>
                  </div>
                </div>
              </div>
              {% endif %}

              <div class="form-group">
                <div class="col-sm-offset-1 col-sm-5">
                  <button type="submit" class="btn btn-primary">Download</button>
                </div>
              </div>
            </form>

        {% endif %}

        {% include 'footer.twig' %}
    </div> <!-- /container -->
</body>
</html>
<commit_msg>do not mention switching to advanced in advanced screen<commit_after><!DOCTYPE html>

<html lang="en">
{% include 'head.twig' %}
<body>
    <div class="container">
        <div class="header clearfix">

            {% include 'header.twig' %}

            {% if not isBlocked %}
                <ul class="nav nav-pills">
                  <li role="presentation" class="active"><a href="new">New</a></li>
                  <li role="presentation"><a href="active">Active</a></li>
                  <li role="presentation"><a href="revoked">Revoked</a></li>
                  <li role="presentation"><a href="documentation">Documentation</a></li>
                </ul>
            {% endif %}
        </div>

        {% if isBlocked %}

            {% include 'blocked.twig' %}

        {% else %} 
            <h2>New</h2>
            <p>
                Here you can create a new configuration for your VPN client. Enter a name, e.g. <em>Phone</em>, in the box below and click
              <em>Download</em>. See <a href="documentation">documentation</a> for more information. You can also use the {% if advanced %}<a href="?advanced=0">simple</a>{% else %}<a href="?advanced=1">advanced</a>{% endif %} mode.
            </p>

            <form class="form-horizontal" method="post">
              <div class="form-group">
                <label for="inputName" class="col-sm-1 control-label">Name</label>
                <div class="col-sm-6">
                  <input type="text" name="name" class="form-control" id="inputName" maxlength="32" placeholder="Name" required pattern="[a-zA-Z0-9-_.@]+">
                  <span id="helpBlock" class="help-block">Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>-</code>, <code>_</code>, <code>.</code>, <code>@</code>.</span>
                </div>
              </div>

              {% if advanced %}
              <div class="form-group">
                <div class="col-sm-offset-1 col-sm-6">
                  <div class="checkbox">
                    <label>
                      <input name="option_zip" type="checkbox"> ZIP
                    </label>
                    <span id="helpBlock" class="help-block">Download a ZIP file containing separate certificate and key files.</span>
                  </div>
                </div>
              </div>
              {% endif %}

              <div class="form-group">
                <div class="col-sm-offset-1 col-sm-5">
                  <button type="submit" class="btn btn-primary">Download</button>
                </div>
              </div>
            </form>

        {% endif %}

        {% include 'footer.twig' %}
    </div> <!-- /container -->
</body>
</html>

{'fraction_non_alphanumeric': 0.17254313578394598, 'fraction_numerical': 0.005813953488372093, 'mean_word_length': 1.682595573440644, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3065790', 'n_tokens_mistral': 1614, 'n_tokens_neox': 1463, 'n_words': 344}