<jupyter_start><jupyter_text>Synthetic Logs One class was generated<jupyter_code>import pandas as pd

import sys
sys.path.append("../../../")
from src.models.synthetic_logs import *
logs = synthetic_logs()
logs.add( noisy_path( every=10, num_symbols=50, count=30)  )
logs.add( serial_path( size=7, every=25, error=0, probability=1)  )
logs.add( serial_path( size=5, every=25, error=5, probability=0.5)  )

logs.generate_instances(100)

logs.show_instances()
pd.DataFrame (logs.describe()['generators'])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15413533834586465, 'fraction_numerical': 0.03759398496240601, 'mean_word_length': 6.614285714285714, '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': '55184', 'license': 'Apache-2.0', 'n_tokens_mistral': 209, 'n_tokens_neox': 196, 'n_words': 38, 'path': 'notebooks/2-structures/results/synthetic_logs.ipynb', 'repo_name': 'jpgil/logdelay', 'size': '532'}