{"protocol":{"frozen_at_utc":"2026-10-23T07:28:56.975923+00:00","reason":"The first 4096-token runs included length-truncated responses without code. This additional all-task, both-provider check is diagnostic and does not replace the original results.","tasks":["pagination","csv","retry"],"providers":["minimax-cn","deepseek"],"repeats":1,"effort":"low","max_tokens":16384,"automatic_retries":0,"concurrency":1,"scoring":"same original withheld tests; publish separately from the 4096-token series"},"runs":[{"provider":"minimax-cn","endpoint":"https://api.minimax.cn/v1/chat/completions","requested_model":"MiniMax-M3.1-Flash","task":"pagination","repeat":1,"started_utc":"2026-10-23T07:31:56.370103+00:00","effort":"low","prompt_sha256":"84d2aa05c84fd8859feb94b406f7ca555c00e4a63db81dc087db10dbfee6bc20","request_parameters":{"model":"MiniMax-M3.1-Flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true}},"http_status":200,"returned_model":"MiniMax-M3.1-Flash","stream_done":true,"elapsed_seconds":10.587158251000801,"ttft_generated_seconds":0.8608188719954342,"ttft_answer_seconds":8.793844332001754,"last_generated_seconds":10.397845198007417,"last_answer_seconds":10.397845198007417,"usage":{"total_tokens":1127,"total_characters":0,"prompt_tokens":373,"completion_tokens":754,"completion_tokens_details":{"reasoning_tokens":509},"prompt_tokens_details":{"cached_tokens":372}},"finish_reason":"stop","reasoning_characters":2660,"answer":"```javascript\nexports.pageUrl = (input, page, pageSize) => {\n  if (typeof input !== \"string\") {\n    throw new TypeError(\"input must be an absolute HTTP(S) URL string\");\n  }\n\n  if (!Number.isSafeInteger(page) || page <= 0) {\n    throw new RangeError(\"page must be a positive integer\");\n  }\n\n  if (!Number.isSafeInteger(pageSize) || pageSize <= 0) {\n    throw new RangeError(\"pageSize must be a positive integer\");\n  }\n\n  const offset = (page - 1) * pageSize;\n  if (!Number.isSafeInteger(offset)) {\n    throw new RangeError(\"offset must be a safe integer\");\n  }\n\n  const url = new URL(input);\n\n  if (url.protocol !== \"http:\" && url.protocol !== \"https:\") {\n    throw new TypeError(\"input must be an absolute HTTP(S) URL string\");\n  }\n\n  url.searchParams.delete(\"limit\");\n  url.searchParams.delete(\"offset\");\n  url.searchParams.set(\"limit\", String(pageSize));\n  url.searchParams.set(\"offset\", String(offset));\n\n  return url.toString();\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: first page has zero offset\nok 1 - first page has zero offset\n  ---\n  duration_ms: 0.88982\n  type: 'test'\n  ...\n# Subtest: later page uses page size\nok 2 - later page uses page size\n  ---\n  duration_ms: 0.306907\n  type: 'test'\n  ...\n# Subtest: preserves repeated filters and fragment\nok 3 - preserves repeated filters and fragment\n  ---\n  duration_ms: 0.252938\n  type: 'test'\n  ...\n# Subtest: replaces existing pagination values\nok 4 - replaces existing pagination values\n  ---\n  duration_ms: 0.303812\n  type: 'test'\n  ...\n# Subtest: rejects invalid page\nok 5 - rejects invalid page\n  ---\n  duration_ms: 0.298734\n  type: 'test'\n  ...\n# Subtest: rejects invalid page size\nok 6 - rejects invalid page size\n  ---\n  duration_ms: 0.129974\n  type: 'test'\n  ...\n1..6\n# tests 6\n# suites 0\n# pass 6\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 11.763698\n","stderr":""},"passed":true,"generation_tps":79.06028296718499},{"provider":"deepseek","endpoint":"https://api.deepseek.com/chat/completions","requested_model":"deepseek-flash","task":"pagination","repeat":1,"started_utc":"2026-10-23T07:32:07.026072+00:00","effort":"low","prompt_sha256":"84d2aa05c84fd8859feb94b406f7ca555c00e4a63db81dc087db10dbfee6bc20","request_parameters":{"model":"deepseek-flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true},"thinking":{"type":"enabled"}},"http_status":200,"returned_model":"deepseek-flash","system_fingerprint":"e72d3c7f663d3e1383b00b3884cb4501","stream_done":true,"elapsed_seconds":48.99532674199145,"ttft_generated_seconds":0.7653048439970007,"ttft_answer_seconds":47.699511571991025,"last_generated_seconds":48.98146767998696,"last_answer_seconds":48.98146767998696,"usage":{"prompt_tokens":204,"completion_tokens":8748,"total_tokens":8952,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"reasoning_tokens":8247},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":204},"finish_reason":"stop","reasoning_characters":33419,"answer":"```javascript\n'use strict';\n\nexports.pageUrl = function pageUrl(input, page, pageSize) {\n  if (typeof input !== 'string') {\n    throw new TypeError('input must be a string');\n  }\n  if (!Number.isInteger(page) || page <= 0) {\n    throw new TypeError('page must be a positive integer');\n  }\n  if (!Number.isInteger(pageSize) || pageSize <= 0) {\n    throw new TypeError('pageSize must be a positive integer');\n  }\n\n  let parsed;\n  try {\n    parsed = new URL(input);\n  } catch (err) {\n    throw new TypeError('input must be an absolute HTTP(S) URL');\n  }\n\n  if (parsed.protocol !== 'http:' && parsed.protocol !== 'https:') {\n    throw new TypeError('input must be an absolute HTTP(S) URL');\n  }\n\n  const hashIndex = input.indexOf('#');\n  const beforeHash = hashIndex === -1 ? input : input.slice(0, hashIndex);\n  const fragment = hashIndex === -1 ? '' : input.slice(hashIndex);\n\n  const queryIndex = beforeHash.indexOf('?');\n  const base = queryIndex === -1 ? beforeHash : beforeHash.slice(0, queryIndex);\n  const query = queryIndex === -1 ? '' : beforeHash.slice(queryIndex + 1);\n\n  const kept = [];\n\n  if (query !== '') {\n    const parts = query.split('&');\n\n    for (let i = 0; i < parts.length; i++) {\n      const part = parts[i];\n      if (part === '') continue;\n\n      const equalsIndex = part.indexOf('=');\n      const rawKey = equalsIndex === -1 ? part : part.slice(0, equalsIndex);\n\n      let key = rawKey;\n      try {\n        key = decodeURIComponent(rawKey.replace(/\\+/g, '%20'));\n      } catch (err) {\n        // If the key is not valid percent-encoding, compare the raw key.\n      }\n\n      if (key !== 'limit' && key !== 'offset') {\n        kept.push(part);\n      }\n    }\n  }\n\n  const offset = (page - 1) * pageSize;\n  kept.push('limit=' + pageSize);\n  kept.push('offset=' + offset);\n\n  return base + '?' + kept.join('&') + fragment;\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: first page has zero offset\nok 1 - first page has zero offset\n  ---\n  duration_ms: 1.041734\n  type: 'test'\n  ...\n# Subtest: later page uses page size\nok 2 - later page uses page size\n  ---\n  duration_ms: 0.189919\n  type: 'test'\n  ...\n# Subtest: preserves repeated filters and fragment\nok 3 - preserves repeated filters and fragment\n  ---\n  duration_ms: 0.219325\n  type: 'test'\n  ...\n# Subtest: replaces existing pagination values\nok 4 - replaces existing pagination values\n  ---\n  duration_ms: 0.244572\n  type: 'test'\n  ...\n# Subtest: rejects invalid page\nok 5 - rejects invalid page\n  ---\n  duration_ms: 0.259407\n  type: 'test'\n  ...\n# Subtest: rejects invalid page size\nok 6 - rejects invalid page size\n  ---\n  duration_ms: 0.16555\n  type: 'test'\n  ...\n1..6\n# tests 6\n# suites 0\n# pass 6\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 12.944937\n","stderr":""},"passed":true,"generation_tps":181.4329362906132},{"provider":"minimax-cn","endpoint":"https://api.minimax.cn/v1/chat/completions","requested_model":"MiniMax-M3.1-Flash","task":"csv","repeat":1,"started_utc":"2026-10-23T07:32:56.092487+00:00","effort":"low","prompt_sha256":"b8e404c73f96675201a27bf3462c58ff30108173d93c1ceb0ca74f41e9a37181","request_parameters":{"model":"MiniMax-M3.1-Flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true}},"http_status":200,"returned_model":"MiniMax-M3.1-Flash","stream_done":true,"elapsed_seconds":44.33596923699952,"ttft_generated_seconds":1.5105915169988293,"ttft_answer_seconds":42.295452399004716,"last_generated_seconds":44.15701290901052,"last_answer_seconds":44.15701290901052,"usage":{"total_tokens":2413,"total_characters":0,"prompt_tokens":390,"completion_tokens":2023,"completion_tokens_details":{"reasoning_tokens":1695},"prompt_tokens_details":{"cached_tokens":0}},"finish_reason":"stop","reasoning_characters":7651,"answer":"```javascript\nexports.parseCsv = (text) => {\n  if (text.length === 0) return [];\n\n  const rows = [];\n  let row = [];\n  let field = \"\";\n  let rowStarted = false;\n  let inQuotes = false;\n\n  for (let i = 0; i < text.length; i += 1) {\n    const char = text[i];\n\n    if (inQuotes) {\n      if (char === '\"') {\n        if (text[i + 1] === '\"') {\n          field += '\"';\n          i += 1;\n        } else {\n          inQuotes = false;\n        }\n      } else {\n        field += char;\n      }\n      continue;\n    }\n\n    if (char === '\"') {\n      inQuotes = true;\n      rowStarted = true;\n    } else if (char === \",\") {\n      row.push(field);\n      field = \"\";\n      rowStarted = true;\n    } else if (char === \"\\n\" || (char === \"\\r\" && text[i + 1] === \"\\n\")) {\n      row.push(field);\n      rows.push(row);\n      row = [];\n      field = \"\";\n      rowStarted = false;\n\n      if (char === \"\\r\") {\n        i += 1;\n      }\n    } else {\n      field += char;\n      rowStarted = true;\n    }\n  }\n\n  if (inQuotes) {\n    throw new Error(\"Unterminated quoted field\");\n  }\n\n  if (rowStarted) {\n    row.push(field);\n    rows.push(row);\n  }\n\n  return rows;\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: empty input\nok 1 - empty input\n  ---\n  duration_ms: 1.12203\n  type: 'test'\n  ...\n# Subtest: simple rows and CRLF terminator\nok 2 - simple rows and CRLF terminator\n  ---\n  duration_ms: 0.164003\n  type: 'test'\n  ...\n# Subtest: quoted comma and doubled quotes\nok 3 - quoted comma and doubled quotes\n  ---\n  duration_ms: 0.18786\n  type: 'test'\n  ...\n# Subtest: quoted newlines stay in the field\nok 4 - quoted newlines stay in the field\n  ---\n  duration_ms: 0.141719\n  type: 'test'\n  ...\n# Subtest: whitespace is data\nok 5 - whitespace is data\n  ---\n  duration_ms: 0.107547\n  type: 'test'\n  ...\n# Subtest: trailing empty fields\nok 6 - trailing empty fields\n  ---\n  duration_ms: 0.177384\n  type: 'test'\n  ...\n# Subtest: blank rows retained but no phantom final row\nok 7 - blank rows retained but no phantom final row\n  ---\n  duration_ms: 1.14582\n  type: 'test'\n  ...\n# Subtest: unterminated quote rejected\nok 8 - unterminated quote rejected\n  ---\n  duration_ms: 0.420589\n  type: 'test'\n  ...\n1..8\n# tests 8\n# suites 0\n# pass 8\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 17.541613\n","stderr":""},"passed":true,"generation_tps":47.436571087742855},{"provider":"deepseek","endpoint":"https://api.deepseek.com/chat/completions","requested_model":"deepseek-flash","task":"csv","repeat":1,"started_utc":"2026-10-23T07:33:40.516466+00:00","effort":"low","prompt_sha256":"b8e404c73f96675201a27bf3462c58ff30108173d93c1ceb0ca74f41e9a37181","request_parameters":{"model":"deepseek-flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true},"thinking":{"type":"enabled"}},"http_status":200,"returned_model":"deepseek-flash","system_fingerprint":"e72d3c7f663d3e1383b00b3884cb4501","stream_done":true,"elapsed_seconds":28.92953608300013,"ttft_generated_seconds":0.44240393699146807,"ttft_answer_seconds":27.96020786400186,"last_generated_seconds":28.916260494996095,"last_answer_seconds":28.916260494996095,"usage":{"prompt_tokens":228,"completion_tokens":5187,"total_tokens":5415,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"reasoning_tokens":4834},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":228},"finish_reason":"stop","reasoning_characters":18839,"answer":"```javascript\nexports.parseCsv = (text) => {\n  const rows = [];\n  let row = [];\n  let field = \"\";\n  let pending = false;\n  let i = 0;\n\n  while (i < text.length) {\n    if (field === \"\" && text[i] === '\"') {\n      pending = true;\n      i++;\n\n      let closed = false;\n      while (i < text.length) {\n        const c = text[i];\n\n        if (c === '\"') {\n          if (text[i + 1] === '\"') {\n            field += '\"';\n            i += 2;\n          } else {\n            closed = true;\n            i++;\n            break;\n          }\n        } else {\n          field += c;\n          i++;\n        }\n      }\n\n      if (!closed) {\n        throw new Error(\"Unterminated quoted field\");\n      }\n\n      continue;\n    }\n\n    const c = text[i];\n\n    if (c === \",\") {\n      row.push(field);\n      field = \"\";\n      pending = true;\n      i++;\n    } else if (c === \"\\n\") {\n      row.push(field);\n      rows.push(row);\n      row = [];\n      field = \"\";\n      pending = false;\n      i++;\n    } else if (c === \"\\r\" && text[i + 1] === \"\\n\") {\n      row.push(field);\n      rows.push(row);\n      row = [];\n      field = \"\";\n      pending = false;\n      i += 2;\n    } else {\n      field += c;\n      pending = true;\n      i++;\n    }\n  }\n\n  if (pending) {\n    row.push(field);\n    rows.push(row);\n  }\n\n  return rows;\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: empty input\nok 1 - empty input\n  ---\n  duration_ms: 1.735985\n  type: 'test'\n  ...\n# Subtest: simple rows and CRLF terminator\nok 2 - simple rows and CRLF terminator\n  ---\n  duration_ms: 0.202936\n  type: 'test'\n  ...\n# Subtest: quoted comma and doubled quotes\nok 3 - quoted comma and doubled quotes\n  ---\n  duration_ms: 0.191984\n  type: 'test'\n  ...\n# Subtest: quoted newlines stay in the field\nok 4 - quoted newlines stay in the field\n  ---\n  duration_ms: 0.161279\n  type: 'test'\n  ...\n# Subtest: whitespace is data\nok 5 - whitespace is data\n  ---\n  duration_ms: 0.118421\n  type: 'test'\n  ...\n# Subtest: trailing empty fields\nok 6 - trailing empty fields\n  ---\n  duration_ms: 0.112218\n  type: 'test'\n  ...\n# Subtest: blank rows retained but no phantom final row\nok 7 - blank rows retained but no phantom final row\n  ---\n  duration_ms: 0.995472\n  type: 'test'\n  ...\n# Subtest: unterminated quote rejected\nok 8 - unterminated quote rejected\n  ---\n  duration_ms: 0.303194\n  type: 'test'\n  ...\n1..8\n# tests 8\n# suites 0\n# pass 8\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 18.415593\n","stderr":""},"passed":true,"generation_tps":182.1671043904244},{"provider":"minimax-cn","endpoint":"https://api.minimax.cn/v1/chat/completions","requested_model":"MiniMax-M3.1-Flash","task":"retry","repeat":1,"started_utc":"2026-10-23T07:34:09.525324+00:00","effort":"low","prompt_sha256":"a5ed91968c8f957ab3f5d575272e199676097e0f387f22da9aae5b55403938c3","request_parameters":{"model":"MiniMax-M3.1-Flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true}},"http_status":200,"returned_model":"MiniMax-M3.1-Flash","stream_done":true,"elapsed_seconds":8.842056565001258,"ttft_generated_seconds":1.5201864190021297,"ttft_answer_seconds":7.556003076999332,"last_generated_seconds":8.679042620002292,"last_answer_seconds":8.679042620002292,"usage":{"total_tokens":999,"total_characters":0,"prompt_tokens":396,"completion_tokens":603,"completion_tokens_details":{"reasoning_tokens":423},"prompt_tokens_details":{"cached_tokens":395}},"finish_reason":"stop","reasoning_characters":2297,"answer":"```javascript\nexports.retry = async (operation, options = {}) => {\n  const attempts = options.attempts === undefined ? 3 : options.attempts;\n\n  if (!Number.isInteger(attempts) || attempts <= 0) {\n    throw new TypeError(\"options.attempts must be a positive integer\");\n  }\n\n  const shouldRetry = options.shouldRetry === undefined\n    ? () => true\n    : options.shouldRetry;\n\n  if (typeof shouldRetry !== \"function\") {\n    throw new TypeError(\"options.shouldRetry must be a function\");\n  }\n\n  for (let attempt = 1; attempt <= attempts; attempt++) {\n    try {\n      return await operation(attempt);\n    } catch (error) {\n      if (attempt === attempts || !shouldRetry(error, attempt)) {\n        throw error;\n      }\n    }\n  }\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: returns a falsy success without retry\nok 1 - returns a falsy success without retry\n  ---\n  duration_ms: 0.946503\n  type: 'test'\n  ...\n# Subtest: retries sync throws and supplies attempt number\nok 2 - retries sync throws and supplies attempt number\n  ---\n  duration_ms: 0.261868\n  type: 'test'\n  ...\n# Subtest: retries promise rejections\nok 3 - retries promise rejections\n  ---\n  duration_ms: 0.227112\n  type: 'test'\n  ...\n# Subtest: preserves final error and attempt limit\nok 4 - preserves final error and attempt limit\n  ---\n  duration_ms: 0.553832\n  type: 'test'\n  ...\n# Subtest: stops on permanent error\nok 5 - stops on permanent error\n  ---\n  duration_ms: 0.336217\n  type: 'test'\n  ...\n# Subtest: validates attempts before invoking operation\nok 6 - validates attempts before invoking operation\n  ---\n  duration_ms: 1.317281\n  type: 'test'\n  ...\n# Subtest: does not mutate options or call predicate on last attempt\nok 7 - does not mutate options or call predicate on last attempt\n  ---\n  duration_ms: 0.370789\n  type: 'test'\n  ...\n1..7\n# tests 7\n# suites 0\n# pass 7\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 17.514482\n","stderr":""},"passed":true,"generation_tps":84.23133292099861},{"provider":"deepseek","endpoint":"https://api.deepseek.com/chat/completions","requested_model":"deepseek-flash","task":"retry","repeat":1,"started_utc":"2026-10-23T07:34:18.463045+00:00","effort":"low","prompt_sha256":"a5ed91968c8f957ab3f5d575272e199676097e0f387f22da9aae5b55403938c3","request_parameters":{"model":"deepseek-flash","reasoning_effort":"low","max_tokens":16384,"stream":true,"stream_options":{"include_usage":true},"thinking":{"type":"enabled"}},"http_status":200,"returned_model":"deepseek-flash","system_fingerprint":"e72d3c7f663d3e1383b00b3884cb4501","stream_done":true,"elapsed_seconds":10.361527080007363,"ttft_generated_seconds":0.7589850410004146,"ttft_answer_seconds":10.112414075003471,"last_generated_seconds":10.358222911003395,"last_answer_seconds":10.358222911003395,"usage":{"prompt_tokens":240,"completion_tokens":1803,"total_tokens":2043,"prompt_tokens_details":{"cached_tokens":0},"completion_tokens_details":{"reasoning_tokens":1572},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":240},"finish_reason":"stop","reasoning_characters":7185,"answer":"```javascript\n'use strict';\n\nexports.retry = async function retry(operation, options = {}) {\n  const opts = options == null ? {} : options;\n  const attempts = opts.attempts === undefined ? 3 : opts.attempts;\n\n  if (typeof attempts !== 'number' || !Number.isInteger(attempts) || attempts <= 0) {\n    throw new Error('options.attempts must be a positive integer');\n  }\n\n  const shouldRetry = typeof opts.shouldRetry === 'function'\n    ? opts.shouldRetry\n    : function () {\n        return true;\n      };\n\n  let lastError;\n\n  for (let attempt = 1; attempt <= attempts; attempt += 1) {\n    try {\n      return await operation(attempt);\n    } catch (error) {\n      lastError = error;\n\n      if (attempt === attempts) {\n        throw error;\n      }\n\n      const retry = await shouldRetry(error, attempt);\n\n      if (!retry) {\n        throw error;\n      }\n    }\n  }\n\n  throw lastError;\n};\n```","grade":{"passed":true,"exit":0,"stdout":"TAP version 13\n# Subtest: returns a falsy success without retry\nok 1 - returns a falsy success without retry\n  ---\n  duration_ms: 1.279611\n  type: 'test'\n  ...\n# Subtest: retries sync throws and supplies attempt number\nok 2 - retries sync throws and supplies attempt number\n  ---\n  duration_ms: 0.387469\n  type: 'test'\n  ...\n# Subtest: retries promise rejections\nok 3 - retries promise rejections\n  ---\n  duration_ms: 0.345638\n  type: 'test'\n  ...\n# Subtest: preserves final error and attempt limit\nok 4 - preserves final error and attempt limit\n  ---\n  duration_ms: 0.848534\n  type: 'test'\n  ...\n# Subtest: stops on permanent error\nok 5 - stops on permanent error\n  ---\n  duration_ms: 0.481902\n  type: 'test'\n  ...\n# Subtest: validates attempts before invoking operation\nok 6 - validates attempts before invoking operation\n  ---\n  duration_ms: 3.667259\n  type: 'test'\n  ...\n# Subtest: does not mutate options or call predicate on last attempt\nok 7 - does not mutate options or call predicate on last attempt\n  ---\n  duration_ms: 1.494301\n  type: 'test'\n  ...\n1..7\n# tests 7\n# suites 0\n# pass 7\n# fail 0\n# cancelled 0\n# skipped 0\n# todo 0\n# duration_ms 29.639056\n","stderr":""},"passed":true,"generation_tps":187.82741134421332}]}