{ "skillName": "data_analysis", "version": "1.0.0", "description": "数据分析与商业智能技能", "testCases": [ { "id": "tc-001", "type": "数据查询", "input": { "query": "查询昨日热门选题的表现数据", "metrics": ["view_count", "retention_rate", "engagement"] }, "expected": "返回选题ID、名称、各指标数值" }, { "id": "tc-002", "type": "趋势分析", "input": { "topic": "军事题材", "period": "7d", "metrics": ["popularity", "growth_rate"] }, "expected": "返回趋势图数据点和增长率" }, { "id": "tc-003", "type": "A/B测试分析", "input": { "experimentId": "exp-20260327-001", "variants": ["A", "B"] }, "expected": "返回各变体的转化率、统计显著性" }, { "id": "tc-004", "类型": "用户反馈分析", "input": { "source": "in-app", "dateRange": "2026-03-20~2026-03-27", "sentiment": true }, "expected": "返回反馈数量、正负情感占比、关键词" }, { "id": "tc-005", "type": "报表导出", "input": { "reportType": "weekly", "format": "excel", "dateRange": "2026-03-20~2026-03-27" }, "expected": "返回Excel文件下载链接" }, { "id": "tc-006", "type": "异常检测", "input": { "metric": "daily_active_users", "threshold": 0.15, "period": "24h" }, "expected": "返回异常时间点、幅度、可能原因" }, { "id": "tc-007", "type": "竞品对比", "input": { "competitors": ["app-a", "app-b"], "metrics": ["downloads", "revenue", "rating"] }, "expected": "返回对比表格和差距分析" }, { "id": "tc-008", "type": "预测分析", "input": { "topic": "娱乐八卦", "forecast_period": "3d", "model": "linear_regression" }, "expected": "返回预测值和置信区间" }, { "id": "tc-009", "type": "归因分析", "input": { "conversion_event": "subscription", "channels": ["organic", "paid", "social"] }, "expected": "返回各渠道贡献占比" }, { "id": "tc-010", "type": "留存分析", "input": { "cohort_date": "2026-03-01", "retention_days": [1, 7, 30] }, "expected": "返回Cohort留存率表格" } ], "metadata": { "created": "2026-03-27", "source": "knowledge_hunt", "test_framework": "manual" } }