Skip to content

Commit 036a151

Browse files
committed
More logging
1 parent f7b35e8 commit 036a151

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/grader/Grader.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ class Grader {
417417
) {
418418
let studentMutationOutput =
419419
'Please refer to your assignment instructions for the specifications of how (if at all) your tests will be graded. These results are purely informational: '
420+
if (mutantFailureAdvice) {
421+
studentMutationOutput = mutantFailureAdvice
422+
}
420423
if (mutantResults) {
421424
const getMutantPrompt = (mutantName: string) => {
422425
if (this.config.mutantAdvice) {
@@ -463,6 +466,7 @@ class Grader {
463466
studentMutationOutput += `Faults not detected: ${mutantsNotDetected.length}:\n`
464467
studentMutationOutput += `${mutantsNotDetected.join('\n')}`
465468
}
469+
this.logger.log('hidden', studentMutationOutput)
466470
testFeedbacks.push({
467471
name: 'Fault Coverage Report',
468472
output: studentMutationOutput,

0 commit comments

Comments
 (0)