初始化
This commit is contained in:
1 parent
34474bd5fc
commit
b638b541d0
3008 files changed
+837699
No files matched your search
@@ -0,0 +1,57 @@
|
||||
"""Canonical quality-chain plan used to score directed modifications."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def eval_quality_plan() -> dict:
|
||||
nodes = [
|
||||
{
|
||||
"id": "research",
|
||||
"label": "检索",
|
||||
"role_key": "researcher",
|
||||
"angle": "海外进展",
|
||||
"output_artifact_type": "EvidenceBundle",
|
||||
"depends_on": [],
|
||||
},
|
||||
{
|
||||
"id": "verify",
|
||||
"label": "核验",
|
||||
"role_key": "verifier",
|
||||
"output_artifact_type": "VerificationResult",
|
||||
"depends_on": ["research"],
|
||||
},
|
||||
{
|
||||
"id": "analyze",
|
||||
"label": "分析",
|
||||
"role_key": "analyst",
|
||||
"output_artifact_type": "AngleAnalysis",
|
||||
"depends_on": ["verify"],
|
||||
},
|
||||
{
|
||||
"id": "write",
|
||||
"label": "写作",
|
||||
"role_key": "writer",
|
||||
"output_artifact_type": "ReportSectionDraft",
|
||||
"depends_on": ["analyze"],
|
||||
},
|
||||
{
|
||||
"id": "review",
|
||||
"label": "审稿",
|
||||
"role_key": "reviewer",
|
||||
"output_artifact_type": "ReviewDecision",
|
||||
"depends_on": ["write"],
|
||||
},
|
||||
]
|
||||
return {
|
||||
"id": "plan_eval",
|
||||
"nodes": nodes,
|
||||
"edges": [
|
||||
{"source": "research", "target": "verify"},
|
||||
{"source": "verify", "target": "analyze"},
|
||||
{"source": "analyze", "target": "write"},
|
||||
{"source": "write", "target": "review"},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
__all__ = ["eval_quality_plan"]
|
||||
Reference in new issue
Block a user