chore: update tests with removed exclude from cli tsconfig (#11540)

This commit is contained in:
Adam Weidman
2025-10-21 01:40:54 +02:00
committed by GitHub
parent 70a99af1d3
commit 723b8d33c2
5 changed files with 41 additions and 43 deletions

View File

@@ -60,12 +60,15 @@ export const computeSessionStats = (
const totalDecisions =
tools.totalDecisions.accept +
tools.totalDecisions.reject +
tools.totalDecisions.modify;
tools.totalDecisions.modify +
tools.totalDecisions.auto_accept;
const successRate =
tools.totalCalls > 0 ? (tools.totalSuccess / tools.totalCalls) * 100 : 0;
const agreementRate =
totalDecisions > 0
? (tools.totalDecisions.accept / totalDecisions) * 100
? ((tools.totalDecisions.accept + tools.totalDecisions.auto_accept) /
totalDecisions) *
100
: 0;
return {