Skip to main content

verify

Function verify 

Source
pub fn verify(
    project_root: &Path,
    number: u64,
    agent: &str,
    verdict: TaskVerdict,
    reason: Option<&str>,
) -> Result<TaskAckV1, CloudError>
Expand description

Check the submitted result of task number as agent (C0 2.2 E48): accept makes it done, reject (with its reason) opens it again. The agent names itself as on its claims; Cloud refuses the agent that did the work (self_verify) and a task that is not submitted.