adithya9903's picture
Deploy PolyGuard HF training Space
fd0c71a verified
"""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,
}