<commit_before><commit_msg>Cleaning up some non used code, adding positions file. Returns JSON of positions. Probably going to make a page that joins all of this togeter to get all possible info about a user<commit_after><?php
require_once 'database.php';

$member_query = "SELECT name, level position FROM `member`;";
if ($result = $conn->query($member_query)) {

//    $data = array();

    while ($row = $result->fetch_object()) {
        $data[] = $row;
//        var_dump($row);
//        echo "<br>";
    }

    $json = json_encode($data);

    echo $json;

    $result->close();
}

?>
{'fraction_non_alphanumeric': 0.1505922165820643, 'fraction_numerical': 0.0, 'mean_word_length': 3.289855072463768, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '2177498', 'n_tokens_mistral': 182, 'n_tokens_neox': 178, 'n_words': 60}