<commit_before>function link_to(default_label, location, opts) {
  if (! location) {
    location = default_label
  }
  return "<a href=\"" + location + "\">" + default_label + "</a>"
}

var NavBar = function (options) {
    var defaults = NavBar.default_options
    for (var default_option in defaults) {
        if (defaults.hasOwnProperty(default_option)) {
            this[default_option] = defaults[default_option]
        }
    }

    for (var option in options) {<commit_msg>reversed link_to params to match rails<commit_after>function link_to(label, link, opts) {
  if (! link) {
    link = label
  }
  return "<a href=\"" + link + "\">" + label + "</a>"
}

var NavBar = function (options) {
    var defaults = NavBar.default_options
    for (var default_option in defaults) {
        if (defaults.hasOwnProperty(default_option)) {
            this[default_option] = defaults[default_option]
        }
    }

    for (var option in options) {
{'fraction_non_alphanumeric': 0.12618296529968454, 'fraction_numerical': 0.0, 'mean_word_length': 3.0338983050847457, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '890789', 'n_tokens_mistral': 291, 'n_tokens_neox': 286, 'n_words': 75}