Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
rework metrics #125
rework metrics #125
Changes from 56 commits
ef212c6
9129b70
9e1f1f2
74bfe8d
11d044d
6c0e191
121b70b
79508a6
41fe669
c977786
f09c037
4305dea
ad4f3b4
197d40d
68f740c
19fa6aa
8e7f275
2e46e97
15ad82d
52d54d5
d88af72
34fded1
ea6b1ad
3a3f24d
57db289
06e2650
a09c758
8e9002e
ec551fe
72817c3
4f9aef5
14afd16
555f7bf
626de51
036cd5d
459940d
f15f1fc
603004a
1934ecd
340515d
a060b95
b33dfd4
aa86b63
ef87c3e
5d1a3ee
c4df1d0
8486b1c
02b2f52
d202dec
f94045f
06a78fc
49a372b
fc1ab80
99b0c2d
2f7ad19
c0894d6
9fdf803
f304603
b4f5c94
804e1d0
e6d4a2d
aae9c5d
0a26ddc
8cb63d7
06749bc
3ef608f
4baa52d
353fffd
89eb357
7f4f1ee
c1338cf
105fa74
0553b99
44391da
c40d03c
08a3b28
3608fec
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that you have two separate cases depending on how many measurement functions you are using (1 vs >1). This makes is so that we have to split the logic in the metrics code below (and possibly later in the unit tests). I would suggest getting rid of this additional 'if' statement for now.
Later we can discuss how to make accessing the information less cumbersome for the user/us, but I think splitting the logic now just makes it confusing at least for me. (had to spend sometime figuring out
if
statement in__next__
from metrics_generator)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, it doesn't feel too cumbersome to me ; but why not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will commit this change soon