<commit_before>Ti.include('/util.js');
Ti.include('/data.js');
Ti.include('/windows/main.js');

Ti.UI.setBackgroundColor('#000');

Ti.UI.createWindow({
  url: '/windows/login.js',
  success: showMain
}).open();<commit_msg>Transformed data sending to event system.<commit_after>Ti.include('/util.js');
Ti.include('/data.js');
Ti.include('/windows/main.js');

Ti.UI.setBackgroundColor('#000');

var loginWindow = Ti.UI.createWindow({
  url: '/windows/login.js'
});
loginWindow.addEventListener('open', function () {
  loginWindow.fireEvent('setSuccess', { success: showMain });
});
loginWindow.open();
{'fraction_non_alphanumeric': 0.21702838063439064, 'fraction_numerical': 0.01001669449081803, 'mean_word_length': 5.896551724137931, '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': '1824612', 'n_tokens_mistral': 208, 'n_tokens_neox': 194, 'n_words': 29}