diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 15e03d3..c30bc31 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -14,7 +14,12 @@ "Bash(pip show:*)", "mcp__bocha-mcp__bocha_ai_search", "Bash(git remote add:*)", - "Bash(git push:*)" + "Bash(git push:*)", + "Bash(mkdir:*)", + "Bash(pip install:*)", + "Bash(cat:*)", + "Bash(git restore:*)", + "Bash(ls:*)" ] } } diff --git a/data/results/coze-excel-full-result.json b/data/results/coze-excel-full-result.json new file mode 100644 index 0000000..5c5e1d5 --- /dev/null +++ b/data/results/coze-excel-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T09:42:55.585147", + "answer_correctness_duration": 539.335533 + }, + "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.2796896569063506, + "median": 0.22223149786843527, + "std": 0.26260285107716297, + "min": 0.06382945738894305, + "max": 0.9656318854641881, + "count": 10, + "per_question": { + "q001": 0.9656318854641881, + "q002": 0.2850500392064303, + "q003": 0.22223149786843527, + "q004": 0.06440425871314548, + "q005": 0.39486259254434347, + "q006": 0.06382945738894305, + "q007": 0.43020649681451, + "q008": 0.2192227604293392, + "q009": 0.07995909182295702, + "q010": 0.07149848881121382 + } + } + }, + "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-full-result.json b/data/results/coze-text-full-result.json new file mode 100644 index 0000000..92c3d34 --- /dev/null +++ b/data/results/coze-text-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T09:51:23.155428", + "answer_correctness_duration": 365.911008 + }, + "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.5517730390859238, + "median": 0.7293062835472961, + "std": 0.2999737184168099, + "min": 0.06440425871314548, + "max": 0.9700161752063206, + "count": 10, + "per_question": { + "q001": 0.9700161752063206, + "q002": 0.35909573090343094, + "q003": 0.7293062835472961, + "q004": 0.06440425871314548, + "q005": 0.7774783013652271, + "q006": 0.7518797887909328, + "q007": 0.4235446685561174, + "q008": 0.8473005990853575, + "q009": 0.07995909182295702, + "q010": 0.5147454928684525 + } + } + }, + "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-full-result.json b/data/results/kbs-excel-full-result.json new file mode 100644 index 0000000..ae5a3b2 --- /dev/null +++ b/data/results/kbs-excel-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T09:52:52.988042", + "answer_correctness_duration": 407.303863 + }, + "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.680774637092316, + "median": 0.7810713721349496, + "std": 0.23005764077758462, + "min": 0.18633888760301667, + "max": 0.9574821191572656, + "count": 10, + "per_question": { + "q001": 0.9561492673319882, + "q002": 0.8094366871861555, + "q003": 0.8640944566762254, + "q004": 0.5013579300297915, + "q005": 0.7810713721349496, + "q006": 0.5318999881007362, + "q007": 0.6723945294346573, + "q008": 0.9574821191572656, + "q009": 0.18633888760301667, + "q010": 0.5475211332683747 + } + } + }, + "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_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 deleted file mode 100644 index 60789b4..0000000 --- a/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_093511.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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 deleted file mode 100644 index f218444..0000000 --- a/data/results/kbs-text_parallel_answer_relevance_context_precision_context_recall_faithfulness_20260108_094303.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "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_103106/kbs-text_positive b/data/results/rolling_周四022601_103106/kbs-text_positive new file mode 100644 index 0000000..be7ee92 --- /dev/null +++ b/data/results/rolling_周四022601_103106/kbs-text_positive @@ -0,0 +1,114 @@ +{ + "evaluation_start": "2026-01-08T10:31:10.932868", + "status": "in_progress", + "total_questions": 10, + "completed_questions": 9, + "metrics_used": [ + "context_precision", + "answer_relevance", + "faithfulness", + "context_recall" + ], + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": 1.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": 0.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": 1.0, + "context_recall": 0.0 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "context_precision": 0.0, + "answer_relevance": 0.0, + "faithfulness": NaN, + "context_recall": 0.0 + } + } + ], + "last_updated": "2026-01-08T10:33:10.379960" +} \ No newline at end of file diff --git a/data/results/zht-excel-full-result.json b/data/results/zht-excel-full-result.json new file mode 100644 index 0000000..023040d --- /dev/null +++ b/data/results/zht-excel-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T10:32:53.699480", + "answer_correctness_duration": 399.249746 + }, + "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.4993299595072071, + "median": 0.5290402202833671, + "std": 0.26951012048771683, + "min": 0.05711873023876597, + "max": 0.9468625028272106, + "count": 10, + "per_question": { + "q001": 0.05711873023876597, + "q002": 0.5290402202833671, + "q003": 0.7922339084626175, + "q004": 0.3562881382328705, + "q005": 0.8008709027455033, + "q006": 0.40248336112384586, + "q007": 0.5329319648800588, + "q008": 0.9468625028272106, + "q009": 0.16044725288513578, + "q010": 0.41502261339269597 + } + } + }, + "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-excel_answer_correctness_parallel_20260108_103253.json b/data/results/zht-excel_answer_correctness_parallel_20260108_103253.json new file mode 100644 index 0000000..29cd94b --- /dev/null +++ b/data/results/zht-excel_answer_correctness_parallel_20260108_103253.json @@ -0,0 +1,137 @@ +{ + "system": "zht-excel", + "timestamp": "2026-01-08T10:32:53.699480", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.05711873023876597 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.5290402202833671 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.7922339084626175 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.3562881382328705 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.8008709027455033 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.40248336112384586 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.5329319648800588 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.9468625028272106 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.16044725288513578 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.41502261339269597 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.15563082828274521 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9056308282827452 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 399.249746 +} \ No newline at end of file diff --git a/data/results/zht-text-full-result.json b/data/results/zht-text-full-result.json new file mode 100644 index 0000000..8c3dff7 --- /dev/null +++ b/data/results/zht-text-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T10:02:52.458296", + "answer_correctness_duration": 551.515283 + }, + "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.4187900866338391, + "median": 0.5515656430904265, + "std": 0.285529910588475, + "min": 0.05711873023876597, + "max": 0.7930275798572808, + "count": 10, + "per_question": { + "q001": 0.05711873023876597, + "q002": 0.5515656430904265, + "q003": 0.7930275798572808, + "q004": 0.07104787157644711, + "q005": 0.7640499854018035, + "q006": 0.05711873023876597, + "q007": 0.5853022303298064, + "q008": 0.6140912856005701, + "q009": 0.147595494838628, + "q010": 0.5469833151658968 + } + } + }, + "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/zht-text_answer_correctness_parallel_20260108_100252.json b/data/results/zht-text_answer_correctness_parallel_20260108_100252.json new file mode 100644 index 0000000..f152df9 --- /dev/null +++ b/data/results/zht-text_answer_correctness_parallel_20260108_100252.json @@ -0,0 +1,137 @@ +{ + "system": "zht-text", + "timestamp": "2026-01-08T10:02:52.458296", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.05711873023876597 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.5515656430904265 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.7930275798572808 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.07104787157644711 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.7640499854018035 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.05711873023876597 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.5853022303298064 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.6140912856005701 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.147595494838628 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.5469833151658968 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.15563082828274521 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9056308282827452 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 551.515283 +} \ No newline at end of file diff --git a/data/results/zhtv2-excel-full-result.json b/data/results/zhtv2-excel-full-result.json new file mode 100644 index 0000000..4e0daf2 --- /dev/null +++ b/data/results/zhtv2-excel-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T10:02:53.796819", + "answer_correctness_duration": 542.626996 + }, + "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.6421969301986242, + "median": 0.7246233243172119, + "std": 0.22734424178891635, + "min": 0.15889401274440257, + "max": 0.8917698017300182, + "count": 10, + "per_question": { + "q001": 0.8551514665094984, + "q002": 0.7913022837007757, + "q003": 0.7246233243172119, + "q004": 0.3487754167615967, + "q005": 0.8917698017300182, + "q006": 0.5430421634429639, + "q007": 0.8373972158985639, + "q008": 0.7145290957466354, + "q009": 0.15889401274440257, + "q010": 0.5564845211345757 + } + } + }, + "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-excel_answer_correctness_parallel_20260108_100253.json b/data/results/zhtv2-excel_answer_correctness_parallel_20260108_100253.json new file mode 100644 index 0000000..d5f8c84 --- /dev/null +++ b/data/results/zhtv2-excel_answer_correctness_parallel_20260108_100253.json @@ -0,0 +1,137 @@ +{ + "system": "zhtv2-excel", + "timestamp": "2026-01-08T10:02:53.796819", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.8551514665094984 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.7913022837007757 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.7246233243172119 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.3487754167615967 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.8917698017300182 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.5430421634429639 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.8373972158985639 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.7145290957466354 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.15889401274440257 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.5564845211345757 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.9056308282827452 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.15563082828274521 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9056308282827452 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 542.626996 +} \ No newline at end of file diff --git a/data/results/zhtv2-text-full-result.json b/data/results/zhtv2-text-full-result.json new file mode 100644 index 0000000..8bba342 --- /dev/null +++ b/data/results/zhtv2-text-full-result.json @@ -0,0 +1,200 @@ +{ + "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", + "answer_correctness" + ], + "metrics_disabled": [], + "answer_correctness_merged": true, + "answer_correctness_timestamp": "2026-01-08T10:11:53.028056", + "answer_correctness_duration": 561.520754 + }, + "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.614076420016343, + "median": 0.621717762765173, + "std": 0.26945263992477525, + "min": 0.13151988820238286, + "max": 0.9905337649429962, + "count": 10, + "per_question": { + "q001": 0.9905337649429962, + "q002": 0.4028863048665028, + "q003": 0.9188457801080352, + "q004": 0.3681806147369547, + "q005": 0.8883739763786471, + "q006": 0.46400334566952756, + "q007": 0.5229346894506103, + "q008": 0.8317680730426, + "q009": 0.13151988820238286, + "q010": 0.621717762765173 + } + } + }, + "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/results/zhtv2-text_answer_correctness_parallel_20260108_101153.json b/data/results/zhtv2-text_answer_correctness_parallel_20260108_101153.json new file mode 100644 index 0000000..dd0c4f6 --- /dev/null +++ b/data/results/zhtv2-text_answer_correctness_parallel_20260108_101153.json @@ -0,0 +1,137 @@ +{ + "system": "zhtv2-text", + "timestamp": "2026-01-08T10:11:53.028056", + "metric": "answer_correctness", + "positive_cases": { + "count": 10, + "results": [ + { + "question_id": "q001", + "category": "positive", + "type": "简单检索", + "scores": { + "answer_correctness": 0.9905337649429962 + } + }, + { + "question_id": "q002", + "category": "positive", + "type": "复杂检索", + "scores": { + "answer_correctness": 0.4028863048665028 + } + }, + { + "question_id": "q003", + "category": "positive", + "type": "多跳检索", + "scores": { + "answer_correctness": 0.9188457801080352 + } + }, + { + "question_id": "q004", + "category": "positive", + "type": "模糊查询", + "scores": { + "answer_correctness": 0.3681806147369547 + } + }, + { + "question_id": "q005", + "category": "positive", + "type": "流程类问题", + "scores": { + "answer_correctness": 0.8883739763786471 + } + }, + { + "question_id": "q006", + "category": "positive", + "type": "比较/对比类问题", + "scores": { + "answer_correctness": 0.46400334566952756 + } + }, + { + "question_id": "q007", + "category": "positive", + "type": "数值/统计类问题", + "scores": { + "answer_correctness": 0.5229346894506103 + } + }, + { + "question_id": "q008", + "category": "positive", + "type": "异常处理类问题", + "scores": { + "answer_correctness": 0.8317680730426 + } + }, + { + "question_id": "q009", + "category": "positive", + "type": "政策/规则类问题", + "scores": { + "answer_correctness": 0.13151988820238286 + } + }, + { + "question_id": "q010", + "category": "positive", + "type": "综合/场景类问题", + "scores": { + "answer_correctness": 0.621717762765173 + } + } + ] + }, + "negative_cases": { + "count": 5, + "results": [ + { + "question_id": "q011", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q012", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.9056308282827452 + } + }, + { + "question_id": "q013", + "category": "negative", + "type": "相似但不完全匹配", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q014", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.6556308282827452 + } + }, + { + "question_id": "q015", + "category": "negative", + "type": "完全不相关", + "scores": { + "answer_correctness": 0.9056308282827452 + } + } + ] + }, + "evaluation_mode": "parallel", + "evaluation_duration_seconds": 561.520754 +} \ No newline at end of file