From a312b28a7a4dae53ab363850e41cdb9e9ef9f127 Mon Sep 17 00:00:00 2001 From: Jaimos Skriletz Date: Tue, 3 Feb 2026 21:13:04 -0700 Subject: [PATCH] Remove partial credit note in avg_problem_grader. This note isn't that useful and can be misleading as it only is about number of answer blanks. --- lib/WeBWorK/PG/Translator.pm | 3 --- macros/core/PGanswermacros.pl | 2 -- 2 files changed, 5 deletions(-) diff --git a/lib/WeBWorK/PG/Translator.pm b/lib/WeBWorK/PG/Translator.pm index ef66ad5a70..c4ba09bd0c 100644 --- a/lib/WeBWorK/PG/Translator.pm +++ b/lib/WeBWorK/PG/Translator.pm @@ -1077,9 +1077,6 @@ sub avg_problem_grader { my %problem_result = (score => 0, errors => '', type => 'avg_problem_grader', msg => ''); - $problem_result{msg} = eval('main::maketext("You can earn partial credit on this problem.")') - if keys %$answers > 1; - # Return unless answers have been submitted. return (\%problem_result, $problem_state) unless $form_options{answers_submitted} == 1; diff --git a/macros/core/PGanswermacros.pl b/macros/core/PGanswermacros.pl index d858e432c1..5ff746d85b 100644 --- a/macros/core/PGanswermacros.pl +++ b/macros/core/PGanswermacros.pl @@ -1638,8 +1638,6 @@ sub avg_problem_grader { my %problem_result = (score => 0, errors => '', type => 'avg_problem_grader', msg => ''); - $problem_result{msg} = maketext('You can earn partial credit on this problem.') if keys %$answers > 1; - # Return unless answers have been submitted. return (\%problem_result, $problem_state) unless $form_options{answers_submitted} == 1;