<commit_before>character: type;

homer: character;
marge: character;
bart: character;
lisa: character;
maggie: character;

pub fn father(character) -> character;
[:] (bart) -> homer;
[:] (lisa) -> homer;
[:] (maggie) -> homer;

pub fn mother(character) -> character;
[:] (bart) -> marge;
[:] (lisa) -> marge;
[:] (maggie) -> marge;

// Those who have same father or same mother are siblings.
pub fn siblings(character, character) -> bool;
([father] [:] X, [father] [:] X) -> [:] true;
([mother] [:] X, [mother] [:] X) -> [:] true;
([father] [:] _, [father] [:] _) -> [:] false;
([mother] [:] _, [mother] [:] _) -> [:] false;<commit_msg>Factorized `siblings`<commit_after>character: type;

homer: character;
marge: character;
bart: character;
lisa: character;
maggie: character;

pub fn father(character) -> character;
[:] (bart) -> homer;
[:] (lisa) -> homer;
[:] (maggie) -> homer;

pub fn mother(character) -> character;
[:] (bart) -> marge;
[:] (lisa) -> marge;
[:] (maggie) -> marge;

// Those who have same father or same mother are siblings.
pub fn siblings(character, character) -> bool;
[:] ([father] X, [father] X) -> true;
[:] ([mother] X, [mother] X) -> true;
[:] ([father] _, [father] _) -> false;
[:] ([mother] _, [mother] _) -> false;
{'fraction_non_alphanumeric': 0.23557692307692307, 'fraction_numerical': 0.0, 'mean_word_length': 4.430434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '5074116', 'n_tokens_mistral': 483, 'n_tokens_neox': 459, 'n_words': 126}