more tweaks

This commit is contained in:
Dominic Ferrando
2025-10-17 19:45:07 -04:00
parent fadae8e7bc
commit 33eb924173
2 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -5240,7 +5240,7 @@
"standards": [ "standards": [
{ {
"metrics": { "metrics": {
"age": 20, "age": 27,
"weight": 0, "weight": 0,
"gender": "Male" "gender": "Male"
}, },
@@ -5254,7 +5254,7 @@
}, },
{ {
"metrics": { "metrics": {
"age": 18, "age": 27,
"weight": 0, "weight": 0,
"gender": "Female" "gender": "Female"
}, },
@@ -5285,7 +5285,7 @@
"standards": [ "standards": [
{ {
"metrics": { "metrics": {
"age": 18, "age": 27,
"weight": 0, "weight": 0,
"gender": "Male" "gender": "Male"
}, },
@@ -5299,7 +5299,7 @@
}, },
{ {
"metrics": { "metrics": {
"age": 18, "age": 27,
"weight": 0, "weight": 0,
"gender": "Female" "gender": "Female"
}, },
+2 -3
View File
@@ -242,9 +242,8 @@ export class Standards {
const peakAge = 27; const peakAge = 27;
const ageStep = 10; const ageStep = 10;
const medianAge = 50; const minAge = 0;
const minAge = Math.max(medianAge - (5 * ageStep), 0); const maxAge = 100;
const maxAge = medianAge + (5 * ageStep);
const referenceStandard = this const referenceStandard = this
.byActivity(activity) .byActivity(activity)