<commit_before><html>

<head>
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
    <script>
        function onSubmit(token) {
            document.getElementById("demo-form").submit();
        }
    </script>
</head>
<h3>
    <div>
        Test Form 1: General testing with recaptcha and formname
    </div>
    <div>
        https://localhost:3001/submit/
    </div>
</h3>
<form id="demo-form" action="https://localhost:3001/submit/" method="post">
    <div>
        <label for="name">Name:</label>
        <input type="text" id="name" name="user_name">
    </div>
    <div>
        <label for="mail">E-mail:</label>
        <input type="email" id="mail" name="user_mail">
    </div>
    <div>
        <label for="msg">Message:</label>
        <textarea id="msg" name="user_message"></textarea>
    </div>
    <div>
        <label for="select">Choose an option</label>
        <select name="user_select">
            <optgroup label="Group 1">
                <option>Option 1.1</option>
            </optgroup>
            <optgroup label="Group 2">
                <option>Option 2.1</option>
                <option>Option 2.2</option>
            </optgroup>
            <optgroup label="Group 3">
                <option>Option 3.1</option>
                <option>Option 3.2</option>
                <option>Option 3.3</option>
            </optgroup>
        </select>
    </div>
    <div>
        <input type="checkbox" id="user_checkbox" name="user_checkbox" value="checked">
        <label for="subscribeNews">Subscribe to newsletter?</label>
    </div>
    <div class="button">
        <button type="submit">Send your message</button>
    </div>
    <input type="hidden" name="_formname" value="General Form">
</form>

<h3>
    <div>
        Test Form 2: HTTPS Testing form targets with reCAPTCHA V2, _formname and _formurl
    </div>
    <div>
        https://localhost:3001/submit/sales/
    </div>
</h3>
<form id="demo-form" action="https://localhost:3001/submit/sales/" method="post">
    <div>
        <label for="name">Name:</label>
        <input type="text" id="name" name="user_name">
    </div>
    <div class="button">
        <button class="g-recaptcha" data-sitekey="<KEY>" data-callback="onSubmit" type="submit">Send your message</button>
    </div>
    <input type="hidden" name="_formname" value="Sales form">
</form>


<h3>
    <div>
        Test Form 6: AJAX
    </div>
</h3><commit_msg>Fixing tests.<commit_after><html>

<head>
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<h3>
    <div>
        Test Form 1: General testing with recaptcha and formname
    </div>
    <div>
        https://localhost:3001/submit/
    </div>
</h3>
<form id="demo-form" action="https://localhost:3001/submit/" method="post">
    <div>
        <label for="name">Name:</label>
        <input type="text" id="name" name="user_name">
    </div>
    <div>
        <label for="mail">E-mail:</label>
        <input type="email" id="mail" name="user_mail">
    </div>
    <div>
        <label for="msg">Message:</label>
        <textarea id="msg" name="user_message"></textarea>
    </div>
    <div>
        <label for="select">Choose an option</label>
        <select name="user_select">
            <optgroup label="Group 1">
                <option>Option 1.1</option>
            </optgroup>
            <optgroup label="Group 2">
                <option>Option 2.1</option>
                <option>Option 2.2</option>
            </optgroup>
            <optgroup label="Group 3">
                <option>Option 3.1</option>
                <option>Option 3.2</option>
                <option>Option 3.3</option>
            </optgroup>
        </select>
    </div>
    <div>
        <input type="checkbox" id="user_checkbox" name="user_checkbox" value="checked">
        <label for="subscribeNews">Subscribe to newsletter?</label>
    </div>
    <div class="button">
        <button type="submit">Send your message</button>
    </div>
    <input type="hidden" name="_formname" value="General Form">
</form>

<h3>
    <div>
        Test Form 2: HTTPS Testing form targets with reCAPTCHA V2, _formname and _formurl
    </div>
    <div>
        https://localhost:3001/submit/sales/
    </div>
</h3>
<form id="demo-form" action="https://localhost:3001/submit/sales/" method="post">
    <div>
        <label for="name">Name:</label>
        <input type="text" id="name" name="user_name">
    </div>
    <div class="g-recaptcha" data-sitekey="<KEY>"></div>
    <br/>
    <input type="submit" value="Submit">
  </form>
    <input type="hidden" name="_formname" value="Sales form">
</form>


<h3>
    <div>
        Test Form 6: AJAX
    </div>
</h3>
{'fraction_non_alphanumeric': 0.17498942022852307, 'fraction_numerical': 0.017350825222175202, 'mean_word_length': 2.3335684062059237, 'pattern_counts': {'":': 0, '<': 178, '<?xml version=': 0, '>': 178, 'https://': 10, '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': '6669725', 'n_tokens_mistral': 1591, 'n_tokens_neox': 1510, 'n_words': 329}