<commit_before>#!/usr/bin/env node

// Quick example of a pledged node app.
// usage:
// $ echo '{"a":1,"b":3}' | ./pp.js

var data = '', pledge = require('node-pledge');
pledge.init('stdio ioctl rpath tty');

process.stdin.setEncoding('utf8');
process.stdin.on('readable', function() {
    var chunk = process.stdin.read();<commit_msg>+wpath<commit_after>#!/usr/bin/env node

// Quick example of a pledged node app.
// usage:
// $ echo '{"a":1,"b":3}' | ./pp.js

var data = '', pledge = require('node-pledge');
pledge.init('stdio ioctl rpath wpath tty');

process.stdin.setEncoding('utf8');
process.stdin.on('readable', function() {
    var chunk = process.stdin.read();
{'fraction_non_alphanumeric': 0.21311475409836064, 'fraction_numerical': 0.00894187779433681, 'mean_word_length': 4.1692307692307695, 'pattern_counts': {'":': 4, '<': 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': '1701581', 'n_tokens_mistral': 251, 'n_tokens_neox': 238, 'n_words': 54}