<commit_before>{
    doc_type: 'visifile',
    name: 'systemFunctions',  version: 1,  type: 'functions',  text: 'system functions',
    initText: 'system functions are available!!!!',



    events: {
        "This will return the apps available": {
            on: "get_apps_list",
            do: function(args, returnfn) {
                dbsearch.serialize(
                    function() {
                        dbsearch.all(
                            "SELECT driver FROM system_code where on_condition like '%app%' ; "
                            ,

                            function(err, results)
                            {
                                var list = [

                                ]
                                for (var tt = 0; tt < results.length ; tt ++) {
                                    list.push(results[tt].driver)
                                }
                                returnfn(list)
                            })
                }, sqlite3.OPEN_READONLY)


            }, end: null
        }

    }

}<commit_msg>only return the actual apps in the apps list<commit_after>{
    doc_type: 'visifile',
    name: 'systemFunctions',  version: 1,  type: 'functions',  text: 'system functions',
    initText: 'system functions are available!!!!',



    events: {
        "This will return the apps available": {
            on: "get_apps_list",
            do: function(args, returnfn) {
                dbsearch.serialize(
                    function() {
                        dbsearch.all(
                            "SELECT driver FROM system_code where on_condition = '\"app\"' ; "
                            ,

                            function(err, results)
                            {
                                var list = [

                                ]
                                for (var tt = 0; tt < results.length ; tt ++) {
                                    list.push(results[tt].driver)
                                }
                                returnfn(list)
                            })
                }, sqlite3.OPEN_READONLY)


            }, end: null
        }

    }

}
{'fraction_non_alphanumeric': 0.09095063985374771, 'fraction_numerical': 0.002742230347349177, 'mean_word_length': 0.8693424423569599, 'pattern_counts': {'":': 2, '<': 5, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7578848', 'n_tokens_mistral': 530, 'n_tokens_neox': 486, 'n_words': 119}