-
Notifications
You must be signed in to change notification settings - Fork 631
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
Bump rng_salt
version to v0.40.0
#6854
Conversation
Hello. You may have forgotten to update the changelog!
|
Could you also do a search of all |
@astralcai, I removed the |
I guess now is a good time to briefly investigate if these tests are failing because of an unfortunately bad seed or if they've been passing because of a magically good seed. If it's the former, you can add a local salt to make them pass. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6854 +/- ##
=======================================
Coverage 99.60% 99.60%
=======================================
Files 484 484
Lines 46305 46305
=======================================
Hits 46122 46122
Misses 183 183 ☔ View full report in Codecov by Sentry. |
Seems this PR scope extended a bit to proper adjustment to those stochastic tests right? |
Then probably we could also get rid of some unnecessary numeric checks here? For example, https://github.com/PennyLaneAI/pennylane/blob/61dbc7145cb9b0883e3dff817399c983db178279/tests/ops/functions/test_map_wires.py, in this |
Co-authored-by: Yushao Chen (Jerry) <[email protected]>
tests/gradients/parameter_shift/test_parameter_shift_shot_vec.py
Outdated
Show resolved
Hide resolved
tests/gradients/parameter_shift/test_parameter_shift_shot_vec.py
Outdated
Show resolved
Hide resolved
tests/gradients/parameter_shift/test_parameter_shift_shot_vec.py
Outdated
Show resolved
Hide resolved
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.
Comments to go through with team.
Edit: Went through them with team on Feb 27 2025.
Context:
With v0.40.0 of Pennylane out, we are safe to bump the
rng_salt
version.Benefits:
This alters the RNG salt of our test suite, ensuring that tests from last release weren't passing due to some magic salt.
Description of the change:
This involved modifying some tests but increasing their tolerances. This was discussed with the core team to ensure we aren't accidently hiding any problems.
[sc-82812]