<jupyter_start><jupyter_text>Superimport demo that does not fully workThe [superimport library](https://github.com/probml/superimport) is explained in [this colab](https://colab.research.google.com/github/probml/probml-notebooks/blob/main/notebooks/Superimport.ipynbscrollTo=gERNSvUpcru-).Unfortunately sometimes when you call a script it fails to run, because inspecting the call stack raises an exception (which is [caught by superimport](https://github.com/probml/superimport/blob/e558c33157b32dfd86ad3c7b8d5d4784c6e00e0c/superimport/superimport.pyL163-L165), which prints the error message 'Error importing. Please re-run the cell.'Re-running the same cell usually fixes the error but is annoying.<jupyter_code>!pip install superimport -qqq
!pip install deimport -qqq
import superimport
from deimport.deimport import deimport
!git clone --depth 1 https://github.com/probml/pyprobml  /pyprobml &> /dev/null
%cd -q /pyprobml/scripts
deimport(superimport)
%run linreg_residuals_plot.py
deimport(superimport)
%run linreg_poly_vs_degree.py
deimport(superimport)
%run iris_kmeans.py
deimport(superimport)
%run iris_kmeans.py<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09288194444444445, 'fraction_numerical': 0.026909722222222224, 'mean_word_length': 6.5855263157894735, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '564191', 'license': 'MIT', 'n_tokens_mistral': 404, 'n_tokens_neox': 379, 'n_words': 93, 'path': 'notebooks/misc/Superimport_broken.ipynb', 'repo_name': 'karm-patel/pyprobml', 'size': '1152'}