Perturbing charge can lead to negative charge
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
Start by reading src/graphnet/models/graphs/graph_definition.py around the perturbation sampling code linked in the issue. Check how perturbation_dict settings are applied to charge and whether the sampled result can be constrained to avoid negative values. The issue is addressed when charge perturbations cannot produce negative charges; the payload does not name a test to run.
由索引模型根据 Issue 内容生成。
描述
When a perturbation_dict is provided to the graph definition with a setting for charge, it can lead to negative charges since it is sampled from a normal distribution (if you are unlucky, like me):
https://github.com/graphnet-team/graphnet/blob/92b150aa5fbe149cdd7d473932d05375df176417/src/graphnet/models/graphs/graph_definition.py#L348C1-L362C30
Possible solution: include bounds for the perturbations. If the sampled value is outside of the bounds, then it is resampled.
- 主要语言
- Python
- 星标
- 117
- 派生
- 115
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphnet-team/graphnet 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
graphnet-team/graphnet#933 ·
-
Spring clean未关闭
难度 5/5 一周以上 新手友好度 25/100
graphnet-team/graphnet#927 · 1 条评论 ·
-
Time for a new version release v1.8.1可能重新可做 @Aske-Rosted 于 75 天前认领,目前没有进行中的 PR。 未关闭decision
graphnet-team/graphnet#924 · 已指派 1 人 ·
-
Make kaggle checkpoints part of the CI可能重新可做 @sevmag 于 75 天前认领,目前没有进行中的 PR。 未关闭bug
graphnet-team/graphnet#921 · 2 条评论 · 已指派 1 人 ·
-
decision deferred
难度 5/5 一周以上 新手友好度 25/100
graphnet-team/graphnet#919 ·
查看 graphnet-team/graphnet 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
vllm-project/vllm#69791 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
BCStudentSoftwareDevTeam/cas#481 ·
维护者通常 7 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复