Commit 36ed3d0
fix(gooddata-eval): tell the simulated user the forecast settings it pins
`forecast_confidence` and `forecast_seasonal` are scored whenever a fixture
pins them, but `_build_clarification_prompt` never passed them to the
simulated user. An agent that asks which confidence level to use therefore
got a guess, chose something else, and `confidence_correct` reported the
harness's own omission as the agent's error.
Both are now included on the same terms as the other hints, with
`is not None` rather than a truth test: a pinned `forecast_seasonal: false`
is an answer, not an absence, and `0.0` would be a confidence level.
Also drops a `visualization_ref` argument from one extraction test. The
production code never read it and no other test sends it -- it was
decoration that implied an argument the execute_forecast payload does not
carry, and reading it as real is what the pairing logic would have to do
to be wrong.
Found in review by CodeRabbit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 0cf23ca commit 36ed3d0
2 files changed
Lines changed: 51 additions & 1 deletion
File tree
- packages/gooddata-eval
- src/gooddata_eval/core/agentic
- tests
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
0 commit comments