-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix 'fast reduce' variable incorrectly is set to 0 as its default #640
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #640 +/- ##
=============================================
- Coverage 97.306% 97.306% -0.000%
=============================================
Files 90 90
Lines 6534 6533 -1
=============================================
- Hits 6358 6357 -1
Misses 176 176 ☔ View full report in Codecov by Sentry. |
This comment was marked as off-topic.
This comment was marked as off-topic.
🔴 Regression Test (QBF 'ep/8x8_7_e-8-1_p-3-4_bwnib')'origin/exec_policy/bug/fast_reduce-always-zero' is a change in performance of -0.46% (stdev: 0.24%).
Number of samples: 3 |
🔴 Regression Test (QBF 'domineering/5x5_13_bwnib')'origin/exec_policy/bug/fast_reduce-always-zero' is a change in performance of -51.07% (stdev: 0.48%).
Number of samples: 3 |
🟡 Regression Test (QBF 'breakthrough/3x4_19_bwnib')'origin/exec_policy/bug/fast_reduce-always-zero' is a change in performance of -0.57% (stdev: 0.68%).
Number of samples: 3 |
This comment was marked as off-topic.
This comment was marked as off-topic.
🔴 Regression Test (QBF 'breakthrough/3x5_11_bwnib')'origin/exec_policy/bug/fast_reduce-always-zero' is a change in performance of -13.91% (stdev: 0.26%).
Number of samples: 4 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
🟢 Regression Test (QBF 'connect4/4x4_9_connect3_bwnib')'origin/exec_policy/bug/fast_reduce-always-zero' is a change in performance of 2.43% (stdev: 9.51%).
Number of samples: 10 |
Based on these experiments, this optimisation should just be removed. This is going to be done on a separate branch and pull request instead. |
The default constructor for
exec_policy::nested::fast_reduce
passes a float0.05
directly to the unsigned char_value
. This immediately converts it to the value of 0 rather than running it through thefrom_float
function as intended.Based on various experiments, we can also conclude that: