Skip to content

Commit 0bea517

Browse files
rajbosCopilot
andauthored
Update src/extension.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f7c93b4 commit 0bea517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5072,7 +5072,7 @@ class CopilotTokenTracker implements vscode.Disposable {
50725072

50735073
// Apply button usage (high rate shows active adoption of suggestions)
50745074
if (p.applyUsage && p.applyUsage.totalCodeBlocks > 0) {
5075-
const applyRatePercent = Math.round(p.applyUsage.applyRate * 100);
5075+
const applyRatePercent = Math.round(p.applyUsage.applyRate);
50765076
wiEvidence.push(`${applyRatePercent}% code block apply rate (${p.applyUsage.totalApplies}/${p.applyUsage.totalCodeBlocks})`);
50775077
if (p.applyUsage.applyRate >= 0.5) {
50785078
wiStage = Math.max(wiStage, 2) as 1 | 2 | 3 | 4;

0 commit comments

Comments
 (0)