-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: proportion female at age #638
Comments
This older PR is relevant. @Bai-Li-NOAA will work with the "fixer" of this bug to help design tests. Thoughts for fixing ... "prepare" function in population where a lot of values are set and it is possible that it is being reset in the prepare function. |
Thank you @KyleShertzer-NOAA for bringing this up. During NOAA-FIMS/seasid-chats#7 we decided to remove the capability of the user to set this because it is not currently doing anything and then later in the future we can revisit what proportion_female should be doing. There is now a task list at the top of this issue for how to fix it. |
Users thought that they could set proportion_female but it was hard- coded to 0.5 on the back end. Now, it is back to just being a single value that is hard coded to 0.5. Tests have also changed back to 0.5. This partially reverts PR #543. And, was talked about in NOAA-FIMS/seaside-chats#7 and partially addresses #638.
Users thought that they could set proportion_female but it was hard- coded to 0.5 on the back end. Now, it is back to just being a single value that is hard coded to 0.5. Tests have also changed back to 0.5. This partially reverts PR #543. And, was talked about in NOAA-FIMS/seaside-chats#7 and partially addresses #638.
Users thought that they could set proportion_female but it was hard- coded to 0.5 on the back end. Now, it is back to just being a single value that is hard coded to 0.5. Tests have also changed back to 0.5. This partially reverts PR #543. And, was talked about in NOAA-FIMS/seaside-chats#7 and partially addresses #638.
Users thought that they could set proportion_female but it was hard- coded to 0.5 on the back end. Now, it is back to just being a single value that is hard coded to 0.5. Tests have also changed back to 0.5. This partially reverts PR #543. And, was talked about in NOAA-FIMS/seaside-chats#7 and partially addresses #638.
Users thought that they could set proportion_female but it was hard- coded to 0.5 on the back end. Now, it is back to just being a single value that is hard coded to 0.5. Tests have also changed back to 0.5. This partially reverts PR #543. And, was talked about in NOAA-FIMS/seaside-chats#7 and partially addresses #638.
proportion_female was commented out in all of the case studies because setting it was not doing anything to the model. In M2 we will remove the ability to set this parameter vector because it was not doing anything. In the future we will add the feature back. This change does nothing to the results. Simplified a comment in the scamp case study to say that it is fixed at 0.5 instead of you have the ability to estimate it. Part of NOAA-FIMS/FIMS#638 and NOAA-FIMS/seaside-chats#7
proportion_female was commented out in all of the case studies because setting it was not doing anything to the model. In M2 we will remove the ability to set this parameter vector because it was not doing anything. In the future we will add the feature back. This change does nothing to the results. Simplified a comment in the scamp case study to say that it is fixed at 0.5 instead of you have the ability to estimate it. Part of NOAA-FIMS/FIMS#638 and NOAA-FIMS/seaside-chats#7
@KyleShertzer-NOAA I started a design document for this. I am wondering if you would be willing to populate it with some initial text that we can have later reviewed by the FIMS Implementation Team? If you do not have time, would you mind suggesting someone else that you think would be good to do the initial drafting. Thank you. The deadline for this initial draft will be the first week of March 2025. |
The code to fix the bug of users thinking that this was estimable was fixed in 2338d23. |
@kellijohnson-NOAA Yes, I will draft some initial text for review. |
Describe the bug
A vector of sex ratio at age appears to be accepted as FIMS input, using "population$proportion_female <- vector"
However, this capability is not currently implemented, with sex ratio hard coded at 0.5.
To Reproduce
No response
Screenshots
No response
Which OS are you seeing the problem on?
Windows
Which browser are you seeing the problem on?
Other
Which version of FIMS are you seeing the problem on?
FIMS_0.2.0.0
Additional Context
For the southeast scamp example, I want to specify the sex ratio at age as 100% female. This is a work-around to mimic how BAM handles SSB of a protogynous hermaphrodite, as total (male + female) mature biomass. Current FIMS assumes sex ratio is 50:50, which means that in the scamp example, FIMS-predicted SSB is half that of BAM-predicted SSB.
Tasks
The text was updated successfully, but these errors were encountered: