<commit_before>/**
 * Object containing id.
 */
export type Entity = { id: string };

/**
 * Object with or without id.
 * If "id" property exists, it must be a string.
 */
export type ProEntity = { id?: string; [key: string]: any };

type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;

/**
 * T(Entity) with or without id.
 * If "id" property exists, it must be a string.<commit_msg>fix(interfaces): Entity should be interface. Fix #283<commit_after>/**
 * Object containing id.
 */
export interface Entity {
  id: string;
}

/**
 * Object with or without id.
 * If "id" property exists, it must be a string.
 */
export type ProEntity = { id?: string; [key: string]: any };

type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;

/**
 * T(Entity) with or without id.
 * If "id" property exists, it must be a string.
{'fraction_non_alphanumeric': 0.15613382899628253, 'fraction_numerical': 0.0037174721189591076, 'mean_word_length': 3.4153005464480874, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1861052', 'n_tokens_mistral': 271, 'n_tokens_neox': 268, 'n_words': 109}