<jupyter_start><jupyter_text>Tutorial to get notebook outputsGet outputs with tag in comments of the code:        1. `export_start`, `export_end` for code blocks    2. `export_select` for line<jupyter_code>from pathlib import Path

from boar.testing import run_notebook
from boar.__init__ import Notebook

import logging
logging.basicConfig(level=logging.DEBUG)

notebook_dir = Notebook._01.value
if Path.cwd().parts[-1] == "notebook":
    notebook_dir = Path(Path.cwd(), Path(Notebook._01.value).parts[-1])

%load_ext autoreload
%autoreload 2
outputs_0 = run_notebook(Path(notebook_dir, "simple_outputs.ipynb"), verbose=False)
print(outputs_0)
outputs_1 = run_notebook(Path(notebook_dir, "simple_outputs.ipynb"), verbose=True)
print(outputs_1)
outputs_2 = run_notebook(
    Path(notebook_dir, "simple_inputs.ipynb"),
    inputs={"new": "Hello_world", "BBB": "import value: not B!"},
    verbose=False)
print(outputs_2)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12118018967334036, 'fraction_numerical': 0.015806111696522657, 'mean_word_length': 6.480314960629921, 'pattern_counts': {'":': 3, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '268363', 'license': 'MIT', 'n_tokens_mistral': 337, 'n_tokens_neox': 328, 'n_words': 72, 'path': 'notebook/01-io-tutorial.ipynb', 'repo_name': 'alexandreCameron/boar', 'size': '949'}