<commit_before>use MooseX::Declare;

class VRPipe::Base::Declare::Syntax::Keyword::Class extends MooseX::Declare::Syntax::Keyword::Class {
    around import_symbols_from (Object $ctx) {
        'VRPipe::Base::UseMoose';
    }

    before add_namespace_customizations (Object $ctx, Str $package) {
        $ctx->add_preamble_code_parts(
            'use metaclass (metaclass => "Moose::Meta::Class");' #, error_class => "MooseX::Error::Exception::Class"  ## MooseX::Error::Exception::Class does not actually compile
        );
    }
    
    after add_namespace_customizations (Object $ctx, Str $package) {
        $ctx->add_preamble_code_parts(
            'use MooseX::StrictConstructor; use VRPipe::Base::Types ":all"; use TryCatch; use Path::Class;'
        );
    }
}

1;<commit_msg>commenting out code that did not do anything anyway<commit_after>use MooseX::Declare;

class VRPipe::Base::Declare::Syntax::Keyword::Class extends MooseX::Declare::Syntax::Keyword::Class {
    around import_symbols_from (Object $ctx) {
        'VRPipe::Base::UseMoose';
    }
    
    #before add_namespace_customizations (Object $ctx, Str $package) {
    #    $ctx->add_preamble_code_parts(
    #        'use metaclass (metaclass => "Moose::Meta::Class");' #, error_class => "MooseX::Error::Exception::Class"  *** MooseX::Error::Exception::Class does not actually compile
    #    );
    #}
    
    after add_namespace_customizations (Object $ctx, Str $package) {
        $ctx->add_preamble_code_parts(
            'use MooseX::StrictConstructor; use VRPipe::Base::Types ":all"; use TryCatch; use Path::Class;'
        );
    }
}

1;
{'fraction_non_alphanumeric': 0.14549938347718866, 'fraction_numerical': 0.0012330456226880395, 'mean_word_length': 3.933130699088146, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 11, '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': '7584137', 'n_tokens_mistral': 527, 'n_tokens_neox': 528, 'n_words': 99}