Spaces:
Running
Running
| """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, | |
| } | |