<commit_before>ngapp.service('errorCacheService', function(errorMessageService) {
    let errorCache;

    // PRIVATE HELPER FUNCTIONS
    let buildErrors = function(plugin, errors) {
        return errors.map(function(error) {
            let file = xelib.GetElement(plugin._id, xelib.Hex(error.f));
            let x = {
                handle: file,
                group: error.g,
                form_id: error.f,
                name: xelib.LongName(file)
            };
            x.data = error.hasOwnProperty('d') ? error.d : '';
            x.path = error.hasOwnProperty('p') ? error.p : '';
            return x;
        });
    };

    let setCachedErrors = function(plugin, errors) {
        errorMessageService.getErrorMessages(errors);
        plugin.errors = errors;
        plugin.status = `Found ${plugin.errors.length} cached errors`;
        plugin.checking = false;
        plugin.checked = true;
        plugin.skip = true;
    };

    let buildFileEntry = function(filename, results) {
        let filePath = 'cache\\' + filename,<commit_msg>fixed cache loading issue with signature field not being populated<commit_after>ngapp.service('errorCacheService', function(errorMessageService) {
    let errorCache;

    // PRIVATE HELPER FUNCTIONS
    let buildErrors = function(plugin, errors) {
        return errors.map(function(error) {
            let rec = xelib.GetElement(plugin._id, xelib.Hex(error.f));
            let x = {
                handle: rec,
                group: error.g,
                form_id: error.f,
                signature: xelib.Signature(rec),
                name: xelib.LongName(rec)
            };
            x.data = error.hasOwnProperty('d') ? error.d : '';
            x.path = error.hasOwnProperty('p') ? error.p : '';
            return x;
        });
    };

    let setCachedErrors = function(plugin, errors) {
        errorMessageService.getErrorMessages(errors);
        plugin.errors = errors;
        plugin.status = `Found ${plugin.errors.length} cached errors`;
        plugin.checking = false;
        plugin.checked = true;
        plugin.skip = true;
    };

    let buildFileEntry = function(filename, results) {
        let filePath = 'cache\\' + filename,
{'fraction_non_alphanumeric': 0.11698789780367548, 'fraction_numerical': 0.0, 'mean_word_length': 2.0040376850605655, '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': '7580528', 'n_tokens_mistral': 632, 'n_tokens_neox': 611, 'n_words': 132}