<commit_before># common regexes {{{
my $called = qr/called|of/;
# }}}

# BUC {{{
recolor qr/(?<=named )!C\b/ => "brown";
recolor qr/(?<=named )!B\b/ => "brown";
recolor qr/(?<=named )!UC\b/ => "brown";

recolor qr/\buncursed\b|(?<=named )UC?\b/ => "brown";
recolor qr/\bblessed\b|(?<=named )B\b/ => "cyan";
recolor qr/\bcursed\b|(?<=named )C\b/ => "red";
# }}}

# water sports {{{
recolor qr/\bholy water\b/ => "bcyan";
recolor qr/\bblessed clear potions?\b/ => "bcyan";
recolor qr/\bblessed potions? called water\b/ => "bcyan";
recolor qr/\bclear potions? named \b(?:holy|blessed|B)\b/ => "bcyan";
recolor qr/\bpotions? of water named \b(?:holy|blessed|B)\b/ => "bcyan";
recolor qr/\bpotions? called water named \b(holy|blessed|B)\b/ => "bcyan";

recolor qr/\bunholy water\b/ => "orange";
recolor qr/\bcursed clear potions?\b/ => "orange";
recolor qr/\bcursed potions? called water\b/ => "orange";
recolor qr/\bclear potions? named \b(?:unholy|cursed|C)\b/ => "orange";
recolor qr/\bpotions? of water named \b(?:unholy|cursed|C)\b/ => "orange";
recolor qr/\bpotions? called water named (?:unholy|cursed|C)\b/ => "orange";
# }}}

# food conducts {{{
# vegan {{{
recolor qr/\b(?:food |cram |[KC]-)rations?\b/ => "bgreen";
recolor qr/\btins? (?:called|named|of) spinach/ => "bgreen";
recolor qr/\boranges?(?! dragon)\b/ => "bgreen";
recolor qr/\bpears?\b/ => "bgreen";
recolor qr/\b(?:gunyoki|lembas wafer|melon|carrot|pear|apple|banana|kelp frond|slime mold|brain)s?\b/ => "bgreen";
recolor qr/\bsprigs? of wolfsbane\b/ => "bgreen";
recolor qr/\beucalyptus lea(?:f|ves)\b/ => "bgreen";
recolor qr/\bcloves? of garlic\b/ => "bgreen";
recolor qr/\b(?:tin of )?(?:gelatinous cube|acid blob|quivering blob|lichen|shrieker|violet fungus|(?:blue|spotted|ochre) jelly|(?:brown|yellow|green) mold)(?: corpse)?\b/ => "bgreen";
# }}}

# vegetarian {{{
recolor qr/\b(?:egg|pancake|fortune cookie|candy bar|cream pie)s?\b/ => "green";
recolor qr/\blumps? of royal jelly\b/ => "green";
recolor qr/\b(?:tin of )?(?:brown pudding|gray ooze)(?: corpse)?\b/ => "green";
# }}}
# }}}

# goodies {{{
recolor qr/(?<!cursed )\bbag $called holding\b/ => "magenta";
recolor qr/(?<!cursed )\b(?:stone called )?luck(?:stone)?\b/ => "magenta";
recolor qr/\bwand $called wishing\b/ => "magenta";
recolor qr/\bmagic marker\b/ => "magenta";
recolor qr/\bmagic lamp\b/ => "magenta";
recolor qr/\blamp called magic\b/ => "magenta";<commit_msg>Avoid coloring orange gems like vegan-safe food<commit_after># common regexes {{{
my $called = qr/called|of/;
# }}}

# BUC {{{
recolor qr/(?<=named )!C\b/ => "brown";
recolor qr/(?<=named )!B\b/ => "brown";
recolor qr/(?<=named )!UC\b/ => "brown";

recolor qr/\buncursed\b|(?<=named )UC?\b/ => "brown";
recolor qr/\bblessed\b|(?<=named )B\b/ => "cyan";
recolor qr/\bcursed\b|(?<=named )C\b/ => "red";
# }}}

# water sports {{{
recolor qr/\bholy water\b/ => "bcyan";
recolor qr/\bblessed clear potions?\b/ => "bcyan";
recolor qr/\bblessed potions? called water\b/ => "bcyan";
recolor qr/\bclear potions? named \b(?:holy|blessed|B)\b/ => "bcyan";
recolor qr/\bpotions? of water named \b(?:holy|blessed|B)\b/ => "bcyan";
recolor qr/\bpotions? called water named \b(holy|blessed|B)\b/ => "bcyan";

recolor qr/\bunholy water\b/ => "orange";
recolor qr/\bcursed clear potions?\b/ => "orange";
recolor qr/\bcursed potions? called water\b/ => "orange";
recolor qr/\bclear potions? named \b(?:unholy|cursed|C)\b/ => "orange";
recolor qr/\bpotions? of water named \b(?:unholy|cursed|C)\b/ => "orange";
recolor qr/\bpotions? called water named (?:unholy|cursed|C)\b/ => "orange";
# }}}

# food conducts {{{
# vegan {{{
recolor qr/\b(?:food |cram |[KC]-)rations?\b/ => "bgreen";
recolor qr/\btins? (?:called|named|of) spinach/ => "bgreen";
recolor qr/\boranges?(?! dragon| gem)\b/ => "bgreen";
recolor qr/\bpears?\b/ => "bgreen";
recolor qr/\b(?:gunyoki|lembas wafer|melon|carrot|pear|apple|banana|kelp frond|slime mold|brain)s?\b/ => "bgreen";
recolor qr/\bsprigs? of wolfsbane\b/ => "bgreen";
recolor qr/\beucalyptus lea(?:f|ves)\b/ => "bgreen";
recolor qr/\bcloves? of garlic\b/ => "bgreen";
recolor qr/\b(?:tin of )?(?:gelatinous cube|acid blob|quivering blob|lichen|shrieker|violet fungus|(?:blue|spotted|ochre) jelly|(?:brown|yellow|green) mold)(?: corpse)?\b/ => "bgreen";
# }}}

# vegetarian {{{
recolor qr/\b(?:egg|pancake|fortune cookie|candy bar|cream pie)s?\b/ => "green";
recolor qr/\blumps? of royal jelly\b/ => "green";
recolor qr/\b(?:tin of )?(?:brown pudding|gray ooze)(?: corpse)?\b/ => "green";
# }}}
# }}}

# goodies {{{
recolor qr/(?<!cursed )\bbag $called holding\b/ => "magenta";
recolor qr/(?<!cursed )\b(?:stone called )?luck(?:stone)?\b/ => "magenta";
recolor qr/\bwand $called wishing\b/ => "magenta";
recolor qr/\bmagic marker\b/ => "magenta";
recolor qr/\bmagic lamp\b/ => "magenta";
recolor qr/\blamp called magic\b/ => "magenta";
{'fraction_non_alphanumeric': 0.24490635933319613, 'fraction_numerical': 0.0, 'mean_word_length': 4.644599303135888, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 75, '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': '1656595', 'n_tokens_mistral': 2145, 'n_tokens_neox': 2067, 'n_words': 420}