feat(design): skill health dashboard mockup (#518)

* feat(Design): skill health dashboard mockup

* fix(comments): code according to comments
This commit is contained in:
Aryan Tejani
2026-03-17 02:31:41 +05:30
committed by GitHub
parent 10879da823
commit 89044e8c33
6 changed files with 934 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ const tracker = require('./tracker');
const versioning = require('./versioning');
const DAY_IN_MS = 24 * 60 * 60 * 1000;
const PENDING_AMENDMENT_STATUSES = new Set(['pending', 'proposed', 'queued', 'open']);
const PENDING_AMENDMENT_STATUSES = Object.freeze(new Set(['pending', 'proposed', 'queued', 'open']));
function roundRate(value) {
if (value === null) {
@@ -253,8 +253,11 @@ function formatHealthReport(report, options = {}) {
}
module.exports = {
PENDING_AMENDMENT_STATUSES,
calculateSuccessRate,
collectSkillHealth,
discoverSkills,
filterRecordsWithinDays,
formatHealthReport,
summarizeHealthReport,
};