<commit_before><?php
        require_once("info.php");
        $isset_user=isset($_POST[$appUser]);
        $isset_password=isset($_POST[appPassword]);
        $isset_pin=isset($_POST[$pin]);
        $isset_state=isset($_POST[$pinState]);
        $response=array();
        if($isset_user&&$isset_password&&$isset_pin&&$isset_state){
                $valid_user=$_POST[$appUser]==$user;
                $valid_password=$_POST[$appPassword]==$password;
                if($valid_user&&$valid_password){
                        $pinNumber=$_POST[$pin];
                        $stateValue=$_POST[$pinState];
                        $response=exec($writeUrl." ".$pinNumber." ".$stateValue);
                }else{
                        $response[$state]=$invalidCredentials;
                        $response[$message]=$invalidCredentialsMessage;
                        print(json_encode($response));
                }
        }else{
                $response[$state]=$noCredetialsSend;
                $response[$message]=$noCredetialsSendMessage;
                print(json_encode($response));
        }
?>
<commit_msg>write pin state<commit_after><?php
        require_once("info.php");
        $isset_user=isset($_POST[$appUser]);
        $isset_password=isset($_POST[$appPassword]);
        $isset_pin=isset($_POST[$pin]);
        $isset_state=isset($_POST[$pinState]);
        $response=array();
        if($isset_user&&$isset_password&&$isset_pin&&$isset_state){
                $valid_user=$_POST[$appUser]==$user;
                $valid_password=$_POST[$appPassword]==$password;
                if($valid_user&&$valid_password){
                        $pinNumber=$_POST[$pin];
                        $stateValue=$_POST[$pinState];
                        $response=exec($writeUrl." ".$pinNumber." ".$stateValue);
                }else{
                        $response[$state]=$invalidCredentials;
                        $response[$message]=$invalidCredentialsMessage;
                        print(json_encode($response));
                }
        }else{
                $response[$state]=$noCredetialsSend;
                $response[$message]=$noCredetialsSendMessage;
                print(json_encode($response));
        }
?>

{'fraction_non_alphanumeric': 0.1510022271714922, 'fraction_numerical': 0.0, 'mean_word_length': 1.9748344370860926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2826688', 'n_tokens_mistral': 601, 'n_tokens_neox': 578, 'n_words': 50}