<commit_before>function (doc) {
    // !code util/mvp.js
    if (isChildCase(doc)) {

        function delivered_infacility(place, extra_no) {
            var i = 0,
                result,
                arr = [];
            if (extra_no) {
                arr = ["hospital", "facility", "centre", "clinic", "no", "yes"];
            } else {
                arr = ["hospital", "facility", "centre", "clinic", "yes"];
            }
            for (i; i < arr.length; i++) {
                result = arr[i];
                if (place.indexOf(result) >= 0) {
                    return true;
                }
            }
            return false;
        }

        var indicator_entries_open = {},
            indicator_entries_closed = {},
            indicators_dob_occured = {},
            indicators_dob = [];

        var status = (doc.closed) ? "closed" : "open";

        if (doc.dob || doc.dob_calc) {
            var dob_date = doc.dob_calc || doc.dob,
                weight_at_birth = doc.weight_at_birth,<commit_msg>fix view to not error on delivery_place = null<commit_after>function (doc) {
    // !code util/mvp.js
    if (isChildCase(doc)) {

        function delivered_infacility(place, extra_no) {
            var arr = ["hospital", "facility", "centre", "clinic", "yes"];
            if (extra_no) {
                arr.push("no");
            }
            return place && (arr.indexOf(place.trim()) >= 0);
        }

        var indicator_entries_open = {},
            indicator_entries_closed = {},
            indicators_dob_occured = {},
            indicators_dob = [];

        var status = (doc.closed) ? "closed" : "open";

        if (doc.dob || doc.dob_calc) {
            var dob_date = doc.dob_calc || doc.dob,
                weight_at_birth = doc.weight_at_birth,
{'fraction_non_alphanumeric': 0.1368421052631579, 'fraction_numerical': 0.0016620498614958448, 'mean_word_length': 1.5365168539325842, 'pattern_counts': {'":': 0, '<': 4, '<?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': '3836021', 'n_tokens_mistral': 566, 'n_tokens_neox': 539, 'n_words': 111}