Commit ffd4b61
Fix TaskNavigationEfficiencyEvaluator threshold defaulting to 3.0 for binary metric (#46542)
* Initial plan
* Fix TaskNavigationEfficiencyEvaluator threshold: use 1.0 instead of default 3.0
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/e376f26a-4cd6-44a9-b271-81eb2b6e86d9
Co-authored-by: m7md7sien <16615690+m7md7sien@users.noreply.github.com>
* Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_task_navigation_efficiency/_task_navigation_efficiency.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Use self._threshold in return dict and add result/threshold test assertions
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/28756174-3e26-4ea2-849c-9d5c0a28d6c3
Co-authored-by: m7md7sien <16615690+m7md7sien@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: m7md7sien <16615690+m7md7sien@users.noreply.github.com>
Co-authored-by: Mohamed Hessien <mohessie@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 472cc19 commit ffd4b61
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- sdk/evaluation/azure-ai-evaluation
- tests/unittests
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments