<commit_before>/**
 * @license home_dashboard
 * (c) 2015 Bugfire https://bugfire.dev/
 * License: MIT
 */

import * as fs from "fs";
import * as express from "express";

import * as dbUtil from "./dbutil";

import { DBConfig, DBConfigType } from "./dbutil";
import { LoadConfig, ConfigType } from "./config";

if (process.argv.length <= 2) {
  throw new Error("Invalid argument. Specify top directory of config.");
}

/* eslint-disable @typescript-eslint/camelcase */

interface MyConfig {
  db: DBConfig;
  remo_stats: string;
  aiseg_watch_main_name: string;
  aiseg_watch_main: string;
  aiseg_watch_detail_name: string;<commit_msg>Rename config classes<commit_after>/**
 * @license home_dashboard
 * (c) 2015 Bugfire https://bugfire.dev/
 * License: MIT
 */

import * as fs from "fs";
import * as express from "express";

import * as dbUtil from "./dbutil";

import { LoadConfig, ConfigType } from "./config";
import { DBConfig, DBConfigType } from "./dbutil";

if (process.argv.length <= 2) {
  throw new Error("Invalid argument. Specify top directory of config.");
}

/* eslint-disable @typescript-eslint/camelcase */

interface MyConfig {
  db: DBConfig;
  remo_stats: string;
  aiseg_watch_main_name: string;
  aiseg_watch_main: string;
  aiseg_watch_detail_name: string;
{'fraction_non_alphanumeric': 0.13125, 'fraction_numerical': 0.0078125, 'mean_word_length': 4.3153526970954355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '858951', 'n_tokens_mistral': 432, 'n_tokens_neox': 426, 'n_words': 121}