Move reasonable values logic out of fuselage component

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

メンテナーはふだん 7 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

aviary/subsystems/geometry/flops_based/fuselage.py から始め、fuselage layout の妥当な値を設定する compute ブロックに注目し、その後 gasp_based/fuselage.py のより短いチェックを確認します。どのロジックを preprocessors に置くべきかを決める前に、未指定の入力と指定された入力がどのように処理されるかを追跡します。component logic が簡略化され、妥当な値の動作が統合され、既存の動作が維持されれば完了です。

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

説明

request
Desired capability or behavior.

The FLOPS based Fuselage component is large with big sections of logic block to setup reasonable values for the layout of the fuselage given inputs that are specified and inputs that are missing.
Perhaps we should move this logic into preprocessors, which would simplify the component and consolidate parts of aviary where 'default and/or reasonable values get set.

aviary/subsystems/geometry/flops_based/fuselage.py in the compute block.
There are also some shorter logic checks etc in the gasp_based/fuselage.py too.

Suggested implementation.

No response

主要言語
Python
スター
303
フォーク
152
平均マージ
7日 14時間
マージ済み PR(30日)
10

環境構築

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

はじめの一歩

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

OpenMDAO/Aviary のほかの issue

OpenMDAO/Aviary の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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