<commit_before><?php
 
if(isset($_POST['email'])) {
 
    // EDIT THE 2 LINES BELOW AS REQUIRED
 
    $email_to = "<EMAIL>";
 
    $email_subject = "Contact Form";
 
    function died($error) {
 
        // your error code can go here
 
        echo "This message could not be sent. "; 
        
       echo $error."<br /><br />"; 
 
        die();
 
    }
 
    // validation expected data exists
 
    if(!isset($_POST['name']) ||
 
        !isset($_POST['email']) ||
 
        !isset($_POST['message'])) {
 
        died('There are errors in the form.');      
 
    }
 
    $name = $_POST['name']; // required
 
    $email = $_POST['email']; // required
 
    $message = $_POST['message']; // required
 
    $error_message = "";
 <commit_msg>fix variable<commit_after><?php
 
if(isset($_POST['email'])) {
 
    // EDIT THE 2 LINES BELOW AS REQUIRED
 
    $email_to = "<EMAIL>";
 
    $email_subject = "Contact Form";
 
    function died($error) {
 
        // your error code can go here
 
        echo "This message could not be sent. "; 
        
       echo $error."<br /><br />"; 
 
        die();
 
    }
 
    // validation expected data exists
 
    if(!isset($_POST['name']) ||
 
        !isset($_POST['email']) ||
 
        !isset($_POST['message'])) {
 
        died('There are errors in the form.');      
 
    }
 
    $name = $_POST['name']; // required
 
    $email_from = $_POST['email']; // required
 
    $message = $_POST['message']; // required
 
    $error_message = "";
 
{'fraction_non_alphanumeric': 0.17245989304812834, 'fraction_numerical': 0.001336898395721925, 'mean_word_length': 1.9352941176470588, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5257299', 'n_tokens_mistral': 499, 'n_tokens_neox': 417, 'n_words': 113}