diff --git a/.env b/.env index dbe0246..115d5ee 100644 --- a/.env +++ b/.env @@ -2,13 +2,15 @@ # 复制此文件为 .env 并填入您的配置 # OpenAI API Base URL (如果使用官方API,留空或使用 https://api.openai.com/v1) -OPENAI_API_BASE=http://172.21.197.208:8080/efllmas-agw/v1 +# OPENAI_API_BASE=http://172.21.197.208:8080/efllmas-agw/v1 +OPENAI_API_BASE=https://dashscope.aliyuncs.com/compatible-mode/v1/ # OpenAI API Key -OPENAI_API_KEY=sk-zhtoaoa_efllmas_gdpexe_oaoa_12275455_0_20fee538 +# OPENAI_API_KEY=sk-zhtoaoa_efllmas_gdpexe_oaoa_12275455_0_20fee538 +OPENAI_API_KEY=sk-c3969dd4e04c4a66bec698c5ef889e5a # Model Name (例如: gpt-4, gpt-3.5-turbo, 或其他兼容OpenAI协议的模型) -OPENAI_MODEL=Kimi-K2-zhths +OPENAI_MODEL=glm-4.7 # Temperature (0-2,控制随机性,推荐使用0-0.3以获得稳定输出) OPENAI_TEMPERATURE=0.01 diff --git a/data/results/coze-excel_answer_correctness_parallel_20260108_094255.json b/data/results/coze-excel_answer_correctness_parallel_20260108_094255.json new file mode 100644 index 0000000..6da7dd2 --- /dev/null +++ b/data/results/coze-excel_answer_correctness_parallel_20260108_094255.json @@ -0,0 +1,137 @@ +{ + "system": "coze-excel", + "timestamp": "2026-01-08T09:42:55.585147", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.9656318854641881 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.2850500392064303 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.22223149786843527 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.06440425871314548 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.39486259254434347 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.06382945738894305 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.43020649681451 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.2192227604293392 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.07995909182295702 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.07149848881121382 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.16289507138583725 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.9128950713858373 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.9128950713858373 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.16289507138583725 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9128950713858373 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 539.335533 +} \ No newline at end of file diff --git a/data/results/coze-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091518.json b/data/results/coze-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091518.json new file mode 100644 index 0000000..fd4f2e2 --- /dev/null +++ b/data/results/coze-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091518.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:15:18.614318", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "coze-excel" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "answer_relevance", + "context_recall", + "faithfulness", + "context_precision" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "coze-excel": { + "system": "coze-excel", + "timestamp": "2026-01-08T09:15:18.614318", + "positive_cases": { + "context_precision": { + "mean": 0.3833, + "median": 0.0, + "std": 0.4717, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.9999999999, + "q002": 0.8333333332916666, + "q003": 0.0, + "q004": 0.0, + "q005": 0.9999999999, + "q006": 0.0, + "q007": 0.999999999975, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "context_recall": { + "mean": 0.18, + "median": 0.0, + "std": 0.2857, + "min": 0.0, + "max": 0.8, + "count": 10, + "per_question": { + "q001": 0.8, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.5, + "q006": 0.0, + "q007": 0.5, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "faithfulness": { + "mean": 0.2929, + "median": 0.0, + "std": 0.397, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 1.0, + "q002": 0.42857142857142855, + "q003": 0.0, + "q004": 0.0, + "q005": 1.0, + "q006": 0.0, + "q007": 0.5, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "answer_relevance": { + "mean": 0.4664, + "median": 0.6204, + "std": 0.3957, + "min": 0.0, + "max": 0.9991, + "count": 10, + "per_question": { + "q001": 0.6070079892465967, + "q002": 0.63379746447348, + "q003": 0.9990639464407428, + "q004": 0.0, + "q005": 0.7318372584141951, + "q006": 0.0, + "q007": 0.8952866842636452, + "q008": 0.7974858526539226, + "q009": 0.0, + "q010": 0.0 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 0.0, + "q013": 0.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.2645 + } + }, + "comparison": { + "best_performer": { + "context_precision": "coze-excel", + "context_recall": "coze-excel", + "faithfulness": "coze-excel", + "answer_relevance": "coze-excel", + "answer_correctness": "coze-excel" + }, + "ranking": [ + "coze-excel" + ], + "scores": { + "coze-excel": 0.2645 + } + }, + "analysis_by_question_type": { + "简单检索": { + "coze-excel": 0.8518 + }, + "复杂检索": { + "coze-excel": 0.4739 + }, + "多跳检索": { + "coze-excel": 0.2498 + }, + "模糊查询": { + "coze-excel": 0.0 + }, + "流程类问题": { + "coze-excel": 0.808 + }, + "比较/对比类问题": { + "coze-excel": 0.0 + }, + "数值/统计类问题": { + "coze-excel": 0.7238 + }, + "异常处理类问题": { + "coze-excel": 0.1994 + }, + "政策/规则类问题": { + "coze-excel": 0.0 + }, + "综合/场景类问题": { + "coze-excel": 0.0 + } + } +} \ No newline at end of file diff --git a/data/results/coze-text_answer_correctness_parallel_20260108_095123.json b/data/results/coze-text_answer_correctness_parallel_20260108_095123.json new file mode 100644 index 0000000..8b63379 --- /dev/null +++ b/data/results/coze-text_answer_correctness_parallel_20260108_095123.json @@ -0,0 +1,137 @@ +{ + "system": "coze-text", + "timestamp": "2026-01-08T09:51:23.155428", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.9700161752063206 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.35909573090343094 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.7293062835472961 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.06440425871314548 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.7774783013652271 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.7518797887909328 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.4235446685561174 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.8473005990853575 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.07995909182295702 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.5147454928684525 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.16289507138583725 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.9128950713858373 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6628950713858373 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.029482051669062585 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9128950713858373 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 365.911008 +} \ No newline at end of file diff --git a/data/results/coze-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092535.json b/data/results/coze-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092535.json new file mode 100644 index 0000000..1e5d9b1 --- /dev/null +++ b/data/results/coze-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092535.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:25:35.221331", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "coze-text" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "coze-text": { + "system": "coze-text", + "timestamp": "2026-01-08T09:25:35.221331", + "positive_cases": { + "context_precision": { + "mean": 0.7083, + "median": 0.7917, + "std": 0.3146, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.9999999999, + "q002": 0.99999999995, + "q003": 0.49999999995, + "q004": 0.7499999999625, + "q005": 0.49999999995, + "q006": 0.9999999999, + "q007": 0.499999999975, + "q008": 0.9999999999, + "q009": 0.0, + "q010": 0.8333333332916666 + } + }, + "context_recall": { + "mean": 0.4686, + "median": 0.5, + "std": 0.3018, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.8, + "q002": 0.5, + "q003": 0.5, + "q004": 0.1, + "q005": 0.5, + "q006": 0.75, + "q007": 0.25, + "q008": 1.0, + "q009": 0.0, + "q010": 0.2857142857142857 + } + }, + "faithfulness": { + "mean": 0.5702, + "median": 0.5417, + "std": 0.4018, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 1.0, + "q002": 0.2857142857142857, + "q003": 0.3333333333333333, + "q004": 0.0, + "q005": 1.0, + "q006": 1.0, + "q007": 1.0, + "q008": 0.75, + "q009": 0.0, + "q010": 0.3333333333333333 + } + }, + "answer_relevance": { + "mean": 0.566, + "median": 0.6514, + "std": 0.3074, + "min": 0.0, + "max": 0.8932, + "count": 10, + "per_question": { + "q001": 0.6001374170142867, + "q002": 0.8623697733919116, + "q003": 0.6854082202903232, + "q004": 0.0, + "q005": 0.7613265163237759, + "q006": 0.6174034769161447, + "q007": 0.893229421331232, + "q008": 0.46632757153224447, + "q009": 0.0, + "q010": 0.7733779537068785 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.4, + "median": 0.0, + "std": 0.4899, + "min": 0.0, + "max": 1.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 1.0, + "q013": 1.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.4626 + } + }, + "comparison": { + "best_performer": { + "context_precision": "coze-text", + "context_recall": "coze-text", + "faithfulness": "coze-text", + "answer_relevance": "coze-text", + "answer_correctness": "coze-text" + }, + "ranking": [ + "coze-text" + ], + "scores": { + "coze-text": 0.4626 + } + }, + "analysis_by_question_type": { + "简单检索": { + "coze-text": 0.85 + }, + "复杂检索": { + "coze-text": 0.662 + }, + "多跳检索": { + "coze-text": 0.5047 + }, + "模糊查询": { + "coze-text": 0.2125 + }, + "流程类问题": { + "coze-text": 0.6903 + }, + "比较/对比类问题": { + "coze-text": 0.8419 + }, + "数值/统计类问题": { + "coze-text": 0.6608 + }, + "异常处理类问题": { + "coze-text": 0.8041 + }, + "政策/规则类问题": { + "coze-text": 0.0 + }, + "综合/场景类问题": { + "coze-text": 0.5564 + } + } +} \ No newline at end of file diff --git a/data/results/kbs-excel_answer_correctness_parallel_20260108_095252.json b/data/results/kbs-excel_answer_correctness_parallel_20260108_095252.json new file mode 100644 index 0000000..0d9532b --- /dev/null +++ b/data/results/kbs-excel_answer_correctness_parallel_20260108_095252.json @@ -0,0 +1,137 @@ +{ + "system": "kbs-excel", + "timestamp": "2026-01-08T09:52:52.988042", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.9561492673319882 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.8094366871861555 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.8640944566762254 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.5013579300297915 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.7810713721349496 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.5318999881007362 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.6723945294346573 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.9574821191572656 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.18633888760301667 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.5475211332683747 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.07520243095445614 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.31509166640110225 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.7244373808042179 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.651808628783351 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.8807583594848093 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 407.303863 +} \ No newline at end of file diff --git a/data/results/kbs-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093114.json b/data/results/kbs-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093114.json new file mode 100644 index 0000000..2060ddc --- /dev/null +++ b/data/results/kbs-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093114.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:31:14.209949", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "kbs-excel" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "faithfulness", + "context_precision", + "answer_relevance", + "context_recall" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "kbs-excel": { + "system": "kbs-excel", + "timestamp": "2026-01-08T09:31:14.209949", + "positive_cases": { + "context_precision": { + "mean": 0.6109, + "median": 0.6724, + "std": 0.3489, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.99999999995, + "q002": 0.7114376364297316, + "q003": 0.6333333333122222, + "q004": 0.11111111109999999, + "q005": 0.49999999998333333, + "q006": 0.99999999995, + "q007": 0.33666666665993333, + "q008": 0.99999999995, + "q009": 0.0, + "q010": 0.81666666664625 + } + }, + "context_recall": { + "mean": 0.6908, + "median": 0.775, + "std": 0.3048, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.8, + "q002": 0.5, + "q003": 0.75, + "q004": 0.9, + "q005": 1.0, + "q006": 0.75, + "q007": 0.875, + "q008": 1.0, + "q009": 0.0, + "q010": 0.3333333333333333 + } + }, + "faithfulness": { + "mean": 0.9609, + "median": 1.0, + "std": 0.0655, + "min": 0.8125, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 1.0, + "q002": 1.0, + "q003": 1.0, + "q004": 0.9333333333333333, + "q005": 1.0, + "q006": 0.8125, + "q007": 1.0, + "q008": 1.0, + "q009": 1.0, + "q010": 0.8636363636363636 + } + }, + "answer_relevance": { + "mean": 0.8314, + "median": 0.8769, + "std": 0.1138, + "min": 0.5743, + "max": 0.9612, + "count": 10, + "per_question": { + "q001": 0.5742813481673349, + "q002": 0.9277987163807431, + "q003": 0.891023510068125, + "q004": 0.7963962228045999, + "q005": 0.742014588733672, + "q006": 0.8628700699224199, + "q007": 0.8917137706371131, + "q008": 0.9612472211749471, + "q009": 0.7336448979787392, + "q010": 0.9332447844272973 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.5083, + "median": 0.6667, + "std": 0.4285, + "min": 0.0, + "max": 1.0, + "count": 5, + "per_question": { + "q011": 0.875, + "q012": 0.6666666666666666, + "q013": 1.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.6188 + } + }, + "comparison": { + "best_performer": { + "context_precision": "kbs-excel", + "context_recall": "kbs-excel", + "faithfulness": "kbs-excel", + "answer_relevance": "kbs-excel", + "answer_correctness": "kbs-excel" + }, + "ranking": [ + "kbs-excel" + ], + "scores": { + "kbs-excel": 0.6188 + } + }, + "analysis_by_question_type": { + "简单检索": { + "kbs-excel": 0.8436 + }, + "复杂检索": { + "kbs-excel": 0.7848 + }, + "多跳检索": { + "kbs-excel": 0.8186 + }, + "模糊查询": { + "kbs-excel": 0.6852 + }, + "流程类问题": { + "kbs-excel": 0.8105 + }, + "比较/对比类问题": { + "kbs-excel": 0.8563 + }, + "数值/统计类问题": { + "kbs-excel": 0.7758 + }, + "异常处理类问题": { + "kbs-excel": 0.9903 + }, + "政策/规则类问题": { + "kbs-excel": 0.4334 + }, + "综合/场景类问题": { + "kbs-excel": 0.7367 + } + } +} \ No newline at end of file diff --git a/data/results/kbs-text_answer_correctness_parallel_20260108_095116.json b/data/results/kbs-text_answer_correctness_parallel_20260108_095116.json new file mode 100644 index 0000000..560777a --- /dev/null +++ b/data/results/kbs-text_answer_correctness_parallel_20260108_095116.json @@ -0,0 +1,137 @@ +{ + "system": "kbs-text", + "timestamp": "2026-01-08T09:51:16.845699", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.08537900266952839 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.0667059635756553 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.3680215459024392 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.06707381220858272 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.07008448468380603 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.08537900266952839 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.07394324766420096 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.08628608965987869 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.07051635478941697 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.07615637712287411 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.12438307371999253 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.12438307371999253 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.12438307371999253 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.12438307371999253 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.12438307371999253 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 282.473434 +} \ No newline at end of file diff --git a/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093511.json b/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093511.json new file mode 100644 index 0000000..60789b4 --- /dev/null +++ b/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093511.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:35:11.451112", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "kbs-text" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "kbs-text": { + "system": "kbs-text", + "timestamp": "2026-01-08T09:35:11.451112", + "positive_cases": { + "context_precision": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "context_recall": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "faithfulness": { + "mean": NaN, + "median": NaN, + "std": NaN, + "min": NaN, + "max": NaN, + "count": 10, + "per_question": { + "q001": NaN, + "q002": NaN, + "q003": 0.0, + "q004": NaN, + "q005": NaN, + "q006": NaN, + "q007": NaN, + "q008": 0.0, + "q009": NaN, + "q010": 0.0 + } + }, + "answer_relevance": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": NaN, + "median": NaN, + "std": NaN, + "min": NaN, + "max": NaN, + "count": 5, + "per_question": { + "q011": NaN, + "q012": NaN, + "q013": NaN, + "q014": 0.0, + "q015": NaN + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": NaN + } + }, + "comparison": { + "best_performer": { + "context_precision": "kbs-text", + "context_recall": "kbs-text", + "faithfulness": null, + "answer_relevance": "kbs-text", + "answer_correctness": "kbs-text" + }, + "ranking": [ + "kbs-text" + ], + "scores": { + "kbs-text": NaN + } + }, + "analysis_by_question_type": { + "简单检索": { + "kbs-text": NaN + }, + "复杂检索": { + "kbs-text": NaN + }, + "多跳检索": { + "kbs-text": 0.0 + }, + "模糊查询": { + "kbs-text": NaN + }, + "流程类问题": { + "kbs-text": NaN + }, + "比较/对比类问题": { + "kbs-text": NaN + }, + "数值/统计类问题": { + "kbs-text": NaN + }, + "异常处理类问题": { + "kbs-text": 0.0 + }, + "政策/规则类问题": { + "kbs-text": NaN + }, + "综合/场景类问题": { + "kbs-text": 0.0 + } + } +} \ No newline at end of file diff --git a/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_094303.json b/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_094303.json new file mode 100644 index 0000000..f218444 --- /dev/null +++ b/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_094303.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:43:03.704529", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "kbs-text" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "context_precision", + "context_recall", + "answer_relevance", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "kbs-text": { + "system": "kbs-text", + "timestamp": "2026-01-08T09:43:03.704529", + "positive_cases": { + "context_precision": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "context_recall": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "faithfulness": { + "mean": NaN, + "median": NaN, + "std": NaN, + "min": NaN, + "max": NaN, + "count": 10, + "per_question": { + "q001": 1.0, + "q002": NaN, + "q003": 0.0, + "q004": NaN, + "q005": 0.0, + "q006": NaN, + "q007": 1.0, + "q008": NaN, + "q009": 0.0, + "q010": NaN + } + }, + "answer_relevance": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": NaN, + "median": NaN, + "std": NaN, + "min": NaN, + "max": NaN, + "count": 5, + "per_question": { + "q011": NaN, + "q012": NaN, + "q013": NaN, + "q014": NaN, + "q015": NaN + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": NaN + } + }, + "comparison": { + "best_performer": { + "context_precision": "kbs-text", + "context_recall": "kbs-text", + "faithfulness": null, + "answer_relevance": "kbs-text", + "answer_correctness": "kbs-text" + }, + "ranking": [ + "kbs-text" + ], + "scores": { + "kbs-text": NaN + } + }, + "analysis_by_question_type": { + "简单检索": { + "kbs-text": 0.25 + }, + "复杂检索": { + "kbs-text": NaN + }, + "多跳检索": { + "kbs-text": 0.0 + }, + "模糊查询": { + "kbs-text": NaN + }, + "流程类问题": { + "kbs-text": 0.0 + }, + "比较/对比类问题": { + "kbs-text": NaN + }, + "数值/统计类问题": { + "kbs-text": 0.25 + }, + "异常处理类问题": { + "kbs-text": NaN + }, + "政策/规则类问题": { + "kbs-text": 0.0 + }, + "综合/场景类问题": { + "kbs-text": NaN + } + } +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090455/coze-excel_positive b/data/results/rolling_周四022601_090455/coze-excel_positive new file mode 100644 index 0000000..d0e5229 --- /dev/null +++ b/data/results/rolling_周四022601_090455/coze-excel_positive @@ -0,0 +1,37 @@ +{ + "evaluation_start": "2026-01-08T09:05:00.407341", + "status": "in_progress", + "total_questions": 10, + "completed_questions": 2, + "metrics_used": [ + "answer_relevance", + "context_recall", + "faithfulness", + "context_precision" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.6047177985024934, + "context_recall": 0.8, + "faithfulness": 1.0, + "context_precision": 0.9999999999 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.63379746447348, + "context_recall": 0.0, + "faithfulness": 0.42857142857142855, + "context_precision": 0.8333333332916666 + } + } + ], + "last_updated": "2026-01-08T09:07:26.622128" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090822/coze-excel_negative b/data/results/rolling_周四022601_090822/coze-excel_negative new file mode 100644 index 0000000..8a37175 --- /dev/null +++ b/data/results/rolling_周四022601_090822/coze-excel_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:13:59.786487", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "answer_relevance", + "context_recall", + "faithfulness", + "context_precision" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:15:18.613771", + "evaluation_end": "2026-01-08T09:15:18.613775" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090822/coze-excel_positive b/data/results/rolling_周四022601_090822/coze-excel_positive new file mode 100644 index 0000000..3ccafe4 --- /dev/null +++ b/data/results/rolling_周四022601_090822/coze-excel_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:08:26.636402", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "answer_relevance", + "context_recall", + "faithfulness", + "context_precision" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.6070079892465967, + "context_recall": 0.8, + "faithfulness": 1.0, + "context_precision": 0.9999999999 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.63379746447348, + "context_recall": 0.0, + "faithfulness": 0.42857142857142855, + "context_precision": 0.8333333332916666 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_relevance": 0.9990639464407428, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_relevance": 0.7318372584141951, + "context_recall": 0.5, + "faithfulness": 1.0, + "context_precision": 0.9999999999 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_relevance": 0.8952866842636452, + "context_recall": 0.5, + "faithfulness": 0.5, + "context_precision": 0.999999999975 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_relevance": 0.7974858526539226, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "context_precision": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:13:59.785526", + "evaluation_end": "2026-01-08T09:13:59.785533" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090822/coze-text_negative b/data/results/rolling_周四022601_090822/coze-text_negative new file mode 100644 index 0000000..a2946d1 --- /dev/null +++ b/data/results/rolling_周四022601_090822/coze-text_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:21:50.025578", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.249999999975, + "context_recall": 0.0, + "faithfulness": 1.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 1.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.9571189781375419, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:25:35.220157", + "evaluation_end": "2026-01-08T09:25:35.220169" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090822/coze-text_positive b/data/results/rolling_周四022601_090822/coze-text_positive new file mode 100644 index 0000000..c05765c --- /dev/null +++ b/data/results/rolling_周四022601_090822/coze-text_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:15:29.300936", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.6001374170142867, + "context_precision": 0.9999999999, + "context_recall": 0.8, + "faithfulness": 1.0 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.8623697733919116, + "context_precision": 0.99999999995, + "context_recall": 0.5, + "faithfulness": 0.2857142857142857 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_relevance": 0.6854082202903232, + "context_precision": 0.49999999995, + "context_recall": 0.5, + "faithfulness": 0.3333333333333333 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.7499999999625, + "context_recall": 0.1, + "faithfulness": 0.0 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_relevance": 0.7613265163237759, + "context_precision": 0.49999999995, + "context_recall": 0.5, + "faithfulness": 1.0 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_relevance": 0.6174034769161447, + "context_precision": 0.9999999999, + "context_recall": 0.75, + "faithfulness": 1.0 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_relevance": 0.893229421331232, + "context_precision": 0.499999999975, + "context_recall": 0.25, + "faithfulness": 1.0 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_relevance": 0.46632757153224447, + "context_precision": 0.9999999999, + "context_recall": 1.0, + "faithfulness": 0.75 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_relevance": 0.7733779537068785, + "context_precision": 0.8333333332916666, + "context_recall": 0.2857142857142857, + "faithfulness": 0.3333333333333333 + } + } + ], + "last_updated": "2026-01-08T09:21:50.024663", + "evaluation_end": "2026-01-08T09:21:50.024670" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090902/kbs-excel_negative b/data/results/rolling_周四022601_090902/kbs-excel_negative new file mode 100644 index 0000000..56711ab --- /dev/null +++ b/data/results/rolling_周四022601_090902/kbs-excel_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:22:36.751808", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "faithfulness", + "context_precision", + "answer_relevance", + "context_recall" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "faithfulness": 0.875, + "context_precision": 0.0, + "answer_relevance": 0.6659433611981886, + "context_recall": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "faithfulness": 0.6666666666666666, + "context_precision": 0.16666666665, + "answer_relevance": 0.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "faithfulness": 0.0, + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "faithfulness": 0.0, + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 1.0 + } + } + ], + "last_updated": "2026-01-08T09:31:14.209204", + "evaluation_end": "2026-01-08T09:31:14.209212" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090902/kbs-excel_positive b/data/results/rolling_周四022601_090902/kbs-excel_positive new file mode 100644 index 0000000..e15a978 --- /dev/null +++ b/data/results/rolling_周四022601_090902/kbs-excel_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:09:06.732113", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "faithfulness", + "context_precision", + "answer_relevance", + "context_recall" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.99999999995, + "answer_relevance": 0.5742813481673349, + "context_recall": 0.8 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.7114376364297316, + "answer_relevance": 0.9277987163807431, + "context_recall": 0.5 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.6333333333122222, + "answer_relevance": 0.891023510068125, + "context_recall": 0.75 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "faithfulness": 0.9333333333333333, + "context_precision": 0.11111111109999999, + "answer_relevance": 0.7963962228045999, + "context_recall": 0.9 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.49999999998333333, + "answer_relevance": 0.742014588733672, + "context_recall": 1.0 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "faithfulness": 0.8125, + "context_precision": 0.99999999995, + "answer_relevance": 0.8628700699224199, + "context_recall": 0.75 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.33666666665993333, + "answer_relevance": 0.8917137706371131, + "context_recall": 0.875 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.99999999995, + "answer_relevance": 0.9612472211749471, + "context_recall": 1.0 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "faithfulness": 1.0, + "context_precision": 0.0, + "answer_relevance": 0.7336448979787392, + "context_recall": 0.0 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "faithfulness": 0.8636363636363636, + "context_precision": 0.81666666664625, + "answer_relevance": 0.9332447844272973, + "context_recall": 0.3333333333333333 + } + } + ], + "last_updated": "2026-01-08T09:22:36.750906", + "evaluation_end": "2026-01-08T09:22:36.750913" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090902/kbs-text_negative b/data/results/rolling_周四022601_090902/kbs-text_negative new file mode 100644 index 0000000..bcd9422 --- /dev/null +++ b/data/results/rolling_周四022601_090902/kbs-text_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:34:03.308457", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": NaN + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": NaN + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": NaN + } + } + ], + "last_updated": "2026-01-08T09:35:11.450007", + "evaluation_end": "2026-01-08T09:35:11.450018" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_090902/kbs-text_positive b/data/results/rolling_周四022601_090902/kbs-text_positive new file mode 100644 index 0000000..0b78424 --- /dev/null +++ b/data/results/rolling_周四022601_090902/kbs-text_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:31:23.347251", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": NaN + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:34:03.307552", + "evaluation_end": "2026-01-08T09:34:03.307559" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091032/zht-excel_negative b/data/results/rolling_周四022601_091032/zht-excel_negative new file mode 100644 index 0000000..84b3f97 --- /dev/null +++ b/data/results/rolling_周四022601_091032/zht-excel_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:15:49.117781", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "context_precision", + "answer_relevance", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:19:36.882444", + "evaluation_end": "2026-01-08T09:19:36.882454" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091032/zht-excel_positive b/data/results/rolling_周四022601_091032/zht-excel_positive new file mode 100644 index 0000000..d551f84 --- /dev/null +++ b/data/results/rolling_周四022601_091032/zht-excel_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:10:37.324293", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "context_precision", + "answer_relevance", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.8652318344507108, + "context_recall": 0.0, + "faithfulness": 0.36363636363636365 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "context_precision": 0.9999999999, + "answer_relevance": 0.9778138713423528, + "context_recall": 0.5, + "faithfulness": 0.6 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.912777444208097, + "context_recall": 0.0, + "faithfulness": 0.5625 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "context_precision": 0.99999999995, + "answer_relevance": 0.8232567148617005, + "context_recall": 1.0, + "faithfulness": 0.8571428571428571 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "context_precision": 0.9999999999, + "answer_relevance": 0.8242199838165092, + "context_recall": 0.75, + "faithfulness": 0.07692307692307693 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "context_precision": 0.9999999999666667, + "answer_relevance": 0.8502956880476589, + "context_recall": 0.875, + "faithfulness": 1.0 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "context_precision": 0.9999999999, + "answer_relevance": 0.8946638022298663, + "context_recall": 1.0, + "faithfulness": 0.6666666666666666 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "context_recall": 0.0, + "faithfulness": 0.25 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "context_precision": 0.9999999999, + "answer_relevance": 0.9464668922679397, + "context_recall": 0.16666666666666666, + "faithfulness": 0.5135135135135135 + } + } + ], + "last_updated": "2026-01-08T09:15:49.117064", + "evaluation_end": "2026-01-08T09:15:49.117068" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091032/zht-text_negative b/data/results/rolling_周四022601_091032/zht-text_negative new file mode 100644 index 0000000..84a5f49 --- /dev/null +++ b/data/results/rolling_周四022601_091032/zht-text_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:29:11.253101", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "context_precision", + "context_recall", + "faithfulness", + "answer_relevance" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:31:08.057658", + "evaluation_end": "2026-01-08T09:31:08.057665" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091032/zht-text_positive b/data/results/rolling_周四022601_091032/zht-text_positive new file mode 100644 index 0000000..f75f2f6 --- /dev/null +++ b/data/results/rolling_周四022601_091032/zht-text_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:19:49.307572", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "context_precision", + "context_recall", + "faithfulness", + "answer_relevance" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "context_precision": 0.9999999999, + "context_recall": 0.25, + "faithfulness": 0.4583333333333333, + "answer_relevance": 0.8759907272052954 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "context_precision": 0.99999999995, + "context_recall": 0.75, + "faithfulness": 1.0, + "answer_relevance": 0.9404539928902752 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "context_precision": 0.9999999999, + "context_recall": 0.3333333333333333, + "faithfulness": 0.8181818181818182, + "answer_relevance": 0.7696650299278304 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0, + "answer_relevance": 0.0 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "context_precision": 0.9999999999833333, + "context_recall": 0.8461538461538461, + "faithfulness": 1.0, + "answer_relevance": 0.8772748185843403 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "context_precision": 0.9999999999, + "context_recall": 1.0, + "faithfulness": 0.42857142857142855, + "answer_relevance": 0.6110088152214947 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "context_precision": 0.0, + "context_recall": 0.5, + "faithfulness": 0.8181818181818182, + "answer_relevance": 0.8335353399992433 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "context_precision": 0.9999999999, + "context_recall": 0.2857142857142857, + "faithfulness": 1.0, + "answer_relevance": 0.8099508302941661 + } + } + ], + "last_updated": "2026-01-08T09:29:11.251419", + "evaluation_end": "2026-01-08T09:29:11.251432" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091101/zhtv2-excel_negative b/data/results/rolling_周四022601_091101/zhtv2-excel_negative new file mode 100644 index 0000000..7396d39 --- /dev/null +++ b/data/results/rolling_周四022601_091101/zhtv2-excel_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:21:11.459616", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_precision": 0.0, + "context_recall": 1.0, + "faithfulness": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:23:15.345764", + "evaluation_end": "2026-01-08T09:23:15.345774" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091101/zhtv2-excel_positive b/data/results/rolling_周四022601_091101/zhtv2-excel_positive new file mode 100644 index 0000000..c03f710 --- /dev/null +++ b/data/results/rolling_周四022601_091101/zhtv2-excel_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:11:06.811062", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.4861769899286596, + "context_precision": 0.9999999999, + "context_recall": 0.75, + "faithfulness": 0.8571428571428571 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.8652318344507108, + "context_precision": 0.9765432098656928, + "context_recall": 1.0, + "faithfulness": 0.875 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_relevance": 0.9990639464407428, + "context_precision": 0.9999999999, + "context_recall": 0.5, + "faithfulness": 0.5714285714285714 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_relevance": 0.8900666538771358, + "context_precision": 0.9999999999, + "context_recall": 0.9, + "faithfulness": 0.47368421052631576 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_relevance": 0.7436844224842848, + "context_precision": 0.99999999995, + "context_recall": 1.0, + "faithfulness": 0.9375 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_relevance": 0.865247766043995, + "context_precision": 0.9999999999, + "context_recall": 0.75, + "faithfulness": 0.2962962962962963 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_relevance": 0.8823454138090283, + "context_precision": 0.8041666666465626, + "context_recall": 0.875, + "faithfulness": 1.0 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_relevance": 0.8978775020549468, + "context_precision": 0.9999999999, + "context_recall": 1.0, + "faithfulness": 1.0 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_relevance": 0.7787770318333568, + "context_precision": 0.0, + "context_recall": 0.0, + "faithfulness": 0.9032258064516129 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_relevance": 0.9282540845633935, + "context_precision": 0.5833333333041666, + "context_recall": 0.3333333333333333, + "faithfulness": 0.631578947368421 + } + } + ], + "last_updated": "2026-01-08T09:21:11.458668", + "evaluation_end": "2026-01-08T09:21:11.458676" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091101/zhtv2-text_negative b/data/results/rolling_周四022601_091101/zhtv2-text_negative new file mode 100644 index 0000000..09983bf --- /dev/null +++ b/data/results/rolling_周四022601_091101/zhtv2-text_negative @@ -0,0 +1,71 @@ +{ + "evaluation_start": "2026-01-08T09:33:09.289182", + "status": "completed", + "total_questions": 5, + "completed_questions": 5, + "metrics_used": [ + "answer_relevance", + "context_recall", + "context_precision", + "faithfulness" + ], + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "context_precision": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 0.0, + "context_precision": 0.49999999995, + "faithfulness": 0.0 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "context_precision": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "context_precision": 0.0, + "faithfulness": 0.0 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_relevance": 0.0, + "context_recall": 1.0, + "context_precision": 0.0, + "faithfulness": 0.0 + } + } + ], + "last_updated": "2026-01-08T09:37:22.664047", + "evaluation_end": "2026-01-08T09:37:22.664056" +} \ No newline at end of file diff --git a/data/results/rolling_周四022601_091101/zhtv2-text_positive b/data/results/rolling_周四022601_091101/zhtv2-text_positive new file mode 100644 index 0000000..d5986c9 --- /dev/null +++ b/data/results/rolling_周四022601_091101/zhtv2-text_positive @@ -0,0 +1,126 @@ +{ + "evaluation_start": "2026-01-08T09:23:27.678283", + "status": "completed", + "total_questions": 10, + "completed_questions": 10, + "metrics_used": [ + "answer_relevance", + "context_recall", + "context_precision", + "faithfulness" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_relevance": 0.47040299078404096, + "context_recall": 0.75, + "context_precision": 0.9999999999, + "faithfulness": 0.8888888888888888 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_relevance": 0.8940674710770917, + "context_recall": 1.0, + "context_precision": 0.8972222222072685, + "faithfulness": 0.65625 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_relevance": 0.9778138713423528, + "context_recall": 0.75, + "context_precision": 0.99999999995, + "faithfulness": 1.0 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_relevance": 0.840164948112996, + "context_recall": 0.9, + "context_precision": 0.4499999999775, + "faithfulness": 0.6521739130434783 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_relevance": 0.8279121829961216, + "context_recall": 1.0, + "context_precision": 0.99999999995, + "faithfulness": 1.0 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_relevance": 0.863376932141667, + "context_recall": 0.75, + "context_precision": 0.9999999999, + "faithfulness": 0.2727272727272727 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_relevance": 0.8529076974880299, + "context_recall": 0.5625, + "context_precision": 0.99999999995, + "faithfulness": 0.3 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_relevance": 0.9144576920186126, + "context_recall": 1.0, + "context_precision": 0.9999999999, + "faithfulness": 0.4 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_relevance": 0.7756841587246405, + "context_recall": 0.5, + "context_precision": 0.1249999999875, + "faithfulness": 0.8461538461538461 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_relevance": 0.9322637392143137, + "context_recall": 0.16666666666666666, + "context_precision": 0.9999999999, + "faithfulness": 0.2558139534883721 + } + } + ], + "last_updated": "2026-01-08T09:33:09.287611", + "evaluation_end": "2026-01-08T09:33:09.287621" +} \ No newline at end of file diff --git a/data/results/zht-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091936.json b/data/results/zht-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091936.json new file mode 100644 index 0000000..c5ab657 --- /dev/null +++ b/data/results/zht-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_091936.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:19:36.883357", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "zht-excel" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "context_precision", + "answer_relevance", + "context_recall", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "zht-excel": { + "system": "zht-excel", + "timestamp": "2026-01-08T09:19:36.883357", + "positive_cases": { + "context_precision": { + "mean": 0.6, + "median": 1.0, + "std": 0.4899, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.9999999999, + "q004": 0.0, + "q005": 0.99999999995, + "q006": 0.9999999999, + "q007": 0.9999999999666667, + "q008": 0.9999999999, + "q009": 0.0, + "q010": 0.9999999999 + } + }, + "context_recall": { + "mean": 0.4292, + "median": 0.3333, + "std": 0.42, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.5, + "q004": 0.0, + "q005": 1.0, + "q006": 0.75, + "q007": 0.875, + "q008": 1.0, + "q009": 0.0, + "q010": 0.16666666666666666 + } + }, + "faithfulness": { + "mean": 0.489, + "median": 0.538, + "std": 0.3047, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.36363636363636365, + "q003": 0.6, + "q004": 0.5625, + "q005": 0.8571428571428571, + "q006": 0.07692307692307693, + "q007": 1.0, + "q008": 0.6666666666666666, + "q009": 0.25, + "q010": 0.5135135135135135 + } + }, + "answer_relevance": { + "mean": 0.7095, + "median": 0.8578, + "std": 0.3579, + "min": 0.0, + "max": 0.9778, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.8652318344507108, + "q003": 0.9778138713423528, + "q004": 0.912777444208097, + "q005": 0.8232567148617005, + "q006": 0.8242199838165092, + "q007": 0.8502956880476589, + "q008": 0.8946638022298663, + "q009": 0.0, + "q010": 0.9464668922679397 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 0.0, + "q013": 0.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.4455 + } + }, + "comparison": { + "best_performer": { + "context_precision": "zht-excel", + "context_recall": "zht-excel", + "faithfulness": "zht-excel", + "answer_relevance": "zht-excel", + "answer_correctness": "zht-excel" + }, + "ranking": [ + "zht-excel" + ], + "scores": { + "zht-excel": 0.4455 + } + }, + "analysis_by_question_type": { + "简单检索": { + "zht-excel": 0.0 + }, + "复杂检索": { + "zht-excel": 0.3072 + }, + "多跳检索": { + "zht-excel": 0.7695 + }, + "模糊查询": { + "zht-excel": 0.3688 + }, + "流程类问题": { + "zht-excel": 0.9201 + }, + "比较/对比类问题": { + "zht-excel": 0.6628 + }, + "数值/统计类问题": { + "zht-excel": 0.9313 + }, + "异常处理类问题": { + "zht-excel": 0.8903 + }, + "政策/规则类问题": { + "zht-excel": 0.0625 + }, + "综合/场景类问题": { + "zht-excel": 0.6567 + } + } +} \ No newline at end of file diff --git a/data/results/zht-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093108.json b/data/results/zht-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093108.json new file mode 100644 index 0000000..abcb8d2 --- /dev/null +++ b/data/results/zht-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093108.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:31:08.058474", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "zht-text" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "context_precision", + "context_recall", + "faithfulness", + "answer_relevance" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "zht-text": { + "system": "zht-text", + "timestamp": "2026-01-08T09:31:08.058474", + "positive_cases": { + "context_precision": { + "mean": 0.6, + "median": 1.0, + "std": 0.4899, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.9999999999, + "q003": 0.99999999995, + "q004": 0.0, + "q005": 0.9999999999, + "q006": 0.0, + "q007": 0.9999999999833333, + "q008": 0.9999999999, + "q009": 0.0, + "q010": 0.9999999999 + } + }, + "context_recall": { + "mean": 0.3965, + "median": 0.3095, + "std": 0.3481, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.25, + "q003": 0.75, + "q004": 0.0, + "q005": 0.3333333333333333, + "q006": 0.0, + "q007": 0.8461538461538461, + "q008": 1.0, + "q009": 0.5, + "q010": 0.2857142857142857 + } + }, + "faithfulness": { + "mean": 0.5523, + "median": 0.6383, + "std": 0.4101, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.4583333333333333, + "q003": 1.0, + "q004": 0.0, + "q005": 0.8181818181818182, + "q006": 0.0, + "q007": 1.0, + "q008": 0.42857142857142855, + "q009": 0.8181818181818182, + "q010": 1.0 + } + }, + "answer_relevance": { + "mean": 0.5718, + "median": 0.7898, + "std": 0.3832, + "min": 0.0, + "max": 0.9405, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.8759907272052954, + "q003": 0.9404539928902752, + "q004": 0.0, + "q005": 0.7696650299278304, + "q006": 0.0, + "q007": 0.8772748185843403, + "q008": 0.6110088152214947, + "q009": 0.8335353399992433, + "q010": 0.8099508302941661 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 0.0, + "q013": 0.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.4241 + } + }, + "comparison": { + "best_performer": { + "context_precision": "zht-text", + "context_recall": "zht-text", + "faithfulness": "zht-text", + "answer_relevance": "zht-text", + "answer_correctness": "zht-text" + }, + "ranking": [ + "zht-text" + ], + "scores": { + "zht-text": 0.4241 + } + }, + "analysis_by_question_type": { + "简单检索": { + "zht-text": 0.0 + }, + "复杂检索": { + "zht-text": 0.6461 + }, + "多跳检索": { + "zht-text": 0.9226 + }, + "模糊查询": { + "zht-text": 0.0 + }, + "流程类问题": { + "zht-text": 0.7303 + }, + "比较/对比类问题": { + "zht-text": 0.0 + }, + "数值/统计类问题": { + "zht-text": 0.9309 + }, + "异常处理类问题": { + "zht-text": 0.7599 + }, + "政策/规则类问题": { + "zht-text": 0.5379 + }, + "综合/场景类问题": { + "zht-text": 0.7739 + } + } +} \ No newline at end of file diff --git a/data/results/zhtv2-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092315.json b/data/results/zhtv2-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092315.json new file mode 100644 index 0000000..67e716c --- /dev/null +++ b/data/results/zhtv2-excel_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_092315.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:23:15.347099", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "zhtv2-excel" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "answer_relevance", + "context_precision", + "context_recall", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "zhtv2-excel": { + "system": "zhtv2-excel", + "timestamp": "2026-01-08T09:23:15.347099", + "positive_cases": { + "context_precision": { + "mean": 0.8364, + "median": 1.0, + "std": 0.3074, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.9999999999, + "q002": 0.9765432098656928, + "q003": 0.9999999999, + "q004": 0.9999999999, + "q005": 0.99999999995, + "q006": 0.9999999999, + "q007": 0.8041666666465626, + "q008": 0.9999999999, + "q009": 0.0, + "q010": 0.5833333333041666 + } + }, + "context_recall": { + "mean": 0.7108, + "median": 0.8125, + "std": 0.3176, + "min": 0.0, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.75, + "q002": 1.0, + "q003": 0.5, + "q004": 0.9, + "q005": 1.0, + "q006": 0.75, + "q007": 0.875, + "q008": 1.0, + "q009": 0.0, + "q010": 0.3333333333333333 + } + }, + "faithfulness": { + "mean": 0.7546, + "median": 0.8661, + "std": 0.2321, + "min": 0.2963, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.8571428571428571, + "q002": 0.875, + "q003": 0.5714285714285714, + "q004": 0.47368421052631576, + "q005": 0.9375, + "q006": 0.2962962962962963, + "q007": 1.0, + "q008": 1.0, + "q009": 0.9032258064516129, + "q010": 0.631578947368421 + } + }, + "answer_relevance": { + "mean": 0.8337, + "median": 0.8738, + "std": 0.1341, + "min": 0.4862, + "max": 0.9991, + "count": 10, + "per_question": { + "q001": 0.4861769899286596, + "q002": 0.8652318344507108, + "q003": 0.9990639464407428, + "q004": 0.8900666538771358, + "q005": 0.7436844224842848, + "q006": 0.865247766043995, + "q007": 0.8823454138090283, + "q008": 0.8978775020549468, + "q009": 0.7787770318333568, + "q010": 0.9282540845633935 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 0.0, + "q013": 0.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.6271 + } + }, + "comparison": { + "best_performer": { + "context_precision": "zhtv2-excel", + "context_recall": "zhtv2-excel", + "faithfulness": "zhtv2-excel", + "answer_relevance": "zhtv2-excel", + "answer_correctness": "zhtv2-excel" + }, + "ranking": [ + "zhtv2-excel" + ], + "scores": { + "zhtv2-excel": 0.6271 + } + }, + "analysis_by_question_type": { + "简单检索": { + "zhtv2-excel": 0.7733 + }, + "复杂检索": { + "zhtv2-excel": 0.9292 + }, + "多跳检索": { + "zhtv2-excel": 0.7676 + }, + "模糊查询": { + "zhtv2-excel": 0.8159 + }, + "流程类问题": { + "zhtv2-excel": 0.9203 + }, + "比较/对比类问题": { + "zhtv2-excel": 0.7279 + }, + "数值/统计类问题": { + "zhtv2-excel": 0.8904 + }, + "异常处理类问题": { + "zhtv2-excel": 0.9745 + }, + "政策/规则类问题": { + "zhtv2-excel": 0.4205 + }, + "综合/场景类问题": { + "zhtv2-excel": 0.6191 + } + } +} \ No newline at end of file diff --git a/data/results/zhtv2-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093722.json b/data/results/zhtv2-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093722.json new file mode 100644 index 0000000..8174f52 --- /dev/null +++ b/data/results/zhtv2-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093722.json @@ -0,0 +1,198 @@ +{ + "metadata": { + "version": "1.0", + "evaluation_date": "2026-01-08T09:37:22.664814", + "test_set": "data/test_sets/ragas_test_cases_v3.1.json", + "systems": [ + "zhtv2-text" + ], + "evaluation_mode": "parallel", + "metrics_used": [ + "answer_relevance", + "context_recall", + "context_precision", + "faithfulness" + ], + "metrics_disabled": [ + "answer_correctness" + ] + }, + "results": { + "zhtv2-text": { + "system": "zhtv2-text", + "timestamp": "2026-01-08T09:37:22.664814", + "positive_cases": { + "context_precision": { + "mean": 0.8472, + "median": 1.0, + "std": 0.2907, + "min": 0.125, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.9999999999, + "q002": 0.8972222222072685, + "q003": 0.99999999995, + "q004": 0.4499999999775, + "q005": 0.99999999995, + "q006": 0.9999999999, + "q007": 0.99999999995, + "q008": 0.9999999999, + "q009": 0.1249999999875, + "q010": 0.9999999999 + } + }, + "context_recall": { + "mean": 0.7379, + "median": 0.75, + "std": 0.2543, + "min": 0.1667, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.75, + "q002": 1.0, + "q003": 0.75, + "q004": 0.9, + "q005": 1.0, + "q006": 0.75, + "q007": 0.5625, + "q008": 1.0, + "q009": 0.5, + "q010": 0.16666666666666666 + } + }, + "faithfulness": { + "mean": 0.6272, + "median": 0.6542, + "std": 0.286, + "min": 0.2558, + "max": 1.0, + "count": 10, + "per_question": { + "q001": 0.8888888888888888, + "q002": 0.65625, + "q003": 1.0, + "q004": 0.6521739130434783, + "q005": 1.0, + "q006": 0.2727272727272727, + "q007": 0.3, + "q008": 0.4, + "q009": 0.8461538461538461, + "q010": 0.2558139534883721 + } + }, + "answer_relevance": { + "mean": 0.8349, + "median": 0.8581, + "std": 0.1332, + "min": 0.4704, + "max": 0.9778, + "count": 10, + "per_question": { + "q001": 0.47040299078404096, + "q002": 0.8940674710770917, + "q003": 0.9778138713423528, + "q004": 0.840164948112996, + "q005": 0.8279121829961216, + "q006": 0.863376932141667, + "q007": 0.8529076974880299, + "q008": 0.9144576920186126, + "q009": 0.7756841587246405, + "q010": 0.9322637392143137 + } + }, + "answer_correctness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 10, + "per_question": { + "q001": 0.0, + "q002": 0.0, + "q003": 0.0, + "q004": 0.0, + "q005": 0.0, + "q006": 0.0, + "q007": 0.0, + "q008": 0.0, + "q009": 0.0, + "q010": 0.0 + } + } + }, + "negative_cases": { + "faithfulness": { + "mean": 0.0, + "median": 0.0, + "std": 0.0, + "min": 0.0, + "max": 0.0, + "count": 5, + "per_question": { + "q011": 0.0, + "q012": 0.0, + "q013": 0.0, + "q014": 0.0, + "q015": 0.0 + } + }, + "rejection_rate": { + "value": 0.0, + "count": 0, + "total": 5 + } + }, + "overall_score": 0.6094 + } + }, + "comparison": { + "best_performer": { + "context_precision": "zhtv2-text", + "context_recall": "zhtv2-text", + "faithfulness": "zhtv2-text", + "answer_relevance": "zhtv2-text", + "answer_correctness": "zhtv2-text" + }, + "ranking": [ + "zhtv2-text" + ], + "scores": { + "zhtv2-text": 0.6094 + } + }, + "analysis_by_question_type": { + "简单检索": { + "zhtv2-text": 0.7773 + }, + "复杂检索": { + "zhtv2-text": 0.8619 + }, + "多跳检索": { + "zhtv2-text": 0.932 + }, + "模糊查询": { + "zhtv2-text": 0.7106 + }, + "流程类问题": { + "zhtv2-text": 0.957 + }, + "比较/对比类问题": { + "zhtv2-text": 0.7215 + }, + "数值/统计类问题": { + "zhtv2-text": 0.6789 + }, + "异常处理类问题": { + "zhtv2-text": 0.8286 + }, + "政策/规则类问题": { + "zhtv2-text": 0.5617 + }, + "综合/场景类问题": { + "zhtv2-text": 0.5887 + } + } +} \ No newline at end of file diff --git a/data/test_sets/test-single-excel-raw-data.json b/data/test_sets/test-single-excel-raw-data.json new file mode 100644 index 0000000..8139742 --- /dev/null +++ b/data/test_sets/test-single-excel-raw-data.json @@ -0,0 +1,38 @@ +[ + { + "question_id": "q001", + "question": "签约流程是什么?", + "test_type": "简单检索", + "category": "positive", + "timestamp": "2026-01-08 07:20:00", + "logid": "test_log_id_001", + "performance": { + "total_time_ms": 5000, + "first_response_time_ms": 2000, + "knowledge_retrieval_time_ms": 1500, + "total_tokens": 1000 + }, + "answer": "PC端签约流程:在还款申请里面→选择到期还款→选择变更还款计划→提交就可以了。", + "knowledge_retrieval": { + "dataset_id": "test_dataset", + "query": "签约流程是什么?", + "parameters": { + "top_k": 10, + "min_score": 0.5 + }, + "retrieved_slices": [ + { + "index": 0, + "score": 0.95, + "content": "{\"分类\":\"产品知识\",\"答案\":\"PC端签约流程:在还款申请里面→选择到期还款→选择变更还款计划→提交就可以了\",\"问题\":\"签约流程\"}", + "meta": { + "document": { + "id": "test_doc_001" + }, + "slice_id": "test_slice_001" + } + } + ] + } + } +] \ No newline at end of file diff --git a/data/test_sets/test-single-raw-data.json b/data/test_sets/test-single-raw-data.json new file mode 100644 index 0000000..23a3a60 --- /dev/null +++ b/data/test_sets/test-single-raw-data.json @@ -0,0 +1,38 @@ +[ + { + "question_id": "q001", + "question": "签约流程是什么?", + "test_type": "简单检索", + "category": "positive", + "timestamp": "2026-01-08 07:19:28", + "logid": "test_log_id_001", + "performance": { + "total_time_ms": 5000, + "first_response_time_ms": 2000, + "knowledge_retrieval_time_ms": 1500, + "total_tokens": 1000 + }, + "answer": "PC端签约流程:在还款申请里面→选择到期还款→选择变更还款计划→提交就可以了。", + "knowledge_retrieval": { + "dataset_id": "test_dataset", + "query": "签约流程是什么?", + "parameters": { + "top_k": 10, + "min_score": 0.5 + }, + "retrieved_slices": [ + { + "index": 0, + "score": 0.95, + "content": "{\"分类\":\"产品知识\",\"答案\":\"PC端签约流程:在还款申请里面→选择到期还款→选择变更还款计划→提交就可以了\",\"问题\":\"签约流程\"}", + "meta": { + "document": { + "id": "test_doc_001" + }, + "slice_id": "test_slice_001" + } + } + ] + } + } +] \ No newline at end of file