Asserts occur randomly and break the simulation

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
game-dev

調査の方向性

ソースファイル、テスト、エントリーポイントのいずれも指定されていません。まずシミュレーションを停止させるアサーションを特定し、必須の配列インデックスチェックと、ゼロ除算など回復可能な可能性のある数値エラーを分離します。爆発するパーティクルや無効な値について、シミュレーションを継続するとはどういう意味かを定義し、テストしてください。

索引モデルが issue の本文から書いたものです。

説明

There are some cases when the asserts are hit, and stop simulation. The ask of this issue is, are all the asserts needed? Could the simulation be continued in any way, even if some things go wrong. Not sure about all, but I know sometimes some particles seems to almost explode and go out a lot, and then all stop. I would be ok with them exploding, I could lower some parameters, but maybe not all asserts are needed.
Eg an assert of where an index from array is out of bounds, thats needed. But if a value is 0 where a division by 0 happens, in that case you could put EPSILON instead of 0 and somehow continue the simulation.

主要言語
Rust
スター
717
フォーク
42
平均マージ
9分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

dimforge/salva のほかの issue

dimforge/salva の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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