Skip to main content

verify_assertions

Function verify_assertions 

Source
pub fn verify_assertions(
    store: &Store,
    run_id: i64,
    test_id: &str,
    assertions: &[TraceAssertion],
) -> Result<Vec<Diagnostic>>
Expand description

The failures alone, for callers with no response to hand.

Delegates rather than duplicating: one evaluation, two entry points. meta is Null, so the companion cover sees no declared tool list and — by the asymmetry in cover — reports nothing. That is the correct answer for a caller that cannot supply the metadata, and it is why this shortcut is safe to keep for the assertion tests and the published API.

A production caller that has an LlmResponse should use verify_assertions_with_meta; this one silently has no coverage signal to give.