-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Discussion] Static or Dynamic analysis, .py (with no output) vs ipynb (that includes output) analysis #3
Comments
As another thread @twiecki added ideas of analyzing divergences and and sampling time. We can't really do that with sampling or dynamic analysis, but if someone submits a notebook they've run we could parse that out of the cell output. Consider this to be "notebook" analysis, a third possibility https://discourse.pymc.io/t/extended-event-gathering-pymc-usage-information/13064/3?u=ravinkumar |
Here are all the things we gathered on discourse. I have tried to split them into the 3 different analysis areas: static code analysis (requires file where model is in as input), env analysis (requires being executed in the same env where the model is executed) and infdata analysis (requires idata as input directly or its filename plus ArviZ installed). There could also potentially be a 4th area for more "demographic info" which would need to be a form filled by the user, skipping that for now. Static
Env
InfData
Demographics
|
Should we "read" the models as code, or actually have an env where they run?
My gut feel is for simplicity, feasibility, and security is we do static analysis, or at least start here
The downsides are
The upsides are
Assuming static analysis this library would then behave like a linter. It gets a reference to a .py or .ipynb file and then it outputs a bunch of metrics
The text was updated successfully, but these errors were encountered: