{
  "date": "2026-06-08",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-06-08T00:00:00+08:00",
  "window_end": "2026-06-09T00: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": 19.2665,
    "total_acp_interactions": 42,
    "active_users": 12,
    "workspace_count": 20,
    "created_workspace_count": 18,
    "new_workspace_count": 24,
    "updated_existing_workspace_count": 5,
    "changed_workspace_count": 29,
    "message_count": 136,
    "user_message_count": 59,
    "assistant_message_count": 72,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "cost": 4.8418,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 22,
      "user_message_count": 12,
      "cost_per_ws": 4.8418,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 22.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 3.4747,
      "acp_interactions": 23,
      "workspace_count": 10,
      "active_users": 3,
      "message_count": 76,
      "user_message_count": 33,
      "cost_per_ws": 0.3475,
      "cost_per_acp": 0.1511,
      "acp_per_ws": 2.3,
      "message_per_ws": 7.6,
      "message_per_acp": 3.3043,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.3115,
      "acp_interactions": 6,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 35,
      "user_message_count": 16,
      "cost_per_ws": 1.6558,
      "cost_per_acp": 0.5519,
      "acp_per_ws": 3.0,
      "message_per_ws": 17.5,
      "message_per_acp": 5.8333,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 3.0467,
      "acp_interactions": 6,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 28,
      "user_message_count": 12,
      "cost_per_ws": 1.5234,
      "cost_per_acp": 0.5078,
      "acp_per_ws": 3.0,
      "message_per_ws": 14.0,
      "message_per_acp": 4.6667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "cost": 2.5434,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 2.5434,
      "cost_per_acp": 2.5434,
      "acp_per_ws": 1.0,
      "message_per_ws": 4.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 1.4351,
      "acp_interactions": 4,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 18,
      "user_message_count": 6,
      "cost_per_ws": 0.7176,
      "cost_per_acp": 0.3588,
      "acp_per_ws": 2.0,
      "message_per_ws": 9.0,
      "message_per_acp": 4.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Replication",
      "team": "Data Replication",
      "cost": 0.3071,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 5,
      "user_message_count": 2,
      "cost_per_ws": 0.3071,
      "cost_per_acp": 0.1536,
      "acp_per_ws": 2.0,
      "message_per_ws": 5.0,
      "message_per_acp": 2.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "cost": 0.3063,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 2,
      "cost_per_ws": 0.3063,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 6.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "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": 4.8418,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 11,
      "user_message_count": 6,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "zhangyuanjia@pingcap.com",
      "name": "张原嘉",
      "en_name": "Ryan Zhang",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.5434,
      "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": "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": 2.0856,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 9,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.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.7388,
      "acp_interactions": 11,
      "workspace_count": 5,
      "message_count": 40,
      "user_message_count": 20,
      "channel_breakdown": {
        "web": 11
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.2
    },
    {
      "user_email": "qizheng@pingcap.com",
      "name": "戚铮",
      "en_name": "Zheng Qi",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.7283,
      "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": "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": 1.5654,
      "acp_interactions": 12,
      "workspace_count": 4,
      "message_count": 36,
      "user_message_count": 13,
      "channel_breakdown": {
        "lark": 6,
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "xuchengxuan@pingcap.com",
      "name": "徐成选",
      "en_name": "Chris Xu",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.4351,
      "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": "lang.zhu@pingcap.com",
      "name": "祝浪",
      "en_name": "Peter Zhu",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.3184,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 9,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.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": 1.2259,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "tenghui.zhong@pingcap.com",
      "name": "钟腾辉",
      "en_name": "Tenghui Zhong",
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Replication",
      "team": "Data Replication",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.3071,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 1,
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "sihao.yu@pingcap.com",
      "name": "俞锶浩",
      "en_name": "Shiori Yu",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.3063,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "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": 0.1705,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    }
  ],
  "message_categories": [
    {
      "category": "产出物迭代",
      "user_message_count": 5,
      "share": 0.084746,
      "estimated_cost_by_turn": 1.6328,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 723.8,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 22,
      "share": 0.372881,
      "estimated_cost_by_turn": 7.1841,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 974.59,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 16,
      "share": 0.271186,
      "estimated_cost_by_turn": 5.2248,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 270.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 5,
      "share": 0.084746,
      "estimated_cost_by_turn": 1.6328,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 47.6,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 8,
      "share": 0.135593,
      "estimated_cost_by_turn": 2.6124,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 4818.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "方法论/能力咨询",
      "user_message_count": 1,
      "share": 0.016949,
      "estimated_cost_by_turn": 0.3266,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 26.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 2,
      "share": 0.033898,
      "estimated_cost_by_turn": 0.6531,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 8312.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "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": 4.7523,
      "message_count": 11,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1780922294036-fa587fda1",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhangyuanjia@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 2.5311,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780914018065-cbe680711",
      "title": "TCID-12776",
      "workspace_lifecycle": "new",
      "user_email": "mizuki.masuda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "transaction_or_lock_contention",
      "cost": 2.0391,
      "message_count": 9,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1780884451954-65d83b442",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "component_failure_or_bug",
      "cost": 1.671,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780929121624-8e23f9163",
      "title": "TCOC-5372",
      "workspace_lifecycle": "new",
      "user_email": "lang.zhu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.2521,
      "message_count": 9,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1780650442165-634e23584",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "zefeng.nie@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.1878,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-283ab26b-4e30-4cf5-850f-ea8345979c2b",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "xuchengxuan@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.064,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-9e84b629-4a8c-4db1-9dca-e438473410d5",
      "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": "ddl_or_schema_change",
      "cost": 0.7851,
      "message_count": 9,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1780893322629-05079a8e5",
      "title": "体验op环境，v8.5.4，一个tidb server节点oom。 从top",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "memory_or_oom_pressure",
      "cost": 0.5846,
      "message_count": 12,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1780888162007-d36bd4e6e",
      "title": "sql 优化",
      "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.5048,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1780885817839-689f7f106",
      "title": "sql 优化",
      "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.3988,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "lark-ws-2fdf0d5c-b998-4c14-a4d6-40eb80223782",
      "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": "sql_plan_or_query",
      "cost": 0.3649,
      "message_count": 15,
      "user_message_count": 5
    },
    {
      "workspace_id": "lark-ws-f54a2cd0-698a-4ffe-a901-d52436400f4d",
      "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": "sql_plan_or_query",
      "cost": 0.3482,
      "message_count": 9,
      "user_message_count": 3
    },
    {
      "workspace_id": "lark-ws-2c052c84-b71f-464c-bdfc-cc79cf82f27c",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "xuchengxuan@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.3478,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-d0795fb1-5f4e-4b52-8777-344411b8e2f8",
      "title": "Lark GTOC-8508",
      "workspace_lifecycle": "new",
      "user_email": "tenghui.zhong@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Replication",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.3071,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1780904651047-6d346826d",
      "title": "O11Y-2584413",
      "workspace_lifecycle": "new",
      "user_email": "sihao.yu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.2838,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1780924028674-6b3142830",
      "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": 0.1705,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1780881927830-cb89faad9",
      "title": "tikv 要驱逐leader 并且重启，应该怎么操作",
      "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.1608,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1780904505848-abe7e8144",
      "title": "AUTO_INCREMENT is 10 where as id is 21",
      "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.0898,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "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": 0.0895,
      "message_count": 11,
      "user_message_count": 6
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-06-08",
        "cost": 19.2665,
        "acp_interactions": 42,
        "workspace_count": 20,
        "active_users": 12
      }
    ],
    "team_cost_bar": [
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "cost": 4.8418,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 3.4747,
        "acp_interactions": 23,
        "workspace_count": 10,
        "active_users": 3
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.3115,
        "acp_interactions": 6,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 3.0467,
        "acp_interactions": 6,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "cost": 2.5434,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 1.4351,
        "acp_interactions": 4,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Data Replication",
        "team_path": "Engineering Group / Service Orchestration Engineering / Data Replication",
        "cost": 0.3071,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "cost": 0.3063,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 4.8418
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 2.3,
        "y": 0.1511,
        "size": 10,
        "cost": 3.4747
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 3.0,
        "y": 0.5519,
        "size": 2,
        "cost": 3.3115
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 3.0,
        "y": 0.5078,
        "size": 2,
        "cost": 3.0467
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "x": 1.0,
        "y": 2.5434,
        "size": 1,
        "cost": 2.5434
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 2.0,
        "y": 0.3588,
        "size": 2,
        "cost": 1.4351
      },
      {
        "team": "Data Replication",
        "team_path": "Engineering Group / Service Orchestration Engineering / Data Replication",
        "x": 2.0,
        "y": 0.1536,
        "size": 1,
        "cost": 0.3071
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.3063
      }
    ],
    "message_category_stack": [
      {
        "team": "Enterprise Customer Engineering",
        "category": "产出物迭代",
        "count": 6
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "诊断启动",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 13
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "方法论/能力咨询",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 7
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Technical Service",
        "category": "解释追问",
        "count": 9
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 4
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "TiDB Scalability Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Data Replication",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Data Replication",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "Ad hoc 查询",
        "count": 2
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "lang.zhu@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 1.3184,
        "mode": "低频高轮次"
      },
      {
        "user_email": "mizuki.masuda@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 2.0856,
        "mode": "低频高轮次"
      },
      {
        "user_email": "qizheng@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.7283,
        "mode": "低频低轮次"
      },
      {
        "user_email": "sihao.yu@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.3063,
        "mode": "低频低轮次"
      },
      {
        "user_email": "tenghui.zhong@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.3071,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.1705,
        "mode": "低频低轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 4,
        "y": 3.0,
        "cost": 1.5654,
        "mode": "高频低轮次"
      },
      {
        "user_email": "xuchengxuan@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 1.4351,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yangkexin.liang@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 4.8418,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 5,
        "y": 2.2,
        "cost": 1.7388,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zefeng.nie@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.2259,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhangyuanjia@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 2.5434,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
