<commit_before>import Vapor

let app = Application()

/*
    GET: /
    Return JSON containg the emergency phone numbers.
*/
app.get("/") { request in
    return DataSource().makeJson()
}

/*
    GET: /country
    parameter: 2-letter country code
*/
app.get("country", String.self) { request, countryCode in
    return DataSource().getCountryWithID(countryCode)
}

app.start(port: 8062)
<commit_msg>Convert parameter to uppercase<commit_after>import Vapor

let app = Application()

/*
    GET: /
    Return JSON containg the emergency phone numbers.
*/
app.get("/") { request in
    return DataSource().makeJson()
}

/*
    GET: /country
    parameter: 2-letter country code
*/
app.get("country", String.self) { request, countryCode in
    return DataSource().getCountryWithID(countryCode.uppercased())
}

app.start(port: 8062)

{'fraction_non_alphanumeric': 0.1316425120772947, 'fraction_numerical': 0.012077294685990338, 'mean_word_length': 3.6836158192090394, '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': '5673530', 'n_tokens_mistral': 267, 'n_tokens_neox': 258, 'n_words': 69}