Skip to content

[FEAT]: Add final evaluation result contract - #146

Draft
spencrr wants to merge 2 commits into
microsoft:mainfrom
spencrr:dev/spencrr/trace-result-contract
Draft

[FEAT]: Add final evaluation result contract#146
spencrr wants to merge 2 commits into
microsoft:mainfrom
spencrr:dev/spencrr/trace-result-contract

Conversation

@spencrr

@spencrr spencrr commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the data model needed to separate final verdict evidence from online turn evidence. Result gains optional evaluation and termination_reason fields, Turn gains an optional evaluation role, and new direct attack/probe resolver functions map one final evaluation to a safety status.

Existing list-based resolvers and evaluate_turn_async remain available and warning-free. The change is additive and does not alter execution behavior in this layer.

Depends on #145. Because the branches live on a fork, this PR temporarily includes the lower-layer diff and targets main; that diff disappears as dependencies merge.

Breaking changes

None.

Checklist

  • pre-commit run --all-files passes
  • Tests added for fields, public exports, resolver mappings, and legacy compatibility
  • Documentation updated

Validation: 141 focused and producer regression tests pass, strict documentation build passes, and static checks pass.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant