[
  {
    "testName": "counter",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 9,
    "pass1": 0.9,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n  }\n</style>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n    padding: 1rem;\n    border: 1px solid #ccc;\n    border-radius: 8px;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 0.75rem;\n    font-family: sans-serif;\n  }\n\n  .counter button {\n    min-width: 2.5rem;\n    height: 2.5rem;\n    font-size: 1.25rem;\n    line-height: 1;\n    cursor: pointer;\n    border: 1px solid #ccc;\n    border-radius: 0.375rem;\n    background: #f8f9fa;\n  }\n\n  .counter button:hover {\n    background: #e9ecef;\n  }\n\n  .counter button:active {\n    background: #dee2e6;\n  }\n\n  .counter span[data-testid='count-value'] {\n    min-width: 2rem;\n    text-align: center;\n    font-size: 1.25rem;\n    font-variant-numeric: tabular-nums;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count -= 1}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count += 1}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n    font-family: sans-serif;\n    font-size: 1.5rem;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.5rem;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count -= 1}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count += 1}>+</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>",
        "success": false,
        "errors": [
          "Command failed: /opt/homebrew/Cellar/node/26.13.1_2/bin/node /svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/vitest.mjs run /svelte-bench/tmp/samples/openrouter/counter_sample8_e19e0303f3c3f833/counter.test.ts --pool=threads --maxWorkers=1 --reporter=json --outputFile=/var/folders/c2/cmkv3n2x1_j7j99vkfcfh9840000gn/T/svelte-bench-vitest-QDIme9/result.json\n\n\u001b[31m⎯⎯⎯⎯⎯⎯⎯\u001b[39m\u001b[1m\u001b[41m Startup Error \u001b[49m\u001b[22m\u001b[31m⎯⎯⎯⎯⎯⎯⎯⎯\u001b[39m\nError: ENOTEMPTY: directory not empty, rename '/svelte-bench/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps___vitest___temp_237eaebf' -> '/svelte-bench/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps___vitest__'\n    at Object.renameSync (node:fs:1357:11)\n    at Object.commit (file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:30027:10)\n    at optimizeExplicitEnvironmentDeps (file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:29886:15)\n    at async Object.init (file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:36802:28)\n    at async Promise.all (index 1)\n    at async RunnableDevEnvironment.listen (file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:37857:3)\n    at async Promise.all (index 1)\n    at async file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:26165:36\n    at async _createServer (file:///svelte-bench/node_modules/.pnpm/vite@8.4.0_@types+node@26.6.11_esbuild@0.28.2_tsx@4.23.15/node_modules/vite/dist/node/chunks/node.js:26188:10)\n    at async createViteServer (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.6pLw0FLK.js:201:17) {\n  errno: -66,\n  code: 'ENOTEMPTY',\n  syscall: 'rename',\n  path: '/svelte-bench/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps___vitest___temp_237eaebf',\n  dest: '/svelte-bench/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps___vitest__'\n}\n\n\n\n"
        ]
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let count = $state(0);\n</script>\n\n<div class=\"counter\">\n  <button data-testid=\"decrement-button\" onclick={() => count--}>-</button>\n  <span data-testid=\"count-value\">{count}</span>\n  <button data-testid=\"increment-button\" onclick={() => count++}>+</button>\n</div>\n\n<style>\n  .counter {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n    padding: 1rem;\n  }\n</style>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "derived",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number += 1}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet number = $state(5);\n\tlet doubled = $derived(number * 2);\n</script>\n\n<div>\n\t<p data-testid=\"number-value\">Number: {number}</p>\n\t<p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n\t<button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>\n    Increment\n  </button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet number = $state(5);\n\tlet doubled = $derived(number * 2);\n</script>\n\n<div>\n\t<p data-testid=\"number-value\">Number: {number}</p>\n\t<p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n\t<button data-testid=\"increment-button\" onclick={() => number += 1}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $derived(number * 2);\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "derived-by",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const trimmed = text.trim();\n    const words = trimmed ? trimmed.split(/\\s+/).length : 0;\n    const characters = text.length;\n    const isLong = words > 15;\n    return { words, characters, isLong };\n  });\n\n  function clear() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input\n    data-testid=\"text-input\"\n    type=\"text\"\n    bind:value={text}\n    placeholder=\"Enter text...\"\n  />\n  <button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.words}</p>\n    <p data-testid=\"char-count\">Characters: {stats.characters}</p>\n    <p data-testid=\"length-indicator\">Status: {stats.isLong ? 'Long text' : 'Short text'}</p>\n  </div>\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const trimmed = text.trim();\n    const wordCount = trimmed === '' ? 0 : trimmed.split(/\\s+/).length;\n    const charCount = text.length;\n    const isLong = wordCount > 15;\n    return { wordCount, charCount, isLong };\n  });\n\n  function clear() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input\n    data-testid=\"text-input\"\n    type=\"text\"\n    bind:value={text}\n  />\n  <button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.wordCount}</p>\n    <p data-testid=\"char-count\">Characters: {stats.charCount}</p>\n    <p data-testid=\"length-indicator\">Status: {stats.isLong ? 'Long text' : 'Short text'}</p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const trimmed = text.trim();\n    const wordCount = trimmed === '' ? 0 : trimmed.split(/\\s+/).length;\n    const charCount = text.length;\n    const isLong = wordCount > 15;\n    const status = isLong ? 'Long text' : 'Short text';\n    return { wordCount, charCount, isLong, status };\n  });\n\n  function clear() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input\n    data-testid=\"text-input\"\n    type=\"text\"\n    bind:value={text}\n  />\n  <button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.wordCount}</p>\n    <p data-testid=\"char-count\">Characters: {stats.charCount}</p>\n    <p data-testid=\"length-indicator\">Status: {stats.status}</p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const words = text.trim() === '' ? 0 : text.trim().split(/\\s+/).length;\n    const characters = text.length;\n    const isLong = words > 15;\n    return { words, characters, isLong };\n  });\n\n  function clearText() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n  <button data-testid=\"clear-button\" onclick={clearText}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.words}</p>\n    <p data-testid=\"char-count\">Characters: {stats.characters}</p>\n    <p data-testid=\"length-indicator\">Status: {stats.isLong ? 'Long text' : 'Short text'}</p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('');\n\n\tconst { wordCount, charCount, isLong } = $derived.by(() => {\n\t\tconst words = text.trim() === '' ? [] : text.trim().split(/\\s+/);\n\t\treturn {\n\t\t\twordCount: words.length,\n\t\t\tcharCount: text.length,\n\t\t\tisLong: words.length > 15\n\t\t};\n\t});\n\n\tfunction clear() {\n\t\ttext = '';\n\t}\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n\t<div>\n\t\t<p data-testid=\"word-count\">Words: {wordCount}</p>\n\t\t<p data-testid=\"char-count\">Characters: {charCount}</p>\n\t\t<p data-testid=\"length-indicator\">Status: {isLong ? 'Long text' : 'Short text'}</p>\n\t</div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const trimmed = text.trim();\n    const wordCount = trimmed ? trimmed.split(/\\s+/).length : 0;\n    const charCount = text.length;\n    const isLong = wordCount > 15;\n    return { wordCount, charCount, isLong };\n  });\n\n  function clear() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input\n    data-testid=\"text-input\"\n    type=\"text\"\n    bind:value={text}\n    placeholder=\"Enter text...\"\n  />\n  <button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.wordCount}</p>\n    <p data-testid=\"char-count\">Characters: {stats.charCount}</p>\n    <p data-testid=\"length-indicator\">Status: {stats.isLong ? 'Long text' : 'Short text'}</p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n\n  const stats = $derived.by(() => {\n    const trimmed = text.trim();\n    const wordCount = trimmed ? trimmed.split(/\\s+/).length : 0;\n    const charCount = text.length;\n    const isLong = wordCount > 15;\n\n    return { wordCount, charCount, isLong };\n  });\n\n  function clear() {\n    text = '';\n  }\n</script>\n\n<div>\n  <input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n  <button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {stats.wordCount}</p>\n    <p data-testid=\"char-count\">Characters: {stats.charCount}</p>\n    <p data-testid=\"length-indicator\">\n      Status: {stats.isLong ? 'Long text' : 'Short text'}\n    </p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('');\n  const { wordCount, charCount, isLong } = $derived.by(() => {\n    const words = text.trim().length > 0 ? text.trim().split(/\\s+/).length : 0;\n    const chars = text.length;\n    return {\n      wordCount: words,\n      charCount: chars,\n      isLong: words > 15\n    };\n  });\n</script>\n\n<div>\n  <input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n  <button data-testid=\"clear-button\" onclick={() => (text = '')}>Clear</button>\n  <div>\n    <p data-testid=\"word-count\">Words: {wordCount}</p>\n    <p data-testid=\"char-count\">Characters: {charCount}</p>\n    <p data-testid=\"length-indicator\">Status: {isLong ? 'Long text' : 'Short text'}</p>\n  </div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('');\n\n\tconst stats = $derived.by(() => {\n\t\tconst words = text.trim() === '' ? 0 : text.trim().split(/\\s+/).length;\n\t\tconst characters = text.length;\n\t\tconst isLong = words > 15;\n\t\treturn { words, characters, isLong };\n\t});\n\n\tfunction clear() {\n\t\ttext = '';\n\t}\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} placeholder=\"Enter some text\" />\n\t<button data-testid=\"clear-button\" onclick={clear}>Clear</button>\n\t<div>\n\t\t<p data-testid=\"word-count\">Words: {stats.words}</p>\n\t\t<p data-testid=\"char-count\">Characters: {stats.characters}</p>\n\t\t<p data-testid=\"length-indicator\">Status: {stats.isLong ? 'Long text' : 'Short text'}</p>\n\t</div>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('');\n\n\tconst { wordCount, charCount, isLongText } = $derived.by(() => {\n\t\tconst words = text.trim().length > 0 ? text.trim().split(/\\s+/).length : 0;\n\t\treturn {\n\t\t\twordCount: words,\n\t\t\tcharCount: text.length,\n\t\t\tisLongText: words > 15\n\t\t};\n\t});\n</script>\n\n<div>\n\t<input\n\t\tdata-testid=\"text-input\"\n\t\ttype=\"text\"\n\t\tbind:value={text}\n\t\tplaceholder=\"Enter text...\"\n\t/>\n\t<button data-testid=\"clear-button\" onclick={() => (text = '')}>Clear</button>\n\t<div>\n\t\t<p data-testid=\"word-count\">Words: {wordCount}</p>\n\t\t<p data-testid=\"char-count\">Characters: {charCount}</p>\n\t\t<p data-testid=\"length-indicator\">Status: {isLongText ? 'Long text' : 'Short text'}</p>\n\t</div>\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "each",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n  function addGeorge() {\n    characters.push(\"George\");\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n  function addGeorge() {\n    characters.push(\"George\");\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n  function addGeorge() {\n    characters = [...characters, \"George\"];\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n  function addGeorge() {\n    characters = [...characters, \"George\"];\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state(['Jerry', 'Elaine', 'Kramer']);\n\n  function addGeorge() {\n    characters = [...characters, 'George'];\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n</script>\n\n<div>\n\t<ul data-testid=\"characters-list\">\n\t\t{#each characters as character}\n\t\t\t<li data-testid=\"character\">{character}</li>\n\t\t{/each}\n\t</ul>\n\t<button\n\t\tdata-testid=\"add-george-button\"\n\t\tonclick={() => characters.push(\"George\")}\n\t>\n\t\tAdd George\n\t</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n\tfunction addGeorge() {\n\t\tcharacters.push(\"George\");\n\t}\n</script>\n\n<div>\n\t<ul data-testid=\"characters-list\">\n\t\t{#each characters as character}\n\t\t\t<li data-testid=\"character\">{character}</li>\n\t\t{/each}\n\t</ul>\n\t<button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state(['Jerry', 'Elaine', 'Kramer']);\n\n  function addGeorge() {\n    characters.push('George');\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n    let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n    function addGeorge() {\n        characters = [...characters, \"George\"];\n    }\n</script>\n\n<div>\n    <ul data-testid=\"characters-list\">\n        {#each characters as character}\n            <li data-testid=\"character\">{character}</li>\n        {/each}\n    </ul>\n    <button data-testid=\"add-george-button\" onclick={addGeorge}>\n        Add George\n    </button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let characters = $state([\"Jerry\", \"Elaine\", \"Kramer\"]);\n\n  function addGeorge() {\n    characters.push(\"George\");\n  }\n</script>\n\n<div>\n  <ul data-testid=\"characters-list\">\n    {#each characters as character}\n      <li data-testid=\"character\">{character}</li>\n    {/each}\n  </ul>\n  <button data-testid=\"add-george-button\" onclick={addGeorge}>Add George</button>\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "effect",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button\n    data-testid=\"increment-button\"\n    onclick={() => number += 1}\n  >\n    Increment\n  </button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number += 1}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n\n  function increment() {\n    number += 1;\n  }\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>Increment</button>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let number = $state(5);\n  let doubled = $state(0);\n\n  $effect(() => {\n    doubled = number * 2;\n  });\n</script>\n\n<div>\n  <p data-testid=\"number-value\">Number: {number}</p>\n  <p data-testid=\"doubled-value\">Doubled: {doubled}</p>\n  <button data-testid=\"increment-button\" onclick={() => number++}>\n    Increment\n  </button>\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "hello-world",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let greeting = 'Hello, World!';\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 16px;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    min-height: 100vh;\n  }\n</style>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  const message = 'Hello, World!';\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{message}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 2rem;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    min-height: 100vh;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  // HelloWorld component\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">Hello, World!</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 20px;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    min-height: 100vh;\n    margin: 0;\n    font-size: 24px;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let greeting = 'Hello, World!';\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 2rem;\n    text-align: center;\n  }\n\n  body {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    height: 100vh;\n    margin: 0;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let message = 'Hello, World!';\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{message}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 1rem;\n    text-align: center;\n  }\n\n  :global(body) {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    min-height: 100vh;\n    margin: 0;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let greeting = $state(\"Hello, World!\");\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    margin: 1rem;\n    text-align: center;\n  }\n\n  div {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    height: 100vh;\n    margin: 0;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  const message = 'Hello, World!';\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{message}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    text-align: center;\n    margin: 1rem;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let greeting = $state('Hello, World!');\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    text-align: center;\n    margin: 20px;\n    font-family: sans-serif;\n  }\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet greeting = \"Hello, World!\";\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n\t.greeting {\n\t\tcolor: blue;\n\t\tmargin: 16px;\n\t\ttext-align: center;\n\t}\n</style>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let greeting = $state('Hello, World!');\n</script>\n\n<div data-testid=\"greeting\" class=\"greeting\">{greeting}</div>\n\n<style>\n  .greeting {\n    color: blue;\n    text-align: center;\n    margin: 24px;\n  }\n\n  :global(body) {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    min-height: 100vh;\n    margin: 0;\n  }\n</style>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "inspect",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value) => {\n\t\tconsole.log('Input updated:', value);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text, text.length).with((_text, _length) => {\n\t\tconsole.log('Input updated:', _text, 'Length:', _length);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text, text.length).with((value, count) => {\n\t\tconsole.log('Updated:', value, 'length:', count);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t\tconsole.log('Effect ran with text:', text);\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value) => {\n\t\tconsole.log('Input updated:', value);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t\tconsole.log('Effect running, text is:', text);\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let text = $state('Hello world');\n\n  $inspect(text);\n  $inspect(text).with((value) => {\n    console.log('Input updated:', value);\n  });\n\n  $effect(() => {\n    $inspect.trace();\n    text.length;\n  });\n</script>\n\n<div>\n  <input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n  <p data-testid=\"text-value\">Current text: \"{text}\"</p>\n  <p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value) => {\n\t\tconsole.log('Updated text:', value);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value) => {\n\t\tconsole.log('Input updated:', value);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t\ttext;\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value) => {\n\t\tconsole.log('Text updated:', value);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t\treturn () => {};\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  let text = $state('Hello world');\n\n  $inspect(text);\n\n  $inspect(text).with((value) => {\n    console.log('Input changed:', value);\n  });\n\n  $effect(() => {\n    $inspect.trace();\n  });\n</script>\n\n<div>\n  <input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n  <p data-testid=\"text-value\">Current text: \"{text}\"</p>\n  <p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tlet text = $state('Hello world');\n\n\t$inspect(text);\n\n\t$inspect(text).with((value, oldValue) => {\n\t\tconsole.log('Updated text:', value, 'from:', oldValue);\n\t});\n\n\t$effect(() => {\n\t\t$inspect.trace();\n\t});\n</script>\n\n<div>\n\t<input data-testid=\"text-input\" type=\"text\" bind:value={text} />\n\t<p data-testid=\"text-value\">Current text: \"{text}\"</p>\n\t<p data-testid=\"char-count\">Character count: {text.length}</p>\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "props",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 10,
    "pass1": 1,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let { name = 'World', count = 0, showDetails = false } = $props();\n\n  let localCount = $state(count);\n\n  function increment() {\n    localCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {localCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {localCount}</p>\n      <p>ShowDetails is {showDetails}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": [],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let { name = \"World\", count = 0, showDetails = false } = $props();\n\n  let reactiveCount = $state(count);\n\n  function increment() {\n    reactiveCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {reactiveCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {reactiveCount}</p>\n      <p>ShowDetails is {String(showDetails)}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let { name = 'World', count = 0, showDetails = false } = $props();\n\n  let counter = $state(count);\n\n  function increment() {\n    counter += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {counter}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {counter}</p>\n      <p>ShowDetails is {showDetails ? 'true' : 'false'}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let {\n    name = 'World',\n    count = 0,\n    showDetails = false\n  } = $props();\n\n  let reactiveCount = $state(count);\n\n  $effect(() => {\n    reactiveCount = count;\n  });\n\n  function increment() {\n    reactiveCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {reactiveCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {reactiveCount}</p>\n      <p>ShowDetails is {showDetails}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  let { name = 'World', count = 0, showDetails = false }: {\n    name?: string;\n    count?: number;\n    showDetails?: boolean;\n  } = $props();\n\n  let countValue = $state(count);\n\n  function increment() {\n    countValue += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {countValue}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {countValue}</p>\n      <p>ShowDetails is true</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n\tlet {\n\t\tname = 'World',\n\t\tcount = 0,\n\t\tshowDetails = false\n\t} = $props<{\n\t\tname?: string;\n\t\tcount?: number;\n\t\tshowDetails?: boolean;\n\t}>();\n\n\tlet internalCount = $state(count);\n\n\tfunction increment() {\n\t\tinternalCount += 1;\n\t}\n</script>\n\n<div>\n\t<h1 data-testid=\"name-display\">Hello, {name}!</h1>\n\t<p data-testid=\"count-display\">Count: {internalCount}</p>\n\t<button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n\t{#if showDetails}\n\t\t<div data-testid=\"details\">\n\t\t\t<p>Name is {name}</p>\n\t\t\t<p>Count is {internalCount}</p>\n\t\t\t<p>ShowDetails is true</p>\n\t\t</div>\n\t{/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let { name = 'World', count = 0, showDetails = false } = $props();\n  let localCount = $state(count);\n\n  function increment() {\n    localCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {localCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {localCount}</p>\n      <p>ShowDetails is {showDetails}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  let {\n    name = 'World',\n    count = 0,\n    showDetails = false\n  } = $props();\n\n  let localCount = $state(count);\n\n  function increment() {\n    localCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {localCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {localCount}</p>\n      <p>ShowDetails is {showDetails}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let { name = 'World', count = 0, showDetails = false } = $props();\n\n  let currentCount = $state(count);\n\n  function increment() {\n    currentCount += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {currentCount}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {currentCount}</p>\n      <p>ShowDetails is true</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let {\n    name = 'World',\n    count = 0,\n    showDetails = false\n  } = $props();\n\n  let countValue = $state(count);\n\n  function increment() {\n    countValue += 1;\n  }\n</script>\n\n<div>\n  <h1 data-testid=\"name-display\">Hello, {name}!</h1>\n  <p data-testid=\"count-display\">Count: {countValue}</p>\n  <button data-testid=\"increment-button\" onclick={increment}>Increment</button>\n\n  {#if showDetails}\n    <div data-testid=\"details\">\n      <p>Name is {name}</p>\n      <p>Count is {countValue}</p>\n      <p>ShowDetails is {String(showDetails)}</p>\n    </div>\n  {/if}\n</div>",
        "success": true,
        "errors": []
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  },
  {
    "testName": "snippets",
    "provider": "OpenRouter",
    "modelId": "upstage/solar-mini-4-5",
    "numSamples": 10,
    "numCorrect": 4,
    "pass1": 0.4,
    "pass10": 1,
    "context": {
      "used": false,
      "content": ""
    },
    "samples": [
      {
        "index": 0,
        "code": "<svelte:options runes={true} />\n\n<script>\n  let books = [\"The Lord of the Rings\", \"To Kill a Mockingbird\", \"1984\"];\n\n  let title = ({ book }) => {\n    return `<span data-testid=\"book-title\">${book}</span>`;\n  };\n</script>\n\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">\n      {@render title({ book })}\n    </li>\n  {/each}\n</ul>",
        "success": false,
        "errors": [
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample0_45a0f80e9bfbca5b/snippets.test.ts:12:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample0_45a0f80e9bfbca5b/snippets.test.ts:19:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).toBeInTheDocument()\u001b[22m\n\n\u001b[31mreceived\u001b[39m value must be an HTMLElement or an SVGElement.\nReceived has type:  Null\nReceived has value: \u001b[31mnull\u001b[39m\n    at Proxy.__VITEST_EXTEND_ASSERTION__ (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:2293:36)\n    at Proxy.<anonymous> (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:1659:14)\n    at Proxy.methodWrapper (file:///svelte-bench/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample0_45a0f80e9bfbca5b/snippets.test.ts:35:21\n    at Array.forEach (<anonymous>)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample0_45a0f80e9bfbca5b/snippets.test.ts:31:15\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)"
        ],
        "temperature": 0
      },
      {
        "index": 1,
        "code": "<svelte:options runes={true} />\n\n<script>\n  const books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n\n  let title = (book) => {\n    return book;\n  };\n</script>\n\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">\n      {@render title(book)}\n    </li>\n  {/each}\n</ul>",
        "success": false,
        "errors": [
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample1_b5cccd59fdc3929d/snippets.test.ts:12:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample1_b5cccd59fdc3929d/snippets.test.ts:19:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).toBeInTheDocument()\u001b[22m\n\n\u001b[31mreceived\u001b[39m value must be an HTMLElement or an SVGElement.\nReceived has type:  Null\nReceived has value: \u001b[31mnull\u001b[39m\n    at Proxy.__VITEST_EXTEND_ASSERTION__ (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:2293:36)\n    at Proxy.<anonymous> (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:1659:14)\n    at Proxy.methodWrapper (file:///svelte-bench/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample1_b5cccd59fdc3929d/snippets.test.ts:35:21\n    at Array.forEach (<anonymous>)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample1_b5cccd59fdc3929d/snippets.test.ts:31:15\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)"
        ]
      },
      {
        "index": 2,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n    const books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n\n    let title = ({ book }: { book: string }) => {\n        return `<span data-testid=\"book-title\">${book}</span>`;\n    };\n</script>\n\n<ul>\n    {#each books as book}\n        <li data-testid=\"book-item\">{@render title(book)}</li>\n    {/each}\n</ul>",
        "success": false,
        "errors": [
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample2_90e6450a7cdc706f/snippets.test.ts:12:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample2_90e6450a7cdc706f/snippets.test.ts:19:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).toBeInTheDocument()\u001b[22m\n\n\u001b[31mreceived\u001b[39m value must be an HTMLElement or an SVGElement.\nReceived has type:  Null\nReceived has value: \u001b[31mnull\u001b[39m\n    at Proxy.__VITEST_EXTEND_ASSERTION__ (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:2293:36)\n    at Proxy.<anonymous> (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:1659:14)\n    at Proxy.methodWrapper (file:///svelte-bench/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample2_90e6450a7cdc706f/snippets.test.ts:35:21\n    at Array.forEach (<anonymous>)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample2_90e6450a7cdc706f/snippets.test.ts:31:15\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)"
        ]
      },
      {
        "index": 3,
        "code": "<svelte:options runes={true} />\n\n<script>\n  const books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n\n  let title = ({ title }) => {\n    return { render: () => null };\n  };\n</script>\n\n{#snippet title(bookTitle)}\n  <span data-testid=\"book-title\">{bookTitle}</span>\n{/snippet}\n\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">{@render title(book)}</li>\n  {/each}\n</ul>",
        "success": false,
        "errors": [
          "tmp/samples/openrouter/snippets_sample3_c2afc003d591dabd/Component.svelte:11:10 `title` has already been declared\nhttps://svelte.dev/e/declaration_duplicate"
        ]
      },
      {
        "index": 4,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tconst books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n</script>\n\n{#snippet title(title)}\n\t<span data-testid=\"book-title\">{title}</span>\n{/snippet}\n\n<ul>\n\t{#each books as book}\n\t\t<li data-testid=\"book-item\">\n\t\t\t{@render title(book)}\n\t\t</li>\n\t{/each}\n</ul>",
        "success": true,
        "errors": []
      },
      {
        "index": 5,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  let books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n</script>\n\n{#snippet title(book: string)}\n  <span data-testid=\"book-title\">{book}</span>\n{/snippet}\n\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">\n      {@render title(book)}\n    </li>\n  {/each}\n</ul>",
        "success": true,
        "errors": []
      },
      {
        "index": 6,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tconst books = [\"The Lord of the Rings\", \"To Kill a Mockingbird\", \"1984\"];\n\n\tlet { children } = $props();\n\n\tlet title = (book) => {\n\t\treturn `<span data-testid=\"book-title\">${book}</span>`;\n\t};\n</script>\n\n<ul>\n\t{#each books as book}\n\t\t<li data-testid=\"book-item\">\n\t\t\t{@render title(book)}\n\t\t</li>\n\t{/each}\n</ul>",
        "success": false,
        "errors": [
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample6_2bab7a8ec21e05eb/snippets.test.ts:12:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample6_2bab7a8ec21e05eb/snippets.test.ts:19:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).toBeInTheDocument()\u001b[22m\n\n\u001b[31mreceived\u001b[39m value must be an HTMLElement or an SVGElement.\nReceived has type:  Null\nReceived has value: \u001b[31mnull\u001b[39m\n    at Proxy.__VITEST_EXTEND_ASSERTION__ (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:2293:36)\n    at Proxy.<anonymous> (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:1659:14)\n    at Proxy.methodWrapper (file:///svelte-bench/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample6_2bab7a8ec21e05eb/snippets.test.ts:35:21\n    at Array.forEach (<anonymous>)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample6_2bab7a8ec21e05eb/snippets.test.ts:31:15\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)"
        ]
      },
      {
        "index": 7,
        "code": "<svelte:options runes={true} />\n\n<script>\n\tconst books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n\n\tlet { book } = $props();\n</script>\n\n{#snippet title(book)}\n\t<span data-testid=\"book-title\">{book}</span>\n{/snippet}\n\n<ul>\n\t{#each books as book}\n\t\t<li data-testid=\"book-item\">\n\t\t\t{@render title(book)}\n\t\t</li>\n\t{/each}\n</ul>",
        "success": true,
        "errors": []
      },
      {
        "index": 8,
        "code": "<svelte:options runes={true} />\n\n<script>\n  const books = ['The Lord of the Rings', 'To Kill a Mockingbird', '1984'];\n\n  function title({ title }) {\n    return `<span data-testid=\"book-title\">${title}</span>`;\n  }\n</script>\n\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">\n      {#snippet title({ title })}\n        <span data-testid=\"book-title\">{title}</span>\n      {/snippet}\n      {@render title({ title: book })}\n    </li>\n  {/each}\n</ul>",
        "success": true,
        "errors": []
      },
      {
        "index": 9,
        "code": "<svelte:options runes={true} />\n\n<script lang=\"ts\">\n  const books = [\"The Lord of the Rings\", \"To Kill a Mockingbird\", \"1984\"];\n\n  let { title }: { title: string } = $props();\n\n  const titleSnippet = (title: string) => {\n    return `<span data-testid=\"book-title\">{title}</span>`;\n  };\n</script>\n<ul>\n  {#each books as book}\n    <li data-testid=\"book-item\">{@render titleSnippet(book)}</li>\n  {/each}\n</ul>",
        "success": false,
        "errors": [
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample9_e3d6ca40f32dfb78/snippets.test.ts:12:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "TestingLibraryElementError: Unable to find an element by: [data-testid=\"book-title\"]\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n  \u001b[36m<div>\u001b[39m\n    \u001b[36m<ul>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[36m<li\u001b[39m\n        \u001b[33mdata-testid\u001b[39m=\u001b[32m\"book-item\"\u001b[39m\n      \u001b[36m/>\u001b[39m\n      \u001b[0m\u001b[0m\n    \u001b[36m</ul>\u001b[39m\n    \u001b[0m\u001b[0m\n  \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n    at Object.getElementError (/svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:37:19)\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n    at /svelte-bench/node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/query-helpers.js:109:15\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample9_e3d6ca40f32dfb78/snippets.test.ts:19:31\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)\n    at runWithCancel (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3397:10)\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3381:20",
          "Error: \u001b[2mexpect(\u001b[22m\u001b[31mreceived\u001b[39m\u001b[2m).toBeInTheDocument()\u001b[22m\n\n\u001b[31mreceived\u001b[39m value must be an HTMLElement or an SVGElement.\nReceived has type:  Null\nReceived has value: \u001b[31mnull\u001b[39m\n    at Proxy.__VITEST_EXTEND_ASSERTION__ (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:2293:36)\n    at Proxy.<anonymous> (file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/index.D5jWOaqm.js:1659:14)\n    at Proxy.methodWrapper (file:///svelte-bench/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample9_e3d6ca40f32dfb78/snippets.test.ts:35:21\n    at Array.forEach (<anonymous>)\n    at /svelte-bench/tmp/samples/openrouter/snippets_sample9_e3d6ca40f32dfb78/snippets.test.ts:31:15\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:1695:35\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:2864:26\n    at file:///svelte-bench/node_modules/.pnpm/vitest@5.1.2_@opentelemetry+api@1.10.0_@types+node@26.6.11_jsdom@31.0.1_vite@8.4.0_@typ_db37d9aede68bf318cdd6e2d74482fea/node_modules/vitest/dist/chunks/run.zBhXlcZQ.js:3402:20\n    at new Promise (<anonymous>)"
        ]
      }
    ],
    "timestamp": "2026-12-01T02:06:31.563Z"
  }
]
