<commit_before><?php
$data = ["Bryan" => [],
         "Daniel" => [],
         "Dorothy" => [],
         "Gabri" => [],
         "Martin" => [],
         "Meg" => [],
         "Paula" => [],
         "Vic" => []];

$handle = fopen("player.tsv", "r");
$lnum = 0;
while (($l = fgets($handle)) !== false) {
    ++$lnum;
    if ($lnum == 1) {
        continue;
    }
    $ll = explode("\t", trim($l));
    $data[$ll[0]] = array_slice($ll, 1);
}

echo json_encode($data);
?>
<commit_msg>Testing file location<commit_after><?php
$data = ["Bryan" => [],
         "Daniel" => [],
         "Dorothy" => [],
         "Gabri" => [],
         "Martin" => [],
         "Meg" => [],
         "Paula" => [],
         "Vic" => []];

$handle = fopen("projects/ap2017/assets/player.tsv", "r");
$lnum = 0;
while (($l = fgets($handle)) !== false) {
    ++$lnum;
    if ($lnum == 1) {
        continue;
    }
    $ll = explode("\t", trim($l));
    $data[$ll[0]] = array_slice($ll, 1);
}

echo json_encode($data);
?>

{'fraction_non_alphanumeric': 0.2743718592964824, 'fraction_numerical': 0.012060301507537688, 'mean_word_length': 2.1320754716981134, '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': '7140536', 'n_tokens_mistral': 391, 'n_tokens_neox': 373, 'n_words': 66}