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++
1.7 KB
Raw Blame
{
  "url": "http://127.0.0.1:8085",
  "request": {
    "model": "strata",
    "messages": [
      {
        "role": "user",
        "content": "Write only Python code defining clamp_score(value: int) -> int. Return value clamped to the inclusive range 0 through 100. No imports, no markdown, no tests, no extra text."
      }
    ],
    "max_tokens": 256,
    "temperature": 0,
    "reasoning_effort": "none"
  },
  "response": {
    "id": "chatcmpl-56bcf1c56fa948bc9089f639",
    "object": "chat.completion",
    "created": 1791032325,
    "model": "qwen3.8-flash-next-coder-iq1_m",
    "choices": [
      {
        "index": 0,
        "message": {
          "role": "assistant",
          "content": "```python\ndef clamp_score(value: int) -> int:\n    if value < 0:\n        return 0\n    if value > 100:\n        return 100\n    return value\n```"
        },
        "finish_reason": "stop"
      }
    ],
    "usage": {
      "prompt_tokens": 55,
      "completion_tokens": 50,
      "total_tokens": 105,
      "prompt_tokens_details": {
        "cached_tokens": 0
      }
    },
    "timings": {
      "cache_n": 0,
      "prompt_n": 55,
      "prompt_ms": 1030.4,
      "prompt_per_token_ms": 18.735,
      "prompt_per_second": 53.4,
      "predicted_n": 50,
      "predicted_ms": 1116.7,
      "predicted_per_token_ms": 22.334,
      "predicted_per_second": 44.8,
      "draft_n": 39,
      "draft_n_accepted": 39
    }
  },
  "generated_code": "def clamp_score(value: int) -> int:\n    if value < 0:\n        return 0\n    if value > 100:\n        return 100\n    return value",
  "cases": 2001,
  "failures": [],
  "passed": true,
  "scope": "One simple function only; not a general coding-quality benchmark."
}