Skip to content

Commit 43ca779

Browse files
authored
Add insert rate, persistence rate, lines of code definitions (#1007)
Add definitions for the three new metrics we [recently added](https://sourcegraph.slack.com/archives/C06358CMSRM/p1739491550008149)to Sourcegraph Analytics (insert rate, persistence rate, lines of code)
1 parent f7742a2 commit 43ca779

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/analytics/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Many of the metrics above are also available for Cody only. However, some user d
7373
| Completions by day | The number of completions suggested by day and by editor. |
7474
| Completion acceptance rate (CAR) | The percent of completions presented to a user for at least 750ms accepted by day, the editor, day, and month. |
7575
| Weighted completion acceptance rate (wCAR) | Similar to CAR, but weighted by the number of characters presented in the completion, by the editor, day, and month. This assigns more "weight" to accepted completions that provide more code to the user. |
76+
| Completion persistence rate | Percent of completions that are retained or mostly retained (67%+ of inserted text) after various time intervals. |
7677
| Average completion latency (ms) | The average milliseconds of latency before a user is presented with a completion suggestion by an editor. |
7778
| Acceptance rate by language | CAR and total completion suggestions broken down by editor during the selected time |
7879

@@ -85,8 +86,11 @@ Many of the metrics above are also available for Cody only. However, some user d
8586
| Hours saved by chats | Total hours saved through Cody chat interactions during the selected time , assuming 5 minutes saved per chat |
8687
| Cody chats by day | Daily count of chat interactions |
8788
| Cody chat users | Daily count of chat users |
88-
| Prompts created, edited, and deleted by day | Daily count of prompt management activities, including creation, modification, and removal |
89-
| Users creating, editing, and deleting prompts by day | Number of unique users performing prompt management activities each day |
89+
| Lines of code inserted | Lines of code generated by Cody in chat that get applied, inserted, or pasted into the editor. Only VS Code is included in this metric for now |
90+
| Insert rate | Percent of code generated by Cody in chat that gets applied, inserted, or pasted into the editor. Only VS Code is included in this metric for now |
91+
| Chat apply & insert persistence rate | Percent of code inserted by Apply and Insert actions that are retained or mostly retained (67%+ of inserted text) after various time intervals |
92+
| Prompts created, edited, and deleted by day | Daily count of prompt management activities, including creation, modification, and removal |
93+
| Users creating, editing, and deleting prompts by day | Number of unique users performing prompt management activities each day |
9094

9195
### Command metrics (deprecated)
9296

0 commit comments

Comments
 (0)