<commit_before>const db = require('./lib/db')

exports.handler = function(event, context, callback) {
    const checkTime = new Date()
    checkTime.setDate(checkTime.getDate() - process.env.CHECK_TIME) // current time - CHECK_TIME

    // scan DB get project info
    db.getAllProject(function (err, projectList) {
        if (err) {
            callback(err)
        }
      
        /*
            loop:
            use Project platform util to get new version info
            query DB project subscriptor
            use Chat platform util to notify subscriber
        */

        callback(null)
    })

}<commit_msg>fix environment variable name<commit_after>const db = require('./lib/db')

exports.handler = function(event, context, callback) {
    const checkTime = new Date()
    checkTime.setDate(checkTime.getDate() - process.env.CHECK_DAYS) // current time - CHECK_DAYS

    // scan DB get project info
    db.getAllProject(function (err, projectList) {
        if (err) {
            callback(err)
        }

        /*
            loop:
            use Project platform util to get new version info
            query DB project subscriptor
            use Chat platform util to notify subscriber
        */

        callback(null)
    })

}

{'fraction_non_alphanumeric': 0.09083665338645418, 'fraction_numerical': 0.0, 'mean_word_length': 1.9833729216152018, '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': '3323257', 'n_tokens_mistral': 338, 'n_tokens_neox': 329, 'n_words': 101}