diff --git a/src/irmMetric.ts b/src/irmMetric.ts index e99df97..6a3724e 100644 --- a/src/irmMetric.ts +++ b/src/irmMetric.ts @@ -193,6 +193,10 @@ export function normalizeIRM (averageResponseTime: number, maxResponseTime: numb */ export async function getIRM(owner: string, repo: string): Promise { const issues = await fetchRepoIssues(owner, repo); - return calculateIRM(issues); + + + const irmScore = calculateIRM(issues); + return parseFloat(irmScore.toFixed(3)); + }