refactor: 重构项目结构和文件组织

- 将文档文件移动到docs目录下分类存放
- 将测试文件移动到tests目录
- 将工具脚本移动到tools目录
- 更新README中的文件路径说明
- 删除重复和过时的文件
- 优化项目目录结构,提升可维护性
This commit is contained in:
ben
2025-08-22 16:52:17 +08:00
parent 51576ebb6f
commit 76306f2c8e
48 changed files with 4439 additions and 146 deletions

129
data/debate_state.json Normal file
View File

@@ -0,0 +1,129 @@
{
"context": {
"current_stage": "起",
"stage_progress": 4,
"total_handoffs": 0,
"current_speaker": "汉钟离",
"last_message": "合:交替总结,最终论证"
},
"debate_history": [
{
"timestamp": "2025-08-22T10:24:49.241925",
"stage": "起",
"stage_progress": 0,
"speaker": "吕洞宾",
"message": "起:八仙按先天八卦顺序阐述观点",
"total_handoffs": 0
},
{
"timestamp": "2025-08-22T10:24:49.241942",
"stage": "起",
"stage_progress": 1,
"speaker": "何仙姑",
"message": "承:雁阵式承接,总体阐述+讥讽",
"total_handoffs": 0
},
{
"timestamp": "2025-08-22T10:24:49.241951",
"stage": "起",
"stage_progress": 2,
"speaker": "铁拐李",
"message": "转自由辩论36次handoff",
"total_handoffs": 0
},
{
"timestamp": "2025-08-22T10:24:49.241959",
"stage": "起",
"stage_progress": 3,
"speaker": "汉钟离",
"message": "合:交替总结,最终论证",
"total_handoffs": 0
}
],
"memory_data": {
"speaker_memories": {
"吕洞宾": [
{
"timestamp": "2025-08-22T10:24:49.241932",
"stage": "起",
"message": "起:八仙按先天八卦顺序阐述观点",
"context": {
"stage_progress": 0,
"total_handoffs": 0
}
}
],
"何仙姑": [
{
"timestamp": "2025-08-22T10:24:49.241944",
"stage": "起",
"message": "承:雁阵式承接,总体阐述+讥讽",
"context": {
"stage_progress": 1,
"total_handoffs": 0
}
}
],
"铁拐李": [
{
"timestamp": "2025-08-22T10:24:49.241953",
"stage": "起",
"message": "转自由辩论36次handoff",
"context": {
"stage_progress": 2,
"total_handoffs": 0
}
}
],
"汉钟离": [
{
"timestamp": "2025-08-22T10:24:49.241960",
"stage": "起",
"message": "合:交替总结,最终论证",
"context": {
"stage_progress": 3,
"total_handoffs": 0
}
}
]
},
"debate_memories": [
{
"timestamp": "2025-08-22T10:24:49.241932",
"stage": "起",
"message": "起:八仙按先天八卦顺序阐述观点",
"context": {
"stage_progress": 0,
"total_handoffs": 0
}
},
{
"timestamp": "2025-08-22T10:24:49.241944",
"stage": "起",
"message": "承:雁阵式承接,总体阐述+讥讽",
"context": {
"stage_progress": 1,
"total_handoffs": 0
}
},
{
"timestamp": "2025-08-22T10:24:49.241953",
"stage": "起",
"message": "转自由辩论36次handoff",
"context": {
"stage_progress": 2,
"total_handoffs": 0
}
},
{
"timestamp": "2025-08-22T10:24:49.241960",
"stage": "起",
"message": "合:交替总结,最终论证",
"context": {
"stage_progress": 3,
"total_handoffs": 0
}
}
]
}
}

74
data/test_flow_data.json Normal file
View File

@@ -0,0 +1,74 @@
{
"config": {
"mode": "自适应模式",
"transition_triggers": [
"进度触发",
"质量触发"
],
"speaker_selection_strategy": "上下文感知",
"quality_threshold": 0.6,
"auto_stage_transition": true
},
"current_state": {
"stage": "起",
"progress": 4,
"total_handoffs": 0,
"current_speaker": "汉钟离",
"debate_start_time": "2025-08-22T10:25:24.813333"
},
"stage_metrics": {},
"current_stage_metrics": {
"start_time": "2025-08-22T10:25:24.813352",
"duration": 0.000118,
"speech_count": 4,
"quality_score": 0.23,
"participation_balance": 1.0,
"speaker_distribution": {
"吕洞宾": 1,
"何仙姑": 1,
"铁拐李": 1,
"汉钟离": 1
},
"transition_readiness": 0.519
},
"debate_history": [
{
"timestamp": "2025-08-22T10:25:24.813367",
"stage": "起",
"stage_progress": 0,
"speaker": "吕洞宾",
"message": "我认为AI投资具有巨大的潜力和机会。",
"total_handoffs": 0,
"metadata": {}
},
{
"timestamp": "2025-08-22T10:25:24.813403",
"stage": "起",
"stage_progress": 1,
"speaker": "何仙姑",
"message": "但我们也需要考虑其中的风险因素。",
"total_handoffs": 0,
"metadata": {}
},
{
"timestamp": "2025-08-22T10:25:24.813425",
"stage": "起",
"stage_progress": 2,
"speaker": "铁拐李",
"message": "数据显示AI行业的增长率确实很高。",
"total_handoffs": 0,
"metadata": {}
},
{
"timestamp": "2025-08-22T10:25:24.813441",
"stage": "起",
"stage_progress": 3,
"speaker": "汉钟离",
"message": "然而市场波动性也不容忽视。",
"total_handoffs": 0,
"metadata": {}
}
],
"stage_transition_history": [],
"timestamp": "2025-08-22T10:25:24.813471"
}

View File

@@ -0,0 +1,12 @@
cognitivecomputations/dolphin-mistral-24b-venice-edition:free
deepseek/deepseek-chat-v3-0324:free
google/gemma-3-27b-it:free
microsoft/mai-ds-r1:free
mistralai/mistral-small-3.1-24b-instruct:free
moonshotai/kimi-k2:free
openai/gpt-oss-20b:free
qwen/qwq-32b:free
rekaai/reka-flash-3:free
tencent/hunyuan-a13b-instruct:free
tngtech/deepseek-r1t-chimera:free
z-ai/glm-4.5-air:free