Skip to content
docsv0.42.1

AnswerVerdict

A finite answer judgment; acceptance grants neither work verification nor authority.

AnswerVerdict::__construct()

public function __construct(string $status, string $candidateSha256, string $reason, array $evidence = []):

Parameters

Parameters of __construct()
NameTypeDescription
$statusstring
$candidateSha256string
$reasonstring
$evidencearray<string, mixed>producer-owned criterion and evidence coordinates

AnswerVerdict::toArray()

public function toArray(): array

Export the verdict bound to the raw candidate and its producer evidence.