<commit_before>'use strict';

const Actions = require('../../../common/common');
const Kategorie = require('../../model/Kategorie/Kategorie');
const Rocnik = require('../../model/Rocnik/Rocnik');

const normalizeUbytovani = ubytovani => {
  const normalized = {};

  ubytovani.forEach(element => {
    const { den, poplatek } = element;
    normalized[den] = poplatek;
  });

  return normalized;
};

const normalizeKategorie = kategorieList => {<commit_msg>Disable eslint warning. Kategorie is required for schema population.<commit_after>'use strict';

const Actions = require('../../../common/common');
const Rocnik = require('../../model/Rocnik/Rocnik');
// eslint-disable-next-line no-unused-vars
const Kategorie = require('../../model/Kategorie/Kategorie');

const normalizeUbytovani = ubytovani => {
  const normalized = {};

  ubytovani.forEach(element => {
    const { den, poplatek } = element;
    normalized[den] = poplatek;
  });

  return normalized;
};

const normalizeKategorie = kategorieList => {
{'fraction_non_alphanumeric': 0.17061143984220908, 'fraction_numerical': 0.0, 'mean_word_length': 3.8564593301435406, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5432023', 'n_tokens_mistral': 328, 'n_tokens_neox': 316, 'n_words': 66}