@rely-ai/caliber 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +6 -9
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -3763,19 +3763,16 @@ function displayScoreSummary(result) {
|
|
|
3763
3763
|
console.log(
|
|
3764
3764
|
chalk3.gray(" ") + gc(`${result.score}/${result.maxScore}`) + chalk3.gray(` (Grade ${result.grade})`) + chalk3.gray(` \xB7 ${agentLabel}`) + chalk3.gray(` \xB7 ${progressBar(result.score, result.maxScore, 20)}`)
|
|
3765
3765
|
);
|
|
3766
|
-
const failing = result.checks.filter((c) => !c.passed
|
|
3766
|
+
const failing = result.checks.filter((c) => !c.passed);
|
|
3767
3767
|
if (failing.length > 0) {
|
|
3768
|
-
const shown = failing.slice(0,
|
|
3768
|
+
const shown = failing.slice(0, 5);
|
|
3769
3769
|
for (const check of shown) {
|
|
3770
|
-
console.log(chalk3.gray(` \u2717 ${check.name}`)
|
|
3770
|
+
console.log(chalk3.gray(` \u2717 ${check.name}`));
|
|
3771
3771
|
}
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
if (failing.length > 0) {
|
|
3772
|
+
const remaining = failing.length - shown.length;
|
|
3773
|
+
const moreText = remaining > 0 ? ` (+${remaining} more)` : "";
|
|
3777
3774
|
console.log(chalk3.dim(`
|
|
3778
|
-
Run ${chalk3.reset("caliber score")} for
|
|
3775
|
+
Run ${chalk3.reset("caliber score")} for details.${moreText}`));
|
|
3779
3776
|
}
|
|
3780
3777
|
console.log("");
|
|
3781
3778
|
}
|
package/package.json
CHANGED