Skip to content

[docs]: add acronym exceptions - #371

Draft
Schiano-NOAA wants to merge 1 commit into
mainfrom
docs-quan-acro
Draft

Schiano-NOAA wants to merge 1 commit into
mainfrom
docs-quan-acro

Conversation

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator

Adding a new section describing and defining the acronyms to the exceptions in the naming conventions section.

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator Author

@kellijohnson-NOAA here are a few potential exceptions to make, but honestly was less than I thought when going through the list. Are there any additional ones you can think of?

@github-actions

Copy link
Copy Markdown
Contributor

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
71.4% 1:0.2 6m42s

Reported by octocov

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator Author

add abc and ofl?

@kellijohnson-NOAA kellijohnson-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took me so long to comment on this 🤦‍♀️

### Exceptions

* f_mort: fishing mortality
* msy: Maximum Sustaiable Yield

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with "msy" but I am curious if we are going to enforce all lowercase all the time because my first instinct was that it should be "MSY". I have no preference, I am just trying to think through things. If words are always lowercase and abbreviations/acronyms are upper case then abbreviations would be easily recognizable. But, it would be easier if things are always lower case for consistency. I am really torn.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly I would prefer all capital since R is case sensitive and it's easier to remember when everything is one way or the other. Imo it's easy enough to capitalize the labels in tables and figures and less important in the tibble.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely meant all lowercase not all capital

* f_mort: fishing mortality
* msy: Maximum Sustaiable Yield
* comp: composition
* biomass_spawn[?]: biomass_spawning

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"span" matches the lack of plural that we use for "female" and "male" because we never write "females" and "males" in code so why not just use "spawn"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with that


### Exceptions

* f_mort: fishing mortality

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we use f_mort in FIMS, which I like better than just F because that is hard to search for but I am wondering if we should be abbreviating mortality?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why I put f_mort because we spell it out completely everywhere in {stockplotr} including the plot.

I am leaning towards keeping it spellied out here since F represents fishing mortality (but if you want to get nuanced, I guess technically only the capital one does so saying f_mort would probably indicate fishing_mortality).

Definitely want to have some sort of spelling, so whether its f_mortality or fishing_mortality, I think I can get behind either.

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator Author

@kellijohnson-NOAA No worries! I had tons of other things to do and it was not high up on my priorities

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants