Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • 合并请求
  • !21107

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
接近 2 年 前同步成功

通知 2323
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板

Add CI check for error message writing specification !21107

  • Report abuse
!21107 已合并 11月 11, 2019 由 saxon_zh@saxon_zh 创建
#<User:0x00007f2c0292a2b8>
  • 概览 9
  • 提交 10
  • 变更 1

Created by: chenwhql

为了规范Paddle的报错信息,我们制订了报错信息文案的书写规范,该PR将规范中可监控的规则加入到了CI检查中。( In order to standardize Paddle's error message, we have written a specification for the error message writing. This PR adds the rules that can be monitored in the specification to the CI check. )

新增的CI检查规则只检查一个PR中新增代码中的Enforce,不涉及存量问题的处理。

CI检查点包括:

  • 没有报错信息
  • 错信息长度不足20个字符
  • 没有指定错误类型
  • 有错误类型,但是没有报错信息
  • 有错误类型,但是报错信息长度不足20个字符

最新的CI检查失败提示: The error message you wrote in PADDLE_ENFORCE{_**} or PADDLE_THROW does not meet our error message writing specification. Possible errors include 1. the error message is empty / 2. the error message is too short / 3. the error type is not specified. Please read the specification [ https://github.com/PaddlePaddle/Paddle/wiki/Paddle-Error-Message-Writing-Specification ], then refine the error message. If it is a mismatch, please specify chenwhql (Recommend), luotao1 or lanxianghit review and approve.\nThe PADDDLE_ENFORCE or PADDLE_THROW entries that do not meet the specification are as follows:\n${INVALID_PADDLE_CHECK}\n"

CI检查触发示例 http://ci.paddlepaddle.org/viewLog.html?buildId=217373&buildTypeId=YYTest_PrCiCpuPy2&tab=buildLog image

指派人
分配到
审核者
Request review from
无
里程碑
无
分配里程碑
工时统计
标识: paddlepaddle/Paddle!21107
Source branch: github/fork/chenwhql/easyuse/add_ci_for_error_check
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7