Loading...
Loading...
Compare original and translation side by side
pydantic/pydantic-aipydantic/pydantic-aighundefinedghundefined
**Filter criteria** (apply in order):
1. No assignee
2. No open PR already fixing it (check both linked PRs and title/body search)
3. Fewer than 5 competing PRs
4. Prefer labels: `bug`, `good first issue`, `help wanted`
5. Prefer issues with maintainer comments suggesting a fix direction
**筛选标准**(按顺序应用):
1. 无负责人
2. 尚无正在处理该问题的开放PR(检查关联PR及标题/正文搜索结果)
3. 竞争PR少于5个
4. 优先选择带有`bug`、`good first issue`、`help wanted`标签的问题
5. 优先选择带有维护者评论、明确修复方向的问题gh issue view <number> -R <owner>/<repo> --json body,commentsgh issue view <number> -R <owner>/<repo> --json body,commentsundefinedundefined
If there's any signal the fix belongs elsewhere, stop and ask the user before proceeding.
如果有任何信号表明修复应在其他地方进行,请先停止操作并询问用户。Hi, I've been looking into this and traced the root cause to <X>.
Before I open a PR, I wanted to confirm the preferred approach:
A) <approach A — e.g., fix in this repo by modifying X>
B) <approach B — e.g., upstream fix in related-repo>
I can implement either direction. Happy to adjust based on your preference.您好,我一直在研究这个问题,已找到根本原因是<X>。
在提交PR前,我想确认首选方案:
A) <方案A — 例如:修改X在此仓库修复>
B) <方案B — 例如:在相关仓库进行上游修复>
我可以实现任意一种方案。愿意根据您的偏好调整。gh repo fork <owner>/<repo> --clone --remote
cd <repo>gh repo fork <owner>/<repo> --clone --remote
cd <repo>maingh pr list -R <owner>/<repo> --state merged --limit 10 \
--json baseRefName,mergedAtbaseRefNamemaingh pr list -R <owner>/<repo> --state merged --limit 10 \
--json baseRefName,mergedAtbaseRefNameCONTRIBUTING.md
.github/CONTRIBUTING.md
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE/CONTRIBUTING.md
.github/CONTRIBUTING.md
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE/ls .github/workflows/ls .github/workflows/git checkout -b fix/issue-<number>-<short-desc> <base-branch>git checkout -b fix/issue-<number>-<short-desc> <base-branch>pytestmypyruffnpx tsc --noEmitcargo check && cargo testgo build ./... && go test ./...pytestmypyruffnpx tsc --noEmitcargo check && cargo testgo build ./... && go test ./...pre-commit run --all-filespre-commit run --all-filesundefinedundefined
Rules:
- Follow the project's commit message format (check recent commits for examples)
- Include `Fixes #<number>` or `Closes #<number>` to auto-link
- No `Generated by Claude`, `Co-Authored-By: claude`, or any AI attribution
- Use rebase to keep history clean, never force push
规则:
- 遵循项目的提交消息格式(查看近期提交示例)
- 包含`Fixes #<number>`或`Closes #<number>`以自动关联问题
- 不要添加`Generated by Claude`、`Co-Authored-By: claude`或任何AI署名
- 使用rebase保持历史整洁,切勿强制推送git push -u origin fix/issue-<number>-<short-desc>gh pr create --draft --title "<type>: <short description>" \
--body "$(cat <<'EOF'git push -u origin fix/issue-<number>-<short-desc>gh pr create --draft --title "<type>: <short description>" \
--body "$(cat <<'EOF'undefinedundefined| Reason | Response |
|---|---|
| Fix moved upstream | Ask to contribute to the upstream repo instead |
| Approach rejected | Ask what approach they'd prefer, offer to redo |
| Duplicate | Acknowledge, offer to help review the other PR |
| Scope too large | Offer to split into smaller PRs |
Thanks for the feedback. I understand the fix direction has shifted to <X>.
Would it be helpful if I submitted a PR to <upstream-repo> instead?
Happy to contribute wherever it's most useful.| 原因 | 应对 |
|---|---|
| 修复移至上游 | 请求改为向上游仓库贡献 |
| 方案被拒绝 | 询问他们偏好的方案,提议重新实现 |
| 重复提交 | 表示理解,提议帮助审核其他PR |
| 范围过大 | 提议拆分为更小的PR |
感谢反馈。我理解修复方向已转向<X>。
我改为向<upstream-repo>提交PR是否有帮助?
愿意在最需要的地方贡献力量。maindevmaindev