Description
Sum alphabet-index*weight modulo modulus using exact integers; return remainder and alphabet[(modulus-remainder)%modulus].
Administrative records depend on literal identifiers, numbering conventions, check alphabets and ownership mappings. A duplicate count, check symbol or one-hop route helps reconcile metadata without authenticating a document or establishing who has authority over it. A well-formed label can still refer to the wrong record.
Sum alphabet-index*weight modulo modulus using exact integers; return remainder and alphabet[(modulus-remainder)%modulus].
When to use this tool
Use Office File Reference Check Symbol when checking the stated administrative key, numbering, continuity or routing convention.
How to use the tool and how it works
- Enter reference, alphabet, weights, modulus. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remainder, checkSymbol. Use the output convention below.
Require a unique printable ASCII alphabet, aligned nonnegative whole weights, and modulus 1..alphabet length. Sum alphabet-index*weight modulo modulus using exact integers; return remainder and alphabet[(modulus-remainder)%modulus].1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| reference | Reference | Required. Text; maximum UTF-16 length 8192. |
| alphabet | Alphabet | Required. Text; maximum UTF-16 length 8192. |
| weights | Aligned nonnegative whole weights used in exact modular arithmetic; not real-valued scoring weights. | Required. Array of safe integer; maximum items 256. |
| modulus | Modulus | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remainder | Remainder | Required. Safe integer. |
| checkSymbol | Check Symbol | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"reference": "123",
"alphabet": "0123456789",
"weights": [
1,
2,
3
],
"modulus": 10
},
"output": {
"remainder": 4,
"checkSymbol": "6"
}
} Limitations and assumptions
- Reference characters must belong to the alphabet; this is a caller-defined check symbol, not authentication or a universal file-reference standard.
- 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 authoritative source records and the complete applicable document/process scheme for actual identity, routing or integrity decisions.
References
Similar or alternative tools
- Farm Work Order Corrected Source Link
Independently compare originalId with correctionParent and correctedVersion with originalVersion; a linked correction need not have a later version.
- Form Source Key Ambiguity Gap
Group distinct source keys per target; count targets with multiple sources, distinct targets and distinctTargets-requiredTargetCount.