Perl::Critic::Policy::PG::ProhibitDeprecatedWeightedGrader - The weightedGrader.pl functionality is now included in the default avg_problem_grader, and this macros is no longer needed.
The default avg_problem_grader includes all the functionality of the weightedGrader.pl, and use of this macro should be removed. Remove calling the function install_weighted_grader. Instead of calling WEIGHTED_ANS or NAMED_WEIGHTED_ANS, pass weight => n to the cmp method. In PGML use the following:
[_]{$answer}{ cmp_options => { weight => n } }
Instead of calling CREDIT_ANS pass credit => $answer1 or credit => [$answer1, $answer2, ...] to the cmp method.