Conversation
Codecov Report
@@ Coverage Diff @@
## master #61 +/- ##
=======================================
Coverage 98.7% 98.7%
=======================================
Files 117 118 +1
Lines 2179 2319 +140
Branches 504 556 +52
=======================================
+ Hits 2151 2290 +139
Misses 12 12
- Partials 16 17 +1
Continue to review full report at Codecov.
|
| if len(_reduce(word_b)) == i - j: | ||
| words += [word_a + word_b] | ||
|
|
||
| # now generate the intermediate levels of hierarchy |
There was a problem hiding this comment.
According to the testing coverage, it looks like:
toqito/helper/npa_hierarchy.py 123 0 92 3 98.60% 51->48, 90->89, 92->91
indicating that in order to achieve full coverage, testing some other examples involving intermediate levels would be a worthwhile test to include.
|
Hi @georgios-ts. Great effort here, I think this is looking really great so far, so that's fantastic :) Regarding your question:
Hmm, that is a good question. Some candidate ideas are to place it directly within the In short, I'm not too strongly opinionated as to where it goes. You obviously are a very capable and experienced developer, and part of the (selfish) benefit from my perspective is that this gives me an opportunity to learn from you. This is perhaps a broader point, but if you have feedback on a larger scale about the structure of the project, I would love to hear that from you. Anyway, that's all tangential--the takeaway there is I will let you use your best discretion on that front. Regarding the second part of your question, I think you did a great job in exposing the proper interface to the user--namely, the function you wrote inside the As I said, overall, looks great. I added quite a few comments in the diff, but rest assured, they are all quite minor. Do let me know if you have any questions, disagree about my comments, or have any input at all. Cheers! |
|
Thanks @vprusso. Honestly, the structure of the project is great! It's simple, clean, easy to navigate and each function is well documented. |
|
Hi @georgios-ts. Great job addressing all of my comments. I know a lot of them were quite pedantic and trivial, but thank you kindly for taking the time to alter them. I see you made some updates and I just wanted to be sure that you aren't waiting for any input on my end. Of course, if you are still chugging along, I also don't want to be overly burdensome. Basically just checking in to make sure you're not waiting on me :) |
|
Hi @vprusso, this is ready from my side. |
|
@georgios-ts. Fantastic, I'll merge away! :) |
Description
Resolves #5.
Implements a function to calculate an upper bound on the commuting measurement value of a nonlocal game.
Questions
toqito/helperthe best place fornpa_hierarchy.pyor we should expose the functionality ofnpa_constraintsto the user?Status