-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve example notebooks #239
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## dev_master AstarVienna/ScopeSim#239 +/- ##
==============================================
- Coverage 75.57% 75.15% -0.43%
==============================================
Files 152 152
Lines 15523 15668 +145
==============================================
+ Hits 11732 11775 +43
- Misses 3791 3893 +102 ☔ View full report in Codecov by Sentry. |
(I can't seem to comment on the changes themselves, probably because they are notebooks. I also cannot figure out how to 'start a review' without being able to comment on the files, so separate comments it is.) If I understand correctly, the notebooks are also (or primarily) used in the online documentation (hence them being in the So I believe the idea of the |
My American PhD-supervisor taught me that "so-called" is often (usually?) used in a derogatory way. "My so-called friend let me stand in the rain for 3 hours." I don't know what better language to use though, so it is probably fine in this context. |
About storing the output: as the notebooks double as documentation, it might be good to have the output in there. I believe that read the docs will run the notebooks and thereby creating proper online documentation. If that is indeed the case, then removing them is okay with me. Maybe we could make the output reproducible by always using a random number seed. That way changing the text would not create new figures, and thereby prevent bloating the repository. But we don't have that yet, so maybe it is good to not keep the figures now. Note that the figures are now already in the git-history of the branch. So if saving space is your concern, then we should squash this branch, or rebase it interactively. |
This might be a "lost in translation" issue, or culture dependent. For me, it's more of an explanatory phrase, when introducing new topic-specific terminology. A bit like spoken quotation marks if that makes sense. I'm perfectly aware that in can also be used in a negative, ironic way, depending on the context. This also exists in German btw. Personally I think the context here is clear, but I'm perfectly fine with rephrasing this, if you have a better suggestion, by all means! |
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.
Looking good, awesome @teutoburg 🤹 !
The idea behind the TL;DR stuff is easier to understand now.
Maybe we need a more permanent solution to this hackish "required for read the docs" stuff, but for now your changes make it easier to comprehend what is going on for new people.
Some comments above, that you probably already saw, but no show stoppers here. I'm trusting you and the CI that the notebooks still run as intended 🎢
I removed the output now after a brief discussion with @oczoske just now. I was gonna mention that, but you were faster to comment on it 😅 Anyway, AFAIK the output was previously stored in the repo. But I might be wrong on that. I'll check again, and if it indeed was not, then I'll squash-merge this. |
Thanks for pointing this out, I was aware of it! However, we do have at least some users who download and run these notebooks locally. In those cases, using the browser-based Jupyter Notebook viewer, these things look a bit weird and do not stand out in any way. That's why I decided to change the formatting to make it more visible. |
The figures were already there, but if size is your concern, then you should squash, because otherwise the output is still in the git history. That would be the worst case: the figures still take up size in the repository, but they cannot (easily) be seen. It is only 500kb, so I'm not going to worry about whether you squash or not. |
I just checked and the output was always stored so far, at least for the example notebooks, also back in the |
About the coverage, I created #240 I believe we have discussed everything; it seems we can merge this right? |
No description provided.