File size: 379 Bytes
21c7db9
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Process-aware feedback checks."""

from __future__ import annotations


def build_process_feedback(parsed: bool, legal: bool, risk_reduced: bool, abstain_justified: bool) -> dict[str, bool]:
    return {
        "parsed_correctly": parsed,
        "chosen_candidate_legal": legal,
        "risk_reduced": risk_reduced,
        "abstention_justified": abstain_justified,
    }