You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
467 B
14 lines
467 B
import os
|
|
import subprocess
|
|
|
|
steps = [
|
|
("机构树重构", "stage1_tree_rebuild.tree_builder"),
|
|
("层级感知清洗", "stage2_hierarchical_clean.hierarchical_cleaner"),
|
|
("跨树节点匹配", "stage3_cross_tree_match.matcher"),
|
|
("异常检测与标记", "stage4_anomaly_detect.anomaly_detector"),
|
|
]
|
|
|
|
for name, module in steps:
|
|
print(f"[运行] {name} ...")
|
|
subprocess.run(["python3", "-m", module], check=True)
|
|
print("全部流程完成!")
|