evidence-report-mcp / aggregate
Function: aggregate()
ts
function aggregate(checks: CheckResult[], required: string[]): Verdict;Defined in: server.ts:48
Combines check results into one verdict, failing closed, in this order:
- Any check that failed makes the verdict
fail, even a heuristic one or one that is not required. - A required check that is missing, errored or was skipped makes it
unknown: unknown is not zero. - If only heuristic checks are required and passed, it is
unknown: judgement can't certify. - Otherwise it is
pass.
Parameters
checks
The results of the checks that ran.
required
string[]
The ids of the checks that must pass for a pass.
Returns
The verdict.