fix(gooddata-eval): persist skill_routing credit across conversation turns - #1762
fix(gooddata-eval): persist skill_routing credit across conversation turns#1762Tomkess wants to merge 1 commit into
Conversation
…turns _activated_skills() only looked at the current turn's tool calls, so skill_routing was recomputed from scratch each turn. The platform keeps a skill active once set_skills is called, so an agent correctly omits a redundant set_skills call on a later turn that reuses the same skill -- but the scorer forced skill_routing=False whenever no skill was activated *this* turn, regardless of whether it was already active. Found via scripts/authoring/debug_conversation.py replaying analyst-explores-dynamic-currency-conversion (gdc-mic-ai-evaluation repo): turns t4/t5 both ran create_adhoc_visualization/create_metric successfully against an already-active skill, yet scored FAIL solely on this. Track activated skills in a running set across the whole conversation instead of resetting it every turn.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe conversation now preserves activated skills across turns. Skill routing checks all skills activated so far. Tests cover both previously activated skills and skills that were never activated. ChangesPersistent skill routing
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The PR persists skill activation across conversation turns while retaining the false case for skills that were never activated. No actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1762 +/- ##
=======================================
Coverage 80.65% 80.65%
=======================================
Files 272 272
Lines 19369 19371 +2
=======================================
+ Hits 15622 15624 +2
Misses 3747 3747 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Test plan
Summary by CodeRabbit
Bug Fixes
Tests