Skip to content

Main content

Personal Target Weekday Allocation Tool

Calculate personal target weekday allocation from explicit caller-supplied inputs.

Loading tool…

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

  1. Enter weeklyTarget, weights. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
weeklyTargetWeekly TargetRequired. Finite number; minimum 0.
weightsExactly seven nonnegative relative weekday weights in caller-chosen weekday order; positive total required.Required. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
allocationsAllocationsRequired. Array of finite number; maximum items 256.
json
{
  "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

  1. Calculation and input contract: health/personal-target-weekday-allocation — tool.io

Similar or alternative tools