Repository navigation
Release 0.7.0 - #156
Merged
Merged
Release 0.7.0#156
Conversation
Decision models such as Jev (TypeSafe) answer typed questions (noul, choice, score) with probabilities instead of writing a verdict. Running existing chat-model judges on them means guessing questions from prompts written for another kind of model, so this adds judges written for them. - New judge kind, output "decision": a config's `decision` holds `questions(...)` (narrow, typed questions with described options and levels) and `grade(answers, ...)` (the verdict in code). Five built-ins in judges/decision_judges.py: decision_safety, decision_harm, decision_expectations, decision_abstention, decision_helpfulness. - DecisionAnswers applies yes/no/confidence thresholds and records every answer read in the uncertain band; uncertainty marks the verdict low_confidence and never changes the grade. - DecisionJudgeClient (decision_judge.py): builds structured state from the conversation, sends the judge's questions in one System One request, validates answer types (a refusal raises, not retried), calls the judge's grade and records the served model, answers and usage under judge_decision. Factories: typesafe(), systemone(), openrouter(), ollama(). - ModelAuditor routes decision judges to the client's agrade() and enforces the pairing: a decision judge needs a decision client, a decision client grades only decision judges, and a decision judge has no judge_prompt to replace. customize_judge, rejudge and correctness_judge refuse decision judges. - targets/decision.py: the System One POST moves into post_systemone(), shared by DecisionTarget and the judge client.
Decision judges for System One decision models (Jev)
chore(release): bump SimpleAudit to 0.7.0
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges dev into main for 0.7.0: decision judges for System One decision models such as Jev (#154): a new
decisionjudge kind with five built-ins (decision_safety,decision_harm,decision_expectations,decision_abstention,decision_helpfulness),DecisionJudgeClient, and strict judge/client pairing inModelAuditor; version bump (#155).