<commit_before><form<?php foreach ($ATTRIBUTES as $name => $value) : ?> <?php echo $name ?>="<?php echo $value ?>"<?php endforeach ?>>
<?php if ($ERROR and isset($OPTIONS['error'])) : ?>
<div class="error"><?php echo $OPTIONS['error'] ?></div>
<?php endif ?>
<?php if ($SUCCESS and isset($OPTIONS['success'])) : ?>
<div class="success"><?php echo $OPTIONS['success'] ?></div>
<?php endif ?>
<?php if (isset($ACTION)) : ?>
<input type="hidden" name="<?php echo $ACTION ?>" value="submit" />
<?php endif ?>
<?php foreach ($ELEMENTS as $element) : ?><commit_msg>[Form] bug fix: put request_uri into action attribute + use a hidden element for catching submission<commit_after><form<?php foreach ($ATTRIBUTES as $name => $value) : ?> <?php echo $name ?>="<?php echo $value ?>"<?php endforeach ?>>
<?php if ($ERROR and isset($OPTIONS['error'])) : ?>
<div class="error"><?php echo $OPTIONS['error'] ?></div>
<?php endif ?>
<?php if ($SUCCESS and isset($OPTIONS['success'])) : ?>
<div class="success"><?php echo $OPTIONS['success'] ?></div>
<?php endif ?>
<?php if (isset($ACTION)) : ?>
<input name="<?php echo $ACTION ?>" value="submit" type="hidden" />
<?php endif ?>
<?php foreach ($ELEMENTS as $element) : ?>
{'fraction_non_alphanumeric': 0.24564315352697094, 'fraction_numerical': 0.0, 'mean_word_length': 6.444444444444445, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, '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': '5316487', 'n_tokens_mistral': 371, 'n_tokens_neox': 377, 'n_words': 122}