Repository navigation
Commit 17cbe61
fix(gooddata-eval): count either producing tool in refusal scoring
A refusal is a creation shape, so `_producing_tool` returns
`draft_dashboard` and the flag matched only that name. An agent that routed
to the editor and had a `patch_dashboard` call rejected left the same empty
result and empty part, so it passed as a clean refusal -- the same hole the
previous commit closed, through the other tool.
Both names count now. The flag is read only by the refusal branch, so
widening it tightens that shape and changes nothing else.
Found in review by CodeRabbit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent a047206 commit 17cbe61
2 files changed
Lines changed: 26 additions & 6 deletions
File tree
- packages/gooddata-eval
- src/gooddata_eval/core/agentic
- tests
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
773 | | - | |
774 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
938 | | - | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
939 | 942 | | |
940 | 943 | | |
941 | 944 | | |
| |||
1216 | 1219 | | |
1217 | 1220 | | |
1218 | 1221 | | |
1219 | | - | |
1220 | | - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1221 | 1227 | | |
1222 | 1228 | | |
1223 | 1229 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1518 | 1532 | | |
1519 | 1533 | | |
1520 | 1534 | | |
| |||
0 commit comments