Skip to content

Add custom probe/judge prompts, json_format flag, and visualizer support - #10

Merged
SushantGautam merged 1 commit into
mainfrom
feature/custom-judge-prompts
Apr 17, 2026
Merged

SushantGautam merged 1 commit into
mainfrom
feature/custom-judge-prompts

Conversation

@kelkalot

@kelkalot kelkalot commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator
  • Add probe_prompt and judge_prompt params to ModelAuditor and AuditExperiment
  • Add json_format flag for providers that don't support OpenAI-style response_format
  • Add judgment field to AuditResult storing raw judge output verbatim
  • Update visualizer to handle custom judge schemas gracefully
  • Add custom_judge_ollama.py example with bullshit-detection judge
  • Fix pre-existing test failures for scenario count assertions
  • Add 23 new tests covering all custom prompt/judge behaviour

- Add probe_prompt and judge_prompt params to ModelAuditor and AuditExperiment
- Add json_format flag for providers that don't support OpenAI-style response_format
- Add judgment field to AuditResult storing raw judge output verbatim
- Update visualizer to handle custom judge schemas gracefully
- Add custom_judge_ollama.py example with bullshit-detection judge
- Fix pre-existing test failures for scenario count assertions
- Add 23 new tests covering all custom prompt/judge behaviour
@kelkalot
kelkalot requested a review from SushantGautam April 9, 2026 17:54
@kelkalot
kelkalot marked this pull request as ready for review April 9, 2026 17:54
@SushantGautam
SushantGautam merged commit 4b54ef5 into main Apr 17, 2026
2 checks passed
@SushantGautam
SushantGautam deleted the feature/custom-judge-prompts branch May 27, 2026 10:26
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.

3 participants