<commit_before>var should = require("should");
var when = require("when");
var RED = require("../node_modules/node-red/red/red.js");
var redNodes = require("../node_modules/node-red/red/nodes");
var flows = require("../node_modules/node-red/red/nodes/flows");
var credentials = require("../node_modules/node-red/red/nodes/credentials");
var comms = require("../node_modules/node-red/red/comms.js");

var http = require('http');
var express = require('express');
var app = express();

var address = '127.0.0.1';
var listenPort = 0; // use ephemeral port
var port;
var url;

var server;

// Node-RED writes to the console using `util.log`
// Replacing this function by a no-op makes tests output much more readable.
try {
	var util = require('util');
	util.log = function(){};
} catch (e) {}

function helperNode(n) {
    RED.nodes.createNode(this, n);<commit_msg>Path relative to modules in tests (again)<commit_after>var should = require("should");
var when = require("when");
var RED = require("node-red/red/red.js");
var redNodes = require("node-red/red/nodes");
var flows = require("node-red/red/nodes/flows");
var credentials = require("node-red/red/nodes/credentials");
var comms = require("node-red/red/comms.js");

var http = require('http');
var express = require('express');
var app = express();

var address = '127.0.0.1';
var listenPort = 0; // use ephemeral port
var port;
var url;

var server;

// Node-RED writes to the console using `util.log`
// Replacing this function by a no-op makes tests output much more readable.
try {
	var util = require('util');
	util.log = function(){};
} catch (e) {}

function helperNode(n) {
    RED.nodes.createNode(this, n);
{'fraction_non_alphanumeric': 0.17105263157894737, 'fraction_numerical': 0.008373205741626795, 'mean_word_length': 4.379421221864952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '56332', 'n_tokens_mistral': 556, 'n_tokens_neox': 538, 'n_words': 157}