<commit_before><?php

class auth
{
    public static function guest()
    {
        // Use keys array from config.php
        global $keys;

        // Read key from POST field
        $key = post("key");

        // Check for default configuration
        if (in_array("PLEASE-CHANGE-THIS-RANDOM-KEY", $keys, true)) {
            throw new Exception("Found default access key in configuration");
        }

        // Search for POST field "key" in keys
        return !in_array(post("key"), $keys, true);<commit_msg>Removed unused variable in auth.php<commit_after><?php

class auth
{
    public static function guest()
    {
        // Use keys array from config.php
        global $keys;

        // Check for default configuration
        if (in_array("PLEASE-CHANGE-THIS-RANDOM-KEY", $keys, true)) {
            throw new Exception("Found default access key in configuration");
        }

        // Search for POST field "key" in keys
        return !in_array(post("key"), $keys, true);
{'fraction_non_alphanumeric': 0.11278952668680765, 'fraction_numerical': 0.0, 'mean_word_length': 2.227272727272727, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4776891', 'n_tokens_mistral': 273, 'n_tokens_neox': 268, 'n_words': 92}