Spaces:
Running
Running
Commit
·
fa963b0
1
Parent(s):
8bc258a
🎬 Complete replay support for all algorithm samples (14 & 16)
Browse files- backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_0.json +144 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_1.json +86 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_2.json +144 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_0.json +144 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_1.json +86 -0
- backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_2.json +144 -0
- backend/database/samples/samples_config.json +55 -5
backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_0.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_14_window_0.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Academic Literature Research System",
|
| 6 |
+
"system_summary": "This scholarly research system specializes in academic literature analysis combining literary expertise with specialized mythological knowledge. The process begins with an `Academic Research Query` (input_001) about Emily Midkiff's publication, processed by the `Literary Analysis Expert` (agent_001) who performs `Scholarly Article Investigation` (task_001). The `Norse Mythology Expert` (agent_002) contributes specialized knowledge through `Mythological Reference Analysis` (task_002), while the `Verification Expert` (agent_003) handles `Academic Source Validation` (task_003). The `Computer Terminal` (agent_004) provides research tools and database access. The system produces `Comprehensive Literature Analysis` (output_001) delivered to the `Academic Researcher` (human_001), demonstrating interdisciplinary scholarly collaboration.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "input_001",
|
| 10 |
+
"type": "Input",
|
| 11 |
+
"name": "Academic Research Query",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Research query about Emily Midkiff's academic publication with Norse mythological connections and journal identification requirements.",
|
| 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": "Literary Analysis Expert",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Specialist in literary analysis, academic writing, and scholarly publication research. Expert in analyzing academic papers, identifying key themes, and conducting literature reviews.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 15,
|
| 31 |
+
"line_end": 30,
|
| 32 |
+
"confidence": 0.95
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "task_001",
|
| 38 |
+
"type": "Task",
|
| 39 |
+
"name": "Scholarly Article Investigation",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Investigate Emily Midkiff's June 2014 article, analyze its content, and identify key academic contributions and methodologies.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 5,
|
| 45 |
+
"line_end": 15,
|
| 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": 90,
|
| 59 |
+
"line_end": 95,
|
| 60 |
+
"confidence": 0.84
|
| 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": "Academic research query consumed by Literary Analysis Expert",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 5,
|
| 76 |
+
"line_end": 10,
|
| 77 |
+
"confidence": 0.95
|
| 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": "Literary Analysis Expert performs scholarly article investigation",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 15,
|
| 91 |
+
"line_end": 30,
|
| 92 |
+
"confidence": 0.92
|
| 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": "Literature Investigation",
|
| 119 |
+
"processing_stage": "文献调研",
|
| 120 |
+
"trace_id": "algorithm_sample_14",
|
| 121 |
+
"processing_run_id": "sample_replay_algo14",
|
| 122 |
+
"entity_count": 4,
|
| 123 |
+
"relation_count": 3,
|
| 124 |
+
"failure_count": 0,
|
| 125 |
+
"optimization_count": 0,
|
| 126 |
+
"created_at": "2025-09-01T23:03:54.816221",
|
| 127 |
+
"window_type": "independent_optimized"
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"extraction_info": {
|
| 132 |
+
"method": "enhanced_mock_creation",
|
| 133 |
+
"model": "human_designed",
|
| 134 |
+
"timestamp": "2025-01-27",
|
| 135 |
+
"api_key_used": "[REDACTED]",
|
| 136 |
+
"no_enhancement": false,
|
| 137 |
+
"source": "manual_design_for_demo"
|
| 138 |
+
},
|
| 139 |
+
"window_index": 0,
|
| 140 |
+
"window_total": 3,
|
| 141 |
+
"processing_run_id": "sample_replay_algo14",
|
| 142 |
+
"trace_id": "algorithm_sample_14",
|
| 143 |
+
"is_final": false
|
| 144 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_1.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_14_window_1.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Academic Literature Research System",
|
| 6 |
+
"system_summary": "This scholarly research system specializes in academic literature analysis combining literary expertise with specialized mythological knowledge. The process begins with an `Academic Research Query` (input_001) about Emily Midkiff's publication, processed by the `Literary Analysis Expert` (agent_001) who performs `Scholarly Article Investigation` (task_001). The `Norse Mythology Expert` (agent_002) contributes specialized knowledge through `Mythological Reference Analysis` (task_002), while the `Verification Expert` (agent_003) handles `Academic Source Validation` (task_003). The `Computer Terminal` (agent_004) provides research tools and database access. The system produces `Comprehensive Literature Analysis` (output_001) delivered to the `Academic Researcher` (human_001), demonstrating interdisciplinary scholarly collaboration.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_002",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Norse Mythology Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Expert in Norse mythology, Scandinavian folklore, and mythological references. Specialized knowledge of characters like Hreidmar's sons and mythological narratives.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 40,
|
| 17 |
+
"line_end": 55,
|
| 18 |
+
"confidence": 0.92
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_002",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Mythological Reference Analysis",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Analyze Norse mythological references, particularly regarding Hreidmar's sons, and provide cultural and literary context.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 30,
|
| 31 |
+
"line_end": 45,
|
| 32 |
+
"confidence": 0.93
|
| 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": "Norse Mythology Expert performs mythological reference analysis",
|
| 45 |
+
"interaction_prompt_ref": [
|
| 46 |
+
{
|
| 47 |
+
"line_start": 40,
|
| 48 |
+
"line_end": 55,
|
| 49 |
+
"confidence": 0.89
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
}
|
| 53 |
+
],
|
| 54 |
+
"failures": [],
|
| 55 |
+
"optimizations": [],
|
| 56 |
+
"metadata": {
|
| 57 |
+
"window_info": {
|
| 58 |
+
"window_index": 1,
|
| 59 |
+
"window_total": 3,
|
| 60 |
+
"window_name": "Mythological Analysis",
|
| 61 |
+
"processing_stage": "神话学分析",
|
| 62 |
+
"trace_id": "algorithm_sample_14",
|
| 63 |
+
"processing_run_id": "sample_replay_algo14",
|
| 64 |
+
"entity_count": 2,
|
| 65 |
+
"relation_count": 1,
|
| 66 |
+
"failure_count": 0,
|
| 67 |
+
"optimization_count": 0,
|
| 68 |
+
"created_at": "2025-09-01T23:03:54.816673",
|
| 69 |
+
"window_type": "independent_optimized"
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
"extraction_info": {
|
| 74 |
+
"method": "enhanced_mock_creation",
|
| 75 |
+
"model": "human_designed",
|
| 76 |
+
"timestamp": "2025-01-27",
|
| 77 |
+
"api_key_used": "[REDACTED]",
|
| 78 |
+
"no_enhancement": false,
|
| 79 |
+
"source": "manual_design_for_demo"
|
| 80 |
+
},
|
| 81 |
+
"window_index": 1,
|
| 82 |
+
"window_total": 3,
|
| 83 |
+
"processing_run_id": "sample_replay_algo14",
|
| 84 |
+
"trace_id": "algorithm_sample_14",
|
| 85 |
+
"is_final": false
|
| 86 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_14_window_2.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_14_window_2.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Academic Literature Research System",
|
| 6 |
+
"system_summary": "This scholarly research system specializes in academic literature analysis combining literary expertise with specialized mythological knowledge. The process begins with an `Academic Research Query` (input_001) about Emily Midkiff's publication, processed by the `Literary Analysis Expert` (agent_001) who performs `Scholarly Article Investigation` (task_001). The `Norse Mythology Expert` (agent_002) contributes specialized knowledge through `Mythological Reference Analysis` (task_002), while the `Verification Expert` (agent_003) handles `Academic Source Validation` (task_003). The `Computer Terminal` (agent_004) provides research tools and database access. The system produces `Comprehensive Literature Analysis` (output_001) delivered to the `Academic Researcher` (human_001), demonstrating interdisciplinary scholarly collaboration.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_003",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Verification Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Responsible for validating academic sources, cross-referencing citations, and ensuring scholarly accuracy across multiple research domains.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 65,
|
| 17 |
+
"line_end": 80,
|
| 18 |
+
"confidence": 0.88
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_003",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Academic Source Validation",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Validate academic sources, verify publication details, and ensure accuracy of scholarly references and citations.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 55,
|
| 31 |
+
"line_end": 70,
|
| 32 |
+
"confidence": 0.89
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "output_001",
|
| 38 |
+
"type": "Output",
|
| 39 |
+
"name": "Comprehensive Literature Analysis",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Detailed academic analysis combining literary scholarship and mythological expertise with validated sources and cross-references.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 105,
|
| 45 |
+
"line_end": 110,
|
| 46 |
+
"confidence": 0.94
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "human_001",
|
| 52 |
+
"type": "Human",
|
| 53 |
+
"name": "Academic Researcher",
|
| 54 |
+
"importance": "HIGH",
|
| 55 |
+
"raw_prompt": "Scholar seeking detailed information about specific academic publications and their mythological or literary connections.",
|
| 56 |
+
"raw_prompt_ref": [
|
| 57 |
+
{
|
| 58 |
+
"line_start": 1,
|
| 59 |
+
"line_end": 1,
|
| 60 |
+
"confidence": 0.96
|
| 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 academic source validation",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 65,
|
| 76 |
+
"line_end": 80,
|
| 77 |
+
"confidence": 0.86
|
| 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 comprehensive literature analysis",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 105,
|
| 91 |
+
"line_end": 110,
|
| 92 |
+
"confidence": 0.91
|
| 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": "Literature analysis delivered to academic researcher",
|
| 103 |
+
"interaction_prompt_ref": [
|
| 104 |
+
{
|
| 105 |
+
"line_start": 110,
|
| 106 |
+
"line_end": 115,
|
| 107 |
+
"confidence": 0.93
|
| 108 |
+
}
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"failures": [],
|
| 113 |
+
"optimizations": [],
|
| 114 |
+
"metadata": {
|
| 115 |
+
"window_info": {
|
| 116 |
+
"window_index": 2,
|
| 117 |
+
"window_total": 3,
|
| 118 |
+
"window_name": "Academic Validation",
|
| 119 |
+
"processing_stage": "学术验证",
|
| 120 |
+
"trace_id": "algorithm_sample_14",
|
| 121 |
+
"processing_run_id": "sample_replay_algo14",
|
| 122 |
+
"entity_count": 4,
|
| 123 |
+
"relation_count": 3,
|
| 124 |
+
"failure_count": 0,
|
| 125 |
+
"optimization_count": 0,
|
| 126 |
+
"created_at": "2025-09-01T23:03:54.816963",
|
| 127 |
+
"window_type": "independent_optimized"
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"extraction_info": {
|
| 132 |
+
"method": "enhanced_mock_creation",
|
| 133 |
+
"model": "human_designed",
|
| 134 |
+
"timestamp": "2025-01-27",
|
| 135 |
+
"api_key_used": "[REDACTED]",
|
| 136 |
+
"no_enhancement": false,
|
| 137 |
+
"source": "manual_design_for_demo"
|
| 138 |
+
},
|
| 139 |
+
"window_index": 2,
|
| 140 |
+
"window_total": 3,
|
| 141 |
+
"processing_run_id": "sample_replay_algo14",
|
| 142 |
+
"trace_id": "algorithm_sample_14",
|
| 143 |
+
"is_final": false
|
| 144 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_0.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_16_window_0.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Wildlife Data Analysis and Ecological Monitoring System",
|
| 6 |
+
"system_summary": "This comprehensive ecological data analysis system specializes in processing government wildlife datasets and invasive species monitoring. The workflow begins with an `Invasive Species Data Request` (input_001) regarding Florida crocodile populations, processed by the `Data Analysis Expert` (agent_001) who performs `Government Dataset Processing` (task_001). The `Statistical Analysis Expert` (agent_002) conducts `Population Statistics Calculation` (task_002), while the `Data Verification Expert` (agent_003) handles `Ecological Data Validation` (task_003). The `Computer Terminal` (agent_004) provides data processing and analytical tools. The system produces `Validated Ecological Statistics` (output_001) delivered to the `Wildlife Researcher` (human_001), demonstrating the application of data science in ecological research and conservation efforts.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "input_001",
|
| 10 |
+
"type": "Input",
|
| 11 |
+
"name": "Invasive Species Data Request",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Research query about nonindigenous crocodile populations in Florida over a 20-year period requiring government dataset 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": "Data Analysis Expert",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Specialist in large-scale data analysis, government dataset processing, and ecological data interpretation. Expert in handling USGS datasets and wildlife monitoring data.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 18,
|
| 31 |
+
"line_end": 35,
|
| 32 |
+
"confidence": 0.94
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "task_001",
|
| 38 |
+
"type": "Task",
|
| 39 |
+
"name": "Government Dataset Processing",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Process USGS and government wildlife datasets, extract Florida crocodile data from 2000-2020, and prepare data for statistical analysis.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 8,
|
| 45 |
+
"line_end": 18,
|
| 46 |
+
"confidence": 0.96
|
| 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.83
|
| 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": "Invasive species data request consumed by Data Analysis Expert",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 5,
|
| 76 |
+
"line_end": 10,
|
| 77 |
+
"confidence": 0.94
|
| 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": "Data Analysis Expert performs government dataset processing",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 18,
|
| 91 |
+
"line_end": 35,
|
| 92 |
+
"confidence": 0.91
|
| 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": "Data Processing",
|
| 119 |
+
"processing_stage": "数据处理",
|
| 120 |
+
"trace_id": "algorithm_sample_16",
|
| 121 |
+
"processing_run_id": "sample_replay_algo16",
|
| 122 |
+
"entity_count": 4,
|
| 123 |
+
"relation_count": 3,
|
| 124 |
+
"failure_count": 0,
|
| 125 |
+
"optimization_count": 0,
|
| 126 |
+
"created_at": "2025-09-01T23:03:54.817470",
|
| 127 |
+
"window_type": "independent_optimized"
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"extraction_info": {
|
| 132 |
+
"method": "enhanced_mock_creation",
|
| 133 |
+
"model": "human_designed",
|
| 134 |
+
"timestamp": "2025-01-27",
|
| 135 |
+
"api_key_used": "[REDACTED]",
|
| 136 |
+
"no_enhancement": false,
|
| 137 |
+
"source": "manual_design_for_demo"
|
| 138 |
+
},
|
| 139 |
+
"window_index": 0,
|
| 140 |
+
"window_total": 3,
|
| 141 |
+
"processing_run_id": "sample_replay_algo16",
|
| 142 |
+
"trace_id": "algorithm_sample_16",
|
| 143 |
+
"is_final": false
|
| 144 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_1.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_16_window_1.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Wildlife Data Analysis and Ecological Monitoring System",
|
| 6 |
+
"system_summary": "This comprehensive ecological data analysis system specializes in processing government wildlife datasets and invasive species monitoring. The workflow begins with an `Invasive Species Data Request` (input_001) regarding Florida crocodile populations, processed by the `Data Analysis Expert` (agent_001) who performs `Government Dataset Processing` (task_001). The `Statistical Analysis Expert` (agent_002) conducts `Population Statistics Calculation` (task_002), while the `Data Verification Expert` (agent_003) handles `Ecological Data Validation` (task_003). The `Computer Terminal` (agent_004) provides data processing and analytical tools. The system produces `Validated Ecological Statistics` (output_001) delivered to the `Wildlife Researcher` (human_001), demonstrating the application of data science in ecological research and conservation efforts.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_002",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Statistical Analysis Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Expert in statistical methods for ecological data, population analysis, and trend detection in wildlife datasets. Specialized in time-series analysis and population dynamics.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 45,
|
| 17 |
+
"line_end": 60,
|
| 18 |
+
"confidence": 0.91
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_002",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Population Statistics Calculation",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Calculate population statistics for nonindigenous crocodiles, analyze temporal trends, and generate summary statistics for the specified time period.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 35,
|
| 31 |
+
"line_end": 50,
|
| 32 |
+
"confidence": 0.92
|
| 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": "Statistical Analysis Expert performs population statistics calculation",
|
| 45 |
+
"interaction_prompt_ref": [
|
| 46 |
+
{
|
| 47 |
+
"line_start": 45,
|
| 48 |
+
"line_end": 60,
|
| 49 |
+
"confidence": 0.88
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
}
|
| 53 |
+
],
|
| 54 |
+
"failures": [],
|
| 55 |
+
"optimizations": [],
|
| 56 |
+
"metadata": {
|
| 57 |
+
"window_info": {
|
| 58 |
+
"window_index": 1,
|
| 59 |
+
"window_total": 3,
|
| 60 |
+
"window_name": "Statistical Analysis",
|
| 61 |
+
"processing_stage": "统计分析",
|
| 62 |
+
"trace_id": "algorithm_sample_16",
|
| 63 |
+
"processing_run_id": "sample_replay_algo16",
|
| 64 |
+
"entity_count": 2,
|
| 65 |
+
"relation_count": 1,
|
| 66 |
+
"failure_count": 0,
|
| 67 |
+
"optimization_count": 0,
|
| 68 |
+
"created_at": "2025-09-01T23:03:54.817836",
|
| 69 |
+
"window_type": "independent_optimized"
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
"extraction_info": {
|
| 74 |
+
"method": "enhanced_mock_creation",
|
| 75 |
+
"model": "human_designed",
|
| 76 |
+
"timestamp": "2025-01-27",
|
| 77 |
+
"api_key_used": "[REDACTED]",
|
| 78 |
+
"no_enhancement": false,
|
| 79 |
+
"source": "manual_design_for_demo"
|
| 80 |
+
},
|
| 81 |
+
"window_index": 1,
|
| 82 |
+
"window_total": 3,
|
| 83 |
+
"processing_run_id": "sample_replay_algo16",
|
| 84 |
+
"trace_id": "algorithm_sample_16",
|
| 85 |
+
"is_final": false
|
| 86 |
+
}
|
backend/database/samples/knowledge_graphs/kg_algorithm_sample_16_window_2.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"filename": "kg_algorithm_sample_16_window_2.json",
|
| 3 |
+
"trace_index": 0,
|
| 4 |
+
"graph_data": {
|
| 5 |
+
"system_name": "Wildlife Data Analysis and Ecological Monitoring System",
|
| 6 |
+
"system_summary": "This comprehensive ecological data analysis system specializes in processing government wildlife datasets and invasive species monitoring. The workflow begins with an `Invasive Species Data Request` (input_001) regarding Florida crocodile populations, processed by the `Data Analysis Expert` (agent_001) who performs `Government Dataset Processing` (task_001). The `Statistical Analysis Expert` (agent_002) conducts `Population Statistics Calculation` (task_002), while the `Data Verification Expert` (agent_003) handles `Ecological Data Validation` (task_003). The `Computer Terminal` (agent_004) provides data processing and analytical tools. The system produces `Validated Ecological Statistics` (output_001) delivered to the `Wildlife Researcher` (human_001), demonstrating the application of data science in ecological research and conservation efforts.",
|
| 7 |
+
"entities": [
|
| 8 |
+
{
|
| 9 |
+
"id": "agent_003",
|
| 10 |
+
"type": "Agent",
|
| 11 |
+
"name": "Data Verification Expert",
|
| 12 |
+
"importance": "HIGH",
|
| 13 |
+
"raw_prompt": "Responsible for validating ecological datasets, cross-referencing multiple data sources, and ensuring accuracy of wildlife population statistics and temporal data.",
|
| 14 |
+
"raw_prompt_ref": [
|
| 15 |
+
{
|
| 16 |
+
"line_start": 70,
|
| 17 |
+
"line_end": 85,
|
| 18 |
+
"confidence": 0.87
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "task_003",
|
| 24 |
+
"type": "Task",
|
| 25 |
+
"name": "Ecological Data Validation",
|
| 26 |
+
"importance": "HIGH",
|
| 27 |
+
"raw_prompt": "Validate wildlife population data against multiple sources, verify temporal consistency, and ensure accuracy of invasive species counts.",
|
| 28 |
+
"raw_prompt_ref": [
|
| 29 |
+
{
|
| 30 |
+
"line_start": 60,
|
| 31 |
+
"line_end": 75,
|
| 32 |
+
"confidence": 0.88
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "output_001",
|
| 38 |
+
"type": "Output",
|
| 39 |
+
"name": "Validated Ecological Statistics",
|
| 40 |
+
"importance": "HIGH",
|
| 41 |
+
"raw_prompt": "Comprehensive statistical analysis of invasive crocodile populations with validated counts, temporal trends, and data quality assessments.",
|
| 42 |
+
"raw_prompt_ref": [
|
| 43 |
+
{
|
| 44 |
+
"line_start": 110,
|
| 45 |
+
"line_end": 115,
|
| 46 |
+
"confidence": 0.93
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "human_001",
|
| 52 |
+
"type": "Human",
|
| 53 |
+
"name": "Wildlife Researcher",
|
| 54 |
+
"importance": "HIGH",
|
| 55 |
+
"raw_prompt": "Ecological researcher seeking quantitative data on invasive species populations for conservation or research purposes.",
|
| 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": "Data Verification Expert performs ecological data validation",
|
| 73 |
+
"interaction_prompt_ref": [
|
| 74 |
+
{
|
| 75 |
+
"line_start": 70,
|
| 76 |
+
"line_end": 85,
|
| 77 |
+
"confidence": 0.85
|
| 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 ecological statistics",
|
| 88 |
+
"interaction_prompt_ref": [
|
| 89 |
+
{
|
| 90 |
+
"line_start": 110,
|
| 91 |
+
"line_end": 115,
|
| 92 |
+
"confidence": 0.9
|
| 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 statistics delivered to wildlife researcher",
|
| 103 |
+
"interaction_prompt_ref": [
|
| 104 |
+
{
|
| 105 |
+
"line_start": 115,
|
| 106 |
+
"line_end": 120,
|
| 107 |
+
"confidence": 0.92
|
| 108 |
+
}
|
| 109 |
+
]
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"failures": [],
|
| 113 |
+
"optimizations": [],
|
| 114 |
+
"metadata": {
|
| 115 |
+
"window_info": {
|
| 116 |
+
"window_index": 2,
|
| 117 |
+
"window_total": 3,
|
| 118 |
+
"window_name": "Ecological Validation",
|
| 119 |
+
"processing_stage": "生态验证",
|
| 120 |
+
"trace_id": "algorithm_sample_16",
|
| 121 |
+
"processing_run_id": "sample_replay_algo16",
|
| 122 |
+
"entity_count": 4,
|
| 123 |
+
"relation_count": 3,
|
| 124 |
+
"failure_count": 0,
|
| 125 |
+
"optimization_count": 0,
|
| 126 |
+
"created_at": "2025-09-01T23:03:54.818081",
|
| 127 |
+
"window_type": "independent_optimized"
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"extraction_info": {
|
| 132 |
+
"method": "enhanced_mock_creation",
|
| 133 |
+
"model": "human_designed",
|
| 134 |
+
"timestamp": "2025-01-27",
|
| 135 |
+
"api_key_used": "[REDACTED]",
|
| 136 |
+
"no_enhancement": false,
|
| 137 |
+
"source": "manual_design_for_demo"
|
| 138 |
+
},
|
| 139 |
+
"window_index": 2,
|
| 140 |
+
"window_total": 3,
|
| 141 |
+
"processing_run_id": "sample_replay_algo16",
|
| 142 |
+
"trace_id": "algorithm_sample_16",
|
| 143 |
+
"is_final": false
|
| 144 |
+
}
|
backend/database/samples/samples_config.json
CHANGED
|
@@ -215,8 +215,33 @@
|
|
| 215 |
"interdisciplinary_coordination",
|
| 216 |
"retrieval_error_analysis",
|
| 217 |
"database_tool_enhancement",
|
| 218 |
-
"workflow_integration"
|
| 219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
},
|
| 221 |
{
|
| 222 |
"id": "algorithm_sample_16",
|
|
@@ -245,12 +270,37 @@
|
|
| 245 |
"invasive_species_monitoring",
|
| 246 |
"data_retrieval_challenges",
|
| 247 |
"pipeline_optimization",
|
| 248 |
-
"conservation_applications"
|
| 249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
}
|
| 251 |
],
|
| 252 |
"metadata": {
|
| 253 |
-
"version": "2.
|
| 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"
|
|
|
|
| 215 |
"interdisciplinary_coordination",
|
| 216 |
"retrieval_error_analysis",
|
| 217 |
"database_tool_enhancement",
|
| 218 |
+
"workflow_integration",
|
| 219 |
+
"temporal_replay",
|
| 220 |
+
"independent_window_analysis",
|
| 221 |
+
"specialized_expert_workflow"
|
| 222 |
+
],
|
| 223 |
+
"supports_replay": true,
|
| 224 |
+
"window_info": {
|
| 225 |
+
"window_count": 3,
|
| 226 |
+
"processing_run_id": "sample_replay_algo14",
|
| 227 |
+
"window_files": [
|
| 228 |
+
"knowledge_graphs/kg_algorithm_sample_14_window_0.json",
|
| 229 |
+
"knowledge_graphs/kg_algorithm_sample_14_window_1.json",
|
| 230 |
+
"knowledge_graphs/kg_algorithm_sample_14_window_2.json"
|
| 231 |
+
],
|
| 232 |
+
"progression_stages": [
|
| 233 |
+
"Literature Investigation",
|
| 234 |
+
"Mythological Analysis",
|
| 235 |
+
"Academic Validation"
|
| 236 |
+
],
|
| 237 |
+
"stage_descriptions": [
|
| 238 |
+
"文学分析专家接收查询并进行学术文章调研",
|
| 239 |
+
"北欧神话专家进行神话参考文献分析",
|
| 240 |
+
"验证专家进行学术来源验证并交付研究结果"
|
| 241 |
+
],
|
| 242 |
+
"window_mode": "independent",
|
| 243 |
+
"window_description": "展示学术文献研究的多专业协作流程,每个窗口聚焦不同的研究领域"
|
| 244 |
+
}
|
| 245 |
},
|
| 246 |
{
|
| 247 |
"id": "algorithm_sample_16",
|
|
|
|
| 270 |
"invasive_species_monitoring",
|
| 271 |
"data_retrieval_challenges",
|
| 272 |
"pipeline_optimization",
|
| 273 |
+
"conservation_applications",
|
| 274 |
+
"temporal_replay",
|
| 275 |
+
"independent_window_analysis",
|
| 276 |
+
"specialized_expert_workflow"
|
| 277 |
+
],
|
| 278 |
+
"supports_replay": true,
|
| 279 |
+
"window_info": {
|
| 280 |
+
"window_count": 3,
|
| 281 |
+
"processing_run_id": "sample_replay_algo16",
|
| 282 |
+
"window_files": [
|
| 283 |
+
"knowledge_graphs/kg_algorithm_sample_16_window_0.json",
|
| 284 |
+
"knowledge_graphs/kg_algorithm_sample_16_window_1.json",
|
| 285 |
+
"knowledge_graphs/kg_algorithm_sample_16_window_2.json"
|
| 286 |
+
],
|
| 287 |
+
"progression_stages": [
|
| 288 |
+
"Data Processing",
|
| 289 |
+
"Statistical Analysis",
|
| 290 |
+
"Ecological Validation"
|
| 291 |
+
],
|
| 292 |
+
"stage_descriptions": [
|
| 293 |
+
"数据分析专家接收查询并处理政府数据集",
|
| 294 |
+
"统计分析专家进行种群统计计算",
|
| 295 |
+
"数据验证专家进行生态数据验证并交付结果"
|
| 296 |
+
],
|
| 297 |
+
"window_mode": "independent",
|
| 298 |
+
"window_description": "展示野生动物数据分析的专业化处理流程,每个窗口代表不同的分析阶段"
|
| 299 |
+
}
|
| 300 |
}
|
| 301 |
],
|
| 302 |
"metadata": {
|
| 303 |
+
"version": "2.4.0",
|
| 304 |
"created": "2025-01-27",
|
| 305 |
"updated": "2025-01-27",
|
| 306 |
"description": "Comprehensive AgentGraph sample data showcasing diverse multi-agent interactions across multiple domains including location services, probability theory, academic research, and ecological data analysis"
|