You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+75-13Lines changed: 75 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,47 @@ _NOTE: For information on support and assistance, click [here](https://github.co
7
7
8
8
This application displays a set of charts with various metrics related to GitHub Copilot for your <i>GitHub Organization</i> or <i>Enterprise Account</i>. These visualizations are designed to provide clear representations of the data, making it easy to understand and analyze the impact and adoption of GitHub Copilot. This app utilizes the [GitHub Copilot Metrics API](https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-usage?apiVersion=2022-11-28).
Users can now filter metrics for custom date ranges up to 100 days, with an intuitive calendar picker interface. The system also supports excluding weekends and holidays from calculations.
22
+
23
+
<palign="center">
24
+
<imgwidth="800"alt="Date Range Filter"src="./images/date-range-filter.png">
25
+
</p>
26
+
27
+
### Teams Comparison
28
+
Compare Copilot metrics across multiple teams within your organization to understand adoption patterns and identify high-performing teams.
View comprehensive statistics for GitHub.com features including Chat, PR Summaries, and detailed model usage analytics. Each section provides expandable details showing model types, editors, and usage patterns.
Export your metrics data in multiple formats for further analysis or reporting. Options include summary reports, full detailed exports, and direct clipboard copying.
1.**Acceptance Rate:** This metric represents the ratio of accepted lines and suggestions to the total suggested by GitHub Copilot. This rate is an indicator of the relevance and usefulness of Copilot's suggestions. However, as with any metric, it should be used with caution as developers use Copilot in many different ways (research, confirm, verify, etc., not always "inject").
@@ -50,31 +88,28 @@ Here are the key metrics visualized in these charts:
50
88
51
89
Pie charts with the top 5 languages by accepted prompts and acceptance rate (by count/by lines) are displayed at the top.
<imgwidth="800"alt="Updated Language breakdown with charts and data table"src="./images/languages-breakdown.png">
54
92
</p>
55
93
56
-
The language breakdown analysis tab also displays a table showing the Accepted Prompts, Accepted Lines of Code, and Acceptance Rate (%) for each language over the past 28 days. The entries are sorted by the number of _accepted lines of code descending_.
The language breakdown analysis tab also displays a table showing the Accepted Prompts, Accepted Lines of Code, and Acceptance Rate (%) for each language over the selected time period. The entries are sorted by the number of _accepted lines of code descending_.
1.**Cumulative Number of Turns:** This metric represents the total number of turns (interactions) with the Copilot over the past 28 days. A 'turn' includes both user inputs and Copilot's responses.
102
+
1.**Cumulative Number of Turns:** This metric represents the total number of turns (interactions) with the Copilot over the selected time period. A 'turn' includes both user inputs and Copilot's responses.
68
103
69
-
2.**Cumulative Number of Acceptances:** This metric shows the total number of lines of code suggested by Copilot that have been accepted by users over the past 28 days.
104
+
2.**Cumulative Number of Acceptances:** This metric shows the total number of lines of code suggested by Copilot that have been accepted by users over the selected time period.
70
105
71
106
3.**Total Turns | Total Acceptances Count:** This is a chart that displays the total number of turns and acceptances.
72
107
73
-
4.**Total Active Copilot Chat Users:** A bar chart that illustrates the total number of users who have actively interacted with Copilot over the past 28 days.
108
+
4.**Total Active Copilot Chat Users:** A bar chart that illustrates the total number of users who have actively interacted with Copilot over the selected time period.
1.**Total Assigned:** This metric represents the total number of Copilot seats assigned within the current organization/enterprise.
@@ -85,6 +120,33 @@ The language breakdown analysis tab also displays a table showing the Accepted P
85
120
86
121
4.**No Activity in the Last 7 Days (including never used seats):** A table to display seats that have had no activity in the past 7 days, ordered by the date of last activity. Seats that were used earlier are displayed at the top.
87
122
123
+
## Advanced Features
124
+
125
+
### Flexible Date Range Selection
126
+
The application supports flexible date range selection allowing users to analyze metrics for any period up to 100 days. The date picker provides an intuitive calendar interface with options to exclude weekends and holidays from the analysis.
127
+
128
+
### Data Export Capabilities
129
+
Multiple export options are available in the API Response tab:
130
+
-**Download CSV (Summary)**: Exports key metrics in a condensed format
131
+
-**Download CSV (Full)**: Exports comprehensive detailed data
132
+
-**Copy Metrics to Clipboard**: Quick copy functionality for immediate use
133
+
-**Check Metric Data Quality**: Validates data integrity and completeness
134
+
135
+
### Team Analytics
136
+
Organizations can compare metrics across different teams to:
137
+
- Identify high-performing teams
138
+
- Understand adoption patterns
139
+
- Share best practices across teams
140
+
- Monitor team-specific engagement levels
141
+
142
+
### Model Usage Analytics
143
+
Detailed insights into AI model usage including:
144
+
- IDE Code Completions by editor and model type
145
+
- IDE Chat interactions and model preferences
146
+
- GitHub.com Chat usage patterns
147
+
- PR Summary generation statistics
148
+
- Custom vs. default model adoption rates
149
+
88
150
## Setup Instructions
89
151
90
152
In the `.env` file, you can configure several environment variables that control the behavior of the application.
0 commit comments