fix: add comment on wrong result status
This commit is contained in:
parent
18b7193bc0
commit
914ad6c7e3
|
@ -57,8 +57,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) (
|
|||
comment += fmt.Sprintf(
|
||||
"Unexpected executor status: %s.", result.Status,
|
||||
)
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
for _, output := range caseConf.Outputs {
|
||||
answer, err := os.ReadFile(output.AnswerPath)
|
||||
if err != nil {
|
||||
|
@ -87,7 +86,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) (
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
res = append(res, stage.ParserResult{
|
||||
Score: score,
|
||||
Comment: comment,
|
||||
|
|
Loading…
Reference in New Issue
Block a user