Skip to content

Main content

Research Feed Volume Share Tool

Audit one explicit research-record volume share; no feeding recommendation.

Loading tool…

Description

Divide recordedVolume by a positive total, otherwise return share zero and defined false.

A share divides an included amount by a declared total. An empty total is mathematically different from an observed zero share and may require an explicit availability flag.

Divide recordedVolume by a positive total, otherwise return share zero and defined false.

When to use this tool

Use Research Feed Volume Share when you need a proportion with a clearly defined denominator.

How to use the tool and how it works

  1. Enter recordedVolume, totalRecordedVolume. 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 share, defined. Inspect defined before interpreting the associated values.

Require 0 ≤ recordedVolume ≤ totalRecordedVolume. Divide recordedVolume by a positive total, otherwise return share zero and defined false.1

Input fieldMeaning and unitsAccepted input
recordedVolumeRecorded VolumeRequired. Finite number; minimum 0.
totalRecordedVolumeTotal Recorded VolumeRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
shareDimensionless fraction under the stated denominator policy.Required. Finite number.
definedWhether the accompanying numeric result has an available denominator or required inputs.Required. Boolean.
json
{
  "input": {
    "recordedVolume": 20,
    "totalRecordedVolume": 100
  },
  "output": {
    "share": 0.2,
    "defined": true
  }
}

Limitations and assumptions

  • A zero share with defined false is a placeholder, not an observed feeding proportion.
  • 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

Inspect the underlying counts or quantities and report missing-denominator cases separately when aggregating results.

References

  1. Calculation and input contract: neonatology/research-feed-volume-share — tool.io

Similar or alternative tools