more tweaks
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user