{
  "id": "G06",
  "slug": "game-ui-translation-pixel-width-preview",
  "group": "games",
  "title": "DeepSeek V4.1 Flash 实测：游戏 UI 英译：短按钮候选与真实浏览器宽度测量",
  "query": "游戏 UI 翻译 长度限制 AI",
  "goal": "给三个按钮生成短英文，使用本页实际CSS字体测量文本宽度；输出溢出待测清单。",
  "input": {
    "sample_notice": "虚构业务样本；实际调用 apizt API。不是商店、客户或游戏生产数据。",
    "records": [
      {
        "id": "UI1",
        "text": "继续冒险",
        "max_chars": 10,
        "width_px": 112
      },
      {
        "id": "UI2",
        "text": "背包",
        "max_chars": 10,
        "width_px": 112
      },
      {
        "id": "UI3",
        "text": "返回主菜单",
        "max_chars": 12,
        "width_px": 112
      }
    ],
    "knowledge": [],
    "rules": {
      "char_budget": true
    }
  },
  "instruction": "输出id、target（英文按钮，空格计入本行max_chars）、source_ids。不得缩成不可理解的字母。UI1可用Continue，UI2可用Inventory，UI3可用Main menu。程序检查字符预算，浏览器单独测像素。 source_ids只能选这些来源ID：UI1,UI2,UI3；不能用resource、字段名或虚构的编号。",
  "columns": [
    "id",
    "target",
    "source_ids"
  ],
  "expected": [],
  "steps": [
    "先写每个按钮的字符预算和112px容器；真实可用宽度还要扣掉两侧padding。",
    "运行后在实测报告打开文字预览，浏览器按Arial 16px canvas测宽，与可用94px比较。",
    "保存pixel-width.json与截图。这里只证明该浏览器和字体的样例，不证明Unity字体资源或移动设备不溢出。"
  ],
  "trap": "字符数不等于像素宽度；浏览器预览不是Unity游戏运行截图。",
  "sources": [
    {
      "label": "TextMeshPro 富文本",
      "href": "https://docs.unity3d.com/Packages/com.unity.textmeshpro@4.0/manual/RichText.html"
    },
    {
      "label": "DeepSeek V4.1 Flash 官方模型说明",
      "href": "https://api-docs.deepseek.com/news/news261017/"
    }
  ],
  "base_title": "游戏 UI 英译：短按钮候选与真实浏览器宽度测量",
  "model": "deepseek-v4.1-flash",
  "model_label": "DeepSeek V4.1 Flash",
  "request_options": {
    "thinking": {
      "type": "disabled"
    }
  },
  "omit_temperature": false
}
