Description
Allocate target in proportion to each weight.
Personal health and activity records use supplied observations, labels, and time intervals. A formatter or simple summary can organize those records without assessing health, diagnosing a condition, or recommending treatment.
Allocate target in proportion to each weight.
When to use this tool
Use Personal Target Weekday Allocation when you need a bounded personal-record calculation with explicit units and date conventions.
How to use the tool and how it works
- Enter weeklyTarget, weights. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read allocations. Use the output convention below.
Require nonnegative weeklyTarget and exactly seven nonnegative weights with positive sum. Allocate target in proportion to each weight.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| weeklyTarget | Weekly Target | Required. Finite number; minimum 0. |
| weights | Exactly seven nonnegative relative weekday weights in caller-chosen weekday order; positive total required. | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| allocations | Allocations | Required. Array of finite number; maximum items 256. |
{
"input": {
"weeklyTarget": 140,
"weights": [
1,
1,
1,
1,
1,
1,
1
]
},
"output": {
"allocations": [
20,
20,
20,
20,
20,
20,
20
]
}
} Limitations and assumptions
- Weekday order is the caller's input order and allocations are not rounded; the tool does not recommend an activity, intake, or treatment target.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review the original observations and consult an appropriate health professional for clinical interpretation or care decisions.
References
Similar or alternative tools
- Exercise Tempo Repetition Duration
Add eccentric, bottomPause, concentric, and topPause seconds for one repetition and multiply by repetitions.
- Activity Session Moving Paused Time Balance
Subtract paused for moving and divide by elapsed for movingFraction.