Eval loop follow-ups and Open Responses judge support#92
Merged
Conversation
… repackaged jar does not hide them
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.
A few follow-ups on the eval loop, plus Open Responses support for the server judge.
Run pages now show token, cost, and latency totals live while a run is still in progress, instead of only after it completes. The totals are read from the items on the fly for running and evaluating runs and from the materialized columns once the run is terminal.
Adds a review queue: a page and endpoint that list run items still needing a human verdict (never annotated, or marked unsure), so a reviewer can work through one queue instead of opening runs one by one. It can be scoped to a project, and annotating an item drops it from the queue. The query is backed by a Postgres test.
Adds Open Responses support to the server judge. Open Responses is a vendor-neutral, multi-provider API standard; the judge now speaks it by default and falls back to Chat Completions per connection. Each LLM connection carries a protocol field (Responses or Chat Completions); new connections default to Responses, and existing connections are backfilled to Chat Completions so nothing currently working changes. The connection form gets an API selector. Covered by unit tests for both request and response shapes and a live integration test against the real endpoint.
Adds live-HTTP integration tests for the judge against a real OpenAI-compatible endpoint (Chat Completions and Responses), gated on OPENAI_API_KEY and excluded from the normal test run. Points failsafe at the exploded classes so these run in the server module, whose Spring Boot repackage would otherwise hide the classes.
Also hardens the reporter integration test to locate items by input rather than position, since a batch flush leaves their order unspecified.