filler
-
Cumulative Number of Lines of Code Accepted
+
Cumulative Number of Acceptances
Over the last 28 days
@@ -33,7 +33,7 @@
- Total Suggestions Count | Total Acceptances Count
+ Total Acceptances | Total Turns Count
Total Active Copilot Chat Users
diff --git a/src/components/LanguagesBreakdown.vue b/src/components/LanguagesBreakdown.vue
index 6cb50c2d..bd1223c2 100644
--- a/src/components/LanguagesBreakdown.vue
+++ b/src/components/LanguagesBreakdown.vue
@@ -23,25 +23,31 @@
-
-
- filler
- Top 5 languages by accepted prompts
-
-
-
+
+
+
+
+ filler
+ Top 5 languages by accepted prompts
+
+
+
+
-
-
- filler
- Top 5 languages by acceptance rate
-
-
-
+
+
+
+ filler
+ Top 5 languages by acceptance rate
+
+
+
+
+
Languages Breakdown
@@ -112,7 +118,6 @@
};
},
setup() {
- console.log('LanguagesBreakdown setup');
const metrics = ref([]);
@@ -172,7 +177,6 @@
yield* [...this.entries()].sort((a, b) => b[1].acceptanceRate - a[1].acceptanceRate);
}
-
// Get the top 5 languages by acceptance rate
const top5LanguagesAcceptanceRate = new Map([...languages.value].slice(0, 5));
@@ -184,7 +188,7 @@
datasets: [
{
data: Array.from(top5LanguagesAcceptanceRate.values()).map(language => language.acceptanceRate.toFixed(2)),
- backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],
+ backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16', '#FFD700', '#FF69B4', '#D8BFD8', '#DDA0DD', '#EE82EE', '#DA70D6', '#BA55D3', '#9370DB', '#8A2BE2', '#9400D3'],
},
],
};
@@ -199,7 +203,7 @@
datasets: [
{
data: Array.from(languages.value.values()).map(language => language.acceptedPrompts),
- backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],
+ backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16', '#FFD700', '#FF69B4', '#D8BFD8', '#DDA0DD', '#EE82EE', '#DA70D6', '#BA55D3', '#9370DB', '#8A2BE2', '#9400D3'],
},
],
};
@@ -212,19 +216,12 @@
datasets: [
{
data: Array.from(top5LanguagesAcceptedPrompts.values()).map(language => language.acceptedPrompts),
- backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],
+ backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16', '#FFD700', '#FF69B4', '#D8BFD8', '#DDA0DD', '#EE82EE', '#DA70D6', '#BA55D3', '#9370DB', '#8A2BE2', '#9400D3'],
},
],
};
-
-
numberOfLanguages.value = languages.value.size;
-
- console.log("Number of languages: " + numberOfLanguages.value);
-
- console.log("LanguagesChartData: " + JSON.stringify(languagesChartData));
-
}).catch(error => {
console.log(error);