Spaces:
Running
Running
Commit
·
8bc258a
1
Parent(s):
1bd7dcc
🎬 Add replay support for algorithm_sample_0 & algorithm_sample_3
Browse files- backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_0.json +152 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_1.json +117 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_2.json +126 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_0.json +148 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_1.json +90 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_2.json +148 -0
- backend/database/samples/samples_config.json +55 -5
backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_0.json
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_0_window_0.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "California Great America Ticket Analysis System",
|
| 6 |
+
"system_summary": "Initial problem intake where user inquiry about season pass savings (input_001) is received by Verification Expert (agent_002) who establishes the verification task (task_001) for cost analysis.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "input_001",
|
| 10 |
+
"type": "Input",
|
| 11 |
+
"name": "Inquiry about Savings from Season Pass vs Daily Tickets",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 6,
|
| 17 |
+
"line_end": 6
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "agent_002",
|
| 23 |
+
"type": "Agent",
|
| 24 |
+
"name": "Verification Expert",
|
| 25 |
+
"importance": "HIGH",
|
| 26 |
+
"raw_prompt": "",
|
| 27 |
+
"raw_prompt_ref": [
|
| 28 |
+
{
|
| 29 |
+
"line_start": 66,
|
| 30 |
+
"line_end": 66
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"line_start": 112,
|
| 34 |
+
"line_end": 112
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"line_start": 149,
|
| 38 |
+
"line_end": 149
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"line_start": 164,
|
| 42 |
+
"line_end": 164
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"id": "task_001",
|
| 48 |
+
"type": "Task",
|
| 49 |
+
"name": "Verify Cost of Daily Ticket and Season Pass in 2024",
|
| 50 |
+
"importance": "HIGH",
|
| 51 |
+
"raw_prompt": "",
|
| 52 |
+
"raw_prompt_ref": [
|
| 53 |
+
{
|
| 54 |
+
"line_start": 8,
|
| 55 |
+
"line_end": 8
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"line_start": 10,
|
| 59 |
+
"line_end": 10
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"line_start": 11,
|
| 63 |
+
"line_end": 12
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"relations": [
|
| 69 |
+
{
|
| 70 |
+
"id": "relation_001",
|
| 71 |
+
"source": "input_001",
|
| 72 |
+
"target": "agent_002",
|
| 73 |
+
"type": "CONSUMED_BY",
|
| 74 |
+
"importance": "HIGH",
|
| 75 |
+
"interaction_prompt": "",
|
| 76 |
+
"interaction_prompt_ref": [
|
| 77 |
+
{
|
| 78 |
+
"line_start": 6,
|
| 79 |
+
"line_end": 6
|
| 80 |
+
}
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"id": "relation_002",
|
| 85 |
+
"source": "agent_002",
|
| 86 |
+
"target": "task_001",
|
| 87 |
+
"type": "PERFORMS",
|
| 88 |
+
"importance": "HIGH",
|
| 89 |
+
"interaction_prompt": "",
|
| 90 |
+
"interaction_prompt_ref": [
|
| 91 |
+
{
|
| 92 |
+
"line_start": 112,
|
| 93 |
+
"line_end": 112
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"line_start": 164,
|
| 97 |
+
"line_end": 164
|
| 98 |
+
}
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"id": "relation_003",
|
| 103 |
+
"source": "task_001",
|
| 104 |
+
"target": "agent_002",
|
| 105 |
+
"type": "ASSIGNED_TO",
|
| 106 |
+
"importance": "HIGH",
|
| 107 |
+
"interaction_prompt": "",
|
| 108 |
+
"interaction_prompt_ref": [
|
| 109 |
+
{
|
| 110 |
+
"line_start": 8,
|
| 111 |
+
"line_end": 8
|
| 112 |
+
}
|
| 113 |
+
]
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
"failures": [],
|
| 117 |
+
"optimizations": [],
|
| 118 |
+
"metadata": {
|
| 119 |
+
"window_info": {
|
| 120 |
+
"window_index": 0,
|
| 121 |
+
"window_total": 3,
|
| 122 |
+
"window_name": "Problem Intake & Verification Setup",
|
| 123 |
+
"processing_stage": "问题接收与验证设置",
|
| 124 |
+
"trace_id": "algorithm_sample_0",
|
| 125 |
+
"processing_run_id": "sample_replay_algo0",
|
| 126 |
+
"window_start_char": 0,
|
| 127 |
+
"window_end_char": 8000,
|
| 128 |
+
"entity_count": 3,
|
| 129 |
+
"relation_count": 3,
|
| 130 |
+
"failure_count": 0,
|
| 131 |
+
"optimization_count": 0,
|
| 132 |
+
"created_at": "2025-09-01T23:00:30.835144",
|
| 133 |
+
"window_type": "independent_optimized"
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
},
|
| 137 |
+
"extraction_info": {
|
| 138 |
+
"method": "real_ai_extraction",
|
| 139 |
+
"model": "gpt-4o-mini",
|
| 140 |
+
"timestamp": "2025-01-27",
|
| 141 |
+
"api_key_used": "[REDACTED]",
|
| 142 |
+
"no_enhancement": true,
|
| 143 |
+
"source": "multi_agent_knowledge_extractor.py"
|
| 144 |
+
},
|
| 145 |
+
"window_index": 0,
|
| 146 |
+
"window_total": 3,
|
| 147 |
+
"window_start_char": 0,
|
| 148 |
+
"window_end_char": 8000,
|
| 149 |
+
"processing_run_id": "sample_replay_algo0",
|
| 150 |
+
"trace_id": "algorithm_sample_0",
|
| 151 |
+
"is_final": false
|
| 152 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_1.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_0_window_1.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "California Great America Ticket Analysis System",
|
| 6 |
+
"system_summary": "Expert collaboration stage where Problem Solving Expert (agent_001) and Arithmetic Progressions Expert (agent_003) work together with Computer Terminal (agent_004) support to analyze ticket cost calculations.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_001",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Problem Solving Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 17,
|
| 17 |
+
"line_end": 17
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"line_start": 34,
|
| 21 |
+
"line_end": 34
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"line_start": 45,
|
| 25 |
+
"line_end": 45
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"id": "agent_003",
|
| 31 |
+
"type": "Agent",
|
| 32 |
+
"name": "Arithmetic Progressions Expert",
|
| 33 |
+
"importance": "MEDIUM",
|
| 34 |
+
"raw_prompt": "",
|
| 35 |
+
"raw_prompt_ref": [
|
| 36 |
+
{
|
| 37 |
+
"line_start": 172,
|
| 38 |
+
"line_end": 172
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"line_start": 181,
|
| 42 |
+
"line_end": 181
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"id": "agent_004",
|
| 48 |
+
"type": "Tool",
|
| 49 |
+
"name": "Computer Terminal",
|
| 50 |
+
"importance": "LOW",
|
| 51 |
+
"raw_prompt": "Code execution environment and computational terminal for running calculations, scripts, and data processing tasks. Provides computational support to other agents when code execution is required.",
|
| 52 |
+
"raw_prompt_ref": [
|
| 53 |
+
{
|
| 54 |
+
"line_start": 21,
|
| 55 |
+
"line_end": 21
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"line_start": 32,
|
| 59 |
+
"line_end": 32
|
| 60 |
+
}
|
| 61 |
+
]
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"relations": [
|
| 65 |
+
{
|
| 66 |
+
"id": "rel_uses_computer",
|
| 67 |
+
"source": "agent_001",
|
| 68 |
+
"target": "agent_004",
|
| 69 |
+
"type": "USES",
|
| 70 |
+
"importance": "MEDIUM",
|
| 71 |
+
"interaction_prompt": "Agent uses Computer Terminal for computational tasks",
|
| 72 |
+
"interaction_prompt_ref": [
|
| 73 |
+
{
|
| 74 |
+
"line_start": 50,
|
| 75 |
+
"line_end": 55,
|
| 76 |
+
"confidence": 0.8
|
| 77 |
+
}
|
| 78 |
+
]
|
| 79 |
+
}
|
| 80 |
+
],
|
| 81 |
+
"failures": [],
|
| 82 |
+
"optimizations": [],
|
| 83 |
+
"metadata": {
|
| 84 |
+
"window_info": {
|
| 85 |
+
"window_index": 1,
|
| 86 |
+
"window_total": 3,
|
| 87 |
+
"window_name": "Expert Analysis & Computation",
|
| 88 |
+
"processing_stage": "专家分析与计算处理",
|
| 89 |
+
"trace_id": "algorithm_sample_0",
|
| 90 |
+
"processing_run_id": "sample_replay_algo0",
|
| 91 |
+
"window_start_char": 8000,
|
| 92 |
+
"window_end_char": 16000,
|
| 93 |
+
"entity_count": 3,
|
| 94 |
+
"relation_count": 1,
|
| 95 |
+
"failure_count": 0,
|
| 96 |
+
"optimization_count": 0,
|
| 97 |
+
"created_at": "2025-09-01T23:00:30.835586",
|
| 98 |
+
"window_type": "independent_optimized"
|
| 99 |
+
}
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"extraction_info": {
|
| 103 |
+
"method": "real_ai_extraction",
|
| 104 |
+
"model": "gpt-4o-mini",
|
| 105 |
+
"timestamp": "2025-01-27",
|
| 106 |
+
"api_key_used": "[REDACTED]",
|
| 107 |
+
"no_enhancement": true,
|
| 108 |
+
"source": "multi_agent_knowledge_extractor.py"
|
| 109 |
+
},
|
| 110 |
+
"window_index": 1,
|
| 111 |
+
"window_total": 3,
|
| 112 |
+
"window_start_char": 8000,
|
| 113 |
+
"window_end_char": 16000,
|
| 114 |
+
"processing_run_id": "sample_replay_algo0",
|
| 115 |
+
"trace_id": "algorithm_sample_0",
|
| 116 |
+
"is_final": false
|
| 117 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_0_window_2.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_0_window_2.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "California Great America Ticket Analysis System",
|
| 6 |
+
"system_summary": "Final delivery stage where the verification task (task_001) produces the Saved Amount calculation (output_001) which is delivered to the Park Visitor (human_001).",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "task_001",
|
| 10 |
+
"type": "Task",
|
| 11 |
+
"name": "Verify Cost of Daily Ticket and Season Pass in 2024",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 8,
|
| 17 |
+
"line_end": 8
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"line_start": 10,
|
| 21 |
+
"line_end": 10
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"line_start": 11,
|
| 25 |
+
"line_end": 12
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"id": "output_001",
|
| 31 |
+
"type": "Output",
|
| 32 |
+
"name": "Saved Amount from Season Pass Purchase",
|
| 33 |
+
"importance": "HIGH",
|
| 34 |
+
"raw_prompt": "",
|
| 35 |
+
"raw_prompt_ref": [
|
| 36 |
+
{
|
| 37 |
+
"line_start": 119,
|
| 38 |
+
"line_end": 119
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"line_start": 126,
|
| 42 |
+
"line_end": 126
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"id": "human_001",
|
| 48 |
+
"type": "Human",
|
| 49 |
+
"name": "Park Visitor",
|
| 50 |
+
"importance": "HIGH",
|
| 51 |
+
"raw_prompt": "Person inquiring about ticket cost savings for California's Great America visits",
|
| 52 |
+
"raw_prompt_ref": [
|
| 53 |
+
{
|
| 54 |
+
"line_start": 1,
|
| 55 |
+
"line_end": 1
|
| 56 |
+
}
|
| 57 |
+
]
|
| 58 |
+
}
|
| 59 |
+
],
|
| 60 |
+
"relations": [
|
| 61 |
+
{
|
| 62 |
+
"id": "relation_004",
|
| 63 |
+
"source": "task_001",
|
| 64 |
+
"target": "output_001",
|
| 65 |
+
"type": "PRODUCES",
|
| 66 |
+
"importance": "HIGH",
|
| 67 |
+
"interaction_prompt": "",
|
| 68 |
+
"interaction_prompt_ref": [
|
| 69 |
+
{
|
| 70 |
+
"line_start": 119,
|
| 71 |
+
"line_end": 119
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"id": "relation_005",
|
| 77 |
+
"source": "output_001",
|
| 78 |
+
"target": "human_001",
|
| 79 |
+
"type": "DELIVERS_TO",
|
| 80 |
+
"importance": "HIGH",
|
| 81 |
+
"interaction_prompt": "",
|
| 82 |
+
"interaction_prompt_ref": [
|
| 83 |
+
{
|
| 84 |
+
"line_start": 126,
|
| 85 |
+
"line_end": 126
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
| 89 |
+
],
|
| 90 |
+
"failures": [],
|
| 91 |
+
"optimizations": [],
|
| 92 |
+
"metadata": {
|
| 93 |
+
"window_info": {
|
| 94 |
+
"window_index": 2,
|
| 95 |
+
"window_total": 3,
|
| 96 |
+
"window_name": "Result Generation & Delivery",
|
| 97 |
+
"processing_stage": "结果生成与交付",
|
| 98 |
+
"trace_id": "algorithm_sample_0",
|
| 99 |
+
"processing_run_id": "sample_replay_algo0",
|
| 100 |
+
"window_start_char": 16000,
|
| 101 |
+
"window_end_char": 25000,
|
| 102 |
+
"entity_count": 3,
|
| 103 |
+
"relation_count": 2,
|
| 104 |
+
"failure_count": 0,
|
| 105 |
+
"optimization_count": 0,
|
| 106 |
+
"created_at": "2025-09-01T23:00:30.835847",
|
| 107 |
+
"window_type": "independent_optimized"
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
},
|
| 111 |
+
"extraction_info": {
|
| 112 |
+
"method": "real_ai_extraction",
|
| 113 |
+
"model": "gpt-4o-mini",
|
| 114 |
+
"timestamp": "2025-01-27",
|
| 115 |
+
"api_key_used": "[REDACTED]",
|
| 116 |
+
"no_enhancement": true,
|
| 117 |
+
"source": "multi_agent_knowledge_extractor.py"
|
| 118 |
+
},
|
| 119 |
+
"window_index": 2,
|
| 120 |
+
"window_total": 3,
|
| 121 |
+
"window_start_char": 16000,
|
| 122 |
+
"window_end_char": 25000,
|
| 123 |
+
"processing_run_id": "sample_replay_algo0",
|
| 124 |
+
"trace_id": "algorithm_sample_0",
|
| 125 |
+
"is_final": false
|
| 126 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_0.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_3_window_0.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Probability Game Theory Analysis System",
|
| 6 |
+
"system_summary": "Probability analysis stage where Game Theory Riddle Query (input_001) is processed by Probability Expert (agent_001) who performs Statistical Analysis and Probability Calculations (task_001) with Computer Terminal (agent_004) support.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "input_001",
|
| 10 |
+
"type": "Input",
|
| 11 |
+
"name": "Game Theory Riddle Query",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Complex riddle involving probability, game theory, and potentially chemistry-related scenarios requiring interdisciplinary analysis.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 1,
|
| 17 |
+
"line_end": 5,
|
| 18 |
+
"confidence": 0.98
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "agent_001",
|
| 24 |
+
"type": "Agent",
|
| 25 |
+
"name": "Probability Expert",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Specialist in probability theory, statistical analysis, and game theory. Handles complex probability calculations, scenario modeling, and risk assessment for game-based problems.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 20,
|
| 31 |
+
"line_end": 35,
|
| 32 |
+
"confidence": 0.96
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "task_001",
|
| 38 |
+
"type": "Task",
|
| 39 |
+
"name": "Statistical Analysis and Probability Calculations",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Perform complex probability calculations, statistical modeling, and game theory analysis for the riddle scenario.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 10,
|
| 45 |
+
"line_end": 20,
|
| 46 |
+
"confidence": 0.97
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "agent_004",
|
| 52 |
+
"type": "Tool",
|
| 53 |
+
"name": "Computer Terminal",
|
| 54 |
+
"importance": "MEDIUM",
|
| 55 |
+
"raw_prompt": "Code execution environment and computational terminal for running calculations, scripts, and data processing tasks. Provides computational support to other agents when code execution is required.",
|
| 56 |
+
"raw_prompt_ref": [
|
| 57 |
+
{
|
| 58 |
+
"line_start": 95,
|
| 59 |
+
"line_end": 100,
|
| 60 |
+
"confidence": 0.82
|
| 61 |
+
}
|
| 62 |
+
]
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"relations": [
|
| 66 |
+
{
|
| 67 |
+
"id": "rel_001",
|
| 68 |
+
"source": "input_001",
|
| 69 |
+
"target": "agent_001",
|
| 70 |
+
"type": "CONSUMED_BY",
|
| 71 |
+
"importance": "HIGH",
|
| 72 |
+
"interaction_prompt": "Game theory riddle consumed by Probability Expert for analysis",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 5,
|
| 76 |
+
"line_end": 10,
|
| 77 |
+
"confidence": 0.96
|
| 78 |
+
}
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"id": "rel_002",
|
| 83 |
+
"source": "agent_001",
|
| 84 |
+
"target": "task_001",
|
| 85 |
+
"type": "PERFORMS",
|
| 86 |
+
"importance": "HIGH",
|
| 87 |
+
"interaction_prompt": "Probability Expert performs statistical analysis and calculations",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 20,
|
| 91 |
+
"line_end": 35,
|
| 92 |
+
"confidence": 0.93
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"id": "rel_uses_computer",
|
| 98 |
+
"source": "agent_001",
|
| 99 |
+
"target": "agent_004",
|
| 100 |
+
"type": "USES",
|
| 101 |
+
"importance": "MEDIUM",
|
| 102 |
+
"interaction_prompt": "Agent uses Computer Terminal for computational tasks",
|
| 103 |
+
"interaction_prompt_ref": [
|
| 104 |
+
{
|
| 105 |
+
"line_start": 50,
|
| 106 |
+
"line_end": 55,
|
| 107 |
+
"confidence": 0.8
|
| 108 |
+
}
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"failures": [],
|
| 113 |
+
"optimizations": [],
|
| 114 |
+
"metadata": {
|
| 115 |
+
"window_info": {
|
| 116 |
+
"window_index": 0,
|
| 117 |
+
"window_total": 3,
|
| 118 |
+
"window_name": "Probability Analysis & Statistics",
|
| 119 |
+
"processing_stage": "概率分析与统计计算",
|
| 120 |
+
"trace_id": "algorithm_sample_3",
|
| 121 |
+
"processing_run_id": "sample_replay_algo3",
|
| 122 |
+
"window_start_char": 0,
|
| 123 |
+
"window_end_char": 9000,
|
| 124 |
+
"entity_count": 4,
|
| 125 |
+
"relation_count": 3,
|
| 126 |
+
"failure_count": 0,
|
| 127 |
+
"optimization_count": 0,
|
| 128 |
+
"created_at": "2025-09-01T23:02:05.422807",
|
| 129 |
+
"window_type": "independent_optimized"
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
"extraction_info": {
|
| 134 |
+
"method": "enhanced_mock_creation",
|
| 135 |
+
"model": "human_designed",
|
| 136 |
+
"timestamp": "2025-01-27",
|
| 137 |
+
"api_key_used": "[REDACTED]",
|
| 138 |
+
"no_enhancement": false,
|
| 139 |
+
"source": "manual_design_for_demo"
|
| 140 |
+
},
|
| 141 |
+
"window_index": 0,
|
| 142 |
+
"window_total": 3,
|
| 143 |
+
"window_start_char": 0,
|
| 144 |
+
"window_end_char": 9000,
|
| 145 |
+
"processing_run_id": "sample_replay_algo3",
|
| 146 |
+
"trace_id": "algorithm_sample_3",
|
| 147 |
+
"is_final": false
|
| 148 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_1.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_3_window_1.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Probability Game Theory Analysis System",
|
| 6 |
+
"system_summary": "Chemical modeling stage where Theoretical Chemistry Expert (agent_002) independently performs Chemical Process Modeling (task_002) to analyze chemical aspects of the game theory problem.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_002",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Theoretical Chemistry Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Expert in theoretical chemistry, molecular modeling, and chemical process simulation. Provides specialized knowledge for chemistry-related aspects of complex problems.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 45,
|
| 17 |
+
"line_end": 60,
|
| 18 |
+
"confidence": 0.93
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_002",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Chemical Process Modeling",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Apply theoretical chemistry principles and molecular modeling to relevant aspects of the probability game scenario.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 40,
|
| 31 |
+
"line_end": 50,
|
| 32 |
+
"confidence": 0.91
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"relations": [
|
| 38 |
+
{
|
| 39 |
+
"id": "rel_003",
|
| 40 |
+
"source": "agent_002",
|
| 41 |
+
"target": "task_002",
|
| 42 |
+
"type": "PERFORMS",
|
| 43 |
+
"importance": "HIGH",
|
| 44 |
+
"interaction_prompt": "Theoretical Chemistry Expert performs chemical process modeling",
|
| 45 |
+
"interaction_prompt_ref": [
|
| 46 |
+
{
|
| 47 |
+
"line_start": 45,
|
| 48 |
+
"line_end": 60,
|
| 49 |
+
"confidence": 0.9
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
}
|
| 53 |
+
],
|
| 54 |
+
"failures": [],
|
| 55 |
+
"optimizations": [],
|
| 56 |
+
"metadata": {
|
| 57 |
+
"window_info": {
|
| 58 |
+
"window_index": 1,
|
| 59 |
+
"window_total": 3,
|
| 60 |
+
"window_name": "Chemical Process Modeling",
|
| 61 |
+
"processing_stage": "化学过程建模",
|
| 62 |
+
"trace_id": "algorithm_sample_3",
|
| 63 |
+
"processing_run_id": "sample_replay_algo3",
|
| 64 |
+
"window_start_char": 9000,
|
| 65 |
+
"window_end_char": 18000,
|
| 66 |
+
"entity_count": 2,
|
| 67 |
+
"relation_count": 1,
|
| 68 |
+
"failure_count": 0,
|
| 69 |
+
"optimization_count": 0,
|
| 70 |
+
"created_at": "2025-09-01T23:02:05.423246",
|
| 71 |
+
"window_type": "independent_optimized"
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"extraction_info": {
|
| 76 |
+
"method": "enhanced_mock_creation",
|
| 77 |
+
"model": "human_designed",
|
| 78 |
+
"timestamp": "2025-01-27",
|
| 79 |
+
"api_key_used": "[REDACTED]",
|
| 80 |
+
"no_enhancement": false,
|
| 81 |
+
"source": "manual_design_for_demo"
|
| 82 |
+
},
|
| 83 |
+
"window_index": 1,
|
| 84 |
+
"window_total": 3,
|
| 85 |
+
"window_start_char": 9000,
|
| 86 |
+
"window_end_char": 18000,
|
| 87 |
+
"processing_run_id": "sample_replay_algo3",
|
| 88 |
+
"trace_id": "algorithm_sample_3",
|
| 89 |
+
"is_final": false
|
| 90 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_3_window_2.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_3_window_2.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Probability Game Theory Analysis System",
|
| 6 |
+
"system_summary": "Final verification and delivery stage where Verification Expert (agent_003) performs Solution Validation and Cross-verification (task_003), produces Validated Probability Solutions (output_001), and delivers to Game Participant (human_001).",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_003",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Verification Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Responsible for solution validation, cross-verification of results, and ensuring accuracy across interdisciplinary calculations and theoretical models.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 70,
|
| 17 |
+
"line_end": 85,
|
| 18 |
+
"confidence": 0.89
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_003",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Solution Validation and Cross-verification",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Validate results from probability and chemistry experts, ensure interdisciplinary consistency, and verify final solutions.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 65,
|
| 31 |
+
"line_end": 75,
|
| 32 |
+
"confidence": 0.88
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "output_001",
|
| 38 |
+
"type": "Output",
|
| 39 |
+
"name": "Validated Probability Solutions",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Comprehensive solution with probability calculations, theoretical backing, and cross-domain validation.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 110,
|
| 45 |
+
"line_end": 115,
|
| 46 |
+
"confidence": 0.94
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "human_001",
|
| 52 |
+
"type": "Human",
|
| 53 |
+
"name": "Game Participant",
|
| 54 |
+
"importance": "HIGH",
|
| 55 |
+
"raw_prompt": "Person seeking solution to complex probability-based riddle or game theory problem.",
|
| 56 |
+
"raw_prompt_ref": [
|
| 57 |
+
{
|
| 58 |
+
"line_start": 1,
|
| 59 |
+
"line_end": 1,
|
| 60 |
+
"confidence": 0.95
|
| 61 |
+
}
|
| 62 |
+
]
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"relations": [
|
| 66 |
+
{
|
| 67 |
+
"id": "rel_004",
|
| 68 |
+
"source": "agent_003",
|
| 69 |
+
"target": "task_003",
|
| 70 |
+
"type": "PERFORMS",
|
| 71 |
+
"importance": "HIGH",
|
| 72 |
+
"interaction_prompt": "Verification Expert performs solution validation",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 70,
|
| 76 |
+
"line_end": 85,
|
| 77 |
+
"confidence": 0.87
|
| 78 |
+
}
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"id": "rel_007",
|
| 83 |
+
"source": "task_003",
|
| 84 |
+
"target": "output_001",
|
| 85 |
+
"type": "PRODUCES",
|
| 86 |
+
"importance": "HIGH",
|
| 87 |
+
"interaction_prompt": "Validation process produces final verified solutions",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 110,
|
| 91 |
+
"line_end": 115,
|
| 92 |
+
"confidence": 0.92
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"id": "rel_008",
|
| 98 |
+
"source": "output_001",
|
| 99 |
+
"target": "human_001",
|
| 100 |
+
"type": "DELIVERS_TO",
|
| 101 |
+
"importance": "HIGH",
|
| 102 |
+
"interaction_prompt": "Validated solutions delivered to game participant",
|
| 103 |
+
"interaction_prompt_ref": [
|
| 104 |
+
{
|
| 105 |
+
"line_start": 115,
|
| 106 |
+
"line_end": 120,
|
| 107 |
+
"confidence": 0.94
|
| 108 |
+
}
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"failures": [],
|
| 113 |
+
"optimizations": [],
|
| 114 |
+
"metadata": {
|
| 115 |
+
"window_info": {
|
| 116 |
+
"window_index": 2,
|
| 117 |
+
"window_total": 3,
|
| 118 |
+
"window_name": "Verification & Solution Delivery",
|
| 119 |
+
"processing_stage": "验证与解决方案交付",
|
| 120 |
+
"trace_id": "algorithm_sample_3",
|
| 121 |
+
"processing_run_id": "sample_replay_algo3",
|
| 122 |
+
"window_start_char": 18000,
|
| 123 |
+
"window_end_char": 27000,
|
| 124 |
+
"entity_count": 4,
|
| 125 |
+
"relation_count": 3,
|
| 126 |
+
"failure_count": 0,
|
| 127 |
+
"optimization_count": 0,
|
| 128 |
+
"created_at": "2025-09-01T23:02:05.423537",
|
| 129 |
+
"window_type": "independent_optimized"
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
"extraction_info": {
|
| 134 |
+
"method": "enhanced_mock_creation",
|
| 135 |
+
"model": "human_designed",
|
| 136 |
+
"timestamp": "2025-01-27",
|
| 137 |
+
"api_key_used": "[REDACTED]",
|
| 138 |
+
"no_enhancement": false,
|
| 139 |
+
"source": "manual_design_for_demo"
|
| 140 |
+
},
|
| 141 |
+
"window_index": 2,
|
| 142 |
+
"window_total": 3,
|
| 143 |
+
"window_start_char": 18000,
|
| 144 |
+
"window_end_char": 27000,
|
| 145 |
+
"processing_run_id": "sample_replay_algo3",
|
| 146 |
+
"trace_id": "algorithm_sample_3",
|
| 147 |
+
"is_final": false
|
| 148 |
+
}
|
backend/database/samples/samples_config.json
CHANGED
|
@@ -47,8 +47,33 @@
|
|
| 47 |
"complex_reasoning",
|
| 48 |
"agent_coordination",
|
| 49 |
"verification_patterns",
|
| 50 |
-
"optimization_recommendations"
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"id": "algorithm_sample_1",
|
|
@@ -135,8 +160,33 @@
|
|
| 135 |
"simulation_implementation",
|
| 136 |
"interdisciplinary_validation",
|
| 137 |
"execution_error_analysis",
|
| 138 |
-
"tool_enhancement_recommendations"
|
| 139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
},
|
| 141 |
{
|
| 142 |
"id": "algorithm_sample_14",
|
|
@@ -200,7 +250,7 @@
|
|
| 200 |
}
|
| 201 |
],
|
| 202 |
"metadata": {
|
| 203 |
-
"version": "2.
|
| 204 |
"created": "2025-01-27",
|
| 205 |
"updated": "2025-01-27",
|
| 206 |
"description": "Comprehensive AgentGraph sample data showcasing diverse multi-agent interactions across multiple domains including location services, probability theory, academic research, and ecological data analysis"
|
|
|
|
| 47 |
"complex_reasoning",
|
| 48 |
"agent_coordination",
|
| 49 |
"verification_patterns",
|
| 50 |
+
"optimization_recommendations",
|
| 51 |
+
"temporal_replay",
|
| 52 |
+
"independent_window_analysis",
|
| 53 |
+
"multi_expert_collaboration"
|
| 54 |
+
],
|
| 55 |
+
"supports_replay": true,
|
| 56 |
+
"window_info": {
|
| 57 |
+
"window_count": 3,
|
| 58 |
+
"processing_run_id": "sample_replay_algo0",
|
| 59 |
+
"window_files": [
|
| 60 |
+
"knowledge_graphs/kg_algorithm_sample_0_window_0.json",
|
| 61 |
+
"knowledge_graphs/kg_algorithm_sample_0_window_1.json",
|
| 62 |
+
"knowledge_graphs/kg_algorithm_sample_0_window_2.json"
|
| 63 |
+
],
|
| 64 |
+
"progression_stages": [
|
| 65 |
+
"Problem Intake & Verification Setup",
|
| 66 |
+
"Expert Analysis & Computation",
|
| 67 |
+
"Result Generation & Delivery"
|
| 68 |
+
],
|
| 69 |
+
"stage_descriptions": [
|
| 70 |
+
"用户提交票务查询,验证专家接收并建立验证任务",
|
| 71 |
+
"问题解决专家和算数专家协作,计算机终端提供技术支持",
|
| 72 |
+
"任务完成,生成计算结果并交付给公园访客"
|
| 73 |
+
],
|
| 74 |
+
"window_mode": "independent",
|
| 75 |
+
"window_description": "展示多专家协作的票务成本分析流程,每个窗口代表不同的处理阶段"
|
| 76 |
+
}
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"id": "algorithm_sample_1",
|
|
|
|
| 160 |
"simulation_implementation",
|
| 161 |
"interdisciplinary_validation",
|
| 162 |
"execution_error_analysis",
|
| 163 |
+
"tool_enhancement_recommendations",
|
| 164 |
+
"temporal_replay",
|
| 165 |
+
"independent_window_analysis",
|
| 166 |
+
"multi_disciplinary_analysis"
|
| 167 |
+
],
|
| 168 |
+
"supports_replay": true,
|
| 169 |
+
"window_info": {
|
| 170 |
+
"window_count": 3,
|
| 171 |
+
"processing_run_id": "sample_replay_algo3",
|
| 172 |
+
"window_files": [
|
| 173 |
+
"knowledge_graphs/kg_algorithm_sample_3_window_0.json",
|
| 174 |
+
"knowledge_graphs/kg_algorithm_sample_3_window_1.json",
|
| 175 |
+
"knowledge_graphs/kg_algorithm_sample_3_window_2.json"
|
| 176 |
+
],
|
| 177 |
+
"progression_stages": [
|
| 178 |
+
"Probability Analysis & Statistics",
|
| 179 |
+
"Chemical Process Modeling",
|
| 180 |
+
"Verification & Solution Delivery"
|
| 181 |
+
],
|
| 182 |
+
"stage_descriptions": [
|
| 183 |
+
"概率专家接收博弈理论查询,进行统计分析和概率计算",
|
| 184 |
+
"理论化学专家独立进行化学过程建模分析",
|
| 185 |
+
"验证专家进行解决方案验证并向游戏参与者交付最终结果"
|
| 186 |
+
],
|
| 187 |
+
"window_mode": "independent",
|
| 188 |
+
"window_description": "展示概率博弈理论的多专业分析流程,每个窗口聚焦不同专业领域"
|
| 189 |
+
}
|
| 190 |
},
|
| 191 |
{
|
| 192 |
"id": "algorithm_sample_14",
|
|
|
|
| 250 |
}
|
| 251 |
],
|
| 252 |
"metadata": {
|
| 253 |
+
"version": "2.3.0",
|
| 254 |
"created": "2025-01-27",
|
| 255 |
"updated": "2025-01-27",
|
| 256 |
"description": "Comprehensive AgentGraph sample data showcasing diverse multi-agent interactions across multiple domains including location services, probability theory, academic research, and ecological data analysis"
|