<commit_before>use super::Topic;

pub struct Elementary;

impl Topic for Elementary {

    fn run_example(&self, n: u8) {

        println!("Input was: {}", n);
    }

    fn describe(&self) -> String { "elementary".to_string() }
}<commit_msg>EM: skeleton of example 2<commit_after>use super::Topic;

pub struct Elementary;

impl Topic for Elementary {

    fn run_example(&self, n: u8) {

        println!("Topic: Elementary, example {}", n);
        match n {
            1 => { println!("Hello, world!"); },
            2 => { example_2(); },
            _ => { println!("Example not known or not implemented!"); }
        };
    }

    fn describe(&self) -> String { "elementary".to_string() }
}



fn example_2() {
    println!("Todo");
        // TODO
}
{'fraction_non_alphanumeric': 0.16469038208168643, 'fraction_numerical': 0.00922266139657444, 'mean_word_length': 2.5348837209302326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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}}
{'dir': 'git-commits-cleaned', 'id': '2937854', 'n_tokens_mistral': 246, 'n_tokens_neox': 233, 'n_words': 62}