Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Refactor]: Dynamic spawner-recruitment logic in benchmarks and projections

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

@Rick-Methot-NOAA がすでに取り組んでいます。

2020年11月5日 から。

評価

この issue はまだ評価されていません。

説明

Epic: Equilibrium calcs on hold recruitment wishlist

Imported from redmine, Issue #56287
Opened by @RickMethot on 2018-10-15
Status when imported: On Hold

The following code seems incomplete in its logic.
Currently, if R0 is time-varying, SS will recalculate SSB_use and in doing so will use the current year's biology-at-age. However, if R0 is not time-varying, but growth or M is time-varying, then SSB_use will remain same as SSB_virgin. It seems useful to consider whether SSB_use should be updated when there is dynamic growth to be more like a complete dynamic B0. Your thoughts appreciated.

  if(SR_parm_timevary(1)==0)  //  R0 is not time-varying
  {R0_use=Recr_virgin; SSB_use=SSB_virgin;}
  else
  {
    R0_use=mfexp(SR_parm_work(1));
    equ_Recr=R0_use;
    Fishon=0;
    eq_yr=y;
    bio_yr=y;
    Do_Equil_Calc(R0_use);                      //  call function to do equilibrium calculation and get SSB_equil
    if(fishery_on_off==1) {Fishon=1;} else {Fishon=0;}
    SSB_use=SSB_equil;
  }
  Recruits=Spawn_Recr(SSB_use,R0_use,SSB_current);  // calls to function Spawn_Recr
主要言語
C++
スター
46
フォーク
19
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

nmfs-ost/ss3-source-code のほかの issue

nmfs-ost/ss3-source-code の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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