<commit_before>import canada from './canada'
import australia from './australia'
import app from './app'
import common from './common'
import {Region, RegionId} from "../definitions/auxillary/Region"

const regions = [
    canada,
    australia,
]

function getRegionById(targetId: RegionId, regionList = regions): Region | null {
    for (let region of regionList) {
        if (region.id === targetId) {
            return region
        }
    }
    return null
}

const data = {
    app,
    regions,
    getRegionById,
    common,
}

export {
    app,
    regions,
    common,
}

export default data
<commit_msg>Add New Zealand<commit_after>import canada from './canada'
import australia from './australia'
import app from './app'
import common from './common'
import {Region, RegionId} from "../definitions/auxillary/Region"
import new_zealand from "./new_zealand/index"

const regions = [
    canada,
    australia,
    new_zealand,
]

function getRegionById(targetId: RegionId, regionList = regions): Region | null {
    for (let region of regionList) {
        if (region.id === targetId) {
            return region
        }
    }
    return null
}

const data = {
    app,
    regions,
    getRegionById,
    common,
}

export {
    app,
    regions,
    common,
}

export default data

{'fraction_non_alphanumeric': 0.1079414032382421, 'fraction_numerical': 0.0, 'mean_word_length': 2.677053824362606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4394473', 'n_tokens_mistral': 401, 'n_tokens_neox': 406, 'n_words': 121}