<commit_before>package Sisimai::Reason::SyntaxError;
use feature ':5.10';
use strict;
use warnings;

sub text  { 'syntaxerror' }
sub description { 'Email rejected due to syntax error at sent commands in SMTP session' }
sub match { return undef }
sub true {
    # Whether the address has moved or not
    # @param    [Sisimai::Data] argvs   Object to be detected the reason
    # @return   [Integer]               1: The address has moved
    #                                   0: Has not moved
    # @since v4.1.25
    # @see http://www.ietf.org/rfc/rfc2822.txt
    my $class = shift;
    my $argvs = shift // return undef;

    return undef unless ref $argvs eq 'Sisimai::Data';
    return 1 if $argvs->reason eq __PACKAGE__->text;

    my $esmtpreply = $argvs->replycode || '';
    return 1 if $argvs->replycode =~ m/\A[45]0[0-7]\z/;
    return 0;
}
<commit_msg>Remove needless substitution code<commit_after>package Sisimai::Reason::SyntaxError;
use feature ':5.10';
use strict;
use warnings;

sub text  { 'syntaxerror' }
sub description { 'Email rejected due to syntax error at sent commands in SMTP session' }
sub match { return undef }
sub true {
    # Whether the address has moved or not
    # @param    [Sisimai::Data] argvs   Object to be detected the reason
    # @return   [Integer]               1: The address has moved
    #                                   0: Has not moved
    # @since v4.1.25
    # @see http://www.ietf.org/rfc/rfc2822.txt
    my $class = shift;
    my $argvs = shift // return undef;

    return undef unless ref $argvs eq 'Sisimai::Data';
    return 1 if $argvs->reason eq __PACKAGE__->text;
    return 1 if $argvs->replycode =~ m/\A[45]0[0-7]\z/;
    return 0;
}

{'fraction_non_alphanumeric': 0.11274221961244862, 'fraction_numerical': 0.024662360540223135, 'mean_word_length': 2.506172839506173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6939177', 'n_tokens_mistral': 580, 'n_tokens_neox': 545, 'n_words': 188}