-
Notifications
You must be signed in to change notification settings - Fork 348
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
Sydent typing, part 3 #1125
Sydent typing, part 3 #1125
Conversation
I said this on the other ones but I'll say it again: fantastic job! I wonder if you could get this published on mypy's blog, or the like-I am sure people will find it helpful so the more eyes on it the better. Thanks for taking the time to do such a thorough write-up, I definitely learned things. |
Co-authored-by: Shay <hillerys@element.io>
4d6b483
to
d3d5a1a
Compare
They're not going to work on netlify, but screw it
- the proportion of "imprecise" lines across the project; I also used the complement, `precision = 100% - imprecision`, and | ||
- the proportion of expressions whose type is not `Any`. | ||
|
||
These are plotted in the graph at the top of this writeup. I could see that precision and the proportion of typed expressions were correlated, but I didn't understand how they differed. I couldn't see an explanation in the mypy docs, so I went [digging](https://github.com/python/mypy/blob/d807e097d142a88a48af93314d15ad87e41d2f19/mypy/stats.py) into the mypy source code. My understanding is as follows. |
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.
The plot is in the first post, now. Link to it?
Co-authored-by: Dan Callahan <danc@element.io>
Last bit of #1110. Back references #1123 and #1124.
Tentatively scheduled for Dec 17th.
Should be previewable at https://pr1125--matrix-org-previews.netlify.app/blog/2021/12/17/type-coverage-for-sydent-evaluation
Preview: https://pr1125--matrix-org-previews.netlify.app