Skip to content

Main content

Cleaning Log Reference Time Margin Tool

Audit explicit cleaning-record timing without validating cleaning efficacy.

Loading tool…

Description

Require nonnegative creditedDuration and return suppliedDueAt-recordedAt+creditedDuration.

Manufacturing time budgets depend on clock origins, pause conventions, and boundary inclusion. Subtracting timestamps produces a duration; whether that duration is acceptable depends on an independently supplied procedure or limit.

Require nonnegative creditedDuration and return suppliedDueAt-recordedAt+creditedDuration.

When to use this tool

Use Cleaning Log Reference Time Margin when you need a manufacturing interval or timing-budget calculation from supplied records.

How to use the tool and how it works

  1. Enter recordedAt, suppliedDueAt, creditedDuration. 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 margin. Use the output convention below.

Require nonnegative creditedDuration and return suppliedDueAt-recordedAt+creditedDuration.1

Input fieldMeaning and unitsAccepted input
recordedAtRecorded AtRequired. Finite number.
suppliedDueAtSupplied Due AtRequired. Finite number.
creditedDurationCredited DurationRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
marginSigned allowance under the subtraction convention above.Required. Finite number.
json
{
  "input": {
    "recordedAt": 25,
    "suppliedDueAt": 30,
    "creditedDuration": 2
  },
  "output": {
    "margin": 7
  }
}

Limitations and assumptions

  • Credit extends the numeric allowance under the caller's convention; times share units and no valid cleaning period, justified credit, cleanliness, or compliance is established.
  • 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

Use the applicable controlled procedure and complete timestamp history for timing decisions. Resolve clock units, pauses, and effective-date rules before comparing the result with an approved limit.

References

  1. Calculation and input contract: gmp/cleaning-log-reference-time-margin — tool.io

Similar or alternative tools