{
  "date": "2026-06-05",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-06-05T00:00:00+08:00",
  "window_end": "2026-06-06T00:00:00+08:00",
  "granularity": "daily",
  "data_status": "complete",
  "source": {
    "kind": "grafana_prometheus_and_prod_sqlite",
    "grafana_datasource": "DevOps-prometheus",
    "grafana_datasource_id": 80,
    "prometheus_labels": {
      "cluster": "prod-devops",
      "namespace": "investibook",
      "job": "backend",
      "prometheus": "monitoring/o11y-vmagent"
    },
    "prod_backend_sqlite": "/data/db/investibook.db",
    "notes": [
      "Cost comes from prod SQLite interaction_token_usage with runtime-aware accounting: OpenCode ses_* rows use cumulative session deltas; PI UUID and image-parse rows use per-row increments.",
      "workspace_count in summary is cost-derived distinct positive-cost workspaces.",
      "Prometheus is used for ACP interaction counts only; investigatory PI sessions made investibook_acp_session_cost unsuitable as the cost source for mixed-runtime weekly reporting.",
      "message categories are rule-based user-message classifications.",
      "scenario labels are added to split daily workspace_changes rows."
    ]
  },
  "summary": {
    "total_cost": 14.8703,
    "total_acp_interactions": 36,
    "active_users": 21,
    "workspace_count": 31,
    "created_workspace_count": 25,
    "new_workspace_count": 29,
    "updated_existing_workspace_count": 15,
    "changed_workspace_count": 44,
    "message_count": 149,
    "user_message_count": 64,
    "assistant_message_count": 80,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.0287,
      "acp_interactions": 3,
      "workspace_count": 4,
      "active_users": 3,
      "message_count": 30,
      "user_message_count": 14,
      "cost_per_ws": 0.7572,
      "cost_per_acp": 1.0096,
      "acp_per_ws": 0.75,
      "message_per_ws": 7.5,
      "message_per_acp": 10.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "cost": 2.8864,
      "acp_interactions": 7,
      "workspace_count": 3,
      "active_users": 3,
      "message_count": 36,
      "user_message_count": 16,
      "cost_per_ws": 0.9621,
      "cost_per_acp": 0.4123,
      "acp_per_ws": 2.3333,
      "message_per_ws": 12.0,
      "message_per_acp": 5.1429,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 2.7124,
      "acp_interactions": 17,
      "workspace_count": 8,
      "active_users": 4,
      "message_count": 48,
      "user_message_count": 21,
      "cost_per_ws": 0.3391,
      "cost_per_acp": 0.1596,
      "acp_per_ws": 2.125,
      "message_per_ws": 6.0,
      "message_per_acp": 2.8235,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 1.5121,
      "acp_interactions": 3,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 28,
      "user_message_count": 14,
      "cost_per_ws": 0.7561,
      "cost_per_acp": 0.504,
      "acp_per_ws": 1.5,
      "message_per_ws": 14.0,
      "message_per_acp": 9.3333,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "cost": 1.2027,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 1.2027,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 8.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / PreSales",
      "team": "PreSales",
      "cost": 1.1308,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 1.1308,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 4.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "cost": 0.759,
      "acp_interactions": 4,
      "workspace_count": 5,
      "active_users": 1,
      "message_count": 18,
      "user_message_count": 6,
      "cost_per_ws": 0.1518,
      "cost_per_acp": 0.1898,
      "acp_per_ws": 0.8,
      "message_per_ws": 3.6,
      "message_per_acp": 4.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 0.4638,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 0,
      "user_message_count": 0,
      "cost_per_ws": 0.4638,
      "cost_per_acp": 0.4638,
      "acp_per_ws": 1.0,
      "message_per_ws": 0.0,
      "message_per_acp": 0.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "cost": 0.274,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 2,
      "cost_per_ws": 0.274,
      "cost_per_acp": 0.274,
      "acp_per_ws": 1.0,
      "message_per_ws": 6.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering",
      "team": "Storage Service Engineering",
      "cost": 0.249,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.249,
      "cost_per_acp": 0.249,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / APAC Presales",
      "team": "APAC Presales",
      "cost": 0.189,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.189,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 2.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 0.1344,
      "acp_interactions": 4,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 4,
      "cost_per_ws": 0.1344,
      "cost_per_acp": 0.0336,
      "acp_per_ws": 4.0,
      "message_per_ws": 12.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "cost": 0.1169,
      "acp_interactions": 3,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 3,
      "cost_per_ws": 0.1169,
      "cost_per_acp": 0.039,
      "acp_per_ws": 3.0,
      "message_per_ws": 6.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 0.111,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.111,
      "cost_per_acp": 0.111,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "(unknown)",
      "team": "(unknown)",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 2,
      "active_users": 0,
      "message_count": 0,
      "user_message_count": 0,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 0.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "user_email": "yuhang.shi@pingcap.com",
      "name": "施宇航",
      "en_name": "Yuhang Shi",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 2.0284,
      "acp_interactions": 5,
      "workspace_count": 1,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 5.0
    },
    {
      "user_email": "wenxuan.zhang@pingcap.com",
      "name": "张文轩",
      "en_name": "Wenxuan",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.5121,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 14,
      "user_message_count": 7,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "user_email": "yangkexin.liang@pingcap.com",
      "name": "梁杨可欣",
      "en_name": "Lucas Liang",
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.2027,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "yikai.puah@pingcap.com",
      "name": "Puah Yi Kai",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.2007,
      "acp_interactions": 11,
      "workspace_count": 4,
      "message_count": 33,
      "user_message_count": 16,
      "channel_breakdown": {
        "web": 11
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.75
    },
    {
      "user_email": "wai.ho@pingcap.com",
      "name": "Chun Wai Ho",
      "en_name": "Wai Ho",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.1872,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "takahiko.miyasaka@pingcap.com",
      "name": "Miyasaka Takahiko",
      "en_name": "Takahiko Miyasaka",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.1341,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "taichi.kusaka@pingcap.com",
      "name": "日下太智",
      "en_name": "Taichi Kusaka",
      "team_path": "Japan Business Group / PreSales",
      "team": "PreSales",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.1308,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "zefeng.nie@pingcap.com",
      "name": "聂泽峯",
      "en_name": "Anthony Nie",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.961,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "mizuki.masuda@pingcap.com",
      "name": "Masuda Mizuki",
      "en_name": "Mizuki Masuda",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.9336,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "zhitao.chen@pingcap.com",
      "name": "陈志涛",
      "en_name": "Theo Chen",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.759,
      "acp_interactions": 4,
      "workspace_count": 5,
      "message_count": 18,
      "user_message_count": 6,
      "channel_breakdown": {
        "lark": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.8
    },
    {
      "user_email": "zhouzemin@pingcap.com",
      "name": "周泽民",
      "en_name": "Zemin Zhou",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.7006,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "qiaodan@pingcap.com",
      "name": "乔丹",
      "en_name": "Dan Qiao",
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.4638,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "xieyujie@pingcap.com",
      "name": "谢玉洁",
      "en_name": "Yujie Xie",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.274,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "weizhin.lim@pingcap.com",
      "name": "Lim Wei Zhin",
      "en_name": "Lim Wei Zhin",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.2608,
      "acp_interactions": 4,
      "workspace_count": 2,
      "message_count": 12,
      "user_message_count": 4,
      "channel_breakdown": {
        "lark": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "zhangjinpeng@pingcap.com",
      "name": "张金鹏",
      "en_name": "Jinpeng Zhang",
      "team_path": "Engineering Group / Storage Service Engineering",
      "team": "Storage Service Engineering",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.249,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "lanyuan@pingcap.com",
      "name": "兰元",
      "en_name": "Bruce Lan",
      "team_path": "APAC Business Group / APAC Presales",
      "team": "APAC Presales",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.189,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "yansu.yuan@pingcap.com",
      "name": "元艳素",
      "en_name": "Yansu Yuan",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.1574,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "peiliang.liu@pingcap.com",
      "name": "刘培梁",
      "en_name": "Jasper Liu",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.1344,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 12,
      "user_message_count": 4,
      "channel_breakdown": {
        "lark": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.0
    },
    {
      "user_email": "ruihao.chen@pingcap.com",
      "name": "陈睿皓",
      "en_name": "Joe Chen",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.1169,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "lingtao.li@pingcap.com",
      "name": "李凌涛",
      "en_name": "Lingtao Li",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.111,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "chunlu.zhang@pingcap.com",
      "name": "张纯璐",
      "en_name": "Marian Zhang",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.0637,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 2,
      "share": 0.03125,
      "estimated_cost_by_turn": 0.4647,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 506.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 9,
      "share": 0.140625,
      "estimated_cost_by_turn": 2.0911,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1198.44,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 24,
      "share": 0.375,
      "estimated_cost_by_turn": 5.5764,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 100.83,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 7,
      "share": 0.109375,
      "estimated_cost_by_turn": 1.6264,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 72.86,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 2,
      "share": 0.03125,
      "estimated_cost_by_turn": 0.4647,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 21.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 10,
      "share": 0.15625,
      "estimated_cost_by_turn": 2.3235,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 2417.4,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "方法论/能力咨询",
      "user_message_count": 2,
      "share": 0.03125,
      "estimated_cost_by_turn": 0.4647,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 20.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 8,
      "share": 0.125,
      "estimated_cost_by_turn": 1.8588,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 136.12,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1780626679715-191baf8df",
      "title": "PROD]ChangefeedStateFailed",
      "workspace_lifecycle": "new",
      "user_email": "yuhang.shi@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 2.0163,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1780294338249-09431d92b",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yangkexin.liang@pingcap.com",
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.1976,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780669929460-46423aee1",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wai.ho@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 1.1872,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1780554260331-d475448e3",
      "title": "KONAMI　メジャスピ",
      "workspace_lifecycle": "updated_existing",
      "user_email": "taichi.kusaka@pingcap.com",
      "team_path": "Japan Business Group / PreSales",
      "scenario_group": "non_diagnosis",
      "scenario_category": "support_case_triage_or_customer_response",
      "cost": 1.1116,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780645342262-75a760863",
      "title": "10542225016081428407 这个集群刚刚升级完成，检查下 tidb log",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.0403,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780650442165-634e23584",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zefeng.nie@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.9231,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780577921669-4ef107b63",
      "title": "TCID-12769",
      "workspace_lifecycle": "updated_existing",
      "user_email": "mizuki.masuda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.9146,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780644816139-0007872e3",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhouzemin@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.692,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780384678445-78b5f7da9",
      "title": "https://tidb.atlassian.net/browse/TCID-12755",
      "workspace_lifecycle": "updated_existing",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.6637,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780629475457-4fe29250e",
      "title": "ST-2732",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 0.6615,
      "message_count": 21,
      "user_message_count": 10
    },
    {
      "workspace_id": "ws-1780277369278-c6cbf0161",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.4638,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1780635115496-1d3e9aa8b",
      "title": "https://tidb.atlassian.net/browse/TCID-12771",
      "workspace_lifecycle": "new",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.4411,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780644920143-ab22daebc",
      "title": "1372813089209274541 这个集群刚刚升级完成，检查下 tidb log",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.428,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1780649522989-134e96ec2",
      "title": "SELECT",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.336,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "lark-ws-571f260c-dc6f-40a6-bc6e-1fba0e3834e1",
      "title": "Lark O11Y-2582320",
      "workspace_lifecycle": "new",
      "user_email": "zhitao.chen@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.2741,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-03535773-ffb2-4d44-a88c-ac5740aa28a7",
      "title": "Lark O11Y-2582262",
      "workspace_lifecycle": "new",
      "user_email": "xieyujie@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.2517,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780612292030-d52210922",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhangjinpeng@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.249,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780640430549-440270429",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "lanyuan@pingcap.com",
      "team_path": "APAC Business Group / APAC Presales",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.189,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780626501670-c8ae0f2c9",
      "title": "O11Y-2582122",
      "workspace_lifecycle": "new",
      "user_email": "yansu.yuan@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.1574,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-82087467-3ef3-4dc5-a011-5c40545a024c",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 0.1459,
      "message_count": 6,
      "user_message_count": 2
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-06-05",
        "cost": 14.8703,
        "acp_interactions": 36,
        "workspace_count": 31,
        "active_users": 21
      }
    ],
    "team_cost_bar": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.0287,
        "acp_interactions": 3,
        "workspace_count": 4,
        "active_users": 3
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "cost": 2.8864,
        "acp_interactions": 7,
        "workspace_count": 3,
        "active_users": 3
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 2.7124,
        "acp_interactions": 17,
        "workspace_count": 8,
        "active_users": 4
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 1.5121,
        "acp_interactions": 3,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "cost": 1.2027,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "PreSales",
        "team_path": "Japan Business Group / PreSales",
        "cost": 1.1308,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "cost": 0.759,
        "acp_interactions": 4,
        "workspace_count": 5,
        "active_users": 1
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 0.4638,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "cost": 0.274,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Storage Service Engineering",
        "team_path": "Engineering Group / Storage Service Engineering",
        "cost": 0.249,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "APAC Presales",
        "team_path": "APAC Business Group / APAC Presales",
        "cost": 0.189,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 0.1344,
        "acp_interactions": 4,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "cost": 0.1169,
        "acp_interactions": 3,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 0.111,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 2,
        "active_users": 0
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 0.75,
        "y": 1.0096,
        "size": 4,
        "cost": 3.0287
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "x": 2.3333,
        "y": 0.4123,
        "size": 3,
        "cost": 2.8864
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 2.125,
        "y": 0.1596,
        "size": 8,
        "cost": 2.7124
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 1.5,
        "y": 0.504,
        "size": 2,
        "cost": 1.5121
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 1.2027
      },
      {
        "team": "PreSales",
        "team_path": "Japan Business Group / PreSales",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 1.1308
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "x": 0.8,
        "y": 0.1898,
        "size": 5,
        "cost": 0.759
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 1.0,
        "y": 0.4638,
        "size": 1,
        "cost": 0.4638
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "x": 1.0,
        "y": 0.274,
        "size": 1,
        "cost": 0.274
      },
      {
        "team": "Storage Service Engineering",
        "team_path": "Engineering Group / Storage Service Engineering",
        "x": 1.0,
        "y": 0.249,
        "size": 1,
        "cost": 0.249
      },
      {
        "team": "APAC Presales",
        "team_path": "APAC Business Group / APAC Presales",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.189
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 4.0,
        "y": 0.0336,
        "size": 1,
        "cost": 0.1344
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "x": 3.0,
        "y": 0.039,
        "size": 1,
        "cost": 0.1169
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 0.111,
        "size": 1,
        "cost": 0.111
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 2,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 8
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Starter",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Starter",
        "category": "方法论/能力咨询",
        "count": 2
      },
      {
        "team": "Starter",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Starter",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "方法论/能力咨询",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 8
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "产出物迭代",
        "count": 8
      },
      {
        "team": "TiDB Scalability Service",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "PreSales",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Global Control",
        "category": "Ad hoc 查询",
        "count": 5
      },
      {
        "team": "Global Control",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Storage Service Engineering",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "APAC Presales",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "Ad hoc 查询",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "chunlu.zhang@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.0637,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lanyuan@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.189,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.111,
        "mode": "低频低轮次"
      },
      {
        "user_email": "mizuki.masuda@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.9336,
        "mode": "低频低轮次"
      },
      {
        "user_email": "peiliang.liu@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 0.1344,
        "mode": "低频高轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.4638,
        "mode": "低频低轮次"
      },
      {
        "user_email": "ruihao.chen@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 0.1169,
        "mode": "低频低轮次"
      },
      {
        "user_email": "taichi.kusaka@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.1308,
        "mode": "低频低轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 1.1341,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.1872,
        "mode": "低频低轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 0.2608,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wenxuan.zhang@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 1.5121,
        "mode": "高频低轮次"
      },
      {
        "user_email": "xieyujie@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.274,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yangkexin.liang@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.2027,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yansu.yuan@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.1574,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 4,
        "y": 2.75,
        "cost": 1.2007,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yuhang.shi@pingcap.com",
        "x": 1,
        "y": 5.0,
        "cost": 2.0284,
        "mode": "低频高轮次"
      },
      {
        "user_email": "zefeng.nie@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.961,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhangjinpeng@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.249,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhitao.chen@pingcap.com",
        "x": 5,
        "y": 0.8,
        "cost": 0.759,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zhouzemin@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.7006,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
