<commit_before>/* jshint node: true */
var path = require("path");
var fs = require("fs");
var EOL = require("os").EOL;

function makeConfigLine(config, $var, opt, defaultValue) {
  return config[opt] || config[opt] === 0 ?
  $var + ": " + config[opt] + ";" :
  $var + ": " + defaultValue + "; // " + $var + ": flexi.config." + opt;
}

function makeBreakpointLine(bp, isLast) {
  var str = "  " + bp.name + ": ('" +
    bp.prefix + "', " + bp.begin + ")";
  return isLast ? str : str + ",";
}
<commit_msg>Use a config option if its defined.<commit_after>/* jshint node: true */
var path = require("path");
var fs = require("fs");
var EOL = require("os").EOL;

function makeConfigLine(config, $var, opt, defaultValue) {
  return opt in config ?
  $var + ": " + config[opt] + ";" :
  $var + ": " + defaultValue + "; // " + $var + ": flexi.config." + opt;
}

function makeBreakpointLine(bp, isLast) {
  var str = "  " + bp.name + ": ('" +
    bp.prefix + "', " + bp.begin + ")";
  return isLast ? str : str + ",";
}

{'fraction_non_alphanumeric': 0.22309970384995065, 'fraction_numerical': 0.0009871668311944718, 'mean_word_length': 3.2605042016806722, 'pattern_counts': {'":': 8, '<': 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': '2110760', 'n_tokens_mistral': 374, 'n_tokens_neox': 366, 'n_words': 88}