feat(eval): multi-model comparison, gd-eval models command, Langfuse …#1642
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1642 +/- ##
=======================================
Coverage 79.10% 79.10%
=======================================
Files 231 231
Lines 15718 15718
=======================================
Hits 12433 12433
Misses 3285 3285 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
bf9a524 to
0a1000f
Compare
…enhancements
Multi-model comparison (--model repeated):
- gd-eval run --model gpt-5.2 --model gpt-4o evaluates the full dataset
against each model sequentially and prints a side-by-side comparison table
with winner. --model accepts provider/model syntax to disambiguate
(e.g. --model Foundry4o/gpt-5.2 or --model HN_Anthropic/claude-opus-4-7).
- --provider flag removed — superseded by provider/model syntax; ambiguous-model
error now suggests the syntax directly.
- Workspace original active model restored in finally block after all models run.
- JSON report always uses nested {models, runs, comparison} shape.
- Langfuse: one named dataset run per model (gd-eval-{ts}-{model_id}).
New command: gd-eval models
- Lists all LLM providers and their models with provider ID, family, and
active marker. Marks the workspace's currently active model when --workspace given.
Provider type labelling:
- Always fetches model family live via list_llm_provider_models_by_id() —
automatically correct for new families without code changes.
- Combines gateway + family: OPENAI→family only, AWS_BEDROCK→BEDROCK/family,
AZURE_FOUNDRY→AZURE/family (e.g. BEDROCK/ANTHROPIC, AZURE/OPENAI).
- Model and provider_type in Langfuse trace metadata, tags, and
dataset-run-item runDescription + metadata.
EvalReport gains provider_name and provider_type; comparison table shows
provider/model to distinguish runs with the same model id across providers.
111 tests, ruff + ty clean.
JIRA: GDAI-1831
Risk: low — new isolated features; no changes to existing packages.
0a1000f to
c253bdf
Compare
hkad98
approved these changes
Jun 4, 2026
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.
…enhancements
Multi-model comparison (--model repeated):
New command: gd-eval models
Provider type labelling:
EvalReport gains provider_name and provider_type; comparison table shows provider/model to distinguish runs with the same model id across providers.
JIRA: GDAI-1831
Risk: low — new isolated features; no changes to existing packages.