-
Notifications
You must be signed in to change notification settings - Fork 2
Add test for challenger and warning #14
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
Conversation
NimaSarajpoor
left a comment
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.
@seanlaw
Once you find some time, can you please review my comments and add yours?
|
[Update] |
|
For testing, it would be good to also test non-power-of-2 lengths. So, say, p-1 and p+1 or large-ish prime numbers I feel uneasy only testing perfect powers of two |
Right! I will revise the unit testing. |
Added test and got assertion error locally for one of the sdp's modules. Will add GitHub Actions to expose the error here first, and then work on fixing it here (or in another PR) |
|
Let's try to fix it here |
|
@seanlaw (1) Changed |
NimaSarajpoor
left a comment
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.
@seanlaw
I also added a few comments for myself. Can you please look at them and let me know what you think?
seanlaw
left a comment
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.
@NimaSarajpoor I left a few comments
seanlaw
left a comment
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.
@NimaSarajpoor I added some additional comments (more thorough)
|
@seanlaw Btw, regarding long running time of coverage that we faced before. I was supposed to check the performance of njit-vs-naive when This is obtained by setting the env var |
What does this mean for coverage testing though? How long are the unit tests and coverage tests taking now? |
|
Thanks for working on this @NimaSarajpoor! |
we are good now as the current tests are only for a small number of queries, with short length. I just did not want to leave that question unanswered. How long are the unit tests and coverage tests taking now? The unit test and coverage step takes less than 1min in each platform. |
This PR is to add test for the modules in
/sdp/