<jupyter_start><jupyter_text>def regions_sp():    return [        "BR-SP",        *mundi.regions(parent_id="BR-SP", subtype='healthcare region').index,        *(ref for ref in mundi.regions(country_code="BR", type="city").index if ref.startswith('BR-35')),    ]@lru_cache(None)def region(ref):    r = mundi.region(ref)    cases = r.pydemic.epidemic_curve(real=True)    m = SEIR(region=r)    try:        if len(cases) > 50:            m.set_cases(cases, adjust_R0=True)        else:            m.R0 = 1.13    except AssertionError:        m.R0 = 1.13    m.R0 = min(max(0.5, m.R0), 2.0)    m.run(60)    return m.clinical()<jupyter_code>models = {
    r: region(r)[['cases:dates', 'deaths:dates', 'severe:dates', 'critical:dates']].loc['2020-07-29':].T
    for r in regions_sp()
}
len(models)
data = pd.concat([df for df in models.values()], keys=models.keys())
data.to_excel('sp.xlsx')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1829134720700986, 'fraction_numerical': 0.03176341730558598, 'mean_word_length': 3.436893203883495, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '133713', 'license': 'MIT', 'n_tokens_mistral': 372, 'n_tokens_neox': 346, 'n_words': 61, 'path': 'notebooks/report-br.ipynb', 'repo_name': 'GCES-Pydemic/pydemic', 'size': '913'}