<commit_before><h1>Apply to CalFresh (food assistance) in San Francisco</h1>
<br>
<br>
<form name="apply" action="applications" method="post">
Name: <input type="text" name="name"><br>
Address: <input type="text" name="home_address"><br>
City: San Francisco, CA<br>
<input type="hidden" name="home_city" value="San Francisco">
<input type="hidden" name="home_state" value="CA">
Zip Code: <input type="text" name="home_zip_code"><br>
<br><br>
(Optional)<br>
Phone Number: <input type="text" name="home_phone_number"><br>
Email: <input type="text" name="email"><br>
<br>
<br>
Sign Here:
<br>
<br>
<input type="submit" value="Apply!">
</form><commit_msg>Implement signature capture with form submission<commit_after><script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/flashcanvas.js"></script>
<![endif]-->
<script src="js/jSignature.min.js"></script>
<script>
  $(document).ready(function() {
    $("#signature_area").jSignature()
    // Magic modified from http://paulology.com/signature-capture/
    var $sigdiv = $("#signature_area")
    $('#submit_button').click(function(e) {
      var datapair = $sigdiv.jSignature("getData", "image")
      $("#signature_value_hidden").append("<input type=\"hidden\" name=\"signature\" value=\"" + datapair[1] + "\">")
    });
  })
</script>

<h1>Apply to CalFresh (food assistance) in San Francisco</h1>
<br>
<br>
<form name="apply" action="applications" method="post">
Name: <input type="text" name="name"><br>
Address: <input type="text" name="home_address"><br>
City: San Francisco, CA<br>
<input type="hidden" name="home_city" value="San Francisco">
<input type="hidden" name="home_state" value="CA">
Zip Code: <input type="text" name="home_zip_code"><br>
<br><br>
(Optional)<br>
Phone Number: <input type="text" name="home_phone_number"><br>
Email: <input type="text" name="email"><br>
<br>
<br>
Sign Here:
<div id="signature_area"></div>
<div id="signature_value_hidden"></div>
<br>
<br>
<input id="submit_button" type="submit" value="Apply!">
</form>
{'fraction_non_alphanumeric': 0.21486810551558752, 'fraction_numerical': 0.004796163069544364, 'mean_word_length': 6.931558935361217, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, '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': '5783289', 'n_tokens_mistral': 721, 'n_tokens_neox': 713, 'n_words': 164}