Perturbing charge can lead to negative charge

オープン
#776 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python, pytorch

調査の方向性

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 の本文から書いたものです。

説明

bug

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

image

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時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graphnet-team/graphnet のほかの issue

graphnet-team/graphnet の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。