<commit_before>//!@todo: files_t: Rotation condition.
//! Sample config:
/*!
Rotate by datetime:
"rotate": {
    "backups" 5,
    "pattern": "%(filename)s.log.%Y%M%d",
    "every": "d" [m, H, a, d, w, M, y]
}

Rotate both:
"rotate": {
    "backups" 5,
    "pattern": "%(filename)s.log.%N.%Y%M%d",
    "size": 1000000,
    "every": "d" [m, H, a, d, w, M, y]
}
*/

//!@todo: api: Renaming repository methods.
//!@todo: stream_t: Implement stream sink.
//!@todo: example: Make stdout/string example with demonstration of formatting other attribute.
//!@todo: api: More verbose error messages.

//!@todo: feature: Verbosity filter from file.
//!@todo: api: Ability to set global attribute mapper (?)
//!@todo: api: Microseconds support in timestamps.
<commit_msg>Subtask is done.<commit_after>//!@todo: files_t: Rotation condition.
//! Sample config:
/*!
Rotate both:
"rotate": {
    "backups" 5,
    "pattern": "%(filename)s.log.%N.%Y%M%d",
    "size": 1000000,
    "every": "d" [m, H, a, d, w, M, y]
}
*/

//!@todo: api: Renaming repository methods.
//!@todo: stream_t: Implement stream sink.
//!@todo: example: Make stdout/string example with demonstration of formatting other attribute.
//!@todo: api: More verbose error messages.

//!@todo: feature: Verbosity filter from file.
//!@todo: api: Ability to set global attribute mapper (?)
//!@todo: api: Microseconds support in timestamps.

{'fraction_non_alphanumeric': 0.18948126801152737, 'fraction_numerical': 0.012247838616714697, 'mean_word_length': 3.7896551724137932, 'pattern_counts': {'":': 11, '<': 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': '2603777', 'n_tokens_mistral': 542, 'n_tokens_neox': 497, 'n_words': 161}