-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refresh identifiers names. #114
Comments
Thank you for this list. I missed that issue, but it is really a great 👌
The duty calls me somewhere else, but I'll edit this message sooner or later with other suggestions. 🦸 |
Great, let's discuss that :D I'm updating the list at the beginning of this thread.
Agreed, but not before #84 happens.
Good :)
It could be confusing, but that is legitimate because "Response" is a rather vague term IMO. I don't see any significant semantic difference between "Response" and "Function" or "Functional Shape". As a consequence, I am not suprised that two different things end up being referred to as a "Response". And there is nothing to "FunctionalResponse" that is specific to the "Linear-/Bioenergetic-/Classical-" ones. My suggestion here would be to either embrace the vague-ness and expect users to not be confused, or to replace all "Response" terms with something more specific to either case:
Yeah, could "
Sure, but I would say that the naming problem is orthogonal. If we can solve it first, let's do it before #74 even happens ;)
Oh, I see. So "dense" would refer to how the matrix is stored in memory, while "full" would refer to the value the matrix actually contains. Then.. I guess
Yeah, that would definitely be confusing.
Good :) |
Hi! I've named this implementation of temperature effects 'ExponentialBA' because there is also an extended Boltzmann-Arrhenius model, describing a unimodal relationship in which rates decrease at higher temperatures. This is one of the few alternative temperature responses that it would be good to integrate into the temperature dependence functionality in the future. Regarding "Response", in my opinion the word is vague and common enough that hopefully Functional Response and Temperature Response are not going to be regularly confused by users. |
Okay, so we can expect having both
I also think it's okay to assume that there won't be much confusion, and that we can leave them as-is because they seem to be usual names. If we choose to keep that though, maybe we can just emit a useful error in case user ever mistakes ? Something along:
? |
We can’t change FunctionalReaponse. Despite how silly it is, it is embedded history and dogma. However, the temperature stuff is not a response. It’s a scaling that allows us to modify rates and investigate a response to temperature. So one idea is to rename that. TemperatureScaling (with options) and NoTemperatureScaling. |
I really like this suggestion, this is what I had in mind but couldn't find the right word ('scaling'). |
Here are my answers @iago-lito:
Yes, you're right. So let's go for
That's not what I had in mind. I meant that full implies dense, but not the reverse. A dense interaction matrix would be, as I understand it, a matrix with many interactions, but all possible interactions are not necessarily realized (i.e. dense but not necessarily full). By contrary, a full matrix would be matrix where all possible interactions are realized, and therefore with many interactions (i.e. full and therefore also dense). I now go with points I didn't address before. Here are my suggestions:
|
Great, thank you for feedback @andbeck @ismael-lajaaiti @hanamayall :) (Any suggestion I don't discuss below is already integrated in the list.)
Haha, I had a feeling that this would be true. Better not to confuse anyone with fancy dogma shaking then. Let's keep it as-is and work around it :) Keep the fancyness for the new names we introduce.
I very much like
I see. But would you not be tempted to use
If "dense" means "non-sparse" and refers to the way the matrix is implemented/stored, then I disagree that "full implies dense". Indeed: a sparse matrix could very well be full as well (although probably inefficient to use). See for instance: julia> SparseMatrixCSC(ones(4, 4))
4×4 SparseMatrixCSC{Float64, Int64} with 16 stored entries:
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0 So I would say that the concepts of
So, regardless of whether we agree on the meaning of the words
Watch out: from the documentation of Base.fill, "julian" people would very much expect the following behaviour: julia> fill(network, :refuge)
2×2 Matrix{Symbol}:
:refuge :refuge
:refuge :refuge .. which I suspect is not at all what you had in mind, right? ;) |
@ismael-lajaaiti. You are right, I am on it for For extinction events, I would be keen to treat it in a separate PR if it makes sense. I would definitely need your input on this 🙏 |
FunctionalResponse
Temperature
Defaults
It has not been reviewed below!
Exponential functions
NTI
multiplex_network_parameters_names | |
Before release, all identifiers in the project (or at least all
export
ed identifiers) should be screened for consistency, clarity, confusability, simplicity, conciseness etc.. Let's start discussing this now, I'm slacking the whole list here just to start discussion:Also I can think of these few non-exported identifiers for now:
Any other idea?
Regarding the files under
src/
we could also take this opportunity to sort'em out a bit. In particular, the distinction between the three folders "before simulation / during simulation / after simulation" (IIUC) needs to be made clearer:Also, the files under the
test/
folder do not need to be all prefixed bytest-
, or to match the files undersrc
exactly, as long as they all live undertest/
and all features are tested. So what about the following?Parameter names should also be checked, see #2 for example.
What do you think ? :)
The text was updated successfully, but these errors were encountered: