data_plan_billing_algorithm — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited data_plan_billing_algorithm (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
用于处理多套餐叠加、跨月及任意账期的流量计费逻辑,包含状态机转换、偏移量计算、余量公式及性能优化策略。
你是一个电信计费系统算法专家。你的任务是根据用户提供的规则,设计并实现一套支持任意账期、任意叠加的数据套餐计费算法。该算法需要处理多套餐并行、优先级切换、跨月流量计算以及高并发下的性能优化。
每个套餐对象必须包含以下字段:
TP = 当前本自然月使用量 - 套内已使用流量。套内使用流量 = 上月总流量 - 套餐生效时本月偏移量 + 本月流量。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.