Skip to content

FIX: key model-less objective targets by content hash in analytics v1 - #3171

Open
Utkarsh Bahuguna (u7k4rs6) wants to merge 1 commit into
microsoft:mainfrom
u7k4rs6:fix/target-identity-no-model
Open

Utkarsh Bahuguna (u7k4rs6) wants to merge 1 commit into
microsoft:mainfrom
u7k4rs6:fix/target-identity-no-model

Conversation

@u7k4rs6

@u7k4rs6 Utkarsh Bahuguna (u7k4rs6) commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Analytics keyed objective targets by model name, temperature and top_p, so every target without a model name (HTTP, Gandalf and so on) of one class ended up in a single unlabeled group. As Roman suggested, this is a pre-release correction to v1 rather than a v2. Targets with a model name keep their key, and the ones without fall back to their content hash, after unwrapping a wrapper the same way the eval rules do. Their labels skip the blank model name and fall back to the class name, so the SDK shows something like HTTPTarget with a short key and no endpoint details.

A new migration reruns the v1 backfill, so databases that already ran the original one get the corrected keys too, and the frozen-v1 docs note the correction. The tests cover distinct HTTP endpoints and Gandalf levels, blank model names, wrappers, unchanged model grouping, grouping and filtering across reports, facets and drill-downs, and a database that already applied the original migration.

Fixes #3087

This branch has not been deployed

No deployments
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.

BUG: attack analytics merges non-LLM targets into one unlabeled objective_target group

1 participant