Repository navigation
[bot] Merge master/a9d56d50 into rel/dev - #1974
Merged
Merged
Conversation
The search_tool items pass as soon as search_objects is called, so
an item cannot tell whether the agent found the right objects, showed
the search widget, kept to the search skill or answered honestly. Ten
of the twelve items name objects the fixture lacks and still pass.
An item can now opt into further checks beside tool_call. Each key adds
one score and gates the run; an item without them scores as before:
- expected_objects: every ref is returned by a search_objects result
or a searchResults part. A search the agent runs for itself shows no
widget, so its tool result counts. attribute, label and date_attribute
name the same object
- expect_widget: a searchResults part is present, or absent
- required_tools / forbidden_tools: the tools of the scored turn
- search_required: false lifts the tool_selection gate for routing
items, which then need a check of the turn; their search verdicts
move to the detail's diagnostics
- answer_rubric: the LLM judge grades the last reply's text; a turn
without text fails without a judge request
- expected_limit: any search_objects call asked for this limit
- no_raw_ids: no UUID, and no type/id with an underscore, dot or digit,
outside a {type/id} chip, which the UI renders as the object's title
- setup_turns: sent first in the same conversation, not scored; they
should only read the workspace. The CLI runs such an item serially
- report_only: the checks are published as diagnostics and do not gate
A score that does not gate the item is published as <name>_diagnostic:
every check of a report_only item, and tool_selection of an item with
search_required: false. A score name means the same on every item.
Unknown keys and malformed values raise before any request. A judge
without a verdict labels the run ERROR when nothing else failed it, and
its score is not published. Such a run counts in unscored_runs and is
not picked as the best run while a graded run exists. A setup turn or question turn that fails is
the agent's FAIL with the chat exit reason, as a failed chat turn is
for every kind, and the other runs are kept. An HTTP or transport
error on a turn counts as a failed turn, and a failed turn publishes no
search verdict, since nothing was measured. The evaluators take the
whole expected output as expected_output. The CLI passes it whole
unless it holds only search_objects arguments, which still go in
expected_tool_call.
tool_correctness now accepts any search_objects call of the turn and
compares compatible_with_afm loosely: the agent often looks a metric up
first and asks for compatible attributes after. It is published only
when the item names arguments. Re-scored on 36 saved runs of the 12
current items, no tool_correctness value changes.
SEARCH_CONDITIONAL_SCORES lists the published check names, and
SEARCH_DIAGNOSTIC_SCORES their non-gating names.
jira: QA-29908
risk: low
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(gooddata-eval): opt-in search-tool checks beyond the tool call
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## rel/dev #1974 +/- ##
===========================================
+ Coverage 87.18% 87.37% +0.19%
===========================================
Files 355 356 +1
Lines 28055 28380 +325
===========================================
+ Hits 24459 24798 +339
+ Misses 3596 3582 -14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
🚀 Automated PR to perform merge from master into rel/dev with changes up to a9d56d5 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/44692858364).