<commit_before>import {ILineUpOptions} from './interfaces';
import {renderers} from './renderer';
import {toolbarActions} from './ui';

/** number of bins before switching to dense mode
 */
export const DENSE_HISTOGRAM = 19;
export const MIN_LABEL_WIDTH = 30;
/**
 * number of milliseconds to wait before a hovered canvas row will be replaced with a DOM one
 * @type {number}
 */
export const HOVER_DELAY_SHOW_DETAIL = 500;

export function defaultOptions(): ILineUpOptions {
  const idPrefix = `lu${Math.random().toString(36).slice(-8).substr(0, 3)}`; //generate a random string with length3;
  return {
    idPrefix,
    toolbar: Object.assign({}, toolbarActions),
    renderers: Object.assign({}, renderers),

    summary: true,
    animation: true,
    wholeHover: false,
    panel: true,
    panelCollapsed: false,

    rowHeight: 18,
    groupHeight: 40,
    groupPadding: 5,
    rowPadding: 2,
<commit_msg>disable default padding<commit_after>import {ILineUpOptions} from './interfaces';
import {renderers} from './renderer';
import {toolbarActions} from './ui';

/** number of bins before switching to dense mode
 */
export const DENSE_HISTOGRAM = 19;
export const MIN_LABEL_WIDTH = 30;
/**
 * number of milliseconds to wait before a hovered canvas row will be replaced with a DOM one
 * @type {number}
 */
export const HOVER_DELAY_SHOW_DETAIL = 500;

export function defaultOptions(): ILineUpOptions {
  const idPrefix = `lu${Math.random().toString(36).slice(-8).substr(0, 3)}`; //generate a random string with length3;
  return {
    idPrefix,
    toolbar: Object.assign({}, toolbarActions),
    renderers: Object.assign({}, renderers),

    summary: true,
    animation: true,
    wholeHover: false,
    panel: true,
    panelCollapsed: false,

    rowHeight: 18,
    groupHeight: 40,
    groupPadding: 5,
    rowPadding: 0, // as included using padding

{'fraction_non_alphanumeric': 0.11796246648793565, 'fraction_numerical': 0.02037533512064343, 'mean_word_length': 3.9893048128342246, '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': '4574072', 'n_tokens_mistral': 598, 'n_tokens_neox': 557, 'n_words': 188}