{"id":"array-integer-cumulative-sum","version":"1.0.0","description":"Replace an array of canonical integer strings with equal-length prefix sums.","supported_operations":["array integer cumulative sum","prefix sums of integer array","running total of integer strings"],"unsupported_operations":["floating point prefix sums","moving average","cumulative product","mean of integers","CSV column sums"],"semantics":["Input values is an array of at most 10000 canonical integer strings.","A canonical integer is 0 or an optional ASCII minus followed by a non-zero leading digit and only digits after that.","Input -0 is accepted and canonicalized to 0; +, spaces, underscores, hex, exponents, empty strings, and other leading zeros are rejected.","Integers are parsed with BigInt. IEEE-754 numbers are rejected.","Output values has the same length: item i is the sum of inputs 0 through i as a canonical integer string.","An empty array yields an empty array.","Each input and every partial sum may have at most 1000 digits excluding the sign."],"limits":{"max_items":10000,"max_digits":1000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["values"],"properties":{"values":{"type":"array","maxItems":10000,"items":{"type":"string","minLength":1,"maxLength":1001}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["values"],"properties":{"values":{"type":"array","maxItems":10000,"items":{"type":"string","pattern":"^(0|-?[1-9][0-9]*)$","maxLength":1001}}}},"examples":[{"input":{"values":["4","-1","7","0"]},"output":{"values":["4","3","10","10"]}}],"execute_url":"/v1/tools/array-integer-cumulative-sum/versions/1.0.0/execute"}