<commit_before>const _entities = require("./datastore-entities");
const datastore = _entities.datastore;
const sendMessage = require('./tools/sendMessage');
const waterfall = require("async/waterfall");

function fromDatastore (obj) {
    obj.id = obj[datastore.KEY].id;
    return obj;
}

let users = [];
let usersIds = [];

function createQueryForWaterfall () {
    return function (cb) {
        let query = datastore.createQuery("User");
        query
            .filter('restriction', '<', 2);<commit_msg>Added scheduled events<commit_after>const _entities = require("./datastore-entities");
const datastore = _entities.datastore;
const sendMessage = require('./tools/sendMessage');
const waterfall = require("async/waterfall");

function fromDatastore (obj) {
    obj.id = obj[datastore.KEY].id;
    return obj;
}

let users = [];
let usersIds = [];

function createQueryForWaterfall () {
    return function (cb) {
        let query = datastore.createQuery("User");
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.0010277492291880781, 'mean_word_length': 4.180851063829787, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2916571', 'n_tokens_mistral': 292, 'n_tokens_neox': 295, 'n_words': 66}