Description
Keep first-occurrence order of exact number strings and return zero-based positions of every later repetition.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Keep first-occurrence order of exact number strings and return zero-based positions of every later repetition.
When to use this tool
Use Hadith Repeat Number Marker when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter numbers. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read uniqueNumbers, repeatedPositions. Use the output convention below.
Keep first-occurrence order of exact number strings and return zero-based positions of every later repetition.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| numbers | Numbers | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| uniqueNumbers | Unique Numbers | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| repeatedPositions | Repeated Positions | Required. Array of safe integer; maximum items 256. |
{
"input": {
"numbers": [
"12",
"12a",
"12",
"13"
]
},
"output": {
"uniqueNumbers": [
"12",
"12a",
"13"
],
"repeatedPositions": [
2
]
}
} Limitations and assumptions
- Textually different numbering forms remain distinct; no report identity, edition concordance, or authenticity is 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.
Alternative or Complementary methods
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Catalogue Field Repeat Count
Count exact requestedTag matches in tags and return max(0, occurrences - 1) as repeatsBeyondFirst.
- Public Label Source Count
Count distinct exact sourceIds with a set and return distinctSources.