<commit_before>const Nomad = require('nomad-stream')
const moment = require('moment')

const credentials = require('./twilio-login.js')
const phoneNumbers = require('./phone-numbers.js')

const nomad = new Nomad()

//require the Twilio module and create a REST client
const client = require('twilio')(credentials.accountSid, credentials.authToken)

// device atomic node ids
const subscriptions = ['<KEY>', '<KEY>']

let instance
let lastPub
let notificationBody
let lastStatus1 = false
let lastStatus2 = false

const frequency = 60 * 1000 // 30 seconds 
const timeThreshold = 4 * 60 * 60 * 1000 // 4 hours
const toNumber = phoneNumbers.toNumber
const fromNumber = phoneNumbers.fromNumber

const defaultPublishData = { 
  [subscriptions[0]]: {
    charging_station: {
      data: '',
      time: '',<commit_msg>timing changes<commit_after>const Nomad = require('nomad-stream')
const moment = require('moment')

const credentials = require('./twilio-login.js')
const phoneNumbers = require('./phone-numbers.js')

const nomad = new Nomad()

//require the Twilio module and create a REST client
const client = require('twilio')(credentials.accountSid, credentials.authToken)

// device atomic node ids
const subscriptions = ['<KEY>', '<KEY>']

let instance
let lastPub
let notificationBody
let lastStatus1 = false
let lastStatus2 = false

const frequency =  2 * 60 * 1000 // 2 minutes  
const timeThreshold = 4 * 60 * 60 * 1000 // 4 hours
const toNumber = phoneNumbers.toNumber
const fromNumber = phoneNumbers.fromNumber

const defaultPublishData = { 
  [subscriptions[0]]: {
    charging_station: {
      data: '',
      time: '',
{'fraction_non_alphanumeric': 0.11732186732186732, 'fraction_numerical': 0.025798525798525797, 'mean_word_length': 4.394039735099338, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4167228', 'n_tokens_mistral': 509, 'n_tokens_neox': 465, 'n_words': 152}