Files
verify-scholarship-fraud-sas/scripts/util/constants.py

34 lines
1.2 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""技能标识、版本与阈值常量。
复制到新 skill 时必须修改:
- SKILL_SLUG 与 SKILL.md metadata.openclaw.slug 保持一致
- SKILL_VERSION 与 SKILL.md version 保持一致
"""
SKILL_SLUG = "verify-scholarship-fraud-sas"
SKILL_VERSION = "1.0.2"
LOG_LOGGER_NAME = "openclaw.skill.verify_scholarship_fraud_sas"
PLATFORM_KIT_MIN_VERSION = "1.2.11"
# 业务行生命周期状态值(候选人汇总表每一行)
CANDIDATE_STATUSES = ("待审", "已标注", "已复核", "已驳回", "已撤回")
# 复核结论
REVIEW_CONCLUSIONS = ("保留", "取消", "调减")
# 异常检测维度(v1.0.1 占位;具体阈值由开发者按 development/REQUIREMENTS.md 补全)
RISK_DIMENSIONS = (
"income_vs_card_consumption", # 自报年收入 vs 一卡通月均消费
"comprehensive_vs_score_rank", # 综测排名 vs 成绩排名
"cumulative_aid_amount", # 本学年累计资助金额
"duplicate_aid_history", # 历史重复资助排查
)
RISK_LEVEL_LABELS = {
"low": "低风险",
"medium": "中风险",
"high": "高风险",
}
# 多平台 brands 同步声明(与 SKILL.md metadata.openclaw.brands 保持一致)
BRANDS = ("jiangchang", "huashang")