{"id":"array-integer-ranks","version":"1.0.0","description":"Assign competition (1224) ranks to canonical integers; ties share the minimum rank.","supported_operations":["array integer ranks","competition ranks of integers","1224 integer ranks"],"unsupported_operations":["dense ranks","ordinal ranks","fractional ranks","percentile ranks"],"semantics":["values is a non-empty array of at most 10000 canonical integer strings (BigInt; -0 becomes 0).","Smaller numeric values rank closer to 1.","Tied values share the minimum competition rank of the tie group; the next distinct value skips ranks (1224).","The rank of a value equals 1 plus the number of input values that are strictly smaller.","ranks has the same length and order as values; each rank is a JSON integer >= 1."],"limits":{"max_values":10000,"max_digits":1000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["values"],"properties":{"values":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"string","minLength":1,"maxLength":1001}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["ranks"],"properties":{"ranks":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"integer","minimum":1,"maximum":10000}}}},"examples":[{"input":{"values":["3","1","1","2"]},"output":{"ranks":[4,1,1,3]}}],"execute_url":"/v1/tools/array-integer-ranks/versions/1.0.0/execute"}