Description
Sum accounted with exact integer intermediates and export numeric accounted and issued-minus-accounted residual.
Evidence records link identifiers, packaging, quantities and source assertions. Literal equality and balanced counts can reveal local inconsistencies, but they cannot authenticate physical evidence, establish custody completeness or determine legal admissibility.
Sum accounted with exact integer intermediates and export numeric accounted and issued-minus-accounted residual.
When to use this tool
Use Evidence Seal Count Residual when you need a scoped evidence-record or quantity-reconciliation diagnostic.
How to use the tool and how it works
- Enter issued, applied, destroyed, returned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read accounted, residual. Use the output convention below.
Require nonnegative integer issued/applied/destroyed/returned counts. Sum accounted with exact integer intermediates and export numeric accounted and issued-minus-accounted residual.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| issued | Issued | Required. Safe integer. |
| applied | Applied | Required. Safe integer. |
| destroyed | Destroyed | Required. Safe integer. |
| returned | Returned | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| accounted | Exact integer intermediate exported as a safe numeric count. | Required. Safe integer. |
| residual | Residual | Required. Safe integer. |
{
"input": {
"issued": 100,
"applied": 80,
"destroyed": 5,
"returned": 10
},
"output": {
"accounted": 95,
"residual": 5
}
} Limitations and assumptions
- Exported integers must remain within the safe numeric contract. Arithmetic reconciliation does not authenticate seals or prove chain-of-custody completeness.
- 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 authenticated source records and the complete custody process through the appropriate professional procedure. Treat local flags as prompts for investigation rather than independent evidentiary conclusions.
References
Similar or alternative tools
- Evidence Return Retained Quantity Balance
Return received minus all dispositions and exact balanced equality.
- Traceability Lot Quantity Residual
Compute received-issued+returned-destroyed using exact integer intermediates and counted-minus-expected residual, exporting safe numeric integers.