{"abstract":"A resume cursor stops at an empty batch instead of normalizing.","category":"Data systems","checks":8,"contract":"Fetch at most quota rows from a sequence of batches starting at [batch-index,row-offset]. Skip exhausted and empty batches, return the emitted rows and a canonical next cursor, and mark exhaustion as [number-of-batches,0]. Quota zero preserves a normalized cursor.","evaluation_group":"s3-data-systems-batch-resume-cursor","failed_approach":"Strict comparison leaves cursors positioned exactly at exhausted batches.","family":"s3-data-systems-batch-resume-cursor-initial-empty","id":"FA-45031","implementations":{"attempt":{"sha256":"426b164029a5e93411eb97282e39a42e457a0802ddbd65c155698f8e51c25de7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    try:\n        batches,batch,offset,quota=d\n        out=[]\n        while batch<len(batches) and offset>len(batches[batch]):\n            batch+=1; offset=0\n        while quota>0 and batch<len(batches):\n            out.append(batches[batch][offset])\n            offset+=1; quota-=1\n            while batch<len(batches) and offset>=len(batches[batch]):\n                batch+=1; offset=0\n        return [out,[batch,offset]]\n    except (IndexError, KeyError, ValueError, StopIteration) as exc:\n        return {\"representation_error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nif N == 1:\n    check('partial current batch', solve([[[1, 2, 3]], 0, 1, 1]), [[2], [0, 2]])\n    check('cross empty batches', solve([[[1], [], [], [2, 3]], 0, 0, 2]), [[1, 2], [3, 1]])\n    check('initial exhausted', solve([[[], [], [1, 2]], 0, 0, 1]), [[1], [2, 1]])\n    check('resume past long batch', solve([[[1, 2], [3, 4]], 0, 0, 3]), [[1, 2, 3], [1, 1]])\n    check('all exhausted', solve([[[1]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[1, 2]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[1, 2, 3, 4]], 0, 0, 2]), [[1, 2], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 2:\n    check('partial current batch', solve([[[2, 3, 4]], 0, 1, 1]), [[3], [0, 2]])\n    check('cross empty batches', solve([[[2], [], [], [3, 4]], 0, 0, 2]), [[2, 3], [3, 1]])\n    check('initial exhausted', solve([[[], [], [2, 3]], 0, 0, 1]), [[2], [2, 1]])\n    check('resume past long batch', solve([[[2, 3], [4, 5]], 0, 0, 3]), [[2, 3, 4], [1, 1]])\n    check('all exhausted', solve([[[2]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[2, 3]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[2, 3, 4, 5]], 0, 0, 2]), [[2, 3], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 3:\n    check('partial current batch', solve([[[3, 4, 5]], 0, 1, 1]), [[4], [0, 2]])\n    check('cross empty batches', solve([[[3], [], [], [4, 5]], 0, 0, 2]), [[3, 4], [3, 1]])\n    check('initial exhausted', solve([[[], [], [3, 4]], 0, 0, 1]), [[3], [2, 1]])\n    check('resume past long batch', solve([[[3, 4], [5, 6]], 0, 0, 3]), [[3, 4, 5], [1, 1]])\n    check('all exhausted', solve([[[3]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[3, 4]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[3, 4, 5, 6]], 0, 0, 2]), [[3, 4], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 4:\n    check('partial current batch', solve([[[4, 5, 6]], 0, 1, 1]), [[5], [0, 2]])\n    check('cross empty batches', solve([[[4], [], [], [5, 6]], 0, 0, 2]), [[4, 5], [3, 1]])\n    check('initial exhausted', solve([[[], [], [4, 5]], 0, 0, 1]), [[4], [2, 1]])\n    check('resume past long batch', solve([[[4, 5], [6, 7]], 0, 0, 3]), [[4, 5, 6], [1, 1]])\n    check('all exhausted', solve([[[4]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[4, 5]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[4, 5, 6, 7]], 0, 0, 2]), [[4, 5], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 5:\n    check('partial current batch', solve([[[5, 6, 7]], 0, 1, 1]), [[6], [0, 2]])\n    check('cross empty batches', solve([[[5], [], [], [6, 7]], 0, 0, 2]), [[5, 6], [3, 1]])\n    check('initial exhausted', solve([[[], [], [5, 6]], 0, 0, 1]), [[5], [2, 1]])\n    check('resume past long batch', solve([[[5, 6], [7, 8]], 0, 0, 3]), [[5, 6, 7], [1, 1]])\n    check('all exhausted', solve([[[5]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[5, 6]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[5, 6, 7, 8]], 0, 0, 2]), [[5, 6], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"0b9924f06ccdb11d9551d7bc9772d479d274f3a180412aea268992866c249905","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    try:\n        batches,batch,offset,quota=d\n        out=[]\n        if batch<len(batches) and offset>=len(batches[batch]):\n            batch+=1; offset=0\n        while quota>0 and batch<len(batches):\n            out.append(batches[batch][offset])\n            offset+=1; quota-=1\n            while batch<len(batches) and offset>=len(batches[batch]):\n                batch+=1; offset=0\n        return [out,[batch,offset]]\n    except (IndexError, KeyError, ValueError, StopIteration) as exc:\n        return {\"representation_error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nif N == 1:\n    check('partial current batch', solve([[[1, 2, 3]], 0, 1, 1]), [[2], [0, 2]])\n    check('cross empty batches', solve([[[1], [], [], [2, 3]], 0, 0, 2]), [[1, 2], [3, 1]])\n    check('initial exhausted', solve([[[], [], [1, 2]], 0, 0, 1]), [[1], [2, 1]])\n    check('resume past long batch', solve([[[1, 2], [3, 4]], 0, 0, 3]), [[1, 2, 3], [1, 1]])\n    check('all exhausted', solve([[[1]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[1, 2]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[1, 2, 3, 4]], 0, 0, 2]), [[1, 2], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 2:\n    check('partial current batch', solve([[[2, 3, 4]], 0, 1, 1]), [[3], [0, 2]])\n    check('cross empty batches', solve([[[2], [], [], [3, 4]], 0, 0, 2]), [[2, 3], [3, 1]])\n    check('initial exhausted', solve([[[], [], [2, 3]], 0, 0, 1]), [[2], [2, 1]])\n    check('resume past long batch', solve([[[2, 3], [4, 5]], 0, 0, 3]), [[2, 3, 4], [1, 1]])\n    check('all exhausted', solve([[[2]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[2, 3]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[2, 3, 4, 5]], 0, 0, 2]), [[2, 3], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 3:\n    check('partial current batch', solve([[[3, 4, 5]], 0, 1, 1]), [[4], [0, 2]])\n    check('cross empty batches', solve([[[3], [], [], [4, 5]], 0, 0, 2]), [[3, 4], [3, 1]])\n    check('initial exhausted', solve([[[], [], [3, 4]], 0, 0, 1]), [[3], [2, 1]])\n    check('resume past long batch', solve([[[3, 4], [5, 6]], 0, 0, 3]), [[3, 4, 5], [1, 1]])\n    check('all exhausted', solve([[[3]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[3, 4]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[3, 4, 5, 6]], 0, 0, 2]), [[3, 4], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 4:\n    check('partial current batch', solve([[[4, 5, 6]], 0, 1, 1]), [[5], [0, 2]])\n    check('cross empty batches', solve([[[4], [], [], [5, 6]], 0, 0, 2]), [[4, 5], [3, 1]])\n    check('initial exhausted', solve([[[], [], [4, 5]], 0, 0, 1]), [[4], [2, 1]])\n    check('resume past long batch', solve([[[4, 5], [6, 7]], 0, 0, 3]), [[4, 5, 6], [1, 1]])\n    check('all exhausted', solve([[[4]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[4, 5]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[4, 5, 6, 7]], 0, 0, 2]), [[4, 5], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 5:\n    check('partial current batch', solve([[[5, 6, 7]], 0, 1, 1]), [[6], [0, 2]])\n    check('cross empty batches', solve([[[5], [], [], [6, 7]], 0, 0, 2]), [[5, 6], [3, 1]])\n    check('initial exhausted', solve([[[], [], [5, 6]], 0, 0, 1]), [[5], [2, 1]])\n    check('resume past long batch', solve([[[5, 6], [7, 8]], 0, 0, 3]), [[5, 6, 7], [1, 1]])\n    check('all exhausted', solve([[[5]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[5, 6]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[5, 6, 7, 8]], 0, 0, 2]), [[5, 6], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"34cfb8de043f357459ed127f3f4dc3f1e677c7651a54044fb299fa4adf6b3c23","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(d):\n    try:\n        batches,batch,offset,quota=d\n        out=[]\n        while batch<len(batches) and offset>=len(batches[batch]):\n            batch+=1; offset=0\n        while quota>0 and batch<len(batches):\n            out.append(batches[batch][offset])\n            offset+=1; quota-=1\n            while batch<len(batches) and offset>=len(batches[batch]):\n                batch+=1; offset=0\n        return [out,[batch,offset]]\n    except (IndexError, KeyError, ValueError, StopIteration) as exc:\n        return {\"representation_error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nif N == 1:\n    check('partial current batch', solve([[[1, 2, 3]], 0, 1, 1]), [[2], [0, 2]])\n    check('cross empty batches', solve([[[1], [], [], [2, 3]], 0, 0, 2]), [[1, 2], [3, 1]])\n    check('initial exhausted', solve([[[], [], [1, 2]], 0, 0, 1]), [[1], [2, 1]])\n    check('resume past long batch', solve([[[1, 2], [3, 4]], 0, 0, 3]), [[1, 2, 3], [1, 1]])\n    check('all exhausted', solve([[[1]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[1, 2]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[1, 2, 3, 4]], 0, 0, 2]), [[1, 2], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 2:\n    check('partial current batch', solve([[[2, 3, 4]], 0, 1, 1]), [[3], [0, 2]])\n    check('cross empty batches', solve([[[2], [], [], [3, 4]], 0, 0, 2]), [[2, 3], [3, 1]])\n    check('initial exhausted', solve([[[], [], [2, 3]], 0, 0, 1]), [[2], [2, 1]])\n    check('resume past long batch', solve([[[2, 3], [4, 5]], 0, 0, 3]), [[2, 3, 4], [1, 1]])\n    check('all exhausted', solve([[[2]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[2, 3]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[2, 3, 4, 5]], 0, 0, 2]), [[2, 3], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 3:\n    check('partial current batch', solve([[[3, 4, 5]], 0, 1, 1]), [[4], [0, 2]])\n    check('cross empty batches', solve([[[3], [], [], [4, 5]], 0, 0, 2]), [[3, 4], [3, 1]])\n    check('initial exhausted', solve([[[], [], [3, 4]], 0, 0, 1]), [[3], [2, 1]])\n    check('resume past long batch', solve([[[3, 4], [5, 6]], 0, 0, 3]), [[3, 4, 5], [1, 1]])\n    check('all exhausted', solve([[[3]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[3, 4]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[3, 4, 5, 6]], 0, 0, 2]), [[3, 4], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 4:\n    check('partial current batch', solve([[[4, 5, 6]], 0, 1, 1]), [[5], [0, 2]])\n    check('cross empty batches', solve([[[4], [], [], [5, 6]], 0, 0, 2]), [[4, 5], [3, 1]])\n    check('initial exhausted', solve([[[], [], [4, 5]], 0, 0, 1]), [[4], [2, 1]])\n    check('resume past long batch', solve([[[4, 5], [6, 7]], 0, 0, 3]), [[4, 5, 6], [1, 1]])\n    check('all exhausted', solve([[[4]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[4, 5]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[4, 5, 6, 7]], 0, 0, 2]), [[4, 5], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nelif N == 5:\n    check('partial current batch', solve([[[5, 6, 7]], 0, 1, 1]), [[6], [0, 2]])\n    check('cross empty batches', solve([[[5], [], [], [6, 7]], 0, 0, 2]), [[5, 6], [3, 1]])\n    check('initial exhausted', solve([[[], [], [5, 6]], 0, 0, 1]), [[5], [2, 1]])\n    check('resume past long batch', solve([[[5, 6], [7, 8]], 0, 0, 3]), [[5, 6, 7], [1, 1]])\n    check('all exhausted', solve([[[5]], 0, 1, 3]), [[], [1, 0]])\n    check('zero quota', solve([[[5, 6]], 0, 1, 0]), [[], [0, 1]])\n    check('within long batch', solve([[[5, 6, 7, 8]], 0, 0, 2]), [[5, 6], [0, 2]])\n    check('empty stream', solve([[], 0, 0, 2]), [[], [0, 0]])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Offline stipulated semantics over valid small inputs; no performance, concurrency, or production-engine conformance claim. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"s3-data-systems-batch-resume-cursor-initial-empty","generated_at":"2026-09-29T14:44:18.011748+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A bounded deterministic data engine model makes representation and changelog faults reproducible.","repair":"Preserve the stated physical representation and operation order: Fetch at most quota rows from a sequence of batches starting at [batch-index,row-offset]. Skip exhausted and empty batches, return the emitted rows and a canonical next cursor, and mark exhaustion as [number-of-batches,0]. Quota zero preserves a normalized cursor.","root_cause":"batch-resume-cursor: A resume cursor stops at an empty batch instead of normalizing.","sha256":"9469b9110574b313651af52b0b395460263d72abe1f47087823e0c36954d350d","title":"A resume cursor stops at an empty batch instead of normalizing · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":47.522,"exit_code":1,"observations":[{"actual":[[2],[0,2]],"check":"partial current batch","expected":[[2],[0,2]],"passed":true},{"actual":[[1,2],[3,1]],"check":"cross empty batches","expected":[[1,2],[3,1]],"passed":true},{"actual":{"representation_error":"IndexError"},"check":"initial exhausted","expected":[[1],[2,1]],"passed":false},{"actual":[[1,2,3],[1,1]],"check":"resume past long batch","expected":[[1,2,3],[1,1]],"passed":true},{"actual":{"representation_error":"IndexError"},"check":"all exhausted","expected":[[],[1,0]],"passed":false},{"actual":[[],[0,1]],"check":"zero quota","expected":[[],[0,1]],"passed":true},{"actual":[[1,2],[0,2]],"check":"within long batch","expected":[[1,2],[0,2]],"passed":true},{"actual":[[],[0,0]],"check":"empty stream","expected":[[],[0,0]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"partial current batch\", \"actual\": [[2], [0, 2]], \"expected\": [[2], [0, 2]], \"passed\": true}, {\"check\": \"cross empty batches\", \"actual\": [[1, 2], [3, 1]], \"expected\": [[1, 2], [3, 1]], \"passed\": true}, {\"check\": \"initial exhausted\", \"actual\": {\"representation_error\": \"IndexError\"}, \"expected\": [[1], [2, 1]], \"passed\": false}, {\"check\": \"resume past long batch\", \"actual\": [[1, 2, 3], [1, 1]], \"expected\": [[1, 2, 3], [1, 1]], \"passed\": true}, {\"check\": \"all exhausted\", \"actual\": {\"representation_error\": \"IndexError\"}, \"expected\": [[], [1, 0]], \"passed\": false}, {\"check\": \"zero quota\", \"actual\": [[], [0, 1]], \"expected\": [[], [0, 1]], \"passed\": true}, {\"check\": \"within long batch\", \"actual\": [[1, 2], [0, 2]], \"expected\": [[1, 2], [0, 2]], \"passed\": true}, {\"check\": \"empty stream\", \"actual\": [[], [0, 0]], \"expected\": [[], [0, 0]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.827,"exit_code":1,"observations":[{"actual":[[2],[0,2]],"check":"partial current batch","expected":[[2],[0,2]],"passed":true},{"actual":[[1,2],[3,1]],"check":"cross empty batches","expected":[[1,2],[3,1]],"passed":true},{"actual":{"representation_error":"IndexError"},"check":"initial exhausted","expected":[[1],[2,1]],"passed":false},{"actual":[[1,2,3],[1,1]],"check":"resume past long batch","expected":[[1,2,3],[1,1]],"passed":true},{"actual":[[],[1,0]],"check":"all exhausted","expected":[[],[1,0]],"passed":true},{"actual":[[],[0,1]],"check":"zero quota","expected":[[],[0,1]],"passed":true},{"actual":[[1,2],[0,2]],"check":"within long batch","expected":[[1,2],[0,2]],"passed":true},{"actual":[[],[0,0]],"check":"empty stream","expected":[[],[0,0]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"partial current batch\", \"actual\": [[2], [0, 2]], \"expected\": [[2], [0, 2]], \"passed\": true}, {\"check\": \"cross empty batches\", \"actual\": [[1, 2], [3, 1]], \"expected\": [[1, 2], [3, 1]], \"passed\": true}, {\"check\": \"initial exhausted\", \"actual\": {\"representation_error\": \"IndexError\"}, \"expected\": [[1], [2, 1]], \"passed\": false}, {\"check\": \"resume past long batch\", \"actual\": [[1, 2, 3], [1, 1]], \"expected\": [[1, 2, 3], [1, 1]], \"passed\": true}, {\"check\": \"all exhausted\", \"actual\": [[], [1, 0]], \"expected\": [[], [1, 0]], \"passed\": true}, {\"check\": \"zero quota\", \"actual\": [[], [0, 1]], \"expected\": [[], [0, 1]], \"passed\": true}, {\"check\": \"within long batch\", \"actual\": [[1, 2], [0, 2]], \"expected\": [[1, 2], [0, 2]], \"passed\": true}, {\"check\": \"empty stream\", \"actual\": [[], [0, 0]], \"expected\": [[], [0, 0]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.019,"exit_code":0,"observations":[{"actual":[[2],[0,2]],"check":"partial current batch","expected":[[2],[0,2]],"passed":true},{"actual":[[1,2],[3,1]],"check":"cross empty batches","expected":[[1,2],[3,1]],"passed":true},{"actual":[[1],[2,1]],"check":"initial exhausted","expected":[[1],[2,1]],"passed":true},{"actual":[[1,2,3],[1,1]],"check":"resume past long batch","expected":[[1,2,3],[1,1]],"passed":true},{"actual":[[],[1,0]],"check":"all exhausted","expected":[[],[1,0]],"passed":true},{"actual":[[],[0,1]],"check":"zero quota","expected":[[],[0,1]],"passed":true},{"actual":[[1,2],[0,2]],"check":"within long batch","expected":[[1,2],[0,2]],"passed":true},{"actual":[[],[0,0]],"check":"empty stream","expected":[[],[0,0]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"partial current batch\", \"actual\": [[2], [0, 2]], \"expected\": [[2], [0, 2]], \"passed\": true}, {\"check\": \"cross empty batches\", \"actual\": [[1, 2], [3, 1]], \"expected\": [[1, 2], [3, 1]], \"passed\": true}, {\"check\": \"initial exhausted\", \"actual\": [[1], [2, 1]], \"expected\": [[1], [2, 1]], \"passed\": true}, {\"check\": \"resume past long batch\", \"actual\": [[1, 2, 3], [1, 1]], \"expected\": [[1, 2, 3], [1, 1]], \"passed\": true}, {\"check\": \"all exhausted\", \"actual\": [[], [1, 0]], \"expected\": [[], [1, 0]], \"passed\": true}, {\"check\": \"zero quota\", \"actual\": [[], [0, 1]], \"expected\": [[], [0, 1]], \"passed\": true}, {\"check\": \"within long batch\", \"actual\": [[1, 2], [0, 2]], \"expected\": [[1, 2], [0, 2]], \"passed\": true}, {\"check\": \"empty stream\", \"actual\": [[], [0, 0]], \"expected\": [[], [0, 0]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}