<jupyter_start><jupyter_text>Check the two layer model is behavingTheme Song: The Courage To Start AgainArtist: ...And Stars CollideAlbum: The Courage To Start AgainReleased: 2011<jupyter_code>from ar6.twolayermodel import TwoLayerModel
import numpy as np
import matplotlib.pyplot as pl
from tqdm import tqdm
for i in tqdm(range(1000)):   # 5x as fast as fair, 10x as fast as openscm-runner
    scm = TwoLayerModel(
        extforce=4.0*np.ones(270),
        exttime=np.arange(270),
        tbeg=1750,
        tend=2020,
        lamg=4.0/3.0,
        t2x=None,
        eff=1.29,
        cmix=6,
        cdeep=75,
        gamma_2l=0.7,
    
        outtime=np.arange(1750.5,2020),
        dt=1
    )
    out = scm.run()
pl.plot(out.time, out.tg)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10465116279069768, 'fraction_numerical': 0.06718346253229975, 'mean_word_length': 2.7259615384615383, 'pattern_counts': {'":': 0, '<': 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': '147250', 'license': 'MIT', 'n_tokens_mistral': 324, 'n_tokens_neox': 291, 'n_words': 69, 'path': 'notebooks/010_chapter7_test_twolayermodel.ipynb', 'repo_name': 'IPCC-WG1/Chapter-7', 'size': '774'}