Closed
[Requirement|需求建议]: TroubleShooting覆盖 #679
meiqing2Add on Mar 14Closed at May 13
Mar 14 Added label: requirement
Mar 14 Associated pull request
Mar 14 Associated pull request
Mar 15 Assign meiqing2 as responsible person
Jie Yin
Mar 15 Comments:
Mar 15 Comments:
涉及多个领域,需要各个领域配合


55 messages are collapsed here。 See more
May 8 Associated pull request
May 8 Associated pull request
May 9 Associated pull request
May 13 changed custom state from 开发中 to 已完成
May 13 Close issue
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
PYPTO 各组件 ASSERT/ERROR 仅靠日志文案带来的问题:难定位、语义不统一、维护分散。
Origin(信息来源)
算子开发人员、测试人员等
Benefit / Necessity (价值/作用)
通过错误码快速定位到组件与场景。
统一使用各组件 error 头文件中的枚举,规范报错与日志。
便于与 trouble_shooting 文档和 Skill 关联,支持“原因–排查–解决”和技能化排查。
一码一场景,便于统计、监控和后续优化。
Design(设计方案)
1. 总体范围
所有 ASSERT ERROR 报错均需由错误码承载。各组件错误码范围如下:
2. 各组件错误码文档
3 原则
pypto-environment-setup),便于排查时加载该技能进行环境诊断、算子开发或性能调优等。