<commit_before>grice = (function () {
  "use strict";

  var grice = {};

  grice.NUMERIC_COLUMNS = ['FLOAT', 'INTEGER' , 'REAL', 'NUMERIC', 'SMALLINT'];
  grice.DISCRETE_COLUMNS = ['CHAR', 'TEXT'];

  grice.isNumericColumn = function (column) {
    if (column) {
      return grice.NUMERIC_COLUMNS.indexOf(column.type) > -1;
    }

    return false;
  };

  grice.isDiscreteColumn = function (column) {
    if (column) {
      return grice.DISCRETE_COLUMNS.indexOf(column.type) > -1;
    }

    return false;
  };

  grice.makeGetter = function (name) {
    return function (d) {
      return d[name];
    };
  };

  grice.isValid = function (value) {
    return value !== undefined && value !== null;
  };

  grice.sortData = function (a, b) {
    if (a > b) {
      return 1;
    } else if (a < b) {<commit_msg>Add boolean type to discrete columns.<commit_after>grice = (function () {
  "use strict";

  var grice = {};

  grice.NUMERIC_COLUMNS = ['FLOAT', 'INTEGER' , 'REAL', 'NUMERIC', 'SMALLINT'];
  grice.DISCRETE_COLUMNS = ['CHAR', 'TEXT', 'BOOLEAN'];

  grice.isNumericColumn = function (column) {
    if (column) {
      return grice.NUMERIC_COLUMNS.indexOf(column.type) > -1;
    }

    return false;
  };

  grice.isDiscreteColumn = function (column) {
    if (column) {
      return grice.DISCRETE_COLUMNS.indexOf(column.type) > -1;
    }

    return false;
  };

  grice.makeGetter = function (name) {
    return function (d) {
      return d[name];
    };
  };

  grice.isValid = function (value) {
    return value !== undefined && value !== null;
  };

  grice.sortData = function (a, b) {
    if (a > b) {
      return 1;
    } else if (a < b) {
{'fraction_non_alphanumeric': 0.15995189416716776, 'fraction_numerical': 0.0036079374624173183, 'mean_word_length': 2.7309417040358746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '882784', 'n_tokens_mistral': 623, 'n_tokens_neox': 611, 'n_words': 134}