<commit_before>var lt = require('build/Release/jlibtorrent');

var alert_mask = lt.alert.all_categories;
var sp = new lt.settings_pack();

sp.set_int(lt.settings_pack.alert_mask, alert_mask);

var s = new lt.session(sp);

lt.session_alerts_loop(s);

process.stdout.write('Press ENTER to exit...');
process.stdin.once('data', function (data) {
    process.exit(0);
});<commit_msg>fix broken import path in test.<commit_after>var lt = require('./build/Release/jlibtorrent');

var alert_mask = lt.alert.all_categories;
var sp = new lt.settings_pack();

sp.set_int(lt.settings_pack.alert_mask, alert_mask);
var s = new lt.session(sp);

lt.session_alerts_loop(s);

process.stdout.write('Press ENTER to exit...');
process.stdin.once('data', function (data) {
    process.exit(0);
});
{'fraction_non_alphanumeric': 0.16344916344916344, 'fraction_numerical': 0.002574002574002574, 'mean_word_length': 5.377049180327869, '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': '3584609', 'n_tokens_mistral': 283, 'n_tokens_neox': 274, 'n_words': 55}