Skip to content

Red warning for rendering Jupyter with skipped outputs #11928

Description

@Chriun

What problem are you trying to solve with Submitty

This issue proposes a feature to #11891. Currently with the way the PR renders notebooks, if there is either any skipped images/text outputs or too large jupyter notebook (>10MB), it prepends a markdown cell to notify students that they would need to download the notebook to view the full content.

It would be much cleaner to have it use existing functionality for messages outside of the rendered notebook, such as below:

Image

Describe the way you'd like to solve this problem

AutoGradingView.php only knows the filepath.
Therefore, checking for filesize of the executed jupyter notebook and creating a message would be straightforward. However, checking if any output has been skipped or truncated would need more navigating since that is known later on when processing the notebook.

Describe any potential alternatives you'd tried to solve the problem

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions