Violet Shreve
Violet Shreve
There are a lot of different ways you could approach the design of this. Could you illustrate your desired use case a bit more? A lot of the assignments in...
This already exists. If the test cell outputs text/plain that can be parsed as a float, that will be used as the score for the cell. https://github.com/jupyter/nbgrader/blob/e0b2e65a56d483560f81a02c8a0b323f4659b10d/nbgrader/utils.py#L76-L81 https://github.com/jupyter/nbgrader/blob/e0b2e65a56d483560f81a02c8a0b323f4659b10d/nbgrader/utils.py#L142-L155 https://github.com/jupyter/nbgrader/blob/e0b2e65a56d483560f81a02c8a0b323f4659b10d/nbgrader/preprocessors/saveautogrades.py#L45
A couple things here. I need to clarify, the existing partial is when _both_ `output_type == "execute_result"` and `mimetype == "text/plain"`. This is specifically the case for implicit returns at...
So this exception is actually correct, but is misleading because there's some undefined behavior underneath. When there are duplicate grade_ids, the nbgrader metadata object gets cleared out. I keep encountering...
You make a good point. I believe this is the expected behavior and that it has been for quite some time, but the question is: can we do better? The...
Is this issue still occurring? I would think that would be covered by this line: https://github.com/jupyter/nbconvert/blob/master/share/jupyter/nbconvert/templates/latex/document_contents.tex.j2#L45
@riziles I believe it was this line: https://github.com/jupyter/nbconvert/blob/6.x/share/jupyter/nbconvert/templates/latex/document_contents.tex.j2#L45 Or the newer file location: https://github.com/jupyter/nbconvert/blob/main/share/templates/latex/document_contents.tex.j2
The original issue is hidden in your stacktrace: ``` Original exception was: (sqlite3.OperationalError) attempt to write a readonly database ``` There's definitely room for more elegant error handling. You're seeing...
I've encountered this issue as well, and I think the quick bandaid would be a preprocessor that removes or disables cells tagged with nbgrader metadata that it doesn't recognize.
Path escaping was added all the way back in 2016 (https://github.com/jupyter/nbgrader/commit/70d6c8f12ad39473778209c707cffb453d38034b), but was set to False by default. The code here is quite fishy to me, so I'm looking into...