<commit_before><?php

    class stats extends module {
        
        public $allowedMethods = array();
        
        public $pageName = 'Game Statistics';

        public function getUsers($alive) {

            if ($alive) {
                $sql = "SELECT * FROM users WHERE U_userLevel = 1 AND U_status != 0 ORDER BY U_id DESC LIMIT 0, 20";
                $timer = "signup";
            } else {
                $sql = "SELECT * FROM users WHERE U_userLevel = 1 AND U_status = 0 ORDER BY U_id DESC LIMIT 0, 20";
                $timer = "killed";
            }

            $users = $this->db->prepare($sql);
            $users->execute();
            $allUsers = $users->fetchAll(PDO::FETCH_ASSOC);

            $userObjects = array();

            foreach ($allUsers as $user) {
                $user = new User($user["U_id"]);
                $userObjects[] = array(
                    "user" => $user->user, 
                    "date" => $this->date($user->getTimer($timer))
                );
            }

            return $userObjects;

        }
        <commit_msg>Update stats.inc.php<commit_after><?php

    class stats extends module {
        
        public $allowedMethods = array();
        
        public $pageName = 'Game Statistics';

        public function getUsers($alive) {

            if ($alive) {
                $sql = "
                    SELECT * FROM users INNER JOIN userTimers ON (UT_user = U_id AND UT_desc = 'signup') WHERE U_userLevel = 1 AND U_status != 0 ORDER BY UT_time DESC LIMIT 0, 20
                ";
                $timer = "signup";
            } else {
                $sql = "
                    SELECT * FROM users INNER JOIN userTimers ON (UT_user = U_id AND UT_desc = 'killed') WHERE U_userLevel = 1 AND U_status = 0 ORDER BY UT_time DESC LIMIT 0, 20
                ";
                $timer = "killed";
            }

            $users = $this->db->prepare($sql);
            $users->execute();
            $allUsers = $users->fetchAll(PDO::FETCH_ASSOC);

            $userObjects = array();

            foreach ($allUsers as $user) {
                $user = new User($user["U_id"]);
                $userObjects[] = array(
                    "user" => $user->user, 
                    "date" => $this->date($user->getTimer($timer))
                );
            }

            return $userObjects;

        }
        
{'fraction_non_alphanumeric': 0.12025052192066805, 'fraction_numerical': 0.008350730688935281, 'mean_word_length': 1.358267716535433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '394552', 'n_tokens_mistral': 710, 'n_tokens_neox': 641, 'n_words': 175}