Description
Count ratios above one and return the largest ratio, or zero for an empty list.
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.
Count ratios above one and return the largest ratio, or zero for an empty list.
When to use this tool
Use Exhibit Source Resolution Gap when you need a scoped evidence-record or quantity-reconciliation diagnostic.
How to use the tool and how it works
- Enter exhibitIds, measuredQuanta, requiredQuanta. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read coarserExhibits, largestQuantumRatio. Use the output convention below.
Require unique exhibit IDs and aligned positive measured/required quanta. Count ratios above one and return the largest ratio, or zero for an empty list.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| exhibitIds | Exhibit Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| measuredQuanta | Measured Quanta | Required. Array of finite number; maximum items 256. |
| requiredQuanta | Required Quanta | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| coarserExhibits | Coarser Exhibits | Required. Safe integer. |
| largestQuantumRatio | Maximum measured/required quantum or zero when no exhibits. | Required. Finite number. |
{
"input": {
"exhibitIds": [
"a",
"b"
],
"measuredQuanta": [
1,
3
],
"requiredQuanta": [
2,
2
]
},
"output": {
"coarserExhibits": 1,
"largestQuantumRatio": 1.5
}
} Limitations and assumptions
- A larger quantum is a coarser resolution under this model. Resolution requirements are supplied and do not establish measurement accuracy or evidentiary adequacy.
- 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
- Measurement Rounding Range Width
Return that rounding-range width and the supplied lower/upper inclusion flags.
- Evidence Package Seal Share
Count distinct packages, any sealed IDs and any IDs with a sealed-and-verified row; divide verified count by all, or flagged undefined zero.