Skip to content

[bot] Merge master/1d27d3fa into rel/dev - #1898

Merged
yenkins-admin merged 5 commits into
rel/devfrom
snapshot-master-1d27d3fa-to-rel/dev
Oct 23, 2026
Merged

yenkins-admin merged 5 commits into
rel/devfrom
snapshot-master-1d27d3fa-to-rel/dev

Conversation

@yenkins-admin

Copy link
Copy Markdown
Contributor

🚀 Automated PR to perform merge from master into rel/dev with changes up to 1d27d3f (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/39927258963).

Roman Rakus and others added 5 commits October 23, 2026 09:54
…keaway

LX-3167 evaluates AI Publisher takeaways in gd-eval. Dataset items need a
structured input matching the takeaway endpoint body, so the new
TakeawayInput model carries it, Langfuse items read it from input or
metadata, and an item carrying it resolves to the document_takeaway kind.
Unknown keys are rejected so a dataset typo fails loudly.

jira: LX-3167
risk: low
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The document_takeaway kind (LX-3167) needs a client for the AI
Publisher takeaway endpoint. It maps TakeawayInput to the camelCase
body, omitting every unset field because the server DTO forbids extra
keys and nulls, and always sends filterContext.

The whole response is kept on a new optional ChatResult.raw_response so
the evaluator can tell noData apart from an empty takeaway; every other
kind leaves it None. A non-2xx answer raises HTTPStatusError with the
status and response body in its message, so an item error shows why the
endpoint refused (flag off, no agent, failed visualization).

jira: LX-3167
risk: low
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The document_takeaway kind (LX-3167) has to prove first that a takeaway
is short and punchy: one finding for the page, not an executive
summary, whatever maxCharacters allows. Deterministic checks gate word
budget, headline length, sentence count, one paragraph, bold headline,
no headings, lists, ids or meta openers, and the length limit; an item's
format block switches a check off when its instruction asks for another
shape. word_count and headline_word_count go into the detail so they can
be published as trend scores.

Default judge criteria (one finding, no executive summary, chart
walk-through, background opener, figures, dates, causes outside the
data, chart description) are added unless the item opts out. Their
wording is calibrated against the judge with make calibrate-takeaway on
fixed good and bad texts; the reference good example used to fail the
cause criterion and an obvious executive summary used to pass.

noData decides the item alone, so an expected takeaway that came back
empty is a failure rather than an empty text to judge. The per-criterion
grading loop moves out of the summary evaluator into a shared helper
both evaluators use.

jira: LX-3167
risk: low
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
LX-3167 runs document_takeaway in the scheduled LLM eval CI through a
Tavern shim, and by hand through the CLI.

The CLI's routing backend becomes a test_kind -> client map, so
document_takeaway items go to the takeaway endpoint next to
dashboard_summary, and every client is closed. Items pulled with
--langfuse-dataset carry takeaway_input in metadata with a plain label
as input, which the loader already reads.

evaluate_document_takeaway runs an item K times, applies the gate and
writes the Langfuse experiment item through the same run context, gate
scores and metadata as the agentic kinds, so the nightly report and PR
comment read it unchanged. Every check is scored per run, with
word_count and headline_word_count as numeric trend scores. HTTP errors
and a missing takeaway_input surface as item errors, never as judged
failures. The README documents the kind and its item shape.

jira: LX-3167
risk: low
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
feat(gooddata-eval): evaluate Publisher document takeaways
@yenkins-admin
yenkins-admin merged commit d6eefb5 into rel/dev Oct 23, 2026
1 check passed
@yenkins-admin
yenkins-admin deleted the snapshot-master-1d27d3fa-to-rel/dev branch October 23, 2026 08:48
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b458dddb-8bd0-40f0-9b15-1422507818ea

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.75062% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.31%. Comparing base (4a5e851) to head (1d27d3f).
⚠️ Report is 628 commits behind head on rel/dev.

Files with missing lines Patch % Lines
...ges/gooddata-eval/src/gooddata_eval/core/_retry.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           rel/dev    #1898      +/-   ##
===========================================
+ Coverage    85.10%   85.31%   +0.20%     
===========================================
  Files          337      342       +5     
  Lines        24343    24670     +327     
===========================================
+ Hits         20716    21046     +330     
+ Misses        3627     3624       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants