This repository was archived by the owner on Oct 4, 2022. It is now read-only.
Paired Data X and Ys #34
Unanswered
Brennan1994
asked this question in
Q&A
Replies: 1 comment
-
I think that there are two basic approaches:
In go-consequences I took the approach of 1, in consequences (rust) I took the approach of 2. There is less boilerplate and objects in the second path, but the code is a bit harder to read unless we are careful in comments. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When writing tests I found myself often confused when creating rating curves, flow freq curves, stage damage, etc out of paired data, because it's important which variable gets mapped to X, and which gets mapped to Y.
For instance, if we try to integrate a damage-frequency relationship where damage is on the X-axis, our integration becomes invalid.
Another case would be in composing functions. it matters whether a rating curve is stage-flow vs flow-stage. Mix them up, your curve composition is now garbage.
What options do we have for dealing with this/should we deal with it at all? A couple things I was pondering:
Beta Was this translation helpful? Give feedback.
All reactions