@golden-frijoles/kit 1.1.0 → 1.1.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/bets-grounded.mjs +3 -1
- package/package.json +1 -1
package/dist/bets-grounded.mjs
CHANGED
|
@@ -96,7 +96,9 @@ export function shareByMonth({ docs, inputKeys, month = null }) {
|
|
|
96
96
|
else if (recordedTrue(fm.grounded)) unbacked.push(slug);
|
|
97
97
|
}
|
|
98
98
|
const total = counted.length;
|
|
99
|
-
|
|
99
|
+
// Two decimals: the engine stores input values as NUMERIC(14,2), so a finer value would read back rounded and a
|
|
100
|
+
// same-day re-push would look like a different value.
|
|
101
|
+
const share = total ? Math.round((grounded.length / total) * 100) / 100 : null;
|
|
100
102
|
return { month: m, total, grounded, excluded, unbacked, share };
|
|
101
103
|
});
|
|
102
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golden-frijoles/kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "The scripts the Golden Frijoles skills run, packaged so they work in any repo: planning, build-order, reporting and verification rails. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|