<commit_before>/**
 * Created by <NAME> on 15.08.2017.
 */
import {IBodyOptions, ILineUpConfig} from './lineup';
import {IHeaderRendererOptions, IRankingHook} from './ui/HeaderRenderer';
import {IBodyRendererOptions} from './ui/ABodyRenderer';
import {renderers as defaultRenderers} from './renderer';
import {filters as defaultFilters} from './dialogs';
import StringColumn from './model/StringColumn';
import {Column} from 'lineupjs/src/model';

export interface IFullLineUpConfig extends ILineUpConfig {
  /**
   * options related to the header html layout
   */
  header: IHeaderRendererOptions;
  /**
   * options related to the rendering of the body
   */
  body: IBodyOptions & IBodyRendererOptions;
}


export function dummyRankingButtonHook(): any {
  return null;
}

export function defaultConfig(): IFullLineUpConfig {
  const idPrefix = `lu${Math.random().toString(36).slice(-8).substr(0, 3)}`; //generate a random string with length3;
  const renderers = Object.assign({}, defaultRenderers);
  return {
    idPrefix,
    header: {
      idPrefix,
      slopeWidth: 150,
      columnPadding: 5,
      headerHistogramHeight: 40,
      headerHeight: 20,<commit_msg>fix import<commit_after>/**
 * Created by <NAME> on 15.08.2017.
 */
import {IBodyOptions, ILineUpConfig} from './lineup';
import {IHeaderRendererOptions, IRankingHook} from './ui/HeaderRenderer';
import {IBodyRendererOptions} from './ui/ABodyRenderer';
import {renderers as defaultRenderers} from './renderer';
import {filters as defaultFilters} from './dialogs';
import StringColumn from './model/StringColumn';
import {Column} from './model';

export interface IFullLineUpConfig extends ILineUpConfig {
  /**
   * options related to the header html layout
   */
  header: IHeaderRendererOptions;
  /**
   * options related to the rendering of the body
   */
  body: IBodyOptions & IBodyRendererOptions;
}


export function dummyRankingButtonHook(): any {
  return null;
}

export function defaultConfig(): IFullLineUpConfig {
  const idPrefix = `lu${Math.random().toString(36).slice(-8).substr(0, 3)}`; //generate a random string with length3;
  const renderers = Object.assign({}, defaultRenderers);
  return {
    idPrefix,
    header: {
      idPrefix,
      slopeWidth: 150,
      columnPadding: 5,
      headerHistogramHeight: 40,
      headerHeight: 20,
{'fraction_non_alphanumeric': 0.11986301369863013, 'fraction_numerical': 0.018835616438356163, 'mean_word_length': 4.193333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5032289', 'n_tokens_mistral': 704, 'n_tokens_neox': 679, 'n_words': 202}