<commit_before>var currency_value = {
    'DKK':    1,
    'SEK':    0.82,
    'EUR':    7.47,
    'BTC': 2651.15
}

var currency_map = {
    'DKK': 'kr',
    'EUR': '€'
}

var currency_rmap = {
    'kr': 'DKK',
    '€': 'EUR'
}

function Currency(amt, code)
{
    this.amounts = {};
    this.amounts[code] = amt;
}

Currency.prototype.print = function () {
    var number = Math.round(this.dkk() * 100) / 100;
    var parts = number.toString().split(".");
    parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ".");<commit_msg>data: more accurate exchange rates<commit_after>var currency_value = {
    'DKK':    1,
    'SEK':    0.822,
    'EUR':    7.4665,
    'BTC': 2631.135
}

var currency_map = {
    'DKK': 'kr',
    'EUR': '€'
}

var currency_rmap = {
    'kr': 'DKK',
    '€': 'EUR'
}

function Currency(amt, code)
{
    this.amounts = {};
    this.amounts[code] = amt;
}

Currency.prototype.print = function () {
    var number = Math.round(this.dkk() * 100) / 100;
    var parts = number.toString().split(".");
    parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ".");
{'fraction_non_alphanumeric': 0.23459061637534498, 'fraction_numerical': 0.04415823367065318, 'mean_word_length': 2.6387959866220734, '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': '1702131', 'n_tokens_mistral': 484, 'n_tokens_neox': 455, 'n_words': 84}