Description
signedOffset = (submitted-due), negated when positiveMeansLate is false; beyondGrace = max(0,submitted-due-grace) regardless of sign policy.
Assessment records use item identifiers, branch labels, hierarchy references and deadline metadata. Literal matching and position counting preserve the supplied conventions without validating content, actual eligibility or semantic answer equivalence.
signedOffset = (submitted-due), negated when positiveMeansLate is false; beyondGrace = max(0,submitted-due-grace) regardless of sign policy.
When to use this tool
Use Assignment Late Window Offset when checking an explicit assessment-record or answer-token rule.
How to use the tool and how it works
- Enter submitted, due, grace, positiveMeansLate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedOffset, beyondGrace. Use the output convention below.
Require nonnegative grace. signedOffset = (submitted-due), negated when positiveMeansLate is false; beyondGrace = max(0,submitted-due-grace) regardless of sign policy.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| submitted | Submitted | Required. Finite number. |
| due | Due | Required. Finite number. |
| grace | Grace | Required. Finite number; minimum 0. |
| positiveMeansLate | Positive Means Late | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedOffset | Signed Offset | Required. Finite number. |
| beyondGrace | Nonnegative late duration beyond grace, independent of signedOffset convention. | Required. Finite number. |
{
"input": {
"submitted": 12,
"due": 10,
"grace": 1,
"positiveMeansLate": true
},
"output": {
"signedOffset": 2,
"beyondGrace": 1
}
} Limitations and assumptions
- Use common time coordinates. Changing the reporting sign does not reverse lateness or the grace calculation; calendars and actual submission rules are not inferred.
- 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 actual record structure and approved grading policy when identity, content or official outcomes matter.
References
Similar or alternative tools
- Assessment Option Position Index
If option is found, index is its array position plus origin; otherwise found = false and index = -1.
- Assessment Branch Item Count
Select records whose branch label occurs in selectedBranches; return selectedRecords, distinctItems and repeatedSelectedRecords = selectedRecords-distinctItems.