-
Notifications
You must be signed in to change notification settings - Fork 164
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
Newhint#21 #1089
Newhint#21 #1089
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1089 +/- ##
=======================================
Coverage 98.11% 98.12%
=======================================
Files 84 84
Lines 34419 34492 +73
=======================================
+ Hits 33771 33844 +73
Misses 648 648
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Benchmark Results for unmodified programs 🚀
|
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.
Looks good! Left a small comment
exec_scopes.insert_value("slope", slope); | ||
exec_scopes.insert_value("x0", x0); | ||
exec_scopes.insert_value("x1", x1); | ||
exec_scopes.insert_value("y0", y0); |
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.
Are these values used by other hints in the lib? If not we can just skip adding them to the scope
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 think I suggested adding them for completion/compatibility.
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.
Nice one @mfachal
Also, can you add a unit test?
* WIP cairo program * add hint lambdaclass#21 * update changelog * add unit test
Add hint #21
Description
Add hint #21: SQUARE_SLOPE_X_MOD_P
Checklist