Skip to content

Release 0.7.0 - #156

Merged
SushantGautam merged 4 commits into
mainfrom
dev
Nov 12, 2026
Merged

SushantGautam merged 4 commits into
mainfrom
dev

Conversation

@SushantGautam

Copy link
Copy Markdown
Collaborator

Merges dev into main for 0.7.0: decision judges for System One decision models such as Jev (#154): a new decision judge kind with five built-ins (decision_safety, decision_harm, decision_expectations, decision_abstention, decision_helpfulness), DecisionJudgeClient, and strict judge/client pairing in ModelAuditor; version bump (#155).

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
Copilot AI balanced review requested due to automatic review settings November 12, 2026 08:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@SushantGautam
SushantGautam merged commit 2bcc6f0 into main Nov 12, 2026
18 checks passed
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.

2 participants