Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
15.9 KB
Raw Blame
[
 {
  "id": "sanity-I1",
  "mode": "chat",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case sanity-I1]\nReturn only a JSON object with ok set to true and count set to the integer 3. No other keys."
    }
   ],
   "chat_template_kwargs": {
    "thinking": false,
    "enable_thinking": false
   }
  },
  "thinking": false,
  "text": "<|begin▁of▁sentence|><|User|>[case sanity-I1]\nReturn only a JSON object with ok set to true and count set to the integer 3. No other keys.<|Assistant|></think>",
  "ids": [
   0,
   128803,
   61,
   11675,
   102630,
   20448,
   19,
   2296,
   25529,
   1353,
   260,
   26639,
   2873,
   418,
   9109,
   1341,
   304,
   3292,
   305,
   1895,
   1341,
   304,
   270,
   9132,
   223,
   21,
   16,
   3011,
   915,
   18222,
   16,
   128804,
   128822
  ],
  "expect_text": "{\"ok\": true, \"count\": 3}<|end▁of▁sentence|>",
  "finish": "stop"
 },
 {
  "id": "sanity-I1",
  "mode": "thinking",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case sanity-I1]\nReturn only a JSON object with ok set to true and count set to the integer 3. No other keys."
    }
   ]
  },
  "thinking": true,
  "text": "<|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)\n\n<|User|>[case sanity-I1]\nReturn only a JSON object with ok set to true and count set to the integer 3. No other keys.<|Assistant|><think>",
  "ids": [
   0,
   128799,
   77666,
   288,
   9504,
   482,
   28,
   223,
   2402,
   343,
   16801,
   223,
   19,
   15,
   1457,
   14,
   270,
   4077,
   270,
   1990,
   14,
   270,
   850,
   15146,
   270,
   22805,
   868,
   128803,
   61,
   11675,
   102630,
   20448,
   19,
   2296,
   25529,
   1353,
   260,
   26639,
   2873,
   418,
   9109,
   1341,
   304,
   3292,
   305,
   1895,
   1341,
   304,
   270,
   9132,
   223,
   21,
   16,
   3011,
   915,
   18222,
   16,
   128804,
   128821
  ],
  "expect_text": "We need answer only JSON object with ok true and count integer 3. No other keys. Need comply.</think>{\"ok\":true,\"count\":3}<|end▁of▁sentence|>",
  "finish": "stop"
 },
 {
  "id": "sanity-T1",
  "mode": "chat",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case sanity-T1]\nUse lookup_record to look up record A-17."
    }
   ],
   "tools": [
    {
     "type": "function",
     "function": {
      "name": "lookup_record",
      "description": "Synthetic benchmark lookup; no external action is performed.",
      "parameters": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string"
        }
       },
       "required": [
        "id"
       ],
       "additionalProperties": false
      }
     }
    }
   ],
   "chat_template_kwargs": {
    "thinking": false,
    "enable_thinking": false
   }
  },
  "thinking": false,
  "text": "<|begin▁of▁sentence|><|System|>\n\n## Tools\n\nYou have access to a set of tools to help answer the user's question. You can invoke tools by writing a \"<|DSML| calls>\" block like the following:\n\n<|DSML| calls>\n<|DSML| invoke name=\"$TOOL_NAME\">\n<|DSML| parameter name=\"$PARAMETER_NAME\" string=\"true|false\">$PARAMETER_VALUE</|DSML| parameter>\n...\n</|DSML| invoke>\n<|DSML| invoke name=\"$TOOL_NAME2\">\n...\n</|DSML| invoke>\n</|DSML| calls>\n\nString parameters should be specified as is and set `string=\"true\"`. For all other types (numbers, booleans, arrays, objects), pass the value in JSON format and set `string=\"false\"`.\n\nIf thinking_mode is enabled (triggered by <think>), you MUST output your complete reasoning inside <think>...</think> BEFORE any tool calls or final response.\n\nOtherwise, output directly after </think> with tool calls or final response.\n\n### Available Tool Schemas\n\n{\"name\": \"lookup_record\", \"description\": \"Synthetic benchmark lookup; no external action is performed.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"id\": {\"type\": \"string\"}}, \"required\": [\"id\"], \"additionalProperties\": false}}\n\nYou MUST strictly follow the above defined tool name and parameter schemas to invoke tool calls.\n<|User|>[case sanity-T1]\nUse lookup_record to look up record A-17.<|Assistant|></think>",
  "ids": [
   0,
   128799,
   271,
   372,
   27193,
   271,
   3476,
   611,
   3278,
   304,
   260,
   1341,
   294,
   6704,
   304,
   1694,
   3287,
   270,
   3967,
   734,
   3417,
   16,
   2042,
   588,
   34756,
   6704,
   513,
   4985,
   260,
   38322,
   128825,
   10699,
   48902,
   5603,
   1277,
   270,
   2502,
   979,
   30,
   128825,
   10699,
   1018,
   30,
   128825,
   34756,
   2329,
   84476,
   6792,
   5896,
   35044,
   3816,
   30,
   128825,
   10767,
   2329,
   84476,
   46630,
   4130,
   61729,
   35044,
   4,
   3418,
   1281,
   11476,
   94,
   19836,
   3320,
   6,
   46630,
   4130,
   61729,
   56909,
   1718,
   128825,
   10767,
   1018,
   7835,
   1718,
   128825,
   34756,
   1018,
   30,
   128825,
   34756,
   2329,
   84476,
   6792,
   5896,
   35044,
   20,
   3816,
   7835,
   1718,
   128825,
   34756,
   1018,
   1718,
   128825,
   10699,
   4697,
   3524,
   8252,
   1531,
   366,
   12038,
   412,
   344,
   305,
   1341,
   3608,
   4463,
   1281,
   11476,
   4,
   37419,
   1884,
   710,
   915,
   4815,
   343,
   62896,
   14,
   2631,
   2065,
   634,
   14,
   31939,
   14,
   8435,
   754,
   2281,
   270,
   1990,
   295,
   26639,
   8786,
   305,
   1341,
   3608,
   4463,
   1281,
   19836,
   4,
   108526,
   3575,
   6892,
   71144,
   344,
   22104,
   343,
   89944,
   284,
   513,
   223,
   128821,
   754,
   440,
   74366,
   5238,
   782,
   5553,
   22805,
   6352,
   223,
   128821,
   1613,
   128822,
   119907,
   1117,
   4105,
   10699,
   469,
   4087,
   4256,
   339,
   13079,
   6922,
   14,
   5238,
   6578,
   1561,
   223,
   128822,
   418,
   4105,
   10699,
   469,
   4087,
   4256,
   339,
   795,
   17829,
   28249,
   13178,
   8380,
   271,
   24313,
   2852,
   3362,
   582,
   12533,
   1425,
   119326,
   1760,
   582,
   20855,
   3362,
   582,
   53,
   48819,
   35312,
   64018,
   29,
   1119,
   9390,
   4271,
   344,
   7451,
   66910,
   582,
   46172,
   3362,
   28612,
   4611,
   3362,
   582,
   10325,
   1760,
   582,
   68838,
   3362,
   28612,
   329,
   3362,
   28612,
   4611,
   3362,
   582,
   4463,
   4,
   55695,
   582,
   24486,
   3362,
   20584,
   329,
   45390,
   582,
   102970,
   34520,
   3362,
   5062,
   33236,
   3476,
   74366,
   29851,
   1605,
   270,
   3554,
   6428,
   4105,
   2329,
   305,
   10767,
   5815,
   8380,
   304,
   34756,
   4105,
   10699,
   603,
   128803,
   61,
   11675,
   102630,
   8139,
   19,
   2296,
   14885,
   64018,
   119326,
   304,
   1747,
   890,
   3676,
   334,
   15,
   1002,
   16,
   128804,
   128822
  ],
  "expect_text": "\n\n<|DSML| calls>\n<|DSML| invoke name=\"lookup_record\">\n<|DSML| parameter name=\"id\" string=\"true\">A-17</|DSML| parameter>\n</|DSML| invoke>\n</|DSML| calls><|end▁of▁sentence|>",
  "finish": "tool_calls"
 },
 {
  "id": "sanity-T2",
  "mode": "thinking",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case sanity-T2]\nUse get_weather for Zagreb in celsius."
    }
   ],
   "tools": [
    {
     "type": "function",
     "function": {
      "name": "get_weather",
      "description": "Synthetic benchmark lookup; no external action is performed.",
      "parameters": {
       "type": "object",
       "properties": {
        "city": {
         "type": "string"
        },
        "unit": {
         "type": "string"
        }
       },
       "required": [
        "city",
        "unit"
       ],
       "additionalProperties": false
      }
     }
    }
   ]
  },
  "thinking": true,
  "text": "<|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)\n\n\n\n## Tools\n\nYou have access to a set of tools to help answer the user's question. You can invoke tools by writing a \"<|DSML| calls>\" block like the following:\n\n<|DSML| calls>\n<|DSML| invoke name=\"$TOOL_NAME\">\n<|DSML| parameter name=\"$PARAMETER_NAME\" string=\"true|false\">$PARAMETER_VALUE</|DSML| parameter>\n...\n</|DSML| invoke>\n<|DSML| invoke name=\"$TOOL_NAME2\">\n...\n</|DSML| invoke>\n</|DSML| calls>\n\nString parameters should be specified as is and set `string=\"true\"`. For all other types (numbers, booleans, arrays, objects), pass the value in JSON format and set `string=\"false\"`.\n\nIf thinking_mode is enabled (triggered by <think>), you MUST output your complete reasoning inside <think>...</think> BEFORE any tool calls or final response.\n\nOtherwise, output directly after </think> with tool calls or final response.\n\n### Available Tool Schemas\n\n{\"name\": \"get_weather\", \"description\": \"Synthetic benchmark lookup; no external action is performed.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}, \"unit\": {\"type\": \"string\"}}, \"required\": [\"city\", \"unit\"], \"additionalProperties\": false}}\n\nYou MUST strictly follow the above defined tool name and parameter schemas to invoke tool calls.\n<|User|>[case sanity-T2]\nUse get_weather for Zagreb in celsius.<|Assistant|><think>",
  "ids": [
   0,
   128799,
   77666,
   288,
   9504,
   482,
   28,
   223,
   2402,
   343,
   16801,
   223,
   19,
   15,
   1457,
   14,
   270,
   4077,
   270,
   1990,
   14,
   270,
   850,
   15146,
   270,
   22805,
   86262,
   372,
   27193,
   271,
   3476,
   611,
   3278,
   304,
   260,
   1341,
   294,
   6704,
   304,
   1694,
   3287,
   270,
   3967,
   734,
   3417,
   16,
   2042,
   588,
   34756,
   6704,
   513,
   4985,
   260,
   38322,
   128825,
   10699,
   48902,
   5603,
   1277,
   270,
   2502,
   979,
   30,
   128825,
   10699,
   1018,
   30,
   128825,
   34756,
   2329,
   84476,
   6792,
   5896,
   35044,
   3816,
   30,
   128825,
   10767,
   2329,
   84476,
   46630,
   4130,
   61729,
   35044,
   4,
   3418,
   1281,
   11476,
   94,
   19836,
   3320,
   6,
   46630,
   4130,
   61729,
   56909,
   1718,
   128825,
   10767,
   1018,
   7835,
   1718,
   128825,
   34756,
   1018,
   30,
   128825,
   34756,
   2329,
   84476,
   6792,
   5896,
   35044,
   20,
   3816,
   7835,
   1718,
   128825,
   34756,
   1018,
   1718,
   128825,
   10699,
   4697,
   3524,
   8252,
   1531,
   366,
   12038,
   412,
   344,
   305,
   1341,
   3608,
   4463,
   1281,
   11476,
   4,
   37419,
   1884,
   710,
   915,
   4815,
   343,
   62896,
   14,
   2631,
   2065,
   634,
   14,
   31939,
   14,
   8435,
   754,
   2281,
   270,
   1990,
   295,
   26639,
   8786,
   305,
   1341,
   3608,
   4463,
   1281,
   19836,
   4,
   108526,
   3575,
   6892,
   71144,
   344,
   22104,
   343,
   89944,
   284,
   513,
   223,
   128821,
   754,
   440,
   74366,
   5238,
   782,
   5553,
   22805,
   6352,
   223,
   128821,
   1613,
   128822,
   119907,
   1117,
   4105,
   10699,
   469,
   4087,
   4256,
   339,
   13079,
   6922,
   14,
   5238,
   6578,
   1561,
   223,
   128822,
   418,
   4105,
   10699,
   469,
   4087,
   4256,
   339,
   795,
   17829,
   28249,
   13178,
   8380,
   271,
   24313,
   2852,
   3362,
   582,
   1133,
   65,
   50219,
   1760,
   582,
   20855,
   3362,
   582,
   53,
   48819,
   35312,
   64018,
   29,
   1119,
   9390,
   4271,
   344,
   7451,
   66910,
   582,
   46172,
   3362,
   28612,
   4611,
   3362,
   582,
   10325,
   1760,
   582,
   68838,
   3362,
   28612,
   37399,
   3362,
   28612,
   4611,
   3362,
   582,
   4463,
   87928,
   582,
   15165,
   3362,
   28612,
   4611,
   3362,
   582,
   4463,
   4,
   55695,
   582,
   24486,
   3362,
   20584,
   37399,
   1760,
   582,
   15165,
   45390,
   582,
   102970,
   34520,
   3362,
   5062,
   33236,
   3476,
   74366,
   29851,
   1605,
   270,
   3554,
   6428,
   4105,
   2329,
   305,
   10767,
   5815,
   8380,
   304,
   34756,
   4105,
   10699,
   603,
   128803,
   61,
   11675,
   102630,
   8139,
   20,
   2296,
   14885,
   1178,
   65,
   50219,
   362,
   121648,
   295,
   124281,
   16,
   128804,
   128821
  ],
  "expect_text": "The user wants weather for Zagreb in celsius. Call the tool.</think>\n\n<|DSML| calls>\n<|DSML| invoke name=\"get_weather\">\n<|DSML| parameter name=\"city\" string=\"true\">Zagreb</|DSML| parameter>\n<|DSML| parameter name=\"unit\" string=\"true\">celsius</|DSML| parameter>\n</|DSML| invoke>\n</|DSML| calls><|end▁of▁sentence|>",
  "finish": "tool_calls"
 },
 {
  "id": "sanity-I3",
  "mode": "thinking",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case sanity-I3]\nProject: Orion. Build: 17. Return only a JSON object with keys project (string) and build (integer)."
    }
   ]
  },
  "thinking": true,
  "text": "<|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)\n\n<|User|>[case sanity-I3]\nProject: Orion. Build: 17. Return only a JSON object with keys project (string) and build (integer).<|Assistant|><think>",
  "ids": [
   0,
   128799,
   77666,
   288,
   9504,
   482,
   28,
   223,
   2402,
   343,
   16801,
   223,
   19,
   15,
   1457,
   14,
   270,
   4077,
   270,
   1990,
   14,
   270,
   850,
   15146,
   270,
   22805,
   868,
   128803,
   61,
   11675,
   102630,
   20448,
   21,
   2296,
   20811,
   28,
   84706,
   16,
   23718,
   28,
   223,
   1002,
   16,
   20870,
   1353,
   260,
   26639,
   2873,
   418,
   18222,
   2775,
   343,
   4463,
   11,
   305,
   2906,
   343,
   39648,
   797,
   128804,
   128821
  ],
  "expect_text": "We need answer only JSON object keys project string build integer. Need infer from prompt: Project: Orion. Build: 17. So {\"project\":\"Orion\",\"build\":17}. Ensure only JSON.</think>{\"project\":\"Orion\",\"build\":17}<|end▁of▁sentence|>",
  "finish": "stop"
 },
 {
  "id": "performance-short-r1",
  "mode": "chat",
  "request": {
   "messages": [
    {
     "role": "user",
     "content": "[case performance-short-r1]\nExplain how a hash table finds a value, including collisions and one small example."
    }
   ],
   "chat_template_kwargs": {
    "thinking": false,
    "enable_thinking": false
   }
  },
  "thinking": false,
  "text": "<|begin▁of▁sentence|><|User|>[case performance-short-r1]\nExplain how a hash table finds a value, including collisions and one small example.<|Assistant|></think>",
  "ids": [
   0,
   128803,
   61,
   11675,
   4197,
   10565,
   482,
   9954,
   19,
   2296,
   65106,
   1192,
   260,
   19657,
   4184,
   15249,
   260,
   1990,
   14,
   2622,
   54415,
   305,
   834,
   2395,
   2511,
   16,
   128804,
   128822
  ],
  "expect_text": "# How a Hash Table Finds a Value\n\nA hash table stores key–value pairs and uses a **hash function** to map each key to an index in an underlying array. Lookup is fast because it jumps almost directly to the right slot instead of scanning.\n\n## The lookup process\n\n1. **Hash the key.** Compute `h = hash(key)`, then reduce it to a valid array index, e.g. `index = h % capacity`.\n2. **Go to that bucket.** The array slot at `index` holds the entry (or a chain/list of entries).\n3. **Compare keys.** If the bucket holds the exact key you asked for, return its value.\n4. **Handle collisions.** If the bucket holds a *different* key that happened to hash to the same index, keep searching within that bucket (see below).\n\n## Collisions\n\nA **collision** happens when two different keys map to the same index. Two common resolutions:\n\n- **Separate chaining:** each bucket is a small list (or tree). On lookup, walk the list comparing keys until you find a match or reach the end (key absent).\n- **Open addressing:** if the slot is occupied by a different key, probe other slots (linear probing:",
  "finish": "length"
 }
]