<commit_before><?php
require_once('dbconfig.php');
session_start();
?>
<form action="process_registration.php" method="POST">
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Username (your email address): </span>
    <input type="text" name="username" value=""/> 
    <?php if($_SESSION['usernameerror'] == 'exists') { ?> 
    <span class="errormessage">The specified email address has an existing account. </span>
    <?php } else if($_SESSION['usernameerror'] == 'invalid') { ?> 
    <span class="errormessage">Invalid email address given for username. </span>
    <?php } ?>
  </div> 
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Password: </span>
    <input type="text" name="pw1" value=""/> 
    <?php if($_SESSION['passworderror']) { ?> 
    <span class="errormessage">Password invalid or did not match. </span>
    <?php } ?>
  </div> 
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Password (repeat): </span>
    <input type="text" name="pw2" value=""/> 
    <?php if($_SESSION['passworderror']) { ?> 
    <span class="errormessage">Password invalid or did not match. </span>
    <?php } ?>
  </div> 
  <input type="submit" name="createuser" value="Submit Registration">
</form>
<?php
unset($_SESSION['passworderror']);
unset($_SESSION['usernameerror']);
?>
<commit_msg>demoing github, no real change<commit_after><?php
require_once('dbconfig.php');
session_start();


?>
<form action="process_registration.php" method="POST">
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Username (your email address): </span>
    <input type="text" name="username" value=""/> 
    <?php if($_SESSION['usernameerror'] == 'exists') { ?> 
    <span class="errormessage">The specified email address has an existing account. </span>
    <?php } else if($_SESSION['usernameerror'] == 'invalid') { ?> 
    <span class="errormessage">Invalid email address given for username. </span>
    <?php } ?>
  </div> 
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Password: </span>
    <input type="text" name="pw1" value=""/> 
    <?php if($_SESSION['passworderror']) { ?> 
    <span class="errormessage">Password invalid or did not match. </span>
    <?php } ?>
  </div> 
  <div class="<?= $_SESSION['passworderror'] ? 'formfielderror' : 'formfield'?>">
    <span class="formfieldname">Password (repeat): </span>
    <input type="text" name="pw2" value=""/> 
    <?php if($_SESSION['passworderror']) { ?> 
    <span class="errormessage">Password invalid or did not match. </span>
    <?php } ?>
  </div> 
  <input type="submit" name="createuser" value="Submit Registration">
</form>
<?php
unset($_SESSION['passworderror']);
unset($_SESSION['usernameerror']);
?>

{'fraction_non_alphanumeric': 0.2057737495803961, 'fraction_numerical': 0.001342732460557234, 'mean_word_length': 5.044624746450304, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '3169640', 'n_tokens_mistral': 914, 'n_tokens_neox': 919, 'n_words': 216}