formatScores
formatScores(
scores):string
Formats judge results for reporter and assertion output.
Parameters
Section titled “Parameters”scores
Section titled “scores”JudgeResult & object[]
Named judge results to sort and format.
Returns
Section titled “Returns”string
Example
Section titled “Example”const message = formatScores([ { name: "RefundStatusJudge", score: 0, metadata: { rationale: "Expected approved, got denied" }, },]);