<commit_before>import PathIndexable

private struct PrioritizedDirectoryQueue {
    let directories: [JSONDirectory]

    subscript(_ fileName: String, indexes: [PathIndex]) -> JSON? {
        return directories
            .lazy
            .flatMap { directory in return directory[fileName, indexes] }
            .first
    }
}


/**
    Parses and interprets configuration files
    included under Config in the working directory.

    Files stored in the Config directory can be accessed
    via `app.config["filename", "property"]`.

    For example, a file named `Config/app.json` containing
    `{"port": 80}` can be accessed with `app.config["app" "port"].int`.
    To override certain configurations for a given environment,<commit_msg>spacing<commit_after>import PathIndexable

private struct PrioritizedDirectoryQueue {
    let directories: [JSONDirectory]

    subscript(_ fileName: String, indexes: [PathIndex]) -> JSON? {
        return directories
            .lazy
            .flatMap { directory in return directory[fileName, indexes] }
            .first
    }
}

/**
    Parses and interprets configuration files
    included under Config in the working directory.

    Files stored in the Config directory can be accessed
    via `app.config["filename", "property"]`.

    For example, a file named `Config/app.json` containing
    `{"port": 80}` can be accessed with `app.config["app" "port"].int`.
    To override certain configurations for a given environment,
{'fraction_non_alphanumeric': 0.09023569023569024, 'fraction_numerical': 0.0026936026936026937, 'mean_word_length': 3.1049723756906076, 'pattern_counts': {'":': 2, '<': 3, '<?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': '6697945', 'n_tokens_mistral': 387, 'n_tokens_neox': 370, 'n_words': 141}