[Feature Request] Refactoring of Simulation / Util Code (I.e. Tidy Up Initiative)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue describes an ongoing series of small refactors, mentioning Quaternion.java, utility and simulation classes, and their corresponding unit tests. Start by reading a specific class and its tests to understand their purpose and existing coverage; the issue does not identify a bounded task or test entry point. Done for an individual contribution means a focused refactor with any needed test improvements and, where relevant, paper equation or page references in the Javadocs.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
The Simulation side of the core module has a lot of code smells / gremlins that we haven't gone back to tidy up. This has led to difficulties refactoring some of the simulation code in the past. Furthermore, it makes the on boarding of new contributors more difficult (for example, key methods, directly linked to equations within Sampo's original paper, are not signposted to, leaving it as an exercise for the reader to deduce)
Describe the solution you'd like
Simply? A Tidy up from the bottom, working our way upwards. I have already started to do some refactoring of the Quaternion.java class in my own private repo, and this is what ultimately inspired this issue.
Describe alternatives you've considered
The alternative would be to simply leave the code as is, and continue to accept that some aspects of codebase will be difficult for new contributors to begin parsing through / understanding.
Additional context
This issue would not be resolved by a singular PR, but rather be an ongoing effort of many small PRs that would link directly to this issue.
I also believe anyone contributing to this issue should get the benefit of learning more about OR's core codebase from their efforts.
As such:
-
I believe this issue can be marked as "good first issue", with the idea that they are spending the time looking at core classes (such as those in util / simulation), gaining a comprehensive understanding of the class, and using that understanding to propose refactors.
-
I believe this issue could very well be a signposted "good first issue" i.e. a primary suggested issue to consider doing PRs for. A lot of contributors bounce off of OR due to the messiness of some of the codebase (god knows I was one of them for a time haha), so leaning into that by having an issue that is designed to address that problem could see us retain some more potential contributors.
-
I believe this issue's related PRs should not include LLM work, as the main benefit of this issue is not the cleanup, but the understanding that would be gained by those contributing to it.
-
Any work on classes that utilize calculations / concepts from Sampo's original paper (e.g: Such as Quaternions) should reference the equation number / page number corresponding to the code within its javadocs).
-
When refactoring a class, its corresponding Unit Tests should be analyzed and refactored too if there is missing test-cases, lacking code coverage etc. Essentially, no class' Unit Tests should be assumed to be ideal when they are the focus of a PR relating to this issue.
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 703
- 平均マージ
- 22時間 16分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openrocket/openrocket のほかの issue
-
[Bug] Material names are not translated when the generated key is missing or wrong対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openrocket/openrocket#3417 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] MassObject packed length with automatic radius depends on getter order, so saved files differオープンrelease blocker
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openrocket/openrocket#3399 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
release blocker
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openrocket/openrocket#3398 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openrocket/openrocket#3377 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
openrocket/openrocket#3230 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
openrocket/openrocket の issue をすべて見る
似ている issue
-
Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
hiero-ledger/hiero-sdk-java#3044 ·
メンテナーはふだん 1 日以内に返信
-
A second build without clean fails in resources-optimizer-maven-plugin because minified files are minified again対応中かも @papegaaij が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
hermes-queue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
flutter/flutter-intellij#9221 ·
メンテナーはふだん 1 日以内に返信