<commit_before>
"use strict";

// Try reading from src and pushing into the functioned dst as fast as
// it can accept without buffering.

function functioning_pipe(src, dst, fn) {

    function continue_reading() {
	can_read = true;

	if (pending_read) {
	    pending_read = false;
	    src_on_readable();
	}
    }

    function src_on_readable() {

	if (!can_read) {
	    pending_read = true;<commit_msg>add timestamped log function<commit_after>
"use strict";

function log(x) {
    console.log(Date.now() + ' ' + x);
}

// Try reading from src and pushing into the functioned dst as fast as
// it can accept without buffering.

function functioning_pipe(src, dst, fn) {

    function continue_reading() {
	can_read = true;

	if (pending_read) {
	    pending_read = false;
	    src_on_readable();
	}
    }

    function src_on_readable() {

	if (!can_read) {
	    pending_read = true;
{'fraction_non_alphanumeric': 0.10710259301014656, 'fraction_numerical': 0.0, 'mean_word_length': 3.289855072463768, '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': '2296739', 'n_tokens_mistral': 305, 'n_tokens_neox': 283, 'n_words': 86}