<commit_before># Note: this file probably wants to be in some Perl6::CompilerGuts namespace.

role SubType {
    has $!checker;
    method ACCEPTS(Mu $topic) {
        unless callsame() {
            return Bool::False
        }
        $!checker.ACCEPTS($topic)
    }
}

our sub CREATE_SUBSET_TYPE($original, $checker) {
    # XXX Ideally we'd be able to just replace all of what follows
    # with a simple:
    #     my $subtype = $original but SubType($checker);<commit_msg>Fix subset types involving subset foo of Mu.<commit_after># Note: this file probably wants to be in some Perl6::CompilerGuts namespace.

role SubType {
    has $!checker;
    method ACCEPTS(Mu $topic) {
        unless callsame() {
            return Bool::False
        }
        $!checker.ACCEPTS($topic)
    }
}

our sub CREATE_SUBSET_TYPE(Mu $original, $checker) {
    # XXX Ideally we'd be able to just replace all of what follows
    # with a simple:
    #     my $subtype = $original but SubType($checker);
{'fraction_non_alphanumeric': 0.09797979797979799, 'fraction_numerical': 0.00202020202020202, 'mean_word_length': 2.782442748091603, 'pattern_counts': {'":': 0, '<': 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': '4695577', 'n_tokens_mistral': 314, 'n_tokens_neox': 307, 'n_words': 103}