<commit_before>/*
 *  The MIT License (MIT)
 *
 *  Copyright (c) 2014 <NAME>
 */

// Very simple memory store implementation
var MemoryStore = module.exports = function MemoryStore() {
    this.tokens = {};
};

// Store should return a one time access token
MemoryStore.prototype.get = function(token, done) {
    // delete the token from the store and return its value
    var val = this.tokens[token];
    delete this.tokens[token];
    done && done(null, val);
};

MemoryStore.prototype.set = function (token, val, done) {
    this.tokens[token] = val;
    done && done(null, val);
};
<commit_msg>Change variable names in memory-store<commit_after>/*
 *  The MIT License (MIT)
 *
 *  Copyright (c) 2014 <NAME>
 */

// Very simple memory store implementation
var MemoryStore = module.exports = function MemoryStore() {
    this.tickets = {};
};

// Store should return a one time access ticket
MemoryStore.prototype.get = function(ticket, done) {
    // delete the ticket from the store and return its value
    var val = this.tickets[ticket];
    delete this.tickets[ticket];
    done && done(null, val);
};

MemoryStore.prototype.set = function (ticket, val, done) {
    this.tickets[ticket] = val;
    done && done(null, val);
};

{'fraction_non_alphanumeric': 0.13036437246963561, 'fraction_numerical': 0.006477732793522267, 'mean_word_length': 3.446043165467626, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6461889', 'n_tokens_mistral': 378, 'n_tokens_neox': 364, 'n_words': 122}