<commit_before>trait Persister {
    fn add_item(&self, &Item) -> i32;
    fn change_item_desc(&self, i32, &str);
    fn update_item(&self, &Item);
    fn remove_item(&self, i32);
    fn get_items(&self) -> Vec<Item>;
}<commit_msg>Rework params of Persister trait methods<commit_after>trait Persister {
    fn add_item(&self, desc: &str) -> i32;
    fn change_item_desc(&self, id: i32, desc: &str) -> Result<(), ()>;
    fn update_item(&self, id: i32, last_reviewed: i32, ff: f64, int_step: i32, iri: f64) -> Result<(), ()>;
    fn remove_item(&self, id: i32) -> Result<(), ()>;
    fn get_items(&self) -> Vec<Item>;
}
{'fraction_non_alphanumeric': 0.18932038834951456, 'fraction_numerical': 0.03559870550161812, 'mean_word_length': 4.201680672268908, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 15, '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': '5674194', 'n_tokens_mistral': 245, 'n_tokens_neox': 231, 'n_words': 59}