Repository navigation
docs: README 补质量资产行(coverage + BDD,与 wop-go-sdk 对齐) - #20
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
审查者指南(小型 PR 中折叠显示)审查者指南本 PR 仅更新中英文 README 的徽章布局,补充基于实测 CI 覆盖率和 feature 文件场景计数的 Coverage 与 BDD 质量资产,同时保留现有 CodeRabbit 徽章。 文件级变更
提示和命令与 Sourcery 交互
自定义使用体验访问你的控制面板即可:
获取帮助Original review guide in EnglishReviewer's guide (collapsed on small PRs)Reviewer's Guide本 PR 仅更新中英文 README 的徽章布局,补充基于实测 CI 覆盖率和 feature 文件场景计数的 Coverage 与 BDD 质量资产,同时保留现有 CodeRabbit 徽章。 File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
嘿——我发现了 1 个问题
AI 代理提示词
请处理此次代码审查中的评论:
## 单独评论
### 评论 1
<location path="README.en.md" line_range="4" />
<code_context>
+[ [](tests/features/wop_merchant.feature) 
</code_context>
<issue_to_address>
**问题:** Coverage 徽章链接在其图片 URL 后缺少结束符 `]`,因此 Markdown 链接格式错误,Coverage 徽章无法可靠地呈现为指向 CI 工作流的链接;后面的 Gherkin 和 CodeRabbit 徽章会被解析为该错误结构的一部分。
**建议修复:** 将前缀更改为 `[](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml)`,然后再追加其他徽章。
```suggestion
[](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml) [](tests/features/wop_merchant.feature) 
```
</issue_to_address>Sourcery 评估
等待批准。 请先处理 1 个发现的问题。
阻塞性发现:README.en.md:4
帮助我变得更有用!请在每条评论上点击 👍 或 👎,我会利用这些反馈来改进审查结果。
Original comment in English
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="README.en.md" line_range="4" />
<code_context>
+[ [](tests/features/wop_merchant.feature) 
</code_context>
<issue_to_address>
**issue:** The Coverage badge link is missing the closing `]` after its image URL, so the Markdown link is malformed and the coverage badge does not reliably render as a link to the CI workflow; the following Gherkin and CodeRabbit badges are parsed as part of the malformed construct.
**Suggested fix:** Change the prefix to `[](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml)` before appending the other badges.
```suggestion
[](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml) [](tests/features/wop_merchant.feature) 
```
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: README.en.md:4
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
补齐与 wop-go-sdk 徽章布局对齐的质量资产行:Coverage + BDD 场景数。
数据来源(全部实测,非拍值):
变异徽章仅 wop-go-sdk 挂(唯一有 main 门禁 + 全量报告的仓);python 待 feat/mutation-gate 合入后补。
Sourcery 总结
在两个 README 文件中公开 Python SDK 的测试覆盖率和 BDD 场景数量。
新功能:
文档:
Original summary in English
Sourcery 摘要
在两个 README 文件中展示 Python SDK 的测试覆盖率和 BDD 场景数量。
新功能:
文档:
Original summary in English
Summary by Sourcery
Expose the Python SDK’s measured test coverage and BDD scenario count in both README files.
New Features:
Documentation: