-
Notifications
You must be signed in to change notification settings - Fork 605
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
Continuous estimation: Display uncertain warning in Zulip #7004
Comments
Hello @jakmeier I would like to work on Format:
Sample report:ReportStatus: Warn Relative gas estimation changes above threshold: 1
Gas estimator uncertain changes: 1
|
Hi @DevSabb, Yes you are very much welcome to work on this! Thank you for your interest! :) I like the suggested format. Your example isn't 100% clear on this, how would you display an uncertain reason field with the value Also, sorry for the delayed response, I was mostly offline for 2 weeks and just catching up on all notifications and messages. I should be more responsive from now on, so feel free to ping me anytime something is unclear. |
Thanks for your response. I have some followup. What's the expected max length of the String uncertain reason? I am using width of 40 for name, old and new uncertain reason. The 40 comes of current report which uses the width of name as 40. I am also not sure how the report will be formatted if the string length exceeds 40. Right now, I am aligning name to left, old and new uncertain reason to the right. But based on your response, I think I should align name and new uncertain reason to the left and old uncertain reason to the right. Let me know if you think otherwise. |
Currently known values are:
The longest is 26 characters. It is possible that we will have longer strings at some point. If it happens, we can simply update the formatting code. But I think even 26 characters look pretty ugly to me, so I will object any name that is more than, say 32 characters anyway. ;) I worry a bit about the total length of a line. It should be all visible without scrolling on a normal desktop or laptop screen. So maybe let's use With regards to left or right alignment, I strongly feel that numbers should be right-aligned, like in the relative changes. For strings, I have no strong opinion. It is down to personal taste and I think this is in the freedom of the implementer to decide. |
Closed by #7359 ? |
@matklad I don't think so. There are two features requested in the original post. I completed |
Yes, exactly. So far, we only see when the uncertain reason changes. If the uncertain flag stays the same but it has relative changes > 10%, it should be marked clearly in the output that the results are uncertain in the first place. |
I believe instead of showing uncertain results only once, we should probably always show a list of uncertain results. When I initially wrote this issue, this would have been quite verbose. But now, there should only be 1 or 2 uncertain results. And if we don't display it, we will forget that those results actually are uncertain. |
resolves near#7004, see that issue for reasoning behind the change
resolves #7004, see that issue for reasoning behind the change
resolves #7004, see that issue for reasoning behind the change
resolves #7004, see that issue for reasoning behind the change
Right now, results marked as uncertain are displayed just like any other results in Murphy's Zulip chat.
Proposed way to show it:
When a previously certain results turns uncertain, also show it once in the Zulip chat.(Done in feat: Track uncertain changes in zulip report #7359(Different solution are also acceptable.)
The first point could be done by writing a new method
estimator_uncertain_results
similar toestimation_changes
.nearcore/runtime/runtime-params-estimator/estimator-warehouse/src/check.rs
Lines 107 to 127 in 78a6456
Second point requires changes in how a
ZulipReport
is displayed.nearcore/runtime/runtime-params-estimator/estimator-warehouse/src/zulip.rs
Lines 83 to 108 in 78a6456
The text was updated successfully, but these errors were encountered: