<commit_before>package Pakket::Scaffolder::Perl::Role::Borked;
# ABSTRACT: scaffolder: perl: known issues

use Moose::Role;

has 'known_incorrect_name_fixes' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'App::Fatpacker'            => 'App::FatPacker',
            'Test::YAML::Meta::Version' => 'Test::YAML::Meta', # not sure about this
            'Net::Server::SS::Prefork'  => 'Net::Server::SS::PreFork',
        }
    },
);

has 'known_incorrect_version_fixes' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'Data-Swap'         => '0.08',
            'ExtUtils-Constant' => '0.23',
            'Getopt-Long'       => '2.49',
            'IO-Capture'        => '0.05',
        }
    },
);

has 'known_incorrect_dependencies' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'Module-Install' => {
                'libwww-perl' => 1,
                'PAR-Dist'    => 1,
            },
            'libwww-perl'    => {
                'NTLM' => 1,
            },
        }
    },
);

has 'known_names_to_skip' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{<commit_msg>another borked version<commit_after>package Pakket::Scaffolder::Perl::Role::Borked;
# ABSTRACT: scaffolder: perl: known issues

use Moose::Role;

has 'known_incorrect_name_fixes' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'App::Fatpacker'            => 'App::FatPacker',
            'Test::YAML::Meta::Version' => 'Test::YAML::Meta', # not sure about this
            'Net::Server::SS::Prefork'  => 'Net::Server::SS::PreFork',
        }
    },
);

has 'known_incorrect_version_fixes' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'Data-Swap'         => '0.08',
            'Encode-HanConvert' => '0.35',
            'ExtUtils-Constant' => '0.23',
            'Getopt-Long'       => '2.49',
            'IO-Capture'        => '0.05',
        }
    },
);

has 'known_incorrect_dependencies' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
            'Module-Install' => {
                'libwww-perl' => 1,
                'PAR-Dist'    => 1,
            },
            'libwww-perl'    => {
                'NTLM' => 1,
            },
        }
    },
);

has 'known_names_to_skip' => (
    'is'      => 'ro',
    'isa'     => 'HashRef',
    'default' => sub {
        +{
{'fraction_non_alphanumeric': 0.19915579432079816, 'fraction_numerical': 0.01266308518802763, 'mean_word_length': 1.5115606936416186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4216854', 'n_tokens_mistral': 952, 'n_tokens_neox': 924, 'n_words': 138}